blob: e4daf150881a9e2c9f5d5283e470edd8c586b13a [file] [log] [blame]
Abel Vesa67f165d2019-02-01 16:40:16 +00001// SPDX-License-Identifier: GPL-2.0+
2//
3// Copyright 2011 Freescale Semiconductor, Inc.
4// Copyright 2011 Linaro Ltd.
Jagan Teki39f41da2016-10-08 18:00:16 +05305
6#include <dt-bindings/clock/imx6qdl-clock.h>
7#include <dt-bindings/interrupt-controller/arm-gic.h>
8
Jagan Teki39f41da2016-10-08 18:00:16 +05309/ {
Abel Vesa67f165d2019-02-01 16:40:16 +000010 #address-cells = <1>;
11 #size-cells = <1>;
12 /*
13 * The decompressor and also some bootloaders rely on a
14 * pre-existing /chosen node to be available to insert the
15 * command line and merge other ATAGS info.
16 * Also for U-Boot there must be a pre-existing /memory node.
17 */
18 chosen {};
19 memory { device_type = "memory"; };
20
Jagan Teki39f41da2016-10-08 18:00:16 +053021 aliases {
22 ethernet0 = &fec;
23 can0 = &can1;
24 can1 = &can2;
25 gpio0 = &gpio1;
26 gpio1 = &gpio2;
27 gpio2 = &gpio3;
28 gpio3 = &gpio4;
29 gpio4 = &gpio5;
30 gpio5 = &gpio6;
31 gpio6 = &gpio7;
32 i2c0 = &i2c1;
33 i2c1 = &i2c2;
34 i2c2 = &i2c3;
35 ipu0 = &ipu1;
36 mmc0 = &usdhc1;
37 mmc1 = &usdhc2;
38 mmc2 = &usdhc3;
39 mmc3 = &usdhc4;
40 serial0 = &uart1;
41 serial1 = &uart2;
42 serial2 = &uart3;
43 serial3 = &uart4;
44 serial4 = &uart5;
45 spi0 = &ecspi1;
46 spi1 = &ecspi2;
47 spi2 = &ecspi3;
48 spi3 = &ecspi4;
49 usbphy0 = &usbphy1;
50 usbphy1 = &usbphy2;
51 };
52
53 clocks {
Jagan Teki39f41da2016-10-08 18:00:16 +053054 ckil {
55 compatible = "fsl,imx-ckil", "fixed-clock";
56 #clock-cells = <0>;
57 clock-frequency = <32768>;
58 };
59
60 ckih1 {
61 compatible = "fsl,imx-ckih1", "fixed-clock";
62 #clock-cells = <0>;
63 clock-frequency = <0>;
64 };
65
66 osc {
67 compatible = "fsl,imx-osc", "fixed-clock";
68 #clock-cells = <0>;
69 clock-frequency = <24000000>;
70 };
71 };
72
Abel Vesa67f165d2019-02-01 16:40:16 +000073 tempmon: tempmon {
74 compatible = "fsl,imx6q-tempmon";
75 interrupt-parent = <&gpc>;
76 interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>;
77 fsl,tempmon = <&anatop>;
78 fsl,tempmon-data = <&ocotp>;
79 clocks = <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
80 };
81
82 ldb: ldb {
83 #address-cells = <1>;
84 #size-cells = <0>;
85 compatible = "fsl,imx6q-ldb", "fsl,imx53-ldb";
86 gpr = <&gpr>;
87 status = "disabled";
88
89 lvds-channel@0 {
90 #address-cells = <1>;
91 #size-cells = <0>;
92 reg = <0>;
93 status = "disabled";
94
95 port@0 {
96 reg = <0>;
97
98 lvds0_mux_0: endpoint {
99 remote-endpoint = <&ipu1_di0_lvds0>;
100 };
101 };
102
103 port@1 {
104 reg = <1>;
105
106 lvds0_mux_1: endpoint {
107 remote-endpoint = <&ipu1_di1_lvds0>;
108 };
109 };
110 };
111
112 lvds-channel@1 {
113 #address-cells = <1>;
114 #size-cells = <0>;
115 reg = <1>;
116 status = "disabled";
117
118 port@0 {
119 reg = <0>;
120
121 lvds1_mux_0: endpoint {
122 remote-endpoint = <&ipu1_di0_lvds1>;
123 };
124 };
125
126 port@1 {
127 reg = <1>;
128
129 lvds1_mux_1: endpoint {
130 remote-endpoint = <&ipu1_di1_lvds1>;
131 };
132 };
133 };
134 };
135
136 pmu: pmu {
137 compatible = "arm,cortex-a9-pmu";
138 interrupt-parent = <&gpc>;
139 interrupts = <0 94 IRQ_TYPE_LEVEL_HIGH>;
140 };
141
Jagan Teki39f41da2016-10-08 18:00:16 +0530142 soc {
143 #address-cells = <1>;
144 #size-cells = <1>;
145 compatible = "simple-bus";
146 interrupt-parent = <&gpc>;
147 ranges;
148
Abel Vesa67f165d2019-02-01 16:40:16 +0000149 dma_apbh: dma-apbh@110000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530150 compatible = "fsl,imx6q-dma-apbh", "fsl,imx28-dma-apbh";
151 reg = <0x00110000 0x2000>;
152 interrupts = <0 13 IRQ_TYPE_LEVEL_HIGH>,
153 <0 13 IRQ_TYPE_LEVEL_HIGH>,
154 <0 13 IRQ_TYPE_LEVEL_HIGH>,
155 <0 13 IRQ_TYPE_LEVEL_HIGH>;
156 interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3";
157 #dma-cells = <1>;
158 dma-channels = <4>;
159 clocks = <&clks IMX6QDL_CLK_APBH_DMA>;
160 };
161
Abel Vesa67f165d2019-02-01 16:40:16 +0000162 gpmi: gpmi-nand@112000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530163 compatible = "fsl,imx6q-gpmi-nand";
164 #address-cells = <1>;
165 #size-cells = <1>;
166 reg = <0x00112000 0x2000>, <0x00114000 0x2000>;
167 reg-names = "gpmi-nand", "bch";
168 interrupts = <0 15 IRQ_TYPE_LEVEL_HIGH>;
169 interrupt-names = "bch";
170 clocks = <&clks IMX6QDL_CLK_GPMI_IO>,
171 <&clks IMX6QDL_CLK_GPMI_APB>,
172 <&clks IMX6QDL_CLK_GPMI_BCH>,
173 <&clks IMX6QDL_CLK_GPMI_BCH_APB>,
174 <&clks IMX6QDL_CLK_PER1_BCH>;
175 clock-names = "gpmi_io", "gpmi_apb", "gpmi_bch",
176 "gpmi_bch_apb", "per1_bch";
177 dmas = <&dma_apbh 0>;
178 dma-names = "rx-tx";
179 status = "disabled";
180 };
181
Abel Vesa67f165d2019-02-01 16:40:16 +0000182 hdmi: hdmi@120000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530183 #address-cells = <1>;
184 #size-cells = <0>;
185 reg = <0x00120000 0x9000>;
186 interrupts = <0 115 0x04>;
187 gpr = <&gpr>;
188 clocks = <&clks IMX6QDL_CLK_HDMI_IAHB>,
189 <&clks IMX6QDL_CLK_HDMI_ISFR>;
190 clock-names = "iahb", "isfr";
191 status = "disabled";
192
193 port@0 {
194 reg = <0>;
195
196 hdmi_mux_0: endpoint {
197 remote-endpoint = <&ipu1_di0_hdmi>;
198 };
199 };
200
201 port@1 {
202 reg = <1>;
203
204 hdmi_mux_1: endpoint {
205 remote-endpoint = <&ipu1_di1_hdmi>;
206 };
207 };
208 };
209
Abel Vesa67f165d2019-02-01 16:40:16 +0000210 gpu_3d: gpu@130000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530211 compatible = "vivante,gc";
212 reg = <0x00130000 0x4000>;
213 interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>;
214 clocks = <&clks IMX6QDL_CLK_GPU3D_AXI>,
215 <&clks IMX6QDL_CLK_GPU3D_CORE>,
216 <&clks IMX6QDL_CLK_GPU3D_SHADER>;
217 clock-names = "bus", "core", "shader";
Abel Vesa67f165d2019-02-01 16:40:16 +0000218 power-domains = <&pd_pu>;
Jagan Teki39f41da2016-10-08 18:00:16 +0530219 };
220
Abel Vesa67f165d2019-02-01 16:40:16 +0000221 gpu_2d: gpu@134000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530222 compatible = "vivante,gc";
223 reg = <0x00134000 0x4000>;
224 interrupts = <0 10 IRQ_TYPE_LEVEL_HIGH>;
225 clocks = <&clks IMX6QDL_CLK_GPU2D_AXI>,
226 <&clks IMX6QDL_CLK_GPU2D_CORE>;
227 clock-names = "bus", "core";
Abel Vesa67f165d2019-02-01 16:40:16 +0000228 power-domains = <&pd_pu>;
Jagan Teki39f41da2016-10-08 18:00:16 +0530229 };
230
Abel Vesa67f165d2019-02-01 16:40:16 +0000231 timer@a00600 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530232 compatible = "arm,cortex-a9-twd-timer";
233 reg = <0x00a00600 0x20>;
234 interrupts = <1 13 0xf01>;
235 interrupt-parent = <&intc>;
236 clocks = <&clks IMX6QDL_CLK_TWD>;
237 };
238
Abel Vesa67f165d2019-02-01 16:40:16 +0000239 intc: interrupt-controller@a01000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530240 compatible = "arm,cortex-a9-gic";
241 #interrupt-cells = <3>;
242 interrupt-controller;
243 reg = <0x00a01000 0x1000>,
244 <0x00a00100 0x100>;
245 interrupt-parent = <&intc>;
246 };
247
Abel Vesa67f165d2019-02-01 16:40:16 +0000248 L2: l2-cache@a02000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530249 compatible = "arm,pl310-cache";
250 reg = <0x00a02000 0x1000>;
251 interrupts = <0 92 IRQ_TYPE_LEVEL_HIGH>;
252 cache-unified;
253 cache-level = <2>;
254 arm,tag-latency = <4 2 3>;
255 arm,data-latency = <4 2 3>;
256 arm,shared-override;
257 };
258
Abel Vesa67f165d2019-02-01 16:40:16 +0000259 pcie: pcie@1ffc000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530260 compatible = "fsl,imx6q-pcie", "snps,dw-pcie";
261 reg = <0x01ffc000 0x04000>,
262 <0x01f00000 0x80000>;
263 reg-names = "dbi", "config";
264 #address-cells = <3>;
265 #size-cells = <2>;
266 device_type = "pci";
Abel Vesa67f165d2019-02-01 16:40:16 +0000267 bus-range = <0x00 0xff>;
Jagan Teki39f41da2016-10-08 18:00:16 +0530268 ranges = <0x81000000 0 0 0x01f80000 0 0x00010000 /* downstream I/O */
269 0x82000000 0 0x01000000 0x01000000 0 0x00f00000>; /* non-prefetchable memory */
270 num-lanes = <1>;
271 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
272 interrupt-names = "msi";
273 #interrupt-cells = <1>;
274 interrupt-map-mask = <0 0 0 0x7>;
275 interrupt-map = <0 0 0 1 &gpc GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
Abel Vesa67f165d2019-02-01 16:40:16 +0000276 <0 0 0 2 &gpc GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
277 <0 0 0 3 &gpc GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
278 <0 0 0 4 &gpc GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
Jagan Teki39f41da2016-10-08 18:00:16 +0530279 clocks = <&clks IMX6QDL_CLK_PCIE_AXI>,
280 <&clks IMX6QDL_CLK_LVDS1_GATE>,
281 <&clks IMX6QDL_CLK_PCIE_REF_125M>;
282 clock-names = "pcie", "pcie_bus", "pcie_phy";
283 status = "disabled";
284 };
285
Abel Vesa67f165d2019-02-01 16:40:16 +0000286 aips-bus@2000000 { /* AIPS1 */
Jagan Teki39f41da2016-10-08 18:00:16 +0530287 compatible = "fsl,aips-bus", "simple-bus";
288 #address-cells = <1>;
289 #size-cells = <1>;
290 reg = <0x02000000 0x100000>;
291 ranges;
292
Abel Vesa67f165d2019-02-01 16:40:16 +0000293 spba-bus@2000000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530294 compatible = "fsl,spba-bus", "simple-bus";
295 #address-cells = <1>;
296 #size-cells = <1>;
297 reg = <0x02000000 0x40000>;
298 ranges;
299
Abel Vesa67f165d2019-02-01 16:40:16 +0000300 spdif: spdif@2004000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530301 compatible = "fsl,imx35-spdif";
302 reg = <0x02004000 0x4000>;
303 interrupts = <0 52 IRQ_TYPE_LEVEL_HIGH>;
304 dmas = <&sdma 14 18 0>,
305 <&sdma 15 18 0>;
306 dma-names = "rx", "tx";
307 clocks = <&clks IMX6QDL_CLK_SPDIF_GCLK>, <&clks IMX6QDL_CLK_OSC>,
308 <&clks IMX6QDL_CLK_SPDIF>, <&clks IMX6QDL_CLK_ASRC>,
309 <&clks IMX6QDL_CLK_DUMMY>, <&clks IMX6QDL_CLK_ESAI_EXTAL>,
310 <&clks IMX6QDL_CLK_IPG>, <&clks IMX6QDL_CLK_DUMMY>,
311 <&clks IMX6QDL_CLK_DUMMY>, <&clks IMX6QDL_CLK_SPBA>;
312 clock-names = "core", "rxtx0",
313 "rxtx1", "rxtx2",
314 "rxtx3", "rxtx4",
315 "rxtx5", "rxtx6",
316 "rxtx7", "spba";
317 status = "disabled";
318 };
319
Abel Vesa67f165d2019-02-01 16:40:16 +0000320 ecspi1: spi@2008000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530321 #address-cells = <1>;
322 #size-cells = <0>;
323 compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
324 reg = <0x02008000 0x4000>;
325 interrupts = <0 31 IRQ_TYPE_LEVEL_HIGH>;
326 clocks = <&clks IMX6QDL_CLK_ECSPI1>,
327 <&clks IMX6QDL_CLK_ECSPI1>;
328 clock-names = "ipg", "per";
329 dmas = <&sdma 3 8 1>, <&sdma 4 8 2>;
330 dma-names = "rx", "tx";
331 status = "disabled";
332 };
333
Abel Vesa67f165d2019-02-01 16:40:16 +0000334 ecspi2: spi@200c000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530335 #address-cells = <1>;
336 #size-cells = <0>;
337 compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
338 reg = <0x0200c000 0x4000>;
339 interrupts = <0 32 IRQ_TYPE_LEVEL_HIGH>;
340 clocks = <&clks IMX6QDL_CLK_ECSPI2>,
341 <&clks IMX6QDL_CLK_ECSPI2>;
342 clock-names = "ipg", "per";
343 dmas = <&sdma 5 8 1>, <&sdma 6 8 2>;
344 dma-names = "rx", "tx";
345 status = "disabled";
346 };
347
Abel Vesa67f165d2019-02-01 16:40:16 +0000348 ecspi3: spi@2010000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530349 #address-cells = <1>;
350 #size-cells = <0>;
351 compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
352 reg = <0x02010000 0x4000>;
353 interrupts = <0 33 IRQ_TYPE_LEVEL_HIGH>;
354 clocks = <&clks IMX6QDL_CLK_ECSPI3>,
355 <&clks IMX6QDL_CLK_ECSPI3>;
356 clock-names = "ipg", "per";
357 dmas = <&sdma 7 8 1>, <&sdma 8 8 2>;
358 dma-names = "rx", "tx";
359 status = "disabled";
360 };
361
Abel Vesa67f165d2019-02-01 16:40:16 +0000362 ecspi4: spi@2014000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530363 #address-cells = <1>;
364 #size-cells = <0>;
365 compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
366 reg = <0x02014000 0x4000>;
367 interrupts = <0 34 IRQ_TYPE_LEVEL_HIGH>;
368 clocks = <&clks IMX6QDL_CLK_ECSPI4>,
369 <&clks IMX6QDL_CLK_ECSPI4>;
370 clock-names = "ipg", "per";
371 dmas = <&sdma 9 8 1>, <&sdma 10 8 2>;
372 dma-names = "rx", "tx";
373 status = "disabled";
374 };
375
Abel Vesa67f165d2019-02-01 16:40:16 +0000376 uart1: serial@2020000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530377 compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
378 reg = <0x02020000 0x4000>;
379 interrupts = <0 26 IRQ_TYPE_LEVEL_HIGH>;
380 clocks = <&clks IMX6QDL_CLK_UART_IPG>,
381 <&clks IMX6QDL_CLK_UART_SERIAL>;
382 clock-names = "ipg", "per";
383 dmas = <&sdma 25 4 0>, <&sdma 26 4 0>;
384 dma-names = "rx", "tx";
385 status = "disabled";
386 };
387
Abel Vesa67f165d2019-02-01 16:40:16 +0000388 esai: esai@2024000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530389 #sound-dai-cells = <0>;
390 compatible = "fsl,imx35-esai";
391 reg = <0x02024000 0x4000>;
392 interrupts = <0 51 IRQ_TYPE_LEVEL_HIGH>;
393 clocks = <&clks IMX6QDL_CLK_ESAI_IPG>,
394 <&clks IMX6QDL_CLK_ESAI_MEM>,
395 <&clks IMX6QDL_CLK_ESAI_EXTAL>,
396 <&clks IMX6QDL_CLK_ESAI_IPG>,
397 <&clks IMX6QDL_CLK_SPBA>;
398 clock-names = "core", "mem", "extal", "fsys", "spba";
399 dmas = <&sdma 23 21 0>, <&sdma 24 21 0>;
400 dma-names = "rx", "tx";
401 status = "disabled";
402 };
403
Abel Vesa67f165d2019-02-01 16:40:16 +0000404 ssi1: ssi@2028000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530405 #sound-dai-cells = <0>;
406 compatible = "fsl,imx6q-ssi",
407 "fsl,imx51-ssi";
408 reg = <0x02028000 0x4000>;
409 interrupts = <0 46 IRQ_TYPE_LEVEL_HIGH>;
410 clocks = <&clks IMX6QDL_CLK_SSI1_IPG>,
411 <&clks IMX6QDL_CLK_SSI1>;
412 clock-names = "ipg", "baud";
413 dmas = <&sdma 37 1 0>,
414 <&sdma 38 1 0>;
415 dma-names = "rx", "tx";
416 fsl,fifo-depth = <15>;
417 status = "disabled";
418 };
419
Abel Vesa67f165d2019-02-01 16:40:16 +0000420 ssi2: ssi@202c000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530421 #sound-dai-cells = <0>;
422 compatible = "fsl,imx6q-ssi",
423 "fsl,imx51-ssi";
424 reg = <0x0202c000 0x4000>;
425 interrupts = <0 47 IRQ_TYPE_LEVEL_HIGH>;
426 clocks = <&clks IMX6QDL_CLK_SSI2_IPG>,
427 <&clks IMX6QDL_CLK_SSI2>;
428 clock-names = "ipg", "baud";
429 dmas = <&sdma 41 1 0>,
430 <&sdma 42 1 0>;
431 dma-names = "rx", "tx";
432 fsl,fifo-depth = <15>;
433 status = "disabled";
434 };
435
Abel Vesa67f165d2019-02-01 16:40:16 +0000436 ssi3: ssi@2030000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530437 #sound-dai-cells = <0>;
438 compatible = "fsl,imx6q-ssi",
439 "fsl,imx51-ssi";
440 reg = <0x02030000 0x4000>;
441 interrupts = <0 48 IRQ_TYPE_LEVEL_HIGH>;
442 clocks = <&clks IMX6QDL_CLK_SSI3_IPG>,
443 <&clks IMX6QDL_CLK_SSI3>;
444 clock-names = "ipg", "baud";
445 dmas = <&sdma 45 1 0>,
446 <&sdma 46 1 0>;
447 dma-names = "rx", "tx";
448 fsl,fifo-depth = <15>;
449 status = "disabled";
450 };
451
Abel Vesa67f165d2019-02-01 16:40:16 +0000452 asrc: asrc@2034000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530453 compatible = "fsl,imx53-asrc";
454 reg = <0x02034000 0x4000>;
455 interrupts = <0 50 IRQ_TYPE_LEVEL_HIGH>;
456 clocks = <&clks IMX6QDL_CLK_ASRC_IPG>,
457 <&clks IMX6QDL_CLK_ASRC_MEM>, <&clks 0>,
458 <&clks 0>, <&clks 0>, <&clks 0>, <&clks 0>,
459 <&clks 0>, <&clks 0>, <&clks 0>, <&clks 0>,
460 <&clks 0>, <&clks 0>, <&clks 0>, <&clks 0>,
461 <&clks IMX6QDL_CLK_ASRC>, <&clks 0>, <&clks 0>,
462 <&clks IMX6QDL_CLK_SPBA>;
463 clock-names = "mem", "ipg", "asrck_0",
464 "asrck_1", "asrck_2", "asrck_3", "asrck_4",
465 "asrck_5", "asrck_6", "asrck_7", "asrck_8",
466 "asrck_9", "asrck_a", "asrck_b", "asrck_c",
467 "asrck_d", "asrck_e", "asrck_f", "spba";
468 dmas = <&sdma 17 23 1>, <&sdma 18 23 1>, <&sdma 19 23 1>,
469 <&sdma 20 23 1>, <&sdma 21 23 1>, <&sdma 22 23 1>;
470 dma-names = "rxa", "rxb", "rxc",
471 "txa", "txb", "txc";
472 fsl,asrc-rate = <48000>;
473 fsl,asrc-width = <16>;
474 status = "okay";
475 };
476
Abel Vesa67f165d2019-02-01 16:40:16 +0000477 spba@203c000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530478 reg = <0x0203c000 0x4000>;
479 };
480 };
481
Abel Vesa67f165d2019-02-01 16:40:16 +0000482 vpu: vpu@2040000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530483 compatible = "cnm,coda960";
484 reg = <0x02040000 0x3c000>;
485 interrupts = <0 12 IRQ_TYPE_LEVEL_HIGH>,
486 <0 3 IRQ_TYPE_LEVEL_HIGH>;
487 interrupt-names = "bit", "jpeg";
488 clocks = <&clks IMX6QDL_CLK_VPU_AXI>,
489 <&clks IMX6QDL_CLK_MMDC_CH0_AXI>;
490 clock-names = "per", "ahb";
Abel Vesa67f165d2019-02-01 16:40:16 +0000491 power-domains = <&pd_pu>;
Jagan Teki39f41da2016-10-08 18:00:16 +0530492 resets = <&src 1>;
493 iram = <&ocram>;
494 };
495
Abel Vesa67f165d2019-02-01 16:40:16 +0000496 aipstz@207c000 { /* AIPSTZ1 */
Jagan Teki39f41da2016-10-08 18:00:16 +0530497 reg = <0x0207c000 0x4000>;
498 };
499
Abel Vesa67f165d2019-02-01 16:40:16 +0000500 pwm1: pwm@2080000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530501 #pwm-cells = <2>;
502 compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
503 reg = <0x02080000 0x4000>;
504 interrupts = <0 83 IRQ_TYPE_LEVEL_HIGH>;
505 clocks = <&clks IMX6QDL_CLK_IPG>,
506 <&clks IMX6QDL_CLK_PWM1>;
507 clock-names = "ipg", "per";
508 status = "disabled";
509 };
510
Abel Vesa67f165d2019-02-01 16:40:16 +0000511 pwm2: pwm@2084000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530512 #pwm-cells = <2>;
513 compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
514 reg = <0x02084000 0x4000>;
515 interrupts = <0 84 IRQ_TYPE_LEVEL_HIGH>;
516 clocks = <&clks IMX6QDL_CLK_IPG>,
517 <&clks IMX6QDL_CLK_PWM2>;
518 clock-names = "ipg", "per";
519 status = "disabled";
520 };
521
Abel Vesa67f165d2019-02-01 16:40:16 +0000522 pwm3: pwm@2088000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530523 #pwm-cells = <2>;
524 compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
525 reg = <0x02088000 0x4000>;
526 interrupts = <0 85 IRQ_TYPE_LEVEL_HIGH>;
527 clocks = <&clks IMX6QDL_CLK_IPG>,
528 <&clks IMX6QDL_CLK_PWM3>;
529 clock-names = "ipg", "per";
530 status = "disabled";
531 };
532
Abel Vesa67f165d2019-02-01 16:40:16 +0000533 pwm4: pwm@208c000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530534 #pwm-cells = <2>;
535 compatible = "fsl,imx6q-pwm", "fsl,imx27-pwm";
536 reg = <0x0208c000 0x4000>;
537 interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>;
538 clocks = <&clks IMX6QDL_CLK_IPG>,
539 <&clks IMX6QDL_CLK_PWM4>;
540 clock-names = "ipg", "per";
541 status = "disabled";
542 };
543
Abel Vesa67f165d2019-02-01 16:40:16 +0000544 can1: flexcan@2090000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530545 compatible = "fsl,imx6q-flexcan";
546 reg = <0x02090000 0x4000>;
547 interrupts = <0 110 IRQ_TYPE_LEVEL_HIGH>;
548 clocks = <&clks IMX6QDL_CLK_CAN1_IPG>,
549 <&clks IMX6QDL_CLK_CAN1_SERIAL>;
550 clock-names = "ipg", "per";
551 status = "disabled";
552 };
553
Abel Vesa67f165d2019-02-01 16:40:16 +0000554 can2: flexcan@2094000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530555 compatible = "fsl,imx6q-flexcan";
556 reg = <0x02094000 0x4000>;
557 interrupts = <0 111 IRQ_TYPE_LEVEL_HIGH>;
558 clocks = <&clks IMX6QDL_CLK_CAN2_IPG>,
559 <&clks IMX6QDL_CLK_CAN2_SERIAL>;
560 clock-names = "ipg", "per";
561 status = "disabled";
562 };
563
Abel Vesa67f165d2019-02-01 16:40:16 +0000564 gpt: gpt@2098000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530565 compatible = "fsl,imx6q-gpt", "fsl,imx31-gpt";
566 reg = <0x02098000 0x4000>;
567 interrupts = <0 55 IRQ_TYPE_LEVEL_HIGH>;
568 clocks = <&clks IMX6QDL_CLK_GPT_IPG>,
569 <&clks IMX6QDL_CLK_GPT_IPG_PER>,
570 <&clks IMX6QDL_CLK_GPT_3M>;
571 clock-names = "ipg", "per", "osc_per";
572 };
573
Abel Vesa67f165d2019-02-01 16:40:16 +0000574 gpio1: gpio@209c000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530575 compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
576 reg = <0x0209c000 0x4000>;
577 interrupts = <0 66 IRQ_TYPE_LEVEL_HIGH>,
578 <0 67 IRQ_TYPE_LEVEL_HIGH>;
579 gpio-controller;
580 #gpio-cells = <2>;
581 interrupt-controller;
582 #interrupt-cells = <2>;
583 };
584
Abel Vesa67f165d2019-02-01 16:40:16 +0000585 gpio2: gpio@20a0000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530586 compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
587 reg = <0x020a0000 0x4000>;
588 interrupts = <0 68 IRQ_TYPE_LEVEL_HIGH>,
589 <0 69 IRQ_TYPE_LEVEL_HIGH>;
590 gpio-controller;
591 #gpio-cells = <2>;
592 interrupt-controller;
593 #interrupt-cells = <2>;
594 };
595
Abel Vesa67f165d2019-02-01 16:40:16 +0000596 gpio3: gpio@20a4000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530597 compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
598 reg = <0x020a4000 0x4000>;
599 interrupts = <0 70 IRQ_TYPE_LEVEL_HIGH>,
600 <0 71 IRQ_TYPE_LEVEL_HIGH>;
601 gpio-controller;
602 #gpio-cells = <2>;
603 interrupt-controller;
604 #interrupt-cells = <2>;
605 };
606
Abel Vesa67f165d2019-02-01 16:40:16 +0000607 gpio4: gpio@20a8000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530608 compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
609 reg = <0x020a8000 0x4000>;
610 interrupts = <0 72 IRQ_TYPE_LEVEL_HIGH>,
611 <0 73 IRQ_TYPE_LEVEL_HIGH>;
612 gpio-controller;
613 #gpio-cells = <2>;
614 interrupt-controller;
615 #interrupt-cells = <2>;
616 };
617
Abel Vesa67f165d2019-02-01 16:40:16 +0000618 gpio5: gpio@20ac000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530619 compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
620 reg = <0x020ac000 0x4000>;
621 interrupts = <0 74 IRQ_TYPE_LEVEL_HIGH>,
622 <0 75 IRQ_TYPE_LEVEL_HIGH>;
623 gpio-controller;
624 #gpio-cells = <2>;
625 interrupt-controller;
626 #interrupt-cells = <2>;
627 };
628
Abel Vesa67f165d2019-02-01 16:40:16 +0000629 gpio6: gpio@20b0000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530630 compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
631 reg = <0x020b0000 0x4000>;
632 interrupts = <0 76 IRQ_TYPE_LEVEL_HIGH>,
633 <0 77 IRQ_TYPE_LEVEL_HIGH>;
634 gpio-controller;
635 #gpio-cells = <2>;
636 interrupt-controller;
637 #interrupt-cells = <2>;
638 };
639
Abel Vesa67f165d2019-02-01 16:40:16 +0000640 gpio7: gpio@20b4000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530641 compatible = "fsl,imx6q-gpio", "fsl,imx35-gpio";
642 reg = <0x020b4000 0x4000>;
643 interrupts = <0 78 IRQ_TYPE_LEVEL_HIGH>,
644 <0 79 IRQ_TYPE_LEVEL_HIGH>;
645 gpio-controller;
646 #gpio-cells = <2>;
647 interrupt-controller;
648 #interrupt-cells = <2>;
649 };
650
Abel Vesa67f165d2019-02-01 16:40:16 +0000651 kpp: kpp@20b8000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530652 compatible = "fsl,imx6q-kpp", "fsl,imx21-kpp";
653 reg = <0x020b8000 0x4000>;
654 interrupts = <0 82 IRQ_TYPE_LEVEL_HIGH>;
655 clocks = <&clks IMX6QDL_CLK_IPG>;
656 status = "disabled";
657 };
658
Abel Vesa67f165d2019-02-01 16:40:16 +0000659 wdog1: wdog@20bc000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530660 compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt";
661 reg = <0x020bc000 0x4000>;
662 interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>;
663 clocks = <&clks IMX6QDL_CLK_DUMMY>;
664 };
665
Abel Vesa67f165d2019-02-01 16:40:16 +0000666 wdog2: wdog@20c0000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530667 compatible = "fsl,imx6q-wdt", "fsl,imx21-wdt";
668 reg = <0x020c0000 0x4000>;
669 interrupts = <0 81 IRQ_TYPE_LEVEL_HIGH>;
670 clocks = <&clks IMX6QDL_CLK_DUMMY>;
671 status = "disabled";
672 };
673
Abel Vesa67f165d2019-02-01 16:40:16 +0000674 clks: ccm@20c4000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530675 compatible = "fsl,imx6q-ccm";
676 reg = <0x020c4000 0x4000>;
677 interrupts = <0 87 IRQ_TYPE_LEVEL_HIGH>,
678 <0 88 IRQ_TYPE_LEVEL_HIGH>;
679 #clock-cells = <1>;
680 };
681
Abel Vesa67f165d2019-02-01 16:40:16 +0000682 anatop: anatop@20c8000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530683 compatible = "fsl,imx6q-anatop", "syscon", "simple-bus";
684 reg = <0x020c8000 0x1000>;
685 interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>,
686 <0 54 IRQ_TYPE_LEVEL_HIGH>,
687 <0 127 IRQ_TYPE_LEVEL_HIGH>;
688
689 regulator-1p1 {
690 compatible = "fsl,anatop-regulator";
691 regulator-name = "vdd1p1";
Abel Vesa67f165d2019-02-01 16:40:16 +0000692 regulator-min-microvolt = <1000000>;
693 regulator-max-microvolt = <1200000>;
Jagan Teki39f41da2016-10-08 18:00:16 +0530694 regulator-always-on;
695 anatop-reg-offset = <0x110>;
696 anatop-vol-bit-shift = <8>;
697 anatop-vol-bit-width = <5>;
698 anatop-min-bit-val = <4>;
699 anatop-min-voltage = <800000>;
700 anatop-max-voltage = <1375000>;
Abel Vesa67f165d2019-02-01 16:40:16 +0000701 anatop-enable-bit = <0>;
Jagan Teki39f41da2016-10-08 18:00:16 +0530702 };
703
704 regulator-3p0 {
705 compatible = "fsl,anatop-regulator";
706 regulator-name = "vdd3p0";
707 regulator-min-microvolt = <2800000>;
708 regulator-max-microvolt = <3150000>;
709 regulator-always-on;
710 anatop-reg-offset = <0x120>;
711 anatop-vol-bit-shift = <8>;
712 anatop-vol-bit-width = <5>;
713 anatop-min-bit-val = <0>;
714 anatop-min-voltage = <2625000>;
715 anatop-max-voltage = <3400000>;
Abel Vesa67f165d2019-02-01 16:40:16 +0000716 anatop-enable-bit = <0>;
Jagan Teki39f41da2016-10-08 18:00:16 +0530717 };
718
719 regulator-2p5 {
720 compatible = "fsl,anatop-regulator";
721 regulator-name = "vdd2p5";
Abel Vesa67f165d2019-02-01 16:40:16 +0000722 regulator-min-microvolt = <2250000>;
Jagan Teki39f41da2016-10-08 18:00:16 +0530723 regulator-max-microvolt = <2750000>;
724 regulator-always-on;
725 anatop-reg-offset = <0x130>;
726 anatop-vol-bit-shift = <8>;
727 anatop-vol-bit-width = <5>;
728 anatop-min-bit-val = <0>;
Abel Vesa67f165d2019-02-01 16:40:16 +0000729 anatop-min-voltage = <2100000>;
730 anatop-max-voltage = <2875000>;
731 anatop-enable-bit = <0>;
Jagan Teki39f41da2016-10-08 18:00:16 +0530732 };
733
734 reg_arm: regulator-vddcore {
735 compatible = "fsl,anatop-regulator";
736 regulator-name = "vddarm";
737 regulator-min-microvolt = <725000>;
738 regulator-max-microvolt = <1450000>;
739 regulator-always-on;
740 anatop-reg-offset = <0x140>;
741 anatop-vol-bit-shift = <0>;
742 anatop-vol-bit-width = <5>;
743 anatop-delay-reg-offset = <0x170>;
744 anatop-delay-bit-shift = <24>;
745 anatop-delay-bit-width = <2>;
746 anatop-min-bit-val = <1>;
747 anatop-min-voltage = <725000>;
748 anatop-max-voltage = <1450000>;
749 };
750
751 reg_pu: regulator-vddpu {
752 compatible = "fsl,anatop-regulator";
753 regulator-name = "vddpu";
754 regulator-min-microvolt = <725000>;
755 regulator-max-microvolt = <1450000>;
756 regulator-enable-ramp-delay = <150>;
757 anatop-reg-offset = <0x140>;
758 anatop-vol-bit-shift = <9>;
759 anatop-vol-bit-width = <5>;
760 anatop-delay-reg-offset = <0x170>;
761 anatop-delay-bit-shift = <26>;
762 anatop-delay-bit-width = <2>;
763 anatop-min-bit-val = <1>;
764 anatop-min-voltage = <725000>;
765 anatop-max-voltage = <1450000>;
766 };
767
768 reg_soc: regulator-vddsoc {
769 compatible = "fsl,anatop-regulator";
770 regulator-name = "vddsoc";
771 regulator-min-microvolt = <725000>;
772 regulator-max-microvolt = <1450000>;
773 regulator-always-on;
774 anatop-reg-offset = <0x140>;
775 anatop-vol-bit-shift = <18>;
776 anatop-vol-bit-width = <5>;
777 anatop-delay-reg-offset = <0x170>;
778 anatop-delay-bit-shift = <28>;
779 anatop-delay-bit-width = <2>;
780 anatop-min-bit-val = <1>;
781 anatop-min-voltage = <725000>;
782 anatop-max-voltage = <1450000>;
783 };
784 };
785
Abel Vesa67f165d2019-02-01 16:40:16 +0000786 usbphy1: usbphy@20c9000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530787 compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy";
788 reg = <0x020c9000 0x1000>;
789 interrupts = <0 44 IRQ_TYPE_LEVEL_HIGH>;
790 clocks = <&clks IMX6QDL_CLK_USBPHY1>;
791 fsl,anatop = <&anatop>;
792 };
793
Abel Vesa67f165d2019-02-01 16:40:16 +0000794 usbphy2: usbphy@20ca000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530795 compatible = "fsl,imx6q-usbphy", "fsl,imx23-usbphy";
796 reg = <0x020ca000 0x1000>;
797 interrupts = <0 45 IRQ_TYPE_LEVEL_HIGH>;
798 clocks = <&clks IMX6QDL_CLK_USBPHY2>;
799 fsl,anatop = <&anatop>;
800 };
801
Abel Vesa67f165d2019-02-01 16:40:16 +0000802 snvs: snvs@20cc000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530803 compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd";
804 reg = <0x020cc000 0x4000>;
805
806 snvs_rtc: snvs-rtc-lp {
807 compatible = "fsl,sec-v4.0-mon-rtc-lp";
808 regmap = <&snvs>;
809 offset = <0x34>;
810 interrupts = <0 19 IRQ_TYPE_LEVEL_HIGH>,
811 <0 20 IRQ_TYPE_LEVEL_HIGH>;
812 };
813
814 snvs_poweroff: snvs-poweroff {
815 compatible = "syscon-poweroff";
816 regmap = <&snvs>;
817 offset = <0x38>;
Abel Vesa67f165d2019-02-01 16:40:16 +0000818 value = <0x60>;
Jagan Teki39f41da2016-10-08 18:00:16 +0530819 mask = <0x60>;
820 status = "disabled";
821 };
Abel Vesa67f165d2019-02-01 16:40:16 +0000822
823 snvs_lpgpr: snvs-lpgpr {
824 compatible = "fsl,imx6q-snvs-lpgpr";
825 };
Jagan Teki39f41da2016-10-08 18:00:16 +0530826 };
827
Abel Vesa67f165d2019-02-01 16:40:16 +0000828 epit1: epit@20d0000 { /* EPIT1 */
Jagan Teki39f41da2016-10-08 18:00:16 +0530829 reg = <0x020d0000 0x4000>;
830 interrupts = <0 56 IRQ_TYPE_LEVEL_HIGH>;
831 };
832
Abel Vesa67f165d2019-02-01 16:40:16 +0000833 epit2: epit@20d4000 { /* EPIT2 */
Jagan Teki39f41da2016-10-08 18:00:16 +0530834 reg = <0x020d4000 0x4000>;
835 interrupts = <0 57 IRQ_TYPE_LEVEL_HIGH>;
836 };
837
Abel Vesa67f165d2019-02-01 16:40:16 +0000838 src: src@20d8000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530839 compatible = "fsl,imx6q-src", "fsl,imx51-src";
840 reg = <0x020d8000 0x4000>;
841 interrupts = <0 91 IRQ_TYPE_LEVEL_HIGH>,
842 <0 96 IRQ_TYPE_LEVEL_HIGH>;
843 #reset-cells = <1>;
844 };
845
Abel Vesa67f165d2019-02-01 16:40:16 +0000846 gpc: gpc@20dc000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530847 compatible = "fsl,imx6q-gpc";
848 reg = <0x020dc000 0x4000>;
849 interrupt-controller;
850 #interrupt-cells = <3>;
851 interrupts = <0 89 IRQ_TYPE_LEVEL_HIGH>,
852 <0 90 IRQ_TYPE_LEVEL_HIGH>;
853 interrupt-parent = <&intc>;
Abel Vesa67f165d2019-02-01 16:40:16 +0000854 clocks = <&clks IMX6QDL_CLK_IPG>;
855 clock-names = "ipg";
856
857 pgc {
858 #address-cells = <1>;
859 #size-cells = <0>;
860
861 power-domain@0 {
862 reg = <0>;
863 #power-domain-cells = <0>;
864 };
865 pd_pu: power-domain@1 {
866 reg = <1>;
867 #power-domain-cells = <0>;
868 power-supply = <&reg_pu>;
869 clocks = <&clks IMX6QDL_CLK_GPU3D_CORE>,
870 <&clks IMX6QDL_CLK_GPU3D_SHADER>,
871 <&clks IMX6QDL_CLK_GPU2D_CORE>,
872 <&clks IMX6QDL_CLK_GPU2D_AXI>,
873 <&clks IMX6QDL_CLK_OPENVG_AXI>,
874 <&clks IMX6QDL_CLK_VPU_AXI>;
875 };
876 };
Jagan Teki39f41da2016-10-08 18:00:16 +0530877 };
878
Abel Vesa67f165d2019-02-01 16:40:16 +0000879 gpr: iomuxc-gpr@20e0000 {
880 compatible = "fsl,imx6q-iomuxc-gpr", "syscon", "simple-mfd";
881 reg = <0x20e0000 0x38>;
882
883 mux: mux-controller {
884 compatible = "mmio-mux";
885 #mux-control-cells = <1>;
886 };
Jagan Teki39f41da2016-10-08 18:00:16 +0530887 };
888
Abel Vesa67f165d2019-02-01 16:40:16 +0000889 iomuxc: iomuxc@20e0000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530890 compatible = "fsl,imx6dl-iomuxc", "fsl,imx6q-iomuxc";
Abel Vesa67f165d2019-02-01 16:40:16 +0000891 reg = <0x20e0000 0x4000>;
Jagan Teki39f41da2016-10-08 18:00:16 +0530892 };
893
Abel Vesa67f165d2019-02-01 16:40:16 +0000894 dcic1: dcic@20e4000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530895 reg = <0x020e4000 0x4000>;
896 interrupts = <0 124 IRQ_TYPE_LEVEL_HIGH>;
897 };
898
Abel Vesa67f165d2019-02-01 16:40:16 +0000899 dcic2: dcic@20e8000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530900 reg = <0x020e8000 0x4000>;
901 interrupts = <0 125 IRQ_TYPE_LEVEL_HIGH>;
902 };
903
Abel Vesa67f165d2019-02-01 16:40:16 +0000904 sdma: sdma@20ec000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530905 compatible = "fsl,imx6q-sdma", "fsl,imx35-sdma";
906 reg = <0x020ec000 0x4000>;
907 interrupts = <0 2 IRQ_TYPE_LEVEL_HIGH>;
908 clocks = <&clks IMX6QDL_CLK_SDMA>,
909 <&clks IMX6QDL_CLK_SDMA>;
910 clock-names = "ipg", "ahb";
911 #dma-cells = <3>;
912 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx6q.bin";
913 };
914 };
915
Abel Vesa67f165d2019-02-01 16:40:16 +0000916 aips-bus@2100000 { /* AIPS2 */
Jagan Teki39f41da2016-10-08 18:00:16 +0530917 compatible = "fsl,aips-bus", "simple-bus";
918 #address-cells = <1>;
919 #size-cells = <1>;
920 reg = <0x02100000 0x100000>;
921 ranges;
Jagan Teki39f41da2016-10-08 18:00:16 +0530922
923 crypto: caam@2100000 {
924 compatible = "fsl,sec-v4.0";
Jagan Teki39f41da2016-10-08 18:00:16 +0530925 #address-cells = <1>;
926 #size-cells = <1>;
927 reg = <0x2100000 0x10000>;
928 ranges = <0 0x2100000 0x10000>;
929 clocks = <&clks IMX6QDL_CLK_CAAM_MEM>,
930 <&clks IMX6QDL_CLK_CAAM_ACLK>,
931 <&clks IMX6QDL_CLK_CAAM_IPG>,
932 <&clks IMX6QDL_CLK_EIM_SLOW>;
933 clock-names = "mem", "aclk", "ipg", "emi_slow";
934
935 sec_jr0: jr0@1000 {
936 compatible = "fsl,sec-v4.0-job-ring";
937 reg = <0x1000 0x1000>;
938 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
939 };
940
941 sec_jr1: jr1@2000 {
942 compatible = "fsl,sec-v4.0-job-ring";
943 reg = <0x2000 0x1000>;
944 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
945 };
946 };
947
Abel Vesa67f165d2019-02-01 16:40:16 +0000948 aipstz@217c000 { /* AIPSTZ2 */
Jagan Teki39f41da2016-10-08 18:00:16 +0530949 reg = <0x0217c000 0x4000>;
950 };
951
Abel Vesa67f165d2019-02-01 16:40:16 +0000952 usbotg: usb@2184000 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530953 compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
954 reg = <0x02184000 0x200>;
955 interrupts = <0 43 IRQ_TYPE_LEVEL_HIGH>;
956 clocks = <&clks IMX6QDL_CLK_USBOH3>;
957 fsl,usbphy = <&usbphy1>;
958 fsl,usbmisc = <&usbmisc 0>;
959 ahb-burst-config = <0x0>;
960 tx-burst-size-dword = <0x10>;
961 rx-burst-size-dword = <0x10>;
962 status = "disabled";
963 };
964
Abel Vesa67f165d2019-02-01 16:40:16 +0000965 usbh1: usb@2184200 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530966 compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
967 reg = <0x02184200 0x200>;
968 interrupts = <0 40 IRQ_TYPE_LEVEL_HIGH>;
969 clocks = <&clks IMX6QDL_CLK_USBOH3>;
970 fsl,usbphy = <&usbphy2>;
971 fsl,usbmisc = <&usbmisc 1>;
972 dr_mode = "host";
973 ahb-burst-config = <0x0>;
974 tx-burst-size-dword = <0x10>;
975 rx-burst-size-dword = <0x10>;
976 status = "disabled";
977 };
978
Abel Vesa67f165d2019-02-01 16:40:16 +0000979 usbh2: usb@2184400 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530980 compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
981 reg = <0x02184400 0x200>;
982 interrupts = <0 41 IRQ_TYPE_LEVEL_HIGH>;
983 clocks = <&clks IMX6QDL_CLK_USBOH3>;
984 fsl,usbmisc = <&usbmisc 2>;
985 dr_mode = "host";
986 ahb-burst-config = <0x0>;
987 tx-burst-size-dword = <0x10>;
988 rx-burst-size-dword = <0x10>;
989 status = "disabled";
990 };
991
Abel Vesa67f165d2019-02-01 16:40:16 +0000992 usbh3: usb@2184600 {
Jagan Teki39f41da2016-10-08 18:00:16 +0530993 compatible = "fsl,imx6q-usb", "fsl,imx27-usb";
994 reg = <0x02184600 0x200>;
995 interrupts = <0 42 IRQ_TYPE_LEVEL_HIGH>;
996 clocks = <&clks IMX6QDL_CLK_USBOH3>;
997 fsl,usbmisc = <&usbmisc 3>;
998 dr_mode = "host";
999 ahb-burst-config = <0x0>;
1000 tx-burst-size-dword = <0x10>;
1001 rx-burst-size-dword = <0x10>;
1002 status = "disabled";
1003 };
1004
Abel Vesa67f165d2019-02-01 16:40:16 +00001005 usbmisc: usbmisc@2184800 {
Jagan Teki39f41da2016-10-08 18:00:16 +05301006 #index-cells = <1>;
1007 compatible = "fsl,imx6q-usbmisc";
1008 reg = <0x02184800 0x200>;
1009 clocks = <&clks IMX6QDL_CLK_USBOH3>;
1010 };
1011
Abel Vesa67f165d2019-02-01 16:40:16 +00001012 fec: ethernet@2188000 {
Jagan Teki39f41da2016-10-08 18:00:16 +05301013 compatible = "fsl,imx6q-fec";
1014 reg = <0x02188000 0x4000>;
Abel Vesa67f165d2019-02-01 16:40:16 +00001015 interrupt-names = "int0", "pps";
Jagan Teki39f41da2016-10-08 18:00:16 +05301016 interrupts-extended =
1017 <&intc 0 118 IRQ_TYPE_LEVEL_HIGH>,
1018 <&intc 0 119 IRQ_TYPE_LEVEL_HIGH>;
1019 clocks = <&clks IMX6QDL_CLK_ENET>,
1020 <&clks IMX6QDL_CLK_ENET>,
1021 <&clks IMX6QDL_CLK_ENET_REF>;
1022 clock-names = "ipg", "ahb", "ptp";
1023 status = "disabled";
1024 };
1025
Abel Vesa67f165d2019-02-01 16:40:16 +00001026 mlb@218c000 {
Jagan Teki39f41da2016-10-08 18:00:16 +05301027 reg = <0x0218c000 0x4000>;
1028 interrupts = <0 53 IRQ_TYPE_LEVEL_HIGH>,
1029 <0 117 IRQ_TYPE_LEVEL_HIGH>,
1030 <0 126 IRQ_TYPE_LEVEL_HIGH>;
1031 };
1032
Abel Vesa67f165d2019-02-01 16:40:16 +00001033 usdhc1: usdhc@2190000 {
Jagan Teki39f41da2016-10-08 18:00:16 +05301034 compatible = "fsl,imx6q-usdhc";
1035 reg = <0x02190000 0x4000>;
1036 interrupts = <0 22 IRQ_TYPE_LEVEL_HIGH>;
1037 clocks = <&clks IMX6QDL_CLK_USDHC1>,
1038 <&clks IMX6QDL_CLK_USDHC1>,
1039 <&clks IMX6QDL_CLK_USDHC1>;
1040 clock-names = "ipg", "ahb", "per";
1041 bus-width = <4>;
1042 status = "disabled";
1043 };
1044
Abel Vesa67f165d2019-02-01 16:40:16 +00001045 usdhc2: usdhc@2194000 {
Jagan Teki39f41da2016-10-08 18:00:16 +05301046 compatible = "fsl,imx6q-usdhc";
1047 reg = <0x02194000 0x4000>;
1048 interrupts = <0 23 IRQ_TYPE_LEVEL_HIGH>;
1049 clocks = <&clks IMX6QDL_CLK_USDHC2>,
1050 <&clks IMX6QDL_CLK_USDHC2>,
1051 <&clks IMX6QDL_CLK_USDHC2>;
1052 clock-names = "ipg", "ahb", "per";
1053 bus-width = <4>;
1054 status = "disabled";
1055 };
1056
Abel Vesa67f165d2019-02-01 16:40:16 +00001057 usdhc3: usdhc@2198000 {
Jagan Teki39f41da2016-10-08 18:00:16 +05301058 compatible = "fsl,imx6q-usdhc";
1059 reg = <0x02198000 0x4000>;
1060 interrupts = <0 24 IRQ_TYPE_LEVEL_HIGH>;
1061 clocks = <&clks IMX6QDL_CLK_USDHC3>,
1062 <&clks IMX6QDL_CLK_USDHC3>,
1063 <&clks IMX6QDL_CLK_USDHC3>;
1064 clock-names = "ipg", "ahb", "per";
1065 bus-width = <4>;
1066 status = "disabled";
1067 };
1068
Abel Vesa67f165d2019-02-01 16:40:16 +00001069 usdhc4: usdhc@219c000 {
Jagan Teki39f41da2016-10-08 18:00:16 +05301070 compatible = "fsl,imx6q-usdhc";
1071 reg = <0x0219c000 0x4000>;
1072 interrupts = <0 25 IRQ_TYPE_LEVEL_HIGH>;
1073 clocks = <&clks IMX6QDL_CLK_USDHC4>,
1074 <&clks IMX6QDL_CLK_USDHC4>,
1075 <&clks IMX6QDL_CLK_USDHC4>;
1076 clock-names = "ipg", "ahb", "per";
1077 bus-width = <4>;
1078 status = "disabled";
1079 };
1080
Abel Vesa67f165d2019-02-01 16:40:16 +00001081 i2c1: i2c@21a0000 {
Jagan Teki39f41da2016-10-08 18:00:16 +05301082 #address-cells = <1>;
1083 #size-cells = <0>;
1084 compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
1085 reg = <0x021a0000 0x4000>;
1086 interrupts = <0 36 IRQ_TYPE_LEVEL_HIGH>;
1087 clocks = <&clks IMX6QDL_CLK_I2C1>;
1088 status = "disabled";
1089 };
1090
Abel Vesa67f165d2019-02-01 16:40:16 +00001091 i2c2: i2c@21a4000 {
Jagan Teki39f41da2016-10-08 18:00:16 +05301092 #address-cells = <1>;
1093 #size-cells = <0>;
1094 compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
1095 reg = <0x021a4000 0x4000>;
1096 interrupts = <0 37 IRQ_TYPE_LEVEL_HIGH>;
1097 clocks = <&clks IMX6QDL_CLK_I2C2>;
1098 status = "disabled";
1099 };
1100
Abel Vesa67f165d2019-02-01 16:40:16 +00001101 i2c3: i2c@21a8000 {
Jagan Teki39f41da2016-10-08 18:00:16 +05301102 #address-cells = <1>;
1103 #size-cells = <0>;
1104 compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
1105 reg = <0x021a8000 0x4000>;
1106 interrupts = <0 38 IRQ_TYPE_LEVEL_HIGH>;
1107 clocks = <&clks IMX6QDL_CLK_I2C3>;
1108 status = "disabled";
1109 };
1110
Abel Vesa67f165d2019-02-01 16:40:16 +00001111 romcp@21ac000 {
Jagan Teki39f41da2016-10-08 18:00:16 +05301112 reg = <0x021ac000 0x4000>;
1113 };
1114
Abel Vesa67f165d2019-02-01 16:40:16 +00001115 mmdc0: mmdc@21b0000 { /* MMDC0 */
Jagan Teki39f41da2016-10-08 18:00:16 +05301116 compatible = "fsl,imx6q-mmdc";
1117 reg = <0x021b0000 0x4000>;
1118 };
1119
Abel Vesa67f165d2019-02-01 16:40:16 +00001120 mmdc1: mmdc@21b4000 { /* MMDC1 */
Jagan Teki39f41da2016-10-08 18:00:16 +05301121 reg = <0x021b4000 0x4000>;
1122 };
1123
Abel Vesa67f165d2019-02-01 16:40:16 +00001124 weim: weim@21b8000 {
1125 #address-cells = <2>;
1126 #size-cells = <1>;
Jagan Teki39f41da2016-10-08 18:00:16 +05301127 compatible = "fsl,imx6q-weim";
1128 reg = <0x021b8000 0x4000>;
1129 interrupts = <0 14 IRQ_TYPE_LEVEL_HIGH>;
1130 clocks = <&clks IMX6QDL_CLK_EIM_SLOW>;
Abel Vesa67f165d2019-02-01 16:40:16 +00001131 fsl,weim-cs-gpr = <&gpr>;
1132 status = "disabled";
Jagan Teki39f41da2016-10-08 18:00:16 +05301133 };
1134
Abel Vesa67f165d2019-02-01 16:40:16 +00001135 ocotp: ocotp@21bc000 {
Jagan Teki39f41da2016-10-08 18:00:16 +05301136 compatible = "fsl,imx6q-ocotp", "syscon";
1137 reg = <0x021bc000 0x4000>;
1138 clocks = <&clks IMX6QDL_CLK_IIM>;
1139 };
1140
Abel Vesa67f165d2019-02-01 16:40:16 +00001141 tzasc@21d0000 { /* TZASC1 */
Jagan Teki39f41da2016-10-08 18:00:16 +05301142 reg = <0x021d0000 0x4000>;
1143 interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>;
1144 };
1145
Abel Vesa67f165d2019-02-01 16:40:16 +00001146 tzasc@21d4000 { /* TZASC2 */
Jagan Teki39f41da2016-10-08 18:00:16 +05301147 reg = <0x021d4000 0x4000>;
1148 interrupts = <0 109 IRQ_TYPE_LEVEL_HIGH>;
1149 };
1150
Abel Vesa67f165d2019-02-01 16:40:16 +00001151 audmux: audmux@21d8000 {
Jagan Teki39f41da2016-10-08 18:00:16 +05301152 compatible = "fsl,imx6q-audmux", "fsl,imx31-audmux";
1153 reg = <0x021d8000 0x4000>;
1154 status = "disabled";
1155 };
1156
Abel Vesa67f165d2019-02-01 16:40:16 +00001157 mipi_csi: mipi@21dc000 {
1158 compatible = "fsl,imx6-mipi-csi2";
Jagan Teki39f41da2016-10-08 18:00:16 +05301159 reg = <0x021dc000 0x4000>;
Jagan Teki39f41da2016-10-08 18:00:16 +05301160 #address-cells = <1>;
1161 #size-cells = <0>;
Abel Vesa67f165d2019-02-01 16:40:16 +00001162 interrupts = <0 100 0x04>, <0 101 0x04>;
1163 clocks = <&clks IMX6QDL_CLK_HSI_TX>,
1164 <&clks IMX6QDL_CLK_VIDEO_27M>,
1165 <&clks IMX6QDL_CLK_EIM_PODF>;
1166 clock-names = "dphy", "ref", "pix";
1167 status = "disabled";
1168 };
1169
1170 mipi_dsi: mipi@21e0000 {
Jagan Teki39f41da2016-10-08 18:00:16 +05301171 reg = <0x021e0000 0x4000>;
1172 status = "disabled";
1173
1174 ports {
1175 #address-cells = <1>;
1176 #size-cells = <0>;
1177
1178 port@0 {
1179 reg = <0>;
1180
1181 mipi_mux_0: endpoint {
1182 remote-endpoint = <&ipu1_di0_mipi>;
1183 };
1184 };
1185
1186 port@1 {
1187 reg = <1>;
1188
1189 mipi_mux_1: endpoint {
1190 remote-endpoint = <&ipu1_di1_mipi>;
1191 };
1192 };
1193 };
1194 };
1195
Abel Vesa67f165d2019-02-01 16:40:16 +00001196 vdoa@21e4000 {
1197 compatible = "fsl,imx6q-vdoa";
Jagan Teki39f41da2016-10-08 18:00:16 +05301198 reg = <0x021e4000 0x4000>;
1199 interrupts = <0 18 IRQ_TYPE_LEVEL_HIGH>;
Abel Vesa67f165d2019-02-01 16:40:16 +00001200 clocks = <&clks IMX6QDL_CLK_VDOA>;
Jagan Teki39f41da2016-10-08 18:00:16 +05301201 };
1202
Abel Vesa67f165d2019-02-01 16:40:16 +00001203 uart2: serial@21e8000 {
Jagan Teki39f41da2016-10-08 18:00:16 +05301204 compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
1205 reg = <0x021e8000 0x4000>;
1206 interrupts = <0 27 IRQ_TYPE_LEVEL_HIGH>;
1207 clocks = <&clks IMX6QDL_CLK_UART_IPG>,
1208 <&clks IMX6QDL_CLK_UART_SERIAL>;
1209 clock-names = "ipg", "per";
1210 dmas = <&sdma 27 4 0>, <&sdma 28 4 0>;
1211 dma-names = "rx", "tx";
1212 status = "disabled";
1213 };
1214
Abel Vesa67f165d2019-02-01 16:40:16 +00001215 uart3: serial@21ec000 {
Jagan Teki39f41da2016-10-08 18:00:16 +05301216 compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
1217 reg = <0x021ec000 0x4000>;
1218 interrupts = <0 28 IRQ_TYPE_LEVEL_HIGH>;
1219 clocks = <&clks IMX6QDL_CLK_UART_IPG>,
1220 <&clks IMX6QDL_CLK_UART_SERIAL>;
1221 clock-names = "ipg", "per";
1222 dmas = <&sdma 29 4 0>, <&sdma 30 4 0>;
1223 dma-names = "rx", "tx";
1224 status = "disabled";
1225 };
1226
Abel Vesa67f165d2019-02-01 16:40:16 +00001227 uart4: serial@21f0000 {
Jagan Teki39f41da2016-10-08 18:00:16 +05301228 compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
1229 reg = <0x021f0000 0x4000>;
1230 interrupts = <0 29 IRQ_TYPE_LEVEL_HIGH>;
1231 clocks = <&clks IMX6QDL_CLK_UART_IPG>,
1232 <&clks IMX6QDL_CLK_UART_SERIAL>;
1233 clock-names = "ipg", "per";
1234 dmas = <&sdma 31 4 0>, <&sdma 32 4 0>;
1235 dma-names = "rx", "tx";
1236 status = "disabled";
1237 };
1238
Abel Vesa67f165d2019-02-01 16:40:16 +00001239 uart5: serial@21f4000 {
Jagan Teki39f41da2016-10-08 18:00:16 +05301240 compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
1241 reg = <0x021f4000 0x4000>;
1242 interrupts = <0 30 IRQ_TYPE_LEVEL_HIGH>;
1243 clocks = <&clks IMX6QDL_CLK_UART_IPG>,
1244 <&clks IMX6QDL_CLK_UART_SERIAL>;
1245 clock-names = "ipg", "per";
1246 dmas = <&sdma 33 4 0>, <&sdma 34 4 0>;
1247 dma-names = "rx", "tx";
1248 status = "disabled";
1249 };
1250 };
1251
Abel Vesa67f165d2019-02-01 16:40:16 +00001252 ipu1: ipu@2400000 {
Jagan Teki39f41da2016-10-08 18:00:16 +05301253 #address-cells = <1>;
1254 #size-cells = <0>;
1255 compatible = "fsl,imx6q-ipu";
1256 reg = <0x02400000 0x400000>;
1257 interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>,
1258 <0 5 IRQ_TYPE_LEVEL_HIGH>;
1259 clocks = <&clks IMX6QDL_CLK_IPU1>,
1260 <&clks IMX6QDL_CLK_IPU1_DI0>,
1261 <&clks IMX6QDL_CLK_IPU1_DI1>;
1262 clock-names = "bus", "di0", "di1";
1263 resets = <&src 2>;
1264
1265 ipu1_csi0: port@0 {
1266 reg = <0>;
Abel Vesa67f165d2019-02-01 16:40:16 +00001267
1268 ipu1_csi0_from_ipu1_csi0_mux: endpoint {
1269 remote-endpoint = <&ipu1_csi0_mux_to_ipu1_csi0>;
1270 };
Jagan Teki39f41da2016-10-08 18:00:16 +05301271 };
1272
1273 ipu1_csi1: port@1 {
1274 reg = <1>;
1275 };
1276
1277 ipu1_di0: port@2 {
1278 #address-cells = <1>;
1279 #size-cells = <0>;
1280 reg = <2>;
1281
Abel Vesa67f165d2019-02-01 16:40:16 +00001282 ipu1_di0_disp0: endpoint@0 {
1283 reg = <0>;
Jagan Teki39f41da2016-10-08 18:00:16 +05301284 };
1285
Abel Vesa67f165d2019-02-01 16:40:16 +00001286 ipu1_di0_hdmi: endpoint@1 {
1287 reg = <1>;
Jagan Teki39f41da2016-10-08 18:00:16 +05301288 remote-endpoint = <&hdmi_mux_0>;
1289 };
1290
Abel Vesa67f165d2019-02-01 16:40:16 +00001291 ipu1_di0_mipi: endpoint@2 {
1292 reg = <2>;
Jagan Teki39f41da2016-10-08 18:00:16 +05301293 remote-endpoint = <&mipi_mux_0>;
1294 };
1295
Abel Vesa67f165d2019-02-01 16:40:16 +00001296 ipu1_di0_lvds0: endpoint@3 {
1297 reg = <3>;
Jagan Teki39f41da2016-10-08 18:00:16 +05301298 remote-endpoint = <&lvds0_mux_0>;
1299 };
1300
Abel Vesa67f165d2019-02-01 16:40:16 +00001301 ipu1_di0_lvds1: endpoint@4 {
1302 reg = <4>;
Jagan Teki39f41da2016-10-08 18:00:16 +05301303 remote-endpoint = <&lvds1_mux_0>;
1304 };
1305 };
1306
1307 ipu1_di1: port@3 {
1308 #address-cells = <1>;
1309 #size-cells = <0>;
1310 reg = <3>;
1311
Abel Vesa67f165d2019-02-01 16:40:16 +00001312 ipu1_di1_disp1: endpoint@0 {
1313 reg = <0>;
Jagan Teki39f41da2016-10-08 18:00:16 +05301314 };
1315
Abel Vesa67f165d2019-02-01 16:40:16 +00001316 ipu1_di1_hdmi: endpoint@1 {
1317 reg = <1>;
Jagan Teki39f41da2016-10-08 18:00:16 +05301318 remote-endpoint = <&hdmi_mux_1>;
1319 };
1320
Abel Vesa67f165d2019-02-01 16:40:16 +00001321 ipu1_di1_mipi: endpoint@2 {
1322 reg = <2>;
Jagan Teki39f41da2016-10-08 18:00:16 +05301323 remote-endpoint = <&mipi_mux_1>;
1324 };
1325
Abel Vesa67f165d2019-02-01 16:40:16 +00001326 ipu1_di1_lvds0: endpoint@3 {
1327 reg = <3>;
Jagan Teki39f41da2016-10-08 18:00:16 +05301328 remote-endpoint = <&lvds0_mux_1>;
1329 };
1330
Abel Vesa67f165d2019-02-01 16:40:16 +00001331 ipu1_di1_lvds1: endpoint@4 {
1332 reg = <4>;
Jagan Teki39f41da2016-10-08 18:00:16 +05301333 remote-endpoint = <&lvds1_mux_1>;
1334 };
1335 };
1336 };
1337 };
1338};