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