bmips: remove mac-address-increment
[openwrt/staging/hauke.git] / target / linux / bmips / dts / bcm63169-comtrend-vg-8050.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later
2
3 #include "bcm63268.dtsi"
4
5 / {
6 model = "Comtrend VG-8050";
7 compatible = "comtrend,vg-8050", "brcm,bcm63169", "brcm,bcm63268";
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 33 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_RESTART>;
24 debounce-interval = <60>;
25 };
26
27 wps {
28 label = "wps";
29 gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_WPS_BUTTON>;
31 debounce-interval = <60>;
32 };
33 };
34 };
35
36 &ehci {
37 status = "okay";
38 };
39
40 &ethernet {
41 status = "okay";
42
43 nvmem-cells = <&macaddr_cferom_6a0>;
44 nvmem-cell-names = "mac-address";
45 };
46
47 &hsspi {
48 status = "okay";
49
50 pinctrl-names = "default";
51 pinctrl-0 = <&pinctrl_hsspi_cs5>;
52
53 switch@5 {
54 compatible = "brcm,bcm53125";
55 reg = <5>;
56 spi-max-frequency = <781000>;
57 spi-cpha;
58 spi-cpol;
59 dsa,member = <1 0>;
60
61 ports {
62 #address-cells = <1>;
63 #size-cells = <0>;
64
65 port@0 {
66 reg = <0>;
67 label = "lan4";
68 };
69
70 port@1 {
71 reg = <1>;
72 label = "lan3";
73 };
74
75 port@2 {
76 reg = <2>;
77 label = "lan2";
78 };
79
80 port@3 {
81 reg = <3>;
82 label = "lan1";
83 };
84
85 port@4 {
86 reg = <4>;
87 label = "wan";
88 };
89
90 port@8 {
91 reg = <8>;
92
93 phy-mode = "rgmii";
94 ethernet = <&switch0port6>;
95
96 fixed-link {
97 speed = <1000>;
98 full-duplex;
99 };
100 };
101 };
102 };
103 };
104
105 &leds {
106 status = "okay";
107
108 brcm,serial-leds;
109 brcm,serial-dat-low;
110 brcm,serial-shift-inv;
111
112 pinctrl-names = "default";
113 pinctrl-0 = <&pinctrl_serial_led>;
114
115 led@2 {
116 reg = <2>;
117 active-low;
118 label = "red:internet";
119 };
120
121 led_power_red: led@3 {
122 reg = <3>;
123 active-low;
124 label = "red:power";
125 panic-indicator;
126 };
127
128 led_power_green: led@6 {
129 reg = <6>;
130 active-low;
131 label = "green:power";
132 };
133
134 led@7 {
135 reg = <7>;
136 active-low;
137 label = "green:wps";
138 };
139
140 led@8 {
141 reg = <8>;
142 active-low;
143 label = "green:internet";
144 };
145
146 led@10 {
147 reg = <10>;
148 active-low;
149 label = "green:voip";
150 };
151
152 led@12 {
153 reg = <12>;
154 active-low;
155 label = "red:voip";
156 };
157
158 led@14 {
159 reg = <14>;
160 active-low;
161 label = "red:wps";
162 };
163 };
164
165 &nflash {
166 status = "okay";
167
168 nandcs@0 {
169 compatible = "brcm,nandcs";
170 reg = <0>;
171 nand-ecc-step-size = <512>;
172 nand-ecc-strength = <15>;
173 nand-on-flash-bbt;
174 brcm,nand-oob-sector-size = <64>;
175
176 #address-cells = <1>;
177 #size-cells = <1>;
178
179 partitions {
180 compatible = "fixed-partitions";
181 #address-cells = <1>;
182 #size-cells = <1>;
183
184 cferom: partition@0 {
185 label = "cferom";
186 reg = <0x0000000 0x0020000>;
187 read-only;
188
189 nvmem-layout {
190 compatible = "fixed-layout";
191 #address-cells = <1>;
192 #size-cells = <1>;
193
194 macaddr_cferom_6a0: macaddr@6a0 {
195 reg = <0x6a0 0x6>;
196 };
197 };
198 };
199
200 partition@20000 {
201 compatible = "brcm,wfi-split";
202 label = "wfi";
203 reg = <0x0020000 0x7ac0000>;
204 };
205 };
206 };
207 };
208
209 &ohci {
210 status = "okay";
211 };
212
213 &switch0 {
214 dsa,member = <0 0>;
215
216 ports {
217 switch0port6: port@6 {
218 reg = <6>;
219 label = "extsw";
220
221 phy-mode = "rgmii";
222
223 fixed-link {
224 speed = <1000>;
225 full-duplex;
226 };
227 };
228 };
229 };
230
231 &uart0 {
232 status = "okay";
233 };
234
235 &usbh {
236 status = "okay";
237 };