18b2da8fd4b02345a64dccf52f9e8f8801ab7b99
[openwrt/openwrt.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 leds {
12 boot = &power;
13 failsafe = &power2;
14 running = &power;
15
16 dsl = &adsl;
17 internet = &internet;
18 usb = &usb;
19 usb2 = &usb2;
20 wifi = &wifi;
21 };
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 partition@0 {
46 label = "uboot";
47 reg = <0x00000 0x40000>;
48 read-only;
49 };
50
51 partition@40000 {
52 label = "uboot_env";
53 reg = <0x40000 0x20000>;
54 read-only;
55 };
56
57 partition@60000 {
58 label = "firmware";
59 reg = <0x60000 0xfa0000>;
60 };
61 };
62 };
63 gpio: pinmux@E100B10 {
64 pinctrl-names = "default";
65 pinctrl-0 = <&state_default>;
66
67 state_default: pinmux {
68 ebu {
69 lantiq,groups = "ebu a23";
70 lantiq,function = "ebu";
71 lantiq,open-drain = <0>;
72 lantiq,output = <1>;
73 };
74 stp {
75 lantiq,groups = "stp";
76 lantiq,function = "stp";
77 lantiq,open-drain = <0>;
78 lantiq,output = <1>;
79 };
80 exin {
81 lantiq,groups = "exin1", "exin2";
82 lantiq,function = "exin";
83 lantiq,output = <0>;
84 };
85 pci_in {
86 lantiq,groups = "req1", "req2";
87 lantiq,function = "pci";
88 lantiq,output = <0>;
89 };
90 pci_out {
91 lantiq,groups = "gnt1", "gnt2";
92 lantiq,function = "pci";
93 lantiq,open-drain = <0>;
94 lantiq,pull = <0>;
95 lantiq,output = <1>;
96 };
97 pci_rst {
98 lantiq,pins = "io21";
99 lantiq,open-drain = <0>;
100 lantiq,output = <1>;
101 };
102 buttons {
103 lantiq,pins = "io3", "io14";
104 lantiq,pull = <2>;
105 lantiq,output = <0>;
106 };
107 };
108 };
109
110 gpios: stp@E100BB0 {
111 status = "okay";
112 lantiq,groups = <0x7>;
113 };
114
115 etop@E180000 {
116 phy-mode = "rmii";
117 };
118
119 pci@E105400 {
120 status = "okay";
121 lantiq,external-clock;
122 interrupt-map = <
123 0x6000 0 0 1 &icu0 135
124 0x7800 0 0 1 &icu0 66
125 0x7800 0 0 2 &icu0 66
126 0x7800 0 0 3 &icu0 66
127 >;
128 gpio-reset = <&gpio 21 0>;
129 req-mask = <0x7>;
130 };
131
132 };
133
134 gpio-keys-polled {
135 compatible = "gpio-keys-polled";
136 #address-cells = <1>;
137 #size-cells = <0>;
138 poll-interval = <100>;
139
140 wps {
141 label = "wps";
142 gpios = <&gpio 14 1>;
143 linux,code = <0x211>;
144 };
145 reset {
146 label = "reset";
147 gpios = <&gpio 3 1>;
148 linux,code = <0x198>;
149 };
150 };
151
152 gpio-leds {
153 compatible = "gpio-leds";
154 power: power {
155 label = "power";
156 gpios = <&gpios 21 0>;
157 default-state = "keep";
158 };
159 power2: power2 {
160 label = "power2";
161 gpios = <&gpios 20 0>;
162 };
163 lan1 {
164 label = "lan1";
165 gpios = <&gpios 19 0>;
166 };
167 lan2 {
168 label = "lan2";
169 gpios = <&gpios 18 0>;
170 };
171 lan3 {
172 label = "lan3";
173 gpios = <&gpios 17 0>;
174 };
175 lan4 {
176 label = "lan4";
177 gpios = <&gpios 16 0>;
178 };
179 wifi: wifi {
180 label = "wifi";
181 gpios = <&gpios 15 0>;
182 };
183 adsl: adsl {
184 label = "adsl";
185 gpios = <&gpios 14 0>;
186 };
187 internet: internet {
188 label = "internet";
189 gpios = <&gpios 13 0>;
190 };
191 internet2 {
192 label = "internet2";
193 gpios = <&gpios 12 0>;
194 };
195 voip {
196 label = "voip";
197 gpios = <&gpios 11 0>;
198 };
199 phone {
200 label = "phone";
201 gpios = <&gpios 10 0>;
202 };
203 phone2 {
204 label = "phone2";
205 gpios = <&gpios 9 0>;
206 };
207 usb: usb {
208 label = "usb";
209 gpios = <&gpios 8 0>;
210 };
211 usb2: usb2 {
212 label = "usb2";
213 gpios = <&gpios 7 0>;
214 };
215 usb3 {
216 label = "usb3";
217 gpios = <&gpios 6 0>;
218 };
219 unlabeled {
220 label = "unlabeled";
221 gpios = <&gpios 5 0>;
222 };
223 };
224 };