lantiq: kernel 4.14: cleanup dts files
[openwrt/staging/jogo.git] / target / linux / lantiq / files-4.14 / arch / mips / boot / dts / vr9.dtsi
1 #include <dt-bindings/gpio/gpio.h>
2
3 / {
4 #address-cells = <1>;
5 #size-cells = <1>;
6 compatible = "lantiq,xway", "lantiq,vr9";
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,mips34Kc";
19 };
20 };
21
22 memory@0 {
23 device_type = "memory";
24 };
25
26 cputemp@0 {
27 compatible = "lantiq,cputemp";
28 };
29
30 biu@1f800000 {
31 #address-cells = <1>;
32 #size-cells = <1>;
33 compatible = "lantiq,biu", "simple-bus";
34 reg = <0x1f800000 0x800000>;
35 ranges = <0x0 0x1f800000 0x7fffff>;
36
37 icu0: icu@80200 {
38 #interrupt-cells = <1>;
39 interrupt-controller;
40 compatible = "lantiq,icu";
41 reg = <0x80200 0x28
42 0x80228 0x28
43 0x80250 0x28
44 0x80278 0x28
45 0x802a0 0x28>;
46 };
47
48 watchdog@803f0 {
49 compatible = "lantiq,wdt";
50 reg = <0x803f0 0x10>;
51 };
52 };
53
54 sram@1f000000 {
55 #address-cells = <1>;
56 #size-cells = <1>;
57 compatible = "lantiq,sram", "simple-bus";
58 reg = <0x1f000000 0x800000>;
59 ranges = <0x0 0x1f000000 0x7fffff>;
60
61 eiu0: eiu@101000 {
62 #interrupt-cells = <1>;
63 interrupt-controller;
64 compatible = "lantiq,eiu-xway";
65 reg = <0x101000 0x1000>;
66 interrupt-parent = <&icu0>;
67 lantiq,eiu-irqs = <166 135 66 40 41 42>;
68 };
69
70 pmu0: pmu@102000 {
71 compatible = "lantiq,pmu-xway";
72 reg = <0x102000 0x1000>;
73 };
74
75 cgu0: cgu@103000 {
76 compatible = "lantiq,cgu-xway";
77 reg = <0x103000 0x1000>;
78 };
79
80 dcdc@106a00 {
81 compatible = "lantiq,dcdc-xrx200";
82 reg = <0x106a00 0x200>;
83 };
84
85 vmmc: vmmc@103000 {
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,rcu-xrx200";
95 reg = <0x203000 0x1000>;
96 /* irq for thermal sensor */
97 interrupt-parent = <&icu0>;
98 interrupts = <115>;
99 };
100
101 xbar0: xbar@400000 {
102 compatible = "lantiq,xbar-xway";
103 reg = <0x400000 0x1000>;
104 };
105 };
106
107 fpi@10000000 {
108 #address-cells = <1>;
109 #size-cells = <1>;
110 compatible = "lantiq,fpi", "simple-bus";
111 ranges = <0x0 0x10000000 0xeefffff>;
112 reg = <0x10000000 0xef00000>;
113
114 localbus: localbus@0 {
115 #address-cells = <2>;
116 #size-cells = <1>;
117 ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
118 1 0 0x4000000 0x4000010>; /* addsel1 */
119 compatible = "lantiq,localbus", "simple-bus";
120 };
121
122 gptu@e100a00 {
123 compatible = "lantiq,gptu-xway";
124 reg = <0xe100a00 0x100>;
125 interrupt-parent = <&icu0>;
126 interrupts = <126 127 128 129 130 131>;
127 };
128
129 asc0: serial@e100400 {
130 compatible = "lantiq,asc";
131 reg = <0xe100400 0x400>;
132 interrupt-parent = <&icu0>;
133 interrupts = <104 105 106>;
134 status = "disabled";
135 };
136
137 spi: spi@e100800 {
138 compatible = "lantiq,xrx200-spi", "lantiq,xrx100-spi";
139 reg = <0xe100800 0x100>;
140 interrupt-parent = <&icu0>;
141 interrupts = <22 23 24>;
142 interrupt-names = "spi_rx", "spi_tx", "spi_err",
143 "spi_frm";
144 #address-cells = <1>;
145 #size-cells = <1>;
146 status = "disabled";
147 };
148
149 gpio: pinmux@e100b10 {
150 compatible = "lantiq,xrx200-pinctrl";
151 #gpio-cells = <2>;
152 gpio-controller;
153 reg = <0xe100b10 0xa0>;
154 };
155
156 stp: stp@e100bb0 {
157 status = "disabled";
158 compatible = "lantiq,gpio-stp-xway";
159 reg = <0xe100bb0 0x40>;
160 #gpio-cells = <2>;
161 gpio-controller;
162
163 lantiq,shadow = <0xffffff>;
164 lantiq,groups = <0x7>;
165 lantiq,dsl = <0x0>;
166 lantiq,phy1 = <0x0>;
167 lantiq,phy2 = <0x0>;
168 };
169
170 asc1: serial@e100c00 {
171 compatible = "lantiq,asc";
172 reg = <0xe100c00 0x400>;
173 interrupt-parent = <&icu0>;
174 interrupts = <112 113 114>;
175 };
176
177 deu@e103100 {
178 compatible = "lantiq,deu-xrx200";
179 reg = <0xe103100 0xf00>;
180 };
181
182 dma0: dma@e104100 {
183 compatible = "lantiq,dma-xway";
184 reg = <0xe104100 0x800>;
185 };
186
187 ebu0: ebu@e105300 {
188 compatible = "lantiq,ebu-xway";
189 reg = <0xe105300 0x100>;
190 };
191
192 usb0: usb@e101000 {
193 status = "disabled";
194 compatible = "lantiq,xrx200-usb", "lantiq,ifxhcd-xrx200";
195 reg = <0xe101000 0x1000
196 0xe120000 0x3f000>;
197 interrupt-parent = <&icu0>;
198 interrupts = <62 91>;
199 dr_mode = "host";
200 };
201
202 usb1: usb@e106000 {
203 status = "disabled";
204 compatible = "lantiq,xrx200-usb";
205 reg = <0xe106000 0x1000>;
206 interrupt-parent = <&icu0>;
207 interrupts = <91>;
208 dr_mode = "host";
209 };
210
211 eth0: eth@e108000 {
212 #address-cells = <1>;
213 #size-cells = <0>;
214 compatible = "lantiq,xrx200-net";
215 reg = < 0xe108000 0x3000 /* switch */
216 0xe10b100 0x70 /* mdio */
217 0xe10b1d8 0x30 /* mii */
218 0xe10b308 0x30 /* pmac */
219 >;
220 interrupt-parent = <&icu0>;
221 interrupts = <75 73 72>;
222 };
223
224 mei@e116000 {
225 compatible = "lantiq,mei-xrx200";
226 reg = <0xe116000 0x9c>;
227 interrupt-parent = <&icu0>;
228 interrupts = <63>;
229 };
230
231 ppe@e234000 {
232 compatible = "lantiq,ppe-xrx200";
233 interrupt-parent = <&icu0>;
234 interrupts = <96>;
235 };
236
237 pcie0: pcie@d900000 {
238 compatible = "lantiq,pcie-xrx200";
239
240 #interrupt-cells = <1>;
241 #size-cells = <2>;
242 #address-cells = <3>;
243
244 interrupt-parent = <&icu0>;
245 interrupts = <161 144>;
246
247 device_type = "pci";
248
249 gpio-reset = <&gpio 38 GPIO_ACTIVE_HIGH>;
250 };
251
252 pci0: pci@e105400 {
253 status = "disabled";
254
255 #address-cells = <3>;
256 #size-cells = <2>;
257 #interrupt-cells = <1>;
258 compatible = "lantiq,pci-xway";
259 bus-range = <0x0 0x0>;
260 ranges = <0x2000000 0 0x8000000 0x8000000 0 0x2000000 /* pci memory */
261 0x1000000 0 0x00000000 0xae00000 0 0x200000>; /* io space */
262 reg = <0x7000000 0x8000 /* config space */
263 0xe105400 0x400>; /* pci bridge */
264 lantiq,bus-clock = <33333333>;
265 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
266 interrupt-map = <0x7000 0 0 1 &icu0 30 1>; /* slot 14, irq 30 */
267 req-mask = <0x1>; /* GNT1 */
268 };
269 };
270
271 vdsl {
272 compatible = "lantiq,vdsl-vrx200";
273 };
274 };