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