brcm63xx: switch to new partition layout specification
[oweals/openwrt.git] / target / linux / brcm63xx / dts / 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,bcm6368";
10
11         chosen {
12                 bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13                 stdout-path = "serial0:115200n8";
14         };
15
16         gpio-keys-polled {
17                 compatible = "gpio-keys-polled";
18                 #address-cells = <1>;
19                 #size-cells = <0>;
20                 poll-interval = <20>;
21                 debounce-interval = <60>;
22
23                 reset {
24                         label = "reset";
25                         gpios = <&pinctrl 25 1>;
26                         linux,code = <KEY_RESTART>;
27                 };
28                 wps {
29                         label = "wps";
30                         gpios = <&pinctrl 26 1>;
31                         linux,code = <KEY_WPS_BUTTON>;
32                 };
33         };
34
35         gpio-leds {
36                 compatible = "gpio-leds";
37
38                 voip1_green {
39                         label = "EVG2000:green:voip1";
40                         gpios = <&pinctrl 14 1>;
41                 };
42                 voip2_green {
43                         label = "EVG2000:green:voip2";
44                         gpios = <&pinctrl 2 1>;
45                 };
46                 inet_red {
47                         label = "EVG2000:red:inet";
48                         gpios = <&pinctrl 4 1>;
49                 };
50                 inet_green {
51                         label = "EVG2000:green:inet";
52                         gpios = <&pinctrl 5 1>;
53                 };
54                 usb_green {
55                         label = "EVG2000:green:usb";
56                         gpios = <&pinctrl 15 1>;
57                 };
58                 power_green {
59                         label = "EVG2000:green:power";
60                         gpios = <&pinctrl 22 1>;
61                         default-state = "on";
62                 };
63                 power_red {
64                         label = "EVG2000:red:power";
65                         gpios = <&pinctrl 23 1>;
66                 };
67                 lan_green {
68                         label = "EVG2000:green:lan";
69                         gpios = <&pinctrl 24 1>;
70                 };
71                 wireless_green {
72                         label = "EVG2000:green:wireless";
73                         gpios = <&pinctrl 26 1>;
74                 };
75                 wan_green {
76                         label = "EVG2000:green:wan";
77                         gpios = <&pinctrl 27 1>;
78                 };
79         };
80 };
81
82 &pflash {
83         status = "ok";
84
85         linux,part-probe = "bcm63xxpart";
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 };