lantiq: update USB controller initialization
[openwrt/staging/lynxis/omap.git] / target / linux / lantiq / dts / danube.dtsi
1 #include <dt-bindings/gpio/gpio.h>
2
3 / {
4 #address-cells = <1>;
5 #size-cells = <1>;
6 compatible = "lantiq,xway", "lantiq,danube";
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,mips24Kc";
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>;
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 vmmc@107000 {
78 status = "disabled";
79 compatible = "lantiq,vmmc-xway";
80 reg = <0x103000 0x400>;
81 interrupt-parent = <&icu0>;
82 interrupts = <150 151 152 153 154 155>;
83 };
84
85 rcu0: rcu@203000 {
86 compatible = "lantiq,rcu-xway";
87 reg = <0x203000 0x1000>;
88 };
89 };
90
91 fpi@10000000 {
92 #address-cells = <1>;
93 #size-cells = <1>;
94 compatible = "lantiq,fpi", "simple-bus";
95 ranges = <0x0 0x10000000 0xEEFFFFF>;
96 reg = <0x10000000 0xEF00000>;
97
98 localbus@0 {
99 #address-cells = <2>;
100 #size-cells = <1>;
101 ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
102 1 0 0x4000000 0x4000010>; /* addsel1 */
103 compatible = "lantiq,localbus", "simple-bus";
104 };
105
106 gptu@E100A00 {
107 compatible = "lantiq,gptu-xway";
108 reg = <0xE100A00 0x100>;
109 interrupt-parent = <&icu0>;
110 interrupts = <126 127 128 129 130 131>;
111 };
112
113 gpios: stp@E100BB0 {
114 #gpio-cells = <2>;
115 compatible = "lantiq,gpio-stp-xway";
116 gpio-controller;
117 reg = <0xE100BB0 0x40>;
118 lantiq,shadow = <0xfff>;
119 lantiq,groups = <0x3>;
120 status = "disabled";
121 };
122
123 asc0: serial@E100400 {
124 compatible = "lantiq,asc";
125 reg = <0xE100400 0x400>;
126 interrupt-parent = <&icu0>;
127 interrupts = <104 105 106>;
128 status = "disabled";
129 };
130
131 gpio: pinmux@E100B10 {
132 compatible = "lantiq,danube-pinctrl";
133 #gpio-cells = <2>;
134 gpio-controller;
135 reg = <0xE100B10 0xA0>;
136 };
137
138 asc1: serial@E100C00 {
139 compatible = "lantiq,asc";
140 reg = <0xE100C00 0x400>;
141 interrupt-parent = <&icu0>;
142 interrupts = <112 113 114>;
143 };
144
145 ifxhcd@E101000 {
146 compatible = "lantiq,danube-usb", "lantiq,ifxhcd-danube";
147 reg = <0xE101000 0x1000
148 0xE120000 0x3f000>;
149 interrupt-parent = <&icu0>;
150 interrupts = <62>;
151 dr_mode = "host";
152 status = "disabled";
153 };
154
155 deu@E103100 {
156 compatible = "lantiq,deu-danube";
157 reg = <0xE103100 0xf00>;
158 };
159
160 dma0: dma@E104100 {
161 compatible = "lantiq,dma-xway";
162 reg = <0xE104100 0x800>;
163 };
164
165 ebu0: ebu@E105300 {
166 compatible = "lantiq,ebu-xway";
167 reg = <0xE105300 0x100>;
168 };
169
170 mei@E116000 {
171 compatible = "lantiq,mei-xway";
172 interrupt-parent = <&icu0>;
173 interrupts = <63>;
174 };
175
176 etop@E180000 {
177 compatible = "lantiq,etop-xway";
178 reg = <0xE180000 0x40000>;
179 interrupt-parent = <&icu0>;
180 interrupts = <73 78>;
181 mac-address = [ 00 11 22 33 44 55 ];
182 };
183
184 ppe@E234000 {
185 compatible = "lantiq,ppe-danube";
186 interrupt-parent = <&icu0>;
187 interrupts = <96>;
188 };
189
190 pci0: pci@E105400 {
191 status = "disabled";
192
193 #address-cells = <3>;
194 #size-cells = <2>;
195 #interrupt-cells = <1>;
196 compatible = "lantiq,pci-xway";
197 bus-range = <0x0 0x0>;
198 ranges = <0x2000000 0 0x8000000 0x8000000 0 0x2000000 /* pci memory */
199 0x1000000 0 0x00000000 0xAE00000 0 0x200000>; /* io space */
200 reg = <0x7000000 0x8000 /* config space */
201 0xE105400 0x400>; /* pci bridge */
202 lantiq,bus-clock = <33333333>;
203 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
204 interrupt-map = <0x7000 0 0 1 &icu0 30 1>; /* slot 14, irq 30 */
205 req-mask = <0x1>; /* GNT1 */
206 };
207 };
208
209 adsl {
210 compatible = "lantiq,adsl-danube";
211 };
212 };