lantiq: ARV752DPW22 - fix dts file
[openwrt/staging/stintel.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 ralink_eep {
143 compatible = "ralink,eeprom";
144 ralink,eeprom = "RT2860.eeprom";
145 };
146
147 gpio-keys-polled {
148 compatible = "gpio-keys-polled";
149 #address-cells = <1>;
150 #size-cells = <0>;
151 poll-interval = <100>;
152
153 wps {
154 label = "wps";
155 gpios = <&gpio 11 1>;
156 linux,code = <0x211>;
157 };
158 restart {
159 label = "restart";
160 gpios = <&gpio 12 1>;
161 linux,code = <0x110>;
162 };
163 dsl {
164 label = "dsl";
165 gpios = <&gpio 13 1>;
166 linux,code = <0x111>;
167 };
168 reset {
169 label = "reset";
170 gpios = <&gpio 28 1>;
171 linux,code = <0x198>;
172 };
173 };
174
175 gpio-leds {
176 compatible = "gpio-leds";
177 power1 {
178 label = "power1";
179 gpios = <&gpio 3 1>;
180 };
181 internet {
182 label = "internet";
183 gpios = <&gpio 4 1>;
184 };
185 message {
186 label = "message";
187 gpios = <&gpio 5 1>;
188 };
189 power {
190 label = "power";
191 gpios = <&gpio 6 1>;
192 default-state = "keep";
193 };
194 voice1 {
195 label = "voice1";
196 gpios = <&gpio 8 1>;
197 };
198 microphone {
199 label = "umts";
200 gpios = <&gpiomm 3 1>;
201 };
202 wifi {
203 label = "wifi_rt";
204 gpios = <&gpiomm 4 1>;
205 };
206 fxs1 {
207 label = "fxs1";
208 gpios = <&gpiomm 5 1>;
209 };
210 fxs2 {
211 label = "fxs2";
212 gpios = <&gpiomm 6 1>;
213 };
214 fxo {
215 label = "fxo";
216 gpios = <&gpiomm 7 1>;
217 };
218 internet2 {
219 label = "internet2";
220 gpios = <&gpiomm 8 1>;
221 };
222 voice2 {
223 label = "voice2";
224 gpios = <&gpiomm 9 1>;
225 };
226 eth1 {
227 label = "eth1";
228 gpios = <&gpiomm 11 1>;
229 };
230 eth2 {
231 label = "eth2";
232 gpios = <&gpiomm 12 1>;
233 };
234 eth3 {
235 label = "eth3";
236 gpios = <&gpiomm 13 1>;
237 };
238 eth4 {
239 label = "eth4";
240 gpios = <&gpiomm 14 1>;
241 };
242 };
243 };