bcb4cc2d4b65afcfa8b2a60405662a6add7e59b5
[openwrt/staging/lynxis.git] / target / linux / lantiq / files / arch / mips / boot / 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 #address-cells = <1>;
18 #size-cells = <0>;
19
20 cpu@0 {
21 compatible = "mips,mips24Kc";
22 reg = <0>;
23 };
24 };
25
26 reboot {
27 compatible = "syscon-reboot";
28
29 regmap = <&rcu0>;
30 offset = <0x10>;
31 mask = <0x40000000>;
32 };
33
34 biu@1f800000 {
35 #address-cells = <1>;
36 #size-cells = <1>;
37 compatible = "lantiq,biu", "simple-bus";
38 reg = <0x1f800000 0x800000>;
39 ranges = <0x0 0x1f800000 0x7fffff>;
40
41 icu0: icu@80200 {
42 #interrupt-cells = <1>;
43 interrupt-controller;
44 compatible = "lantiq,icu";
45 reg = <0x80200 0x28
46 0x80228 0x28
47 0x80250 0x28
48 0x80278 0x28
49 0x802a0 0x28>;
50 };
51
52 watchdog@803f0 {
53 compatible = "lantiq,wdt";
54 reg = <0x803f0 0x10>;
55 };
56 };
57
58 sram@1f000000 {
59 #address-cells = <1>;
60 #size-cells = <1>;
61 compatible = "lantiq,sram", "simple-bus";
62 reg = <0x1f000000 0x800000>;
63 ranges = <0x0 0x1f000000 0x7fffff>;
64
65 eiu0: eiu@101000 {
66 #interrupt-cells = <1>;
67 interrupt-controller;
68 compatible = "lantiq,eiu-xway";
69 reg = <0x101000 0x1000>;
70 interrupt-parent = <&icu0>;
71 lantiq,eiu-irqs = <166 135 66>;
72 };
73
74 pmu0: pmu@102000 {
75 compatible = "lantiq,pmu-xway";
76 reg = <0x102000 0x1000>;
77 };
78
79 cgu0: cgu@103000 {
80 compatible = "lantiq,cgu-xway";
81 reg = <0x103000 0x1000>;
82 #clock-cells = <1>;
83 };
84
85 vmmc: vmmc@107000 {
86 status = "disabled";
87 compatible = "lantiq,vmmc-xway";
88 reg = <0x103000 0x400>;
89 interrupt-parent = <&icu0>;
90 interrupts = <150 151 152 153 154 155>;
91 };
92
93 rcu0: rcu@203000 {
94 compatible = "lantiq,danube-rcu", "simple-mfd", "syscon";
95 reg = <0x203000 0x1000>;
96 ranges = <0x0 0x203000 0x100>;
97 big-endian;
98
99 reset: reset-controller@10 {
100 compatible = "lantiq,danube-reset";
101 reg = <0x10 4>, <0x14 4>;
102
103 #reset-cells = <2>;
104 };
105
106 usb_phy: usb2-phy@18 {
107 compatible = "lantiq,danube-usb2-phy";
108 reg = <0x18 4>;
109 status = "disabled";
110
111 resets = <&reset 4 4>;
112 reset-names = "ctrl";
113 #phy-cells = <0>;
114 };
115 };
116 };
117
118 fpi@10000000 {
119 #address-cells = <1>;
120 #size-cells = <1>;
121 compatible = "lantiq,fpi", "simple-bus";
122 ranges = <0x0 0x10000000 0xeefffff>;
123 reg = <0x10000000 0xef00000>;
124
125 localbus: localbus@0 {
126 #address-cells = <2>;
127 #size-cells = <1>;
128 ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
129 1 0 0x4000000 0x4000010>; /* addsel1 */
130 compatible = "lantiq,localbus", "simple-bus";
131
132 gpiomm: gpiomm@1 {
133 compatible = "lantiq,gpio-mm";
134 reg = <1 0x0 0x10 >;
135 #address-cells = <1>;
136 #size-cells = <1>;
137 #gpio-cells = <2>;
138 gpio-controller;
139 status = "disabled";
140 };
141 };
142
143 gptu@e100a00 {
144 compatible = "lantiq,gptu-xway";
145 reg = <0xe100a00 0x100>;
146 interrupt-parent = <&icu0>;
147 interrupts = <126 127 128 129 130 131>;
148 };
149
150 gpios: stp@e100bb0 {
151 #gpio-cells = <2>;
152 compatible = "lantiq,gpio-stp-xway";
153 gpio-controller;
154 reg = <0xe100bb0 0x40>;
155 lantiq,shadow = <0xfff>;
156 lantiq,groups = <0x3>;
157 status = "disabled";
158 };
159
160 asc0: serial@e100400 {
161 compatible = "lantiq,asc";
162 reg = <0xe100400 0x400>;
163 interrupt-parent = <&icu0>;
164 interrupts = <104 105 106>;
165 status = "disabled";
166 };
167
168 gpio: pinmux@e100b10 {
169 compatible = "lantiq,danube-pinctrl";
170 #gpio-cells = <2>;
171 gpio-controller;
172 reg = <0xe100b10 0xa0>;
173 };
174
175 asc1: serial@e100c00 {
176 compatible = "lantiq,asc";
177 reg = <0xe100c00 0x400>;
178 interrupt-parent = <&icu0>;
179 interrupts = <112 113 114>;
180 };
181
182 usb: usb@e101000 {
183 compatible = "lantiq,danube-usb";
184 reg = <0xe101000 0x1000
185 0xe120000 0x3f000>;
186 interrupt-parent = <&icu0>;
187 interrupts = <62>;
188 dr_mode = "host";
189 phys = <&usb_phy>;
190 phy-names = "usb2-phy";
191 status = "disabled";
192 };
193
194 deu@e103100 {
195 compatible = "lantiq,deu-danube";
196 reg = <0xe103100 0xf00>;
197 };
198
199 dma0: dma@e104100 {
200 compatible = "lantiq,dma-xway";
201 reg = <0xe104100 0x800>;
202 };
203
204 ebu0: ebu@e105300 {
205 compatible = "lantiq,ebu-xway";
206 reg = <0xe105300 0x100>;
207 };
208
209 mei@e116000 {
210 compatible = "lantiq,mei-xway";
211 reg = <0xe116000 0x400>;
212 interrupt-parent = <&icu0>;
213 interrupts = <63>;
214 };
215
216 gsw: etop@e180000 {
217 compatible = "lantiq,etop-xway";
218 reg = <0xe180000 0x40000>;
219 interrupt-parent = <&icu0>;
220 interrupts = <73 78>;
221 mac-address = [ 00 11 22 33 44 55 ];
222 };
223
224 ppe@e234000 {
225 compatible = "lantiq,ppe-danube";
226 reg = <0xe234000 0x40000>;
227 interrupt-parent = <&icu0>;
228 interrupts = <96>;
229 };
230
231 pci0: pci@e105400 {
232 status = "disabled";
233
234 #address-cells = <3>;
235 #size-cells = <2>;
236 #interrupt-cells = <1>;
237 compatible = "lantiq,pci-xway";
238 bus-range = <0x0 0x0>;
239 ranges = <0x2000000 0 0x8000000 0x8000000 0 0x2000000 /* pci memory */
240 0x1000000 0 0x00000000 0xae00000 0 0x200000>; /* io space */
241 reg = <0x7000000 0x8000 /* config space */
242 0xe105400 0x400>; /* pci bridge */
243 lantiq,bus-clock = <33333333>;
244 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
245 interrupt-map = <0x7000 0 0 1 &icu0 30 1>; /* slot 14, irq 30 */
246 req-mask = <0x1>; /* GNT1 */
247 };
248 };
249
250 adsl {
251 compatible = "lantiq,adsl-danube";
252 };
253 };