lantiq: update dts files
[openwrt/svn-archive/archive.git] / target / linux / lantiq / dts / ARV752DPW22.dts
1 /dts-v1/;
2
3 /include/ "danube.dtsi"
4
5 / {
6 model = "ARV752DPW22 - Arcor 803";
7
8 chosen {
9 bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
10 };
11
12 memory@0 {
13 reg = <0x0 0x4000000>;
14 };
15
16 sram@1F000000 {
17 vmmc@107000 {
18 status = "okay";
19 gpios = <&gpiomm 1 0>;
20 };
21 };
22
23 fpi@10000000 {
24 localbus@0 {
25 nor-boot@0 {
26 compatible = "lantiq,nor";
27 bank-width = <2>;
28 reg = <0 0x0 0x800000>;
29 #address-cells = <1>;
30 #size-cells = <1>;
31
32 partition@0 {
33 label = "uboot";
34 reg = <0x00000 0x30000>;
35 read-only;
36 };
37
38 partition@10000 {
39 label = "uboot_env";
40 reg = <0x30000 0x10000>;
41 read-only;
42 };
43
44 partition@20000 {
45 label = "firmware";
46 reg = <0x40000 0x7b0000>;
47 };
48
49 partition@7f0000 {
50 label = "board_config";
51 reg = <0x7f0000 0x10000>;
52 read-only;
53 };
54 };
55
56 mac_addr {
57 compatible = "lantiq,eth-mac";
58 reg = <0 0x7f0016 0x6>;
59 mac-increment = <2>;
60 };
61
62 gpiomm: gpiomm@4000000 {
63 compatible = "lantiq,gpio-mm";
64 reg = <1 0x0 0x10 >;
65 #address-cells = <1>;
66 #size-cells = <1>;
67 #gpio-cells = <2>;
68 gpio-controller;
69 lantiq,shadow = <3>;
70 };
71 };
72
73 gpio: pinmux@E100B10 {
74 pinctrl-names = "default";
75 pinctrl-0 = <&state_default>;
76
77 state_default: pinmux {
78 ebu {
79 lantiq,groups = "ebu cs1";
80 lantiq,function = "ebu";
81 };
82 exin {
83 lantiq,groups = "exin1";
84 lantiq,function = "exin";
85 lantiq,pull = <2>;
86 lantiq,output = <0>;
87 };
88 pci_in {
89 lantiq,groups = "req1";
90 lantiq,function = "pci";
91 lantiq,pull = <2>;
92 lantiq,output = <0>;
93 };
94 pci_out {
95 lantiq,groups = "gnt1";
96 lantiq,function = "pci";
97 lantiq,open-drain = <1>;
98 lantiq,output = <1>;
99 };
100 pci_rst {
101 lantiq,pins = "io21";
102 lantiq,open-drain = <1>;
103 lantiq,output = <1>;
104 };
105 leds {
106 lantiq,pins = "io3", "io5", "io6", "io8";
107 lantiq,open-drain = <1>;
108 lantiq,output = <1>;
109 };
110 buttons {
111 lantiq,pins = "io11", "io12", "io13", "io28";
112 lantiq,pull = <2>;
113 lantiq,output = <0>;
114 };
115 };
116 };
117
118 ifxhcd@E101000 {
119 status = "okay";
120 gpios = <&gpiomm 0 0>;
121 };
122
123 etop@E180000 {
124 phy-mode = "mii";
125 };
126
127 pci@E105400 {
128 status = "okay";
129 lantiq,external-clock;
130 interrupt-map = <
131 0x7000 0 0 1 &icu0 30
132 0x7800 0 0 1 &icu0 135
133 0x7800 0 0 2 &icu0 135
134 0x7800 0 0 3 &icu0 135
135 >;
136 gpio-reset = <&gpio 21 0>;
137 req-mask = <0x3>;
138 };
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 11 1>;
151 linux,code = <0x211>;
152 };
153 restart {
154 label = "restart";
155 gpios = <&gpio 12 1>;
156 linux,code = <0x110>;
157 };
158 dsl {
159 label = "dsl";
160 gpios = <&gpio 13 1>;
161 linux,code = <0x111>;
162 };
163 reset {
164 label = "reset";
165 gpios = <&gpio 28 1>;
166 linux,code = <0x198>;
167 };
168 };
169
170 gpio-leds {
171 compatible = "gpio-leds";
172 power {
173 label = "power";
174 gpios = <&gpio 3 1>;
175 default-state = "on";
176 };
177 message {
178 label = "message";
179 gpios = <&gpio 5 1>;
180 default-state = "on";
181 };
182 power1 {
183 label = "power1";
184 gpios = <&gpio 6 1>;
185 default-state = "on";
186 };
187 voice1 {
188 label = "voice1";
189 gpios = <&gpio 8 1>;
190 default-state = "on";
191 };
192 microphone {
193 label = "microphone";
194 gpios = <&gpiomm 3 1>;
195 default-state = "on";
196 };
197 wifi {
198 label = "wifi_rt";
199 gpios = <&gpiomm 4 1>;
200 default-state = "on";
201 };
202 fxs1 {
203 label = "fxs1";
204 gpios = <&gpiomm 5 1>;
205 default-state = "on";
206 };
207 fxs2 {
208 label = "fxs2";
209 gpios = <&gpiomm 6 1>;
210 default-state = "on";
211 };
212 fxo {
213 label = "fxo";
214 gpios = <&gpiomm 7 1>;
215 default-state = "on";
216 };
217 dsl {
218 label = "dsl";
219 gpios = <&gpiomm 8 1>;
220 default-state = "on";
221 };
222 voice2 {
223 label = "voice2";
224 gpios = <&gpiomm 9 1>;
225 default-state = "on";
226 };
227 eth1 {
228 label = "eth1";
229 gpios = <&gpiomm 11 1>;
230 default-state = "on";
231 };
232 eth2 {
233 label = "eth2";
234 gpios = <&gpiomm 12 1>;
235 default-state = "on";
236 };
237 eth3 {
238 label = "eth3";
239 gpios = <&gpiomm 13 1>;
240 default-state = "on";
241 };
242 eth4 {
243 label = "eth4";
244 gpios = <&gpiomm 14 1>;
245 default-state = "on";
246 };
247 };
248 };