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