lantiq: update USB controller initialization
[openwrt/staging/lynxis/omap.git] / target / linux / lantiq / dts / ar9.dtsi
1 #include <dt-bindings/gpio/gpio.h>
2
3 / {
4 #address-cells = <1>;
5 #size-cells = <1>;
6 compatible = "lantiq,xway", "lantiq,ar9";
7
8 aliases {
9 serial0 = &asc1;
10 };
11
12 chosen {
13 stdout-path = "serial0:115200n8";
14 };
15
16 cpus {
17 cpu@0 {
18 compatible = "mips,mips34K";
19 };
20 };
21
22 memory@0 {
23 device_type = "memory";
24 };
25
26 biu@1F800000 {
27 #address-cells = <1>;
28 #size-cells = <1>;
29 compatible = "lantiq,biu", "simple-bus";
30 reg = <0x1F800000 0x800000>;
31 ranges = <0x0 0x1F800000 0x7FFFFF>;
32
33 icu0: icu@80200 {
34 #interrupt-cells = <1>;
35 interrupt-controller;
36 compatible = "lantiq,icu";
37 reg = <0x80200 0x28
38 0x80228 0x28
39 0x80250 0x28
40 0x80278 0x28
41 0x802a0 0x28>;
42 };
43
44 watchdog@803F0 {
45 compatible = "lantiq,wdt";
46 reg = <0x803F0 0x10>;
47 };
48 };
49
50 sram@1F000000 {
51 #address-cells = <1>;
52 #size-cells = <1>;
53 compatible = "lantiq,sram", "simple-bus";
54 reg = <0x1F000000 0x800000>;
55 ranges = <0x0 0x1F000000 0x7FFFFF>;
56
57 eiu0: eiu@101000 {
58 #interrupt-cells = <1>;
59 interrupt-controller;
60 compatible = "lantiq,eiu-xway";
61 reg = <0x101000 0x1000>;
62 interrupt-parent = <&icu0>;
63 lantiq,eiu-irqs = <166 135 66 40 41 42>;
64 };
65
66 pmu0: pmu@102000 {
67 compatible = "lantiq,pmu-xway";
68 reg = <0x102000 0x1000>;
69 };
70
71 cgu0: cgu@103000 {
72 compatible = "lantiq,cgu-xway";
73 reg = <0x103000 0x1000>;
74 #clock-cells = <1>;
75 };
76
77 rcu0: rcu@203000 {
78 compatible = "lantiq,rcu-xway";
79 reg = <0x203000 0x1000>;
80 };
81 };
82
83 fpi@10000000 {
84 #address-cells = <1>;
85 #size-cells = <1>;
86 compatible = "lantiq,fpi", "simple-bus";
87 ranges = <0x0 0x10000000 0xEEFFFFF>;
88 reg = <0x10000000 0xEF00000>;
89
90 localbus@0 {
91 #address-cells = <2>;
92 #size-cells = <1>;
93 ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
94 1 0 0x4000000 0x4000010>; /* addsel1 */
95 compatible = "lantiq,localbus", "simple-bus";
96 };
97
98 gptu@E100A00 {
99 compatible = "lantiq,gptu-xway";
100 reg = <0xE100A00 0x100>;
101 interrupt-parent = <&icu0>;
102 interrupts = <126 127 128 129 130 131>;
103 };
104
105 asc0: serial@E100400 {
106 compatible = "lantiq,asc";
107 reg = <0xE100400 0x400>;
108 interrupt-parent = <&icu0>;
109 interrupts = <104 105 106>;
110 status = "disabled";
111 };
112
113 spi: spi@E100800 {
114 compatible = "lantiq,xrx100-spi";
115 reg = <0xE100800 0x100>;
116 interrupt-parent = <&icu0>;
117 interrupts = <22 23 24>;
118 interrupt-names = "spi_rx", "spi_tx", "spi_err",
119 "spi_frm";
120 #address-cells = <1>;
121 #size-cells = <1>;
122 status = "disabled";
123 };
124
125 gpio: pinmux@E100B10 {
126 compatible = "lantiq,xrx100-pinctrl";
127 #gpio-cells = <2>;
128 gpio-controller;
129 reg = <0xE100B10 0xA0>;
130 };
131
132 asc1: serial@E100C00 {
133 compatible = "lantiq,asc";
134 reg = <0xE100C00 0x400>;
135 interrupt-parent = <&icu0>;
136 interrupts = <112 113 114>;
137 };
138
139 ifxhcd@E101000 {
140 compatible = "lantiq,arx100-usb", "lantiq,ifxhcd-arx100";
141 reg = <0xE101000 0x1000
142 0xE120000 0x3f000>;
143 interrupt-parent = <&icu0>;
144 interrupts = <62 91>;
145 dr_mode = "host";
146 status = "disabled";
147 };
148
149 ifxhcd@E106000 {
150 compatible = "lantiq,arx100-usb";
151 reg = <0xE106000 0x1000
152 0xE1E0000 0x3f000>;
153 interrupt-parent = <&icu0>;
154 interrupts = <91>;
155 dr_mode = "host";
156 status = "disabled";
157 };
158
159 deu@E103100 {
160 compatible = "lantiq,deu-arx100";
161 reg = <0xE103100 0xf00>;
162 };
163
164 dma0: dma@E104100 {
165 compatible = "lantiq,dma-xway";
166 reg = <0xE104100 0x800>;
167 };
168
169 ebu0: ebu@E105300 {
170 compatible = "lantiq,ebu-xway";
171 reg = <0xE105300 0x100>;
172 };
173
174 mei@E116000 {
175 compatible = "lantiq,mei-xway";
176 interrupt-parent = <&icu0>;
177 interrupts = <63>;
178 };
179
180 etop@E180000 {
181 compatible = "lantiq,etop-xway";
182 reg = <0xE180000 0x40000
183 0xE108000 0x200>;
184 interrupt-parent = <&icu0>;
185 interrupts = <73 72>;
186 mac-address = [ 00 11 22 33 44 55 ];
187 };
188
189 ppe@E234000 {
190 compatible = "lantiq,ppe-arx100";
191 interrupt-parent = <&icu0>;
192 interrupts = <96>;
193 };
194
195 pci0: pci@E105400 {
196 status = "disabled";
197 #address-cells = <3>;
198 #size-cells = <2>;
199 #interrupt-cells = <1>;
200 compatible = "lantiq,pci-xway";
201 bus-range = <0x0 0x0>;
202 ranges = <0x2000000 0 0x8000000 0x8000000 0 0x2000000 /* pci memory */
203 0x1000000 0 0x00000000 0xAE00000 0 0x200000>; /* io space */
204 reg = <0x7000000 0x8000 /* config space */
205 0xE105400 0x400>; /* pci bridge */
206 lantiq,bus-clock = <33333333>;
207 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
208 interrupt-map = <0x7000 0 0 1 &icu0 30 1>;
209 req-mask = <0x1>;
210 };
211 };
212
213 adsl {
214 compatible = "lantiq,adsl-arx100";
215 };
216 };