bmips: remove mac-address-increment
[openwrt/staging/hauke.git] / target / linux / bmips / dts / bcm6369-netgear-evg2000.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later
2
3 #include "bcm6368.dtsi"
4
5 / {
6 model = "Netgear EVG2000";
7 compatible = "netgear,evg2000", "brcm,bcm6369", "brcm,bcm6368";
8
9 aliases {
10 led-boot = &led_power_green;
11 led-failsafe = &led_power_red;
12 led-running = &led_power_green;
13 led-upgrade = &led_power_green;
14 };
15
16 keys {
17 compatible = "gpio-keys-polled";
18 poll-interval = <100>;
19
20 reset {
21 label = "reset";
22 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_RESTART>;
24 debounce-interval = <60>;
25 };
26
27 wps {
28 label = "wps";
29 gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_WPS_BUTTON>;
31 debounce-interval = <60>;
32 };
33 };
34
35 leds {
36 compatible = "gpio-leds";
37
38 led@2 {
39 label = "green:voip2";
40 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
41 };
42
43 led@4 {
44 label = "red:internet";
45 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
46 };
47
48 led@5 {
49 label = "green:internet";
50 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
51 };
52
53 led@14 {
54 label = "green:voip1";
55 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
56 };
57
58 led@15 {
59 label = "green:usb";
60 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
61 };
62
63 led_power_green: led@22 {
64 label = "green:power";
65 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
66 };
67
68 led_power_red: led@23 {
69 label = "red:power";
70 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
71 panic-indicator;
72 };
73
74 led@24 {
75 label = "green:lan";
76 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
77 };
78
79 led@27 {
80 label = "green:wan";
81 gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
82 };
83 };
84
85 bcm4322-sprom {
86 compatible = "brcm,ssb-sprom";
87
88 pci-bus = <0>;
89 pci-dev = <1>;
90
91 nvmem-cells = <&macaddr_cfe_6a0 1>;
92 nvmem-cell-names = "mac-address";
93
94 brcm,sprom = "brcm/bcm4322-sprom.bin";
95 brcm,sprom-fixups = <219 0xec08>;
96 };
97 };
98
99 &ehci {
100 status = "okay";
101 };
102
103 &ethernet {
104 status = "okay";
105
106 nvmem-cells = <&macaddr_cfe_6a0 0>;
107 nvmem-cell-names = "mac-address";
108 };
109
110 &mdio_ext {
111 switch@1e {
112 compatible = "brcm,bcm53115";
113 reg = <30>;
114
115 dsa,member = <1 0>;
116
117 ports {
118 #address-cells = <1>;
119 #size-cells = <0>;
120
121 port@0 {
122 reg = <0>;
123 label = "wan";
124 };
125
126 port@1 {
127 reg = <1>;
128 label = "lan1";
129 };
130
131 port@2 {
132 reg = <2>;
133 label = "lan2";
134 };
135
136 port@3 {
137 reg = <3>;
138 label = "lan3";
139 };
140
141 port@4 {
142 reg = <4>;
143 label = "lan4";
144 };
145
146 port@8 {
147 reg = <8>;
148
149 phy-mode = "rgmii";
150 ethernet = <&switch0port5>;
151
152 fixed-link {
153 speed = <1000>;
154 full-duplex;
155 };
156 };
157 };
158 };
159 };
160
161 &switch0 {
162 dsa,member = <0 0>;
163
164 ports {
165 switch0port5: port@5 {
166 reg = <5>;
167 label = "extsw";
168
169 phy-mode = "rgmii";
170
171 fixed-link {
172 speed = <1000>;
173 full-duplex;
174 };
175 };
176 };
177 };
178
179 &pflash {
180 status = "okay";
181
182 partitions {
183 compatible = "fixed-partitions";
184 #address-cells = <1>;
185 #size-cells = <1>;
186
187 cfe: partition@0 {
188 label = "CFE";
189 reg = <0x000000 0x020000>;
190 read-only;
191
192 nvmem-layout {
193 compatible = "fixed-layout";
194 #address-cells = <1>;
195 #size-cells = <1>;
196
197 macaddr_cfe_6a0: macaddr@6a0 {
198 compatible = "mac-base";
199 reg = <0x6a0 0x6>;
200 #nvmem-cell-cells = <1>;
201 };
202 };
203 };
204
205 partition@20000 {
206 label = "firmware";
207 reg = <0x020000 0xf40000>;
208 compatible = "brcm,bcm963xx-imagetag";
209 };
210
211 partition@f60000 {
212 label = "board_data";
213 reg = <0xf60000 0x080000>;
214 read-only;
215 };
216
217 partition@fe0000 {
218 label = "nvram";
219 reg = <0xfe0000 0x020000>;
220 };
221 };
222 };
223
224 &ohci {
225 status = "okay";
226 };
227
228 &pci {
229 status = "okay";
230 };
231
232 &uart0 {
233 status = "okay";
234 };
235
236 &usbh {
237 status = "okay";
238 };