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