lantiq: re-enable spi-xway for TD-W89X0 now that it is fixed
[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
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                 power {
178                         label = "power";
179                         gpios = <&gpio 3 1>;
180                         default-state = "on";
181                 };
182                 message {
183                         label = "message";
184                         gpios = <&gpio 5 1>;
185                         default-state = "on";
186                 };
187                 power1 {
188                         label = "power1";
189                         gpios = <&gpio 6 1>;
190                         default-state = "on";
191                 };
192                 voice1 {
193                         label = "voice1";
194                         gpios = <&gpio 8 1>;
195                         default-state = "on";
196                 };
197                 microphone {
198                         label = "microphone";
199                         gpios = <&gpiomm 3 1>;
200                         default-state = "on";
201                 };
202                 wifi {
203                         label = "wifi_rt";
204                         gpios = <&gpiomm 4 1>;
205                         default-state = "on";
206                 };
207                 fxs1 {
208                         label = "fxs1";
209                         gpios = <&gpiomm 5 1>;
210                         default-state = "on";
211                 };
212                 fxs2 {
213                         label = "fxs2";
214                         gpios = <&gpiomm 6 1>;
215                         default-state = "on";
216                 };
217                 fxo {
218                         label = "fxo";
219                         gpios = <&gpiomm 7 1>;
220                         default-state = "on";
221                 };
222                 dsl {
223                         label = "dsl";
224                         gpios = <&gpiomm 8 1>;
225                         default-state = "on";
226                 };
227                 voice2 {
228                         label = "voice2";
229                         gpios = <&gpiomm 9 1>;
230                         default-state = "on";
231                 };
232                 eth1 {
233                          label = "eth1";
234                          gpios = <&gpiomm 11 1>;
235                          default-state = "on";
236                 };
237                 eth2 {
238                         label = "eth2";
239                         gpios = <&gpiomm 12 1>;
240                         default-state = "on";
241                 };
242                 eth3 {
243                         label = "eth3";
244                         gpios = <&gpiomm 13 1>;
245                         default-state = "on";
246                 };
247                 eth4 {
248                         label = "eth4";
249                         gpios = <&gpiomm 14 1>;
250                         default-state = "on";
251                 };
252         };
253 };