brcm63xx: drop linux,part-probe usage where possible
[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 = "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         partitions {
86                 compatible = "fixed-partitions";
87                 #address-cells = <1>;
88                 #size-cells = <1>;
89
90                 cfe@0 {
91                         label = "CFE";
92                         reg = <0x00000000 0x00020000>;
93                         read-only;
94                 };
95
96                 linux@20000 {
97                         label = "linux";
98                         reg = <0x00020000 0x00f40000>;
99                         compatible = "brcm,bcm963xx-imagetag";
100                 };
101
102                 board_data@f60000 {
103                         label = "board_data";
104                         reg = <0x00f60000 0x00080000>;
105                         read-only;
106                 };
107
108                 nvram@fe0000 {
109                         label = "nvram";
110                         reg = <0x00fe0000 0x00020000>;
111                 };
112         };
113 };
114
115 &pinctrl {
116         pinctrl-names = "default";
117         pinctrl-0 = <&pinctrl_pci>;
118 };
119
120 &uart0 {
121         status = "ok";
122 };