2 * Copyright 2015-2016 Freescale Semiconductor, Inc.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
9 #include <dt-bindings/clock/imx7ulp-clock.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-bindings/gpio/gpio.h>
12 #include "skeleton.dtsi"
13 #include "imx7ulp-pinfunc.h"
16 interrupt-parent = <&intc>;
45 compatible = "arm,cortex-a7";
56 /* global autoconfigured region for contiguous allocations */
58 compatible = "shared-dma-pool";
65 rpmsg_reserved: rpmsg@9FFF0000 {
67 reg = <0x9FF00000 0x100000>;
72 intc: interrupt-controller@40021000 {
73 compatible = "arm,cortex-a7-gic";
74 #interrupt-cells = <3>;
76 reg = <0x40021000 0x1000>,
85 compatible = "fixed-clock";
87 clock-frequency = <32768>;
88 clock-output-names = "ckil";
92 compatible = "fixed-clock";
94 clock-frequency = <24000000>;
95 clock-output-names = "osc";
99 compatible = "fixed-clock";
101 clock-frequency = <16000000>;
102 clock-output-names = "sirc";
106 compatible = "fixed-clock";
108 clock-frequency = <48000000>;
109 clock-output-names = "firc";
113 compatible = "fixed-clock";
115 clock-frequency = <480000000>;
116 clock-output-names = "upll";
120 compatible = "fixed-clock";
122 clock-frequency = <480000000>;
123 clock-output-names = "mpll";
127 sram: sram@20000000 {
128 compatible = "fsl,lpm-sram";
129 reg = <0x1fffc000 0x4000>;
132 ahbbridge0: ahb-bridge0@40000000 {
133 compatible = "fsl,aips-bus", "simple-bus";
134 #address-cells = <1>;
136 reg = <0x40000000 0x800000>;
139 edma0: dma-controller@40080000 {
141 compatible = "nxp,imx7ulp-edma";
142 reg = <0x40080000 0x2000>,
145 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
146 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
147 <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
148 <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
149 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
150 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
151 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
152 <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
153 <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
154 <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
155 <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>,
156 <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
157 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
158 <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
159 <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
160 <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>,
161 <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
162 clock-names = "dma", "dmamux0";
163 clocks = <&clks IMX7ULP_CLK_DMA1>, <&clks IMX7ULP_CLK_DMA_MUX1>;
167 compatible = "fsl,imx7ulp-mu", "fsl,imx6sx-mu";
168 reg = <0x40220000 0x1000>;
169 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
170 <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
175 compatible = "fsl,imx7ulp-nmi";
176 reg = <0x40220000 0x1000>;
177 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
182 compatible = "fsl,imx7ulp-rpmsg";
183 memory-region = <&rpmsg_reserved>;
187 snvs: snvs@40230000 {
188 compatible = "fsl,sec-v4.0-mon","syscon", "simple-mfd";
189 reg = <0x40230000 0x10000>;
191 snvs_rtc: snvs-rtc-lp{
192 compatible = "fsl,sec-v4.0-mon-rtc-lp";
195 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
196 clock-names = "snvs-rtc";
197 clocks = <&clks IMX7ULP_CLK_SNVS>;
202 compatible = "fsl,imx7ulp-tpm";
203 reg = <0x40260000 0x1000>;
204 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
205 clocks = <&clks IMX7ULP_CLK_LPTPM5>;
209 compatible = "fsl,imx-lpit";
210 reg = <0x40270000 0x1000>;
211 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
212 /* clocks = <&lpclk>;*/
213 clocks = <&clks IMX7ULP_CLK_LPIT1>;
214 assigned-clock-rates = <48000000>;
215 assigned-clocks = <&clks IMX7ULP_CLK_LPIT1>;
216 assigned-clock-parents = <&clks IMX7ULP_CLK_FIRC>;
219 lpi2c4: lpi2c4@402B0000 {
220 compatible = "fsl,imx7ulp-lpi2c";
221 reg = <0x402B0000 0x10000>;
222 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
223 clocks = <&clks IMX7ULP_CLK_LPI2C4>;
225 assigned-clocks = <&clks IMX7ULP_CLK_LPI2C4>;
226 assigned-clock-parents = <&clks IMX7ULP_CLK_FIRC>;
227 assigned-clock-rates = <48000000>;
231 lpi2c5: lpi2c4@402C0000 {
232 compatible = "fsl,imx7ulp-lpi2c";
233 reg = <0x402C0000 0x10000>;
234 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
235 clocks = <&clks IMX7ULP_CLK_LPI2C5>;
237 assigned-clocks = <&clks IMX7ULP_CLK_LPI2C5>;
238 assigned-clock-parents = <&clks IMX7ULP_CLK_FIRC>;
239 assigned-clock-rates = <48000000>;
243 lpspi2: lpspi@40290000 {
244 compatible = "fsl,imx7ulp-spi";
245 reg = <0x40290000 0x10000>;
246 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
247 clocks = <&clks IMX7ULP_CLK_LPSPI2>;
249 assigned-clocks = <&clks IMX7ULP_CLK_LPSPI2>;
250 assigned-clock-parents = <&clks IMX7ULP_CLK_FIRC>;
251 assigned-clock-rates = <48000000>;
255 lpspi3: lpspi@402A0000 {
256 compatible = "fsl,imx7ulp-spi";
257 reg = <0x402A0000 0x10000>;
258 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
259 clocks = <&clks IMX7ULP_CLK_LPSPI3>;
261 assigned-clocks = <&clks IMX7ULP_CLK_LPSPI3>;
262 assigned-clock-parents = <&clks IMX7ULP_CLK_FIRC>;
263 assigned-clock-rates = <48000000>;
267 lpuart4: serial@402D0000 {
268 compatible = "fsl,imx7ulp-lpuart";
269 reg = <0x402D0000 0x1000>;
270 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
271 clocks = <&clks IMX7ULP_CLK_LPUART4>;
273 assigned-clocks = <&clks IMX7ULP_CLK_LPUART4>;
274 assigned-clock-parents = <&clks IMX7ULP_CLK_OSC>;
275 assigned-clock-rates = <24000000>;
279 lpuart5: serial@402E0000 {
280 compatible = "fsl,imx7ulp-lpuart";
281 reg = <0x402E0000 0x1000>;
282 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
283 clocks = <&clks IMX7ULP_CLK_LPUART5>;
285 assigned-clocks = <&clks IMX7ULP_CLK_LPUART5>;
286 assigned-clock-parents = <&clks IMX7ULP_CLK_FIRC>;
287 assigned-clock-rates = <48000000>;
288 dmas = <&edma0 0 20>, <&edma0 0 19>;
289 dma-names = "tx","rx";
293 usbotg1: usb@40330000 {
294 compatible = "fsl,imx7ulp-usb", "fsl,imx6ul-usb",
296 reg = <0x40330000 0x200>;
297 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
298 clocks = <&clks IMX7ULP_CLK_USB0>;
299 fsl,usbphy = <&usbphy1>;
300 fsl,usbmisc = <&usbmisc1 0>;
301 ahb-burst-config = <0x0>;
302 tx-burst-size-dword = <0x8>;
303 rx-burst-size-dword = <0x8>;
307 usbmisc1: usbmisc@40330200 {
309 compatible = "fsl,imx7ulp-usbmisc", "fsl,imx7d-usbmisc",
311 reg = <0x40330200 0x200>;
314 usbphy1: usbphy@0x40350000 {
315 compatible = "fsl,imx7ulp-usbphy",
316 "fsl,imx6ul-usbphy", "fsl,imx23-usbphy";
317 reg = <0x40350000 0x1000>;
318 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
319 clocks = <&clks IMX7ULP_CLK_USB_PHY>;
323 usdhc0: usdhc@40370000 {
324 compatible = "fsl,imx7ulp-usdhc";
325 reg = <0x40370000 0x10000>;
326 interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
327 clocks = <&clks IMX7ULP_CLK_NIC1_BUS_DIV>,
328 <&clks IMX7ULP_CLK_NIC1_DIV>,
329 <&clks IMX7ULP_CLK_USDHC0>;
330 clock-names ="ipg", "ahb", "per";
332 fsl,tuning-start-tap = <20>;
333 fsl,tuning-step= <2>;
337 usdhc1: usdhc@40380000 {
338 compatible = "fsl,imx7ulp-usdhc";
339 reg = <0x40380000 0x10000>;
340 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
341 clocks = <&clks IMX7ULP_CLK_NIC1_BUS_DIV>,
342 <&clks IMX7ULP_CLK_NIC1_DIV>,
343 <&clks IMX7ULP_CLK_USDHC1>;
344 clock-names ="ipg", "ahb", "per";
346 fsl,tuning-start-tap = <20>;
347 fsl,tuning-step= <2>;
351 wdog1: wdog@403D0000 {
352 compatible = "fsl,imx7ulp-wdt";
353 reg = <0x403D0000 0x10000>;
354 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
355 clocks = <&clks IMX7ULP_CLK_WDG1>;
356 assigned-clocks = <&clks IMX7ULP_CLK_WDG1>;
357 assigned-clocks-parents = <&clks IMX7ULP_CLK_FIRC>;
359 * As the 1KHz LPO clock rate is not trimed,the actually clock
360 * is about 667Hz, so the init timeout 60s should set 40*1000
361 * in the TOVAL register.
366 wdog2: wdog@40430000 {
367 compatible = "fsl,imx7ulp-wdt";
368 reg = <0x40430000 0x10000>;
369 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
370 clocks = <&clks IMX7ULP_CLK_WDG2>;
371 assigned-clocks = <&clks IMX7ULP_CLK_WDG2>;
372 assigned-clocks-parents = <&clks IMX7ULP_CLK_FIRC>;
376 clks: scg1@403E0000 {
377 compatible = "fsl,imx7ulp-scg1";
378 reg = <0x403E0000 0x10000>;
379 clocks = <&ckil>, <&osc>, <&sirc>,
380 <&firc>, <&upll>, <&mpll>;
381 clock-names = "ckil", "osc", "sirc",
382 "firc", "upll", "mpll";
384 assigned-clocks = <&clks IMX7ULP_CLK_LPTPM5>,
385 <&clks IMX7ULP_CLK_USDHC1>;
386 assigned-clock-parents = <&clks IMX7ULP_CLK_OSC>,
387 <&clks IMX7ULP_CLK_NIC1_DIV>;
390 pcc2: pcc2@403F0000 {
391 compatible = "fsl,imx7ulp-pcc2";
392 reg = <0x403F0000 0x10000>;
395 pmc1: pmc1@40400000 {
396 compatible = "fsl,imx7ulp-pmc1";
397 reg = <0x40400000 0x1000>;
400 smc1: smc1@40410000 {
401 compatible = "fsl,imx7ulp-smc1";
402 reg = <0x40410000 0x1000>;
407 ahbbridge1: ahb-bridge1@40800000 {
408 compatible = "fsl,aips-bus", "simple-bus";
409 #address-cells = <1>;
411 reg = <0x40800000 0x800000>;
414 lpi2c6: lpi2c6@40A40000 {
415 compatible = "fsl,imx7ulp-lpi2c";
416 reg = <0x40A40000 0x10000>;
417 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
418 clocks = <&clks IMX7ULP_CLK_LPI2C6>;
420 assigned-clocks = <&clks IMX7ULP_CLK_LPI2C6>;
421 assigned-clock-parents = <&clks IMX7ULP_CLK_FIRC>;
422 assigned-clock-rates = <48000000>;
426 lpi2c7: lpi2c7@40A50000 {
427 compatible = "fsl,imx7ulp-lpi2c";
428 reg = <0x40A50000 0x10000>;
429 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
430 clocks = <&clks IMX7ULP_CLK_LPI2C7>;
432 assigned-clocks = <&clks IMX7ULP_CLK_LPI2C7>;
433 assigned-clock-parents = <&clks IMX7ULP_CLK_FIRC>;
434 assigned-clock-rates = <48000000>;
438 lpuart6: serial@40A60000 {
439 compatible = "fsl,imx7ulp-lpuart";
440 reg = <0x40A60000 0x1000>;
441 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
442 clocks = <&clks IMX7ULP_CLK_LPUART6>;
444 assigned-clocks = <&clks IMX7ULP_CLK_LPUART6>;
445 assigned-clock-parents = <&clks IMX7ULP_CLK_FIRC>;
446 assigned-clock-rates = <48000000>;
447 dmas = <&edma0 0 22>, <&edma0 0 21>;
448 dma-names = "tx","rx";
452 lpuart7: serial@40A70000 {
453 compatible = "fsl,imx7ulp-lpuart";
454 reg = <0x40A70000 0x1000>;
455 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
456 clocks = <&clks IMX7ULP_CLK_LPUART7>;
458 assigned-clocks = <&clks IMX7ULP_CLK_LPUART7>;
459 assigned-clock-parents = <&clks IMX7ULP_CLK_FIRC>;
460 assigned-clock-rates = <50000000>;
461 dmas = <&edma0 0 24>, <&edma0 0 23>;
462 dma-names = "tx","rx";
466 lcdif: lcdif@40AA0000 {
467 compatible = "fsl,imx7ulp-lcdif";
468 reg = <0x40aa0000 0x10000>;
469 interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
470 clocks = <&clks IMX7ULP_CLK_DUMMY>,
471 <&clks IMX7ULP_CLK_LCDIF>,
472 <&clks IMX7ULP_CLK_DUMMY>;
473 clock-names = "axi", "pix", "disp_axi";
477 mipi_dsi: mipi_dsi@40A90000 {
478 compatible = "fsl,imx7ulp-mipi-dsi";
479 reg = <0x40A90000 0x10000>;
480 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
481 clocks = <&clks IMX7ULP_CLK_DSI>;
482 clock-names = "mipi_dsi_clk";
487 mmdc: mmdc@40ab0000 {
488 compatible = "fsl,imx7ulp-mmdc";
489 reg = <0x40ab0000 0x4000>;
492 pcc3: pcc3@40B30000 {
493 compatible = "fsl,imx7ulp-pcc3";
494 reg = <0x40B30000 0x10000>;
497 iomuxc: iomuxc@4103D000 {
498 compatible = "fsl,imx7ulp-iomuxc-0";
499 reg = <0x4103D000 0x1000>;
500 fsl,mux_mask = <0xf00>;
504 iomuxc1: iomuxc1@40ac0000 {
505 compatible = "fsl,imx7ulp-iomuxc-1";
506 reg = <0x40ac0000 0x1000>;
507 fsl,mux_mask = <0xf00>;
510 gpio4: gpio@4103f000 {
511 compatible = "fsl,imx7ulp-gpio";
512 reg = <0x4103f000 0x1000 0x4100F000 0x40>;
515 gpio-ranges = <&iomuxc 0 0 32>;
518 gpio5: gpio@41040000 {
519 compatible = "fsl,imx7ulp-gpio";
520 reg = <0x41040000 0x1000 0x4100F040 0x40>;
523 gpio-ranges = <&iomuxc 0 32 32>;
526 gpio0: gpio@40ae0000 {
527 compatible = "fsl,imx7ulp-gpio";
528 reg = <0x40ae0000 0x1000 0x400F0000 0x40>;
531 interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
532 interrupt-controller;
533 #interrupt-cells = <2>;
534 gpio-ranges = <&iomuxc1 0 0 32>;
537 gpio1: gpio@40af0000 {
538 compatible = "fsl,imx7ulp-gpio";
539 reg = <0x40af0000 0x1000 0x400F0040 0x40>;
542 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
543 interrupt-controller;
544 #interrupt-cells = <2>;
545 gpio-ranges = <&iomuxc1 0 32 32>;
548 gpio2: gpio@40b00000 {
549 compatible = "fsl,imx7ulp-gpio";
550 reg = <0x40b00000 0x1000 0x400F0080 0x40>;
553 interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
554 interrupt-controller;
555 #interrupt-cells = <2>;
556 gpio-ranges = <&iomuxc1 0 64 32>;
559 gpio3: gpio@40b10000 {
560 compatible = "fsl,imx7ulp-gpio";
561 reg = <0x40b10000 0x1000 0x400F00c0 0x40>;
564 interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
565 interrupt-controller;
566 #interrupt-cells = <2>;
567 gpio-ranges = <&iomuxc1 0 96 32>;
570 pmc0: pmc0@410a1000 {
571 compatible = "fsl,imx7ulp-pmc0";
572 reg = <0x410a1000 0x1000>;
576 compatible = "fsl,imx7ulp-sim", "syscon";
577 reg = <0x410a3000 0x1000>;
580 qspi1: qspi@410A5000 {
581 #address-cells = <1>;
583 compatible = "fsl,imx7ulp-qspi";
584 reg = <0x410A5000 0x10000>, <0xC0000000 0x10000000>;
585 reg-names = "QuadSPI", "QuadSPI-memory";
586 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
587 clocks = <&clks IMX7ULP_CLK_DUMMY>,
588 <&clks IMX7ULP_CLK_DUMMY>;
589 clock-names = "qspi_en", "qspi";
594 compatible = "fsl,imx6q-gpu";
595 reg = <0x41800000 0x80000>, <0x41880000 0x80000>,
596 <0x60000000 0x40000000>, <0x0 0x4000000>;
597 reg-names = "iobase_3d", "iobase_2d",
598 "phys_baseaddr", "contiguous_mem";
599 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
600 <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
601 interrupt-names = "irq_3d", "irq_2d";
602 clocks = <&clks IMX7ULP_CLK_GPU3D>,
603 <&clks IMX7ULP_CLK_NIC1_DIV>,
604 <&clks IMX7ULP_CLK_GPU_DIV>,
605 <&clks IMX7ULP_CLK_GPU2D>,
606 <&clks IMX7ULP_CLK_NIC1_DIV>,
607 <&clks IMX7ULP_CLK_NIC1_DIV>;
608 clock-names = "gpu3d_clk", "gpu3d_shader_clk",
609 "gpu3d_axi_clk", "gpu2d_clk",
610 "gpu2d_shader_clk", "gpu2d_axi_clk";
615 compatible = "fsl,mxc-ion";