lantiq: remove the former board name from device tree model
[openwrt/openwrt.git] / target / linux / lantiq / dts / ARV4510PW.dts
1 /dts-v1/;
2
3 #include "danube.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 compatible = "arcadyan,arv4510pw", "lantiq,xway", "lantiq,danube";
9 model = "Wippies, Elisa";
10
11 chosen {
12 bootargs = "console=ttyLTQ0,115200";
13 };
14
15 aliases {
16 led-boot = &power;
17 led-failsafe = &power2;
18 led-running = &power;
19
20 led-dsl = &adsl;
21 led-internet = &internet;
22 led-usb = &usb;
23 led-usb2 = &usb2;
24 led-wifi = &wifi;
25 };
26
27 memory@0 {
28 reg = <0x0 0x2000000>;
29 };
30
31 sram@1F000000 {
32 vmmc@107000 {
33 status = "okay";
34 };
35 };
36
37 fpi@10000000 {
38 localbus@0 {
39 nor-boot@0 {
40 compatible = "lantiq,nor";
41 bank-width = <2>;
42 reg = <0 0x0 0x1000000>;
43 #address-cells = <1>;
44 #size-cells = <1>;
45
46 lantiq,noxip;
47
48 partitions {
49 compatible = "fixed-partitions";
50 #address-cells = <1>;
51 #size-cells = <1>;
52
53 partition@0 {
54 label = "uboot";
55 reg = <0x00000 0x40000>;
56 read-only;
57 };
58
59 partition@40000 {
60 label = "uboot_env";
61 reg = <0x40000 0x20000>;
62 read-only;
63 };
64
65 partition@60000 {
66 label = "firmware";
67 reg = <0x60000 0xfa0000>;
68 };
69 };
70 };
71 };
72 gpio: pinmux@E100B10 {
73 pinctrl-names = "default";
74 pinctrl-0 = <&state_default>;
75
76 state_default: pinmux {
77 ebu {
78 lantiq,groups = "ebu a23";
79 lantiq,function = "ebu";
80 lantiq,open-drain = <0>;
81 lantiq,output = <1>;
82 };
83 stp {
84 lantiq,groups = "stp";
85 lantiq,function = "stp";
86 lantiq,open-drain = <0>;
87 lantiq,output = <1>;
88 };
89 exin {
90 lantiq,groups = "exin1", "exin2";
91 lantiq,function = "exin";
92 lantiq,output = <0>;
93 };
94 pci_in {
95 lantiq,groups = "req1", "req2";
96 lantiq,function = "pci";
97 lantiq,output = <0>;
98 };
99 pci_out {
100 lantiq,groups = "gnt1", "gnt2";
101 lantiq,function = "pci";
102 lantiq,open-drain = <0>;
103 lantiq,pull = <0>;
104 lantiq,output = <1>;
105 };
106 pci_rst {
107 lantiq,pins = "io21";
108 lantiq,open-drain = <0>;
109 lantiq,output = <1>;
110 };
111 buttons {
112 lantiq,pins = "io3", "io14";
113 lantiq,pull = <2>;
114 lantiq,output = <0>;
115 };
116 };
117 };
118
119 gpios: stp@E100BB0 {
120 status = "okay";
121 lantiq,groups = <0x7>;
122 };
123
124 etop@E180000 {
125 phy-mode = "rmii";
126 };
127
128 pci@E105400 {
129 status = "okay";
130 lantiq,external-clock;
131 interrupt-map = <
132 0x6000 0 0 1 &icu0 135
133 0x7800 0 0 1 &icu0 66
134 0x7800 0 0 2 &icu0 66
135 0x7800 0 0 3 &icu0 66
136 >;
137 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
138 req-mask = <0x7>;
139 };
140 };
141
142 gpio-keys-polled {
143 compatible = "gpio-keys-polled";
144 #address-cells = <1>;
145 #size-cells = <0>;
146 poll-interval = <100>;
147
148 wps {
149 label = "wps";
150 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
151 linux,code = <KEY_WPS_BUTTON>;
152 };
153 reset {
154 label = "reset";
155 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
156 linux,code = <KEY_RESTART>;
157 };
158 };
159
160 gpio-leds {
161 compatible = "gpio-leds";
162 power: power {
163 label = "power";
164 gpios = <&gpios 21 GPIO_ACTIVE_HIGH>;
165 default-state = "keep";
166 };
167 power2: power2 {
168 label = "power2";
169 gpios = <&gpios 20 GPIO_ACTIVE_HIGH>;
170 };
171 lan1 {
172 label = "lan1";
173 gpios = <&gpios 19 GPIO_ACTIVE_HIGH>;
174 };
175 lan2 {
176 label = "lan2";
177 gpios = <&gpios 18 GPIO_ACTIVE_HIGH>;
178 };
179 lan3 {
180 label = "lan3";
181 gpios = <&gpios 17 GPIO_ACTIVE_HIGH>;
182 };
183 lan4 {
184 label = "lan4";
185 gpios = <&gpios 16 GPIO_ACTIVE_HIGH>;
186 };
187 wifi: wifi {
188 label = "wifi";
189 gpios = <&gpios 15 GPIO_ACTIVE_HIGH>;
190 };
191 adsl: adsl {
192 label = "adsl";
193 gpios = <&gpios 14 GPIO_ACTIVE_HIGH>;
194 };
195 internet: internet {
196 label = "internet";
197 gpios = <&gpios 13 GPIO_ACTIVE_HIGH>;
198 };
199 internet2 {
200 label = "internet2";
201 gpios = <&gpios 12 GPIO_ACTIVE_HIGH>;
202 };
203 voip {
204 label = "voip";
205 gpios = <&gpios 11 GPIO_ACTIVE_HIGH>;
206 };
207 phone {
208 label = "phone";
209 gpios = <&gpios 10 GPIO_ACTIVE_HIGH>;
210 };
211 phone2 {
212 label = "phone2";
213 gpios = <&gpios 9 GPIO_ACTIVE_HIGH>;
214 };
215 usb: usb {
216 label = "usb";
217 gpios = <&gpios 8 GPIO_ACTIVE_HIGH>;
218 };
219 usb2: usb2 {
220 label = "usb2";
221 gpios = <&gpios 7 GPIO_ACTIVE_HIGH>;
222 };
223 usb3 {
224 label = "usb3";
225 gpios = <&gpios 6 GPIO_ACTIVE_HIGH>;
226 };
227 unlabeled {
228 label = "unlabeled";
229 gpios = <&gpios 5 GPIO_ACTIVE_HIGH>;
230 };
231 };
232 };