bmips: dts: remove unneeded cfe alias
[openwrt/staging/dangole.git] / target / linux / bmips / dts / bcm6368-actiontec-r1000h.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later
2
3 #include "bcm6368.dtsi"
4
5 / {
6 model = "Actiontec R1000H";
7 compatible = "actiontec,r1000h", "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 wps {
28 label = "wps";
29 gpios = <&gpio 35 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@5 {
39 label = "green:wan";
40 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
41 };
42
43 led@21 {
44 label = "green:usb";
45 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
46 };
47
48 led_power_green: led@22 {
49 label = "green:power";
50 gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
51 };
52
53 led@23 {
54 label = "green:wps";
55 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
56 };
57
58 led_power_red: led@24 {
59 label = "red:power";
60 gpios = <&gpio 24 GPIO_ACTIVE_HIGH>;
61 panic-indicator;
62 };
63
64 led@30 {
65 label = "red:wps";
66 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
67 };
68
69 led@31 {
70 label = "red:wan";
71 gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;
72 };
73 };
74 };
75
76 &ehci {
77 status = "okay";
78 };
79
80 &ethernet {
81 status = "okay";
82
83 nvmem-cells = <&macaddr_cfe_6a0>;
84 nvmem-cell-names = "mac-address";
85 };
86
87 &mdio_ext {
88 switch@1e {
89 compatible = "brcm,bcm53115";
90 reg = <30>;
91
92 dsa,member = <1 0>;
93
94 ports {
95 #address-cells = <1>;
96 #size-cells = <0>;
97
98 port@0 {
99 reg = <0>;
100 label = "lan1";
101 };
102
103 port@1 {
104 reg = <1>;
105 label = "lan2";
106 };
107
108 port@2 {
109 reg = <2>;
110 label = "lan3";
111 };
112
113 port@3 {
114 reg = <3>;
115 label = "lan4";
116 };
117
118 port@4 {
119 reg = <4>;
120 label = "wan";
121 };
122
123 port@5 {
124 /* HPNA coaxial port */
125 reg = <5>;
126 label = "coax";
127
128 phy-mode = "mii";
129
130 fixed-link {
131 speed = <100>;
132 full-duplex;
133 };
134 };
135
136 port@8 {
137 reg = <8>;
138
139 phy-mode = "rgmii";
140 ethernet = <&switch0port5>;
141
142 fixed-link {
143 speed = <1000>;
144 full-duplex;
145 };
146 };
147 };
148 };
149 };
150
151 &switch0 {
152 dsa,member = <0 0>;
153
154 ports {
155 switch0port5: port@5 {
156 reg = <5>;
157 label = "extsw";
158
159 phy-mode = "rgmii";
160
161 fixed-link {
162 speed = <1000>;
163 full-duplex;
164 };
165 };
166 };
167 };
168
169 &pflash {
170 status = "okay";
171
172 partitions {
173 compatible = "fixed-partitions";
174 #address-cells = <1>;
175 #size-cells = <1>;
176
177 partition@0 {
178 label = "CFE";
179 reg = <0x000000 0x020000>;
180 read-only;
181
182 nvmem-layout {
183 compatible = "fixed-layout";
184 #address-cells = <1>;
185 #size-cells = <1>;
186
187 macaddr_cfe_6a0: macaddr@6a0 {
188 reg = <0x6a0 0x6>;
189 };
190 };
191 };
192
193 partition@20000 {
194 label = "firmware";
195 reg = <0x020000 0x1fc0000>;
196 compatible = "brcm,bcm963xx-imagetag";
197 };
198
199 partition@fe0000 {
200 label = "nvram";
201 reg = <0x1fe0000 0x020000>;
202 };
203 };
204 };
205
206 &ohci {
207 status = "okay";
208 };
209
210 &pci {
211 status = "okay";
212 };
213
214 &uart0 {
215 status = "okay";
216 };
217
218 &usbh {
219 status = "okay";
220 };