lantiq: xrx200: remove unused lan/wan labels from dts
[openwrt/openwrt.git] / target / linux / lantiq / files / arch / mips / boot / dts / lantiq / vr9_arcadyan_arv7519rw22.dts
1 #include "vr9.dtsi"
2
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/mips/lantiq_rcu_gphy.h>
5
6 / {
7 compatible = "arcadyan,arv7519rw22", "lantiq,xway", "lantiq,vr9";
8 model = "Orange Livebox 2.1";
9
10 chosen {
11 bootargs = "console=ttyLTQ0,115200";
12 };
13
14 aliases {
15 led-boot = &power_green;
16 led-failsafe = &power_green;
17 led-running = &power_green;
18 led-upgrade = &power_green;
19
20 led-dsl = &internet_green;
21 };
22
23 memory@0 {
24 device_type = "memory";
25 reg = <0x0 0x8000000>;
26 };
27
28 keys {
29 compatible = "gpio-keys-polled";
30 poll-interval = <100>;
31
32 reset {
33 label = "reset";
34 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RESTART>;
36 };
37 rfkill {
38 label = "rfkill";
39 gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RFKILL>;
41 };
42 wps {
43 label = "wps";
44 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_WPS_BUTTON>;
46 };
47 };
48
49 leds {
50 compatible = "gpio-leds";
51
52 lan_green {
53 label = "green:lan";
54 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
55 };
56 internet_red {
57 label = "red:internet";
58 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
59 };
60 power_green: power_green {
61 label = "green:power";
62 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
63 default-state = "keep";
64 };
65 alarm_blue {
66 label = "blue:alarm";
67 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
68 };
69 internet_orange {
70 label = "orange:internet";
71 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
72 };
73 internet_green: internet_green {
74 label = "green:internet";
75 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
76 };
77 voice_green {
78 label = "green:voice";
79 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
80 };
81 };
82
83 usb_vbus: regulator-usb-vbus {
84 compatible = "regulator-fixed";
85
86 regulator-name = "USB_VBUS";
87
88 regulator-min-microvolt = <5000000>;
89 regulator-max-microvolt = <5000000>;
90
91 gpio = <&gpio 32 GPIO_ACTIVE_HIGH>;
92 enable-active-high;
93 };
94 };
95
96 &eth0 {
97 interface@0 {
98 compatible = "lantiq,xrx200-pdi";
99 #address-cells = <1>;
100 #size-cells = <0>;
101 reg = <0>;
102 mtd-mac-address = <&boardconfig 0x16>;
103 lantiq,switch;
104
105 ethernet@0 {
106 compatible = "lantiq,xrx200-pdi-port";
107 reg = <0>;
108 phy-mode = "rgmii";
109 phy-handle = <&phy0>;
110 };
111 ethernet@2 {
112 compatible = "lantiq,xrx200-pdi-port";
113 reg = <2>;
114 phy-mode = "mii";
115 phy-handle = <&phy11>;
116 };
117 ethernet@3 {
118 compatible = "lantiq,xrx200-pdi-port";
119 reg = <3>;
120 phy-mode = "mii";
121 phy-handle = <&phy12>;
122 };
123 ethernet@4 {
124 compatible = "lantiq,xrx200-pdi-port";
125 reg = <4>;
126 phy-mode = "mii";
127 phy-handle = <&phy13>;
128 };
129 ethernet@5 {
130 compatible = "lantiq,xrx200-pdi-port";
131 reg = <5>;
132 phy-mode = "mii";
133 phy-handle = <&phy14>;
134 };
135 };
136
137 mdio {
138 #address-cells = <1>;
139 #size-cells = <0>;
140 compatible = "lantiq,xrx200-mdio";
141
142 phy0: ethernet-phy@0 {
143 reg = <0x0>;
144 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
145 };
146 phy11: ethernet-phy@11 {
147 reg = <0x11>;
148 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
149 };
150 phy12: ethernet-phy@12 {
151 reg = <0x12>;
152 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
153 };
154 phy13: ethernet-phy@13 {
155 reg = <0x13>;
156 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
157 };
158 phy14: ethernet-phy@14 {
159 reg = <0x14>;
160 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
161 };
162 };
163 };
164
165 &gphy0 {
166 lantiq,gphy-mode = <GPHY_MODE_FE>;
167 };
168
169 &gphy1 {
170 lantiq,gphy-mode = <GPHY_MODE_FE>;
171 };
172
173 &gpio {
174 pinctrl-names = "default";
175 pinctrl-0 = <&state_default>;
176
177 state_default: pinmux {
178 pcie-rst {
179 lantiq,pins = "io21";
180 lantiq,pull = <0>;
181 lantiq,output = <1>;
182 };
183 };
184 };
185
186 &localbus {
187 flash@0 {
188 compatible = "lantiq,nor";
189 bank-width = <2>;
190 reg = <0 0x0 0x2000000>;
191
192 partitions {
193 compatible = "fixed-partitions";
194 #address-cells = <1>;
195 #size-cells = <1>;
196
197 partition@0 {
198 label = "uboot";
199 reg = <0x0 0x60000>;
200 read-only;
201 };
202
203 partition@60000 {
204 label = "u-boot-env";
205 reg = <0x60000 0x20000>;
206 read-only;
207 };
208
209 partition@80000 {
210 label = "firmware";
211 reg = <0x80000 0x1f00000>;
212 };
213
214 boardconfig: partition@1f80000 {
215 label = "boardconfig";
216 reg = <0x1f80000 0x80000>;
217 read-only;
218 };
219 };
220 };
221 };
222
223 &pcie0 {
224 status = "okay";
225 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
226 };
227
228 &usb_phy0 {
229 status = "okay";
230 };
231
232 &usb_phy1 {
233 status = "okay";
234 };
235
236 &usb0 {
237 status = "okay";
238 vbus-supply = <&usb_vbus>;
239 };
240
241 &usb1 {
242 status = "okay";
243 vbus-supply = <&usb_vbus>;
244 };