brcm47xx: rename target to bcm47xx
[oweals/openwrt.git] / target / linux / brcm63xx / dts / bcm6369-netgear-evg2000.dts
1 /dts-v1/;
2
3 #include "bcm6368.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8         model = "Netgear EVG2000";
9         compatible = "netgear,evg2000", "brcm,bcm6369", "brcm,bcm6368";
10
11         chosen {
12                 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13                 stdout-path = "serial0:115200n8";
14         };
15
16         keys {
17                 compatible = "gpio-keys-polled";
18                 #address-cells = <1>;
19                 #size-cells = <0>;
20                 poll-interval = <20>;
21
22                 reset {
23                         label = "reset";
24                         gpios = <&pinctrl 25 1>;
25                         linux,code = <KEY_RESTART>;
26                         debounce-interval = <60>;
27                 };
28
29                 wps {
30                         label = "wps";
31                         gpios = <&pinctrl 26 1>;
32                         linux,code = <KEY_WPS_BUTTON>;
33                         debounce-interval = <60>;
34                 };
35         };
36
37         leds {
38                 compatible = "gpio-leds";
39
40                 voip1_green {
41                         label = "EVG2000:green:voip1";
42                         gpios = <&pinctrl 14 1>;
43                 };
44                 voip2_green {
45                         label = "EVG2000:green:voip2";
46                         gpios = <&pinctrl 2 1>;
47                 };
48                 inet_red {
49                         label = "EVG2000:red:inet";
50                         gpios = <&pinctrl 4 1>;
51                 };
52                 inet_green {
53                         label = "EVG2000:green:inet";
54                         gpios = <&pinctrl 5 1>;
55                 };
56                 usb_green {
57                         label = "EVG2000:green:usb";
58                         gpios = <&pinctrl 15 1>;
59                 };
60                 power_green {
61                         label = "EVG2000:green:power";
62                         gpios = <&pinctrl 22 1>;
63                         default-state = "on";
64                 };
65                 power_red {
66                         label = "EVG2000:red:power";
67                         gpios = <&pinctrl 23 1>;
68                 };
69                 lan_green {
70                         label = "EVG2000:green:lan";
71                         gpios = <&pinctrl 24 1>;
72                 };
73                 wireless_green {
74                         label = "EVG2000:green:wireless";
75                         gpios = <&pinctrl 26 1>;
76                 };
77                 wan_green {
78                         label = "EVG2000:green:wan";
79                         gpios = <&pinctrl 27 1>;
80                 };
81         };
82 };
83
84 &pflash {
85         status = "ok";
86
87         partitions {
88                 compatible = "fixed-partitions";
89                 #address-cells = <1>;
90                 #size-cells = <1>;
91
92                 cfe@0 {
93                         label = "CFE";
94                         reg = <0x00000000 0x00020000>;
95                         read-only;
96                 };
97
98                 linux@20000 {
99                         label = "linux";
100                         reg = <0x00020000 0x00f40000>;
101                         compatible = "brcm,bcm963xx-imagetag";
102                 };
103
104                 board_data@f60000 {
105                         label = "board_data";
106                         reg = <0x00f60000 0x00080000>;
107                         read-only;
108                 };
109
110                 nvram@fe0000 {
111                         label = "nvram";
112                         reg = <0x00fe0000 0x00020000>;
113                 };
114         };
115 };
116
117 &pinctrl {
118         pinctrl-names = "default";
119         pinctrl-0 = <&pinctrl_pci>;
120 };
121
122 &uart0 {
123         status = "ok";
124 };