bmips: remove mac-address-increment
[openwrt/staging/jow.git] / target / linux / bmips / dts / bcm6368-observa-vh4032n.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later
2
3 #include "bcm6368.dtsi"
4
5 / {
6 model = "Observa VH4032N";
7 compatible = "observa,vh4032n", "brcm,bcm6368";
8
9 aliases {
10 led-boot = &led_power_blue;
11 led-failsafe = &led_power_red;
12 led-running = &led_power_blue;
13 led-upgrade = &led_power_blue;
14 };
15
16 keys {
17 compatible = "gpio-keys-polled";
18 poll-interval = <100>;
19
20 reset {
21 label = "reset";
22 gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_RESTART>;
24 debounce-interval = <60>;
25 };
26
27 rfkill {
28 label = "rfkill";
29 gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_RFKILL>;
31 debounce-interval = <60>;
32 };
33 };
34
35 leds {
36 compatible = "gpio-leds";
37
38 led@2 {
39 label = "blue:dsl";
40 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
41 };
42
43 led@5 {
44 label = "red:dsl";
45 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
46 };
47
48 led@11 {
49 label = "blue:hspa";
50 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
51 };
52
53 led@12 {
54 label = "red:hspa";
55 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
56 };
57
58 led_power_blue: led@22 {
59 label = "blue:power";
60 gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
61 };
62
63 led_power_red: led@24 {
64 label = "red:power";
65 gpios = <&gpio 24 GPIO_ACTIVE_HIGH>;
66 panic-indicator;
67 };
68
69 led@25 {
70 label = "blue:voice";
71 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
72 };
73
74 led@26 {
75 label = "red:voice";
76 gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
77 };
78 };
79
80 bcm43222-sprom {
81 compatible = "brcm,ssb-sprom";
82
83 pci-bus = <0>;
84 pci-dev = <1>;
85
86 nvmem-cells = <&macaddr_cfe_6a0 1>;
87 nvmem-cell-names = "mac-address";
88
89 brcm,sprom = "brcm/bcm43222-sprom.bin";
90 brcm,sprom-fixups = <2 0x04d2>, <4 0x4350>,
91 <65 0x1300>, <68 0x0402>,
92 <70 0x0090>, <71 0x4c19>,
93 <72 0x2345>, <87 0x0315>,
94 <88 0x0315>, <96 0x2048>,
95 <97 0xfed7>, <98 0x15a6>,
96 <99 0xfaee>, <100 0x3e3a>,
97 <101 0x3a36>, <102 0xff7f>,
98 <103 0x11b9>, <104 0xfc53>,
99 <105 0xffe6>, <106 0xfdd2>,
100 <107 0xfe49>, <108 0xff6a>,
101 <109 0x136e>, <110 0xfbed>,
102 <111 0x0000>, <112 0x2048>,
103 <113 0xfee2>, <114 0x15e5>,
104 <115 0xfaed>, <116 0x3e3a>,
105 <117 0x3a36>, <118 0xffc8>,
106 <119 0x12b8>, <120 0xfca1>,
107 <121 0xff9b>, <122 0x122a>,
108 <123 0xfcc8>, <124 0xff95>,
109 <125 0x146b>, <126 0xfbba>,
110 <127 0x0000>, <161 0x0000>,
111 <162 0x0000>, <169 0x0000>,
112 <170 0x0000>, <171 0x0000>,
113 <172 0x0000>, <173 0x0000>,
114 <174 0x0000>, <175 0x0000>,
115 <176 0x0000>, <219 0x1108>;
116 };
117 };
118
119 &ehci {
120 status = "okay";
121 };
122
123 &ethernet {
124 status = "okay";
125
126 nvmem-cells = <&macaddr_cfe_6a0 0>;
127 nvmem-cell-names = "mac-address";
128 };
129
130 &gpio {
131 usb_hub_reset {
132 gpio-hog;
133 gpios = <27 GPIO_ACTIVE_HIGH>;
134 output-high;
135 line-name = "usb-hub-reset-gpio";
136 };
137 };
138
139 &ohci {
140 status = "okay";
141 };
142
143 &pci {
144 status = "okay";
145 };
146
147 &pflash {
148 status = "okay";
149
150 partitions {
151 compatible = "fixed-partitions";
152 #address-cells = <1>;
153 #size-cells = <1>;
154
155 cfe: partition@0 {
156 label = "CFE";
157 reg = <0x0000000 0x0020000>;
158 read-only;
159
160 nvmem-layout {
161 compatible = "fixed-layout";
162 #address-cells = <1>;
163 #size-cells = <1>;
164
165 macaddr_cfe_6a0: macaddr@6a0 {
166 compatible = "mac-base";
167 reg = <0x6a0 0x6>;
168 #nvmem-cell-cells = <1>;
169 };
170 };
171 };
172
173 partition@20000 {
174 compatible = "brcm,bcm963xx-imagetag";
175 label = "firmware";
176 reg = <0x0020000 0x1fc0000>;
177 };
178
179 partition@1fe0000 {
180 label = "nvram";
181 reg = <0x1fe0000 0x020000>;
182 };
183 };
184 };
185
186 &pinctrl {
187 pinctrl-names = "default";
188 pinctrl-0 = <&pinctrl_ephy0_led &pinctrl_ephy1_led
189 &pinctrl_ephy2_led &pinctrl_ephy3_led>;
190 };
191
192 &switch0 {
193 ports {
194 port@0 {
195 reg = <0>;
196 label = "lan4";
197
198 phy-handle = <&phy1>;
199 phy-mode = "mii";
200 };
201
202 port@1 {
203 reg = <1>;
204 label = "lan3";
205
206 phy-handle = <&phy2>;
207 phy-mode = "mii";
208 };
209
210 port@2 {
211 reg = <2>;
212 label = "lan2";
213
214 phy-handle = <&phy3>;
215 phy-mode = "mii";
216 };
217
218 port@3 {
219 reg = <3>;
220 label = "lan1";
221
222 phy-handle = <&phy4>;
223 phy-mode = "mii";
224 };
225 };
226 };
227
228 &uart0 {
229 status = "okay";
230 };
231
232 &usbh {
233 status = "okay";
234 };