lantiq: kernel 4.14: update dts files
[openwrt/openwrt.git] / target / linux / lantiq / files-4.14 / 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 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: 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,danube-rcu", "simple-mfd", "syscon";
87 reg = <0x203000 0x1000>;
88 ranges = <0x0 0x203000 0x100>;
89 big-endian;
90
91 reset: reset-controller@10 {
92 compatible = "lantiq,danube-reset";
93 reg = <0x10 4>, <0x14 4>;
94
95 #reset-cells = <2>;
96 };
97
98 usb_phy: usb2-phy@18 {
99 compatible = "lantiq,danube-usb2-phy";
100 reg = <0x18 4>;
101 status = "disabled";
102
103 resets = <&reset 4 4>;
104 reset-names = "ctrl";
105 #phy-cells = <0>;
106 };
107
108 reboot@10 {
109 compatible = "syscon-reboot";
110 reg = <0x10 4>;
111
112 regmap = <&rcu0>;
113 offset = <0x10>;
114 mask = <0x40000000>;
115 };
116 };
117 };
118
119 fpi@10000000 {
120 #address-cells = <1>;
121 #size-cells = <1>;
122 compatible = "lantiq,fpi", "simple-bus";
123 ranges = <0x0 0x10000000 0xeefffff>;
124 reg = <0x10000000 0xef00000>;
125
126 localbus: localbus@0 {
127 #address-cells = <2>;
128 #size-cells = <1>;
129 ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
130 1 0 0x4000000 0x4000010>; /* addsel1 */
131 compatible = "lantiq,localbus", "simple-bus";
132
133 gpiomm: gpiomm@1 {
134 compatible = "lantiq,gpio-mm";
135 reg = <1 0x0 0x10 >;
136 #address-cells = <1>;
137 #size-cells = <1>;
138 #gpio-cells = <2>;
139 gpio-controller;
140 status = "disabled";
141 };
142 };
143
144 gptu@e100a00 {
145 compatible = "lantiq,gptu-xway";
146 reg = <0xe100a00 0x100>;
147 interrupt-parent = <&icu0>;
148 interrupts = <126 127 128 129 130 131>;
149 };
150
151 gpios: stp@e100bb0 {
152 #gpio-cells = <2>;
153 compatible = "lantiq,gpio-stp-xway";
154 gpio-controller;
155 reg = <0xe100bb0 0x40>;
156 lantiq,shadow = <0xfff>;
157 lantiq,groups = <0x3>;
158 status = "disabled";
159 };
160
161 asc0: serial@e100400 {
162 compatible = "lantiq,asc";
163 reg = <0xe100400 0x400>;
164 interrupt-parent = <&icu0>;
165 interrupts = <104 105 106>;
166 status = "disabled";
167 };
168
169 gpio: pinmux@e100b10 {
170 compatible = "lantiq,danube-pinctrl";
171 #gpio-cells = <2>;
172 gpio-controller;
173 reg = <0xe100b10 0xa0>;
174 };
175
176 asc1: serial@e100c00 {
177 compatible = "lantiq,asc";
178 reg = <0xe100c00 0x400>;
179 interrupt-parent = <&icu0>;
180 interrupts = <112 113 114>;
181 };
182
183 usb: usb@e101000 {
184 compatible = "lantiq,danube-usb";
185 reg = <0xe101000 0x1000
186 0xe120000 0x3f000>;
187 interrupt-parent = <&icu0>;
188 interrupts = <62>;
189 dr_mode = "host";
190 phys = <&usb_phy>;
191 phy-names = "usb2-phy";
192 status = "disabled";
193 };
194
195 deu@e103100 {
196 compatible = "lantiq,deu-danube";
197 reg = <0xe103100 0xf00>;
198 };
199
200 dma0: dma@e104100 {
201 compatible = "lantiq,dma-xway";
202 reg = <0xe104100 0x800>;
203 };
204
205 ebu0: ebu@e105300 {
206 compatible = "lantiq,ebu-xway";
207 reg = <0xe105300 0x100>;
208 };
209
210 mei@e116000 {
211 compatible = "lantiq,mei-xway";
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 interrupt-parent = <&icu0>;
227 interrupts = <96>;
228 };
229
230 pci0: pci@e105400 {
231 status = "disabled";
232
233 #address-cells = <3>;
234 #size-cells = <2>;
235 #interrupt-cells = <1>;
236 compatible = "lantiq,pci-xway";
237 bus-range = <0x0 0x0>;
238 ranges = <0x2000000 0 0x8000000 0x8000000 0 0x2000000 /* pci memory */
239 0x1000000 0 0x00000000 0xae00000 0 0x200000>; /* io space */
240 reg = <0x7000000 0x8000 /* config space */
241 0xe105400 0x400>; /* pci bridge */
242 lantiq,bus-clock = <33333333>;
243 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
244 interrupt-map = <0x7000 0 0 1 &icu0 30 1>; /* slot 14, irq 30 */
245 req-mask = <0x1>; /* GNT1 */
246 };
247 };
248
249 adsl {
250 compatible = "lantiq,adsl-danube";
251 };
252 };