bmips: remove mac-address-increment
[openwrt/staging/hauke.git] / target / linux / bmips / dts / bcm6368-comtrend-vr-3025un.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later
2
3 #include "bcm6368.dtsi"
4
5 / {
6 model = "Comtrend VR-3025un";
7 compatible = "comtrend,vr-3025un", "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 34 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_RESTART>;
24 debounce-interval = <60>;
25 };
26 };
27
28 leds {
29 compatible = "gpio-leds";
30
31 led@2 {
32 label = "green:dsl";
33 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
34 };
35
36 led@5 {
37 label = "green:internet";
38 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
39 };
40
41 led_power_green: led@22 {
42 label = "green:power";
43 gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
44 };
45
46 led_power_red: led@24 {
47 label = "red:power";
48 gpios = <&gpio 24 GPIO_ACTIVE_HIGH>;
49 panic-indicator;
50 };
51
52 led@31 {
53 label = "red:internet";
54 gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;
55 };
56 };
57
58 bcm43222-sprom {
59 compatible = "brcm,ssb-sprom";
60
61 pci-bus = <0>;
62 pci-dev = <1>;
63
64 nvmem-cells = <&macaddr_cfe_6a0 1>;
65 nvmem-cell-names = "mac-address";
66
67 brcm,sprom = "brcm/bcm43222-sprom.bin";
68 brcm,sprom-fixups = <97 0xfeb3>,
69 <98 0x1618>,
70 <99 0xfab0>,
71 <113 0xfed1>,
72 <114 0x1609>,
73 <115 0xfad9>;
74 };
75 };
76
77 &ehci {
78 status = "okay";
79 };
80
81 &ethernet {
82 status = "okay";
83
84 nvmem-cells = <&macaddr_cfe_6a0 0>;
85 nvmem-cell-names = "mac-address";
86 };
87
88 &ohci {
89 status = "okay";
90 };
91
92 &pci {
93 status = "okay";
94 };
95
96 &pflash {
97 status = "okay";
98
99 partitions {
100 compatible = "fixed-partitions";
101 #address-cells = <1>;
102 #size-cells = <1>;
103
104 cfe: partition@0 {
105 label = "CFE";
106 reg = <0x000000 0x010000>;
107 read-only;
108
109 nvmem-layout {
110 compatible = "fixed-layout";
111 #address-cells = <1>;
112 #size-cells = <1>;
113
114 macaddr_cfe_6a0: macaddr@6a0 {
115 compatible = "mac-base";
116 reg = <0x6a0 0x6>;
117 #nvmem-cell-cells = <1>;
118 };
119 };
120 };
121
122 partition@20000 {
123 compatible = "brcm,bcm963xx-imagetag";
124 label = "firmware";
125 reg = <0x010000 0x7e0000>;
126 };
127
128 partition@1fe0000 {
129 label = "nvram";
130 reg = <0x7f0000 0x010000>;
131 };
132 };
133 };
134
135 &pinctrl {
136 pinctrl-names = "default";
137 pinctrl-0 = <&pinctrl_ephy0_led &pinctrl_ephy1_led
138 &pinctrl_ephy2_led &pinctrl_ephy3_led>;
139 };
140
141 &switch0 {
142 ports {
143 port@0 {
144 reg = <0>;
145 label = "lan1";
146
147 phy-handle = <&phy1>;
148 phy-mode = "mii";
149 };
150
151 port@1 {
152 reg = <1>;
153 label = "lan2";
154
155 phy-handle = <&phy2>;
156 phy-mode = "mii";
157 };
158
159 port@2 {
160 reg = <2>;
161 label = "lan3";
162
163 phy-handle = <&phy3>;
164 phy-mode = "mii";
165 };
166
167 port@3 {
168 reg = <3>;
169 label = "iptv";
170
171 phy-handle = <&phy4>;
172 phy-mode = "mii";
173 };
174 };
175 };
176
177 &uart0 {
178 status = "okay";
179 };
180
181 &usbh {
182 status = "okay";
183 };