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>;
41 compatible = "arm,cortex-a7";
52 /* global autoconfigured region for contiguous allocations */
54 compatible = "shared-dma-pool";
61 rpmsg_reserved: rpmsg@9FFF0000 {
63 reg = <0x9FF00000 0x100000>;
68 intc: interrupt-controller@40021000 {
69 compatible = "arm,cortex-a7-gic";
70 #interrupt-cells = <3>;
72 reg = <0x40021000 0x1000>,
81 compatible = "fixed-clock";
83 clock-frequency = <32768>;
84 clock-output-names = "ckil";
88 compatible = "fixed-clock";
90 clock-frequency = <24000000>;
91 clock-output-names = "osc";
95 compatible = "fixed-clock";
97 clock-frequency = <16000000>;
98 clock-output-names = "sirc";
102 compatible = "fixed-clock";
104 clock-frequency = <48000000>;
105 clock-output-names = "firc";
109 compatible = "fixed-clock";
111 clock-frequency = <480000000>;
112 clock-output-names = "upll";
116 compatible = "fixed-clock";
118 clock-frequency = <480000000>;
119 clock-output-names = "mpll";
123 sram: sram@20000000 {
124 compatible = "fsl,lpm-sram";
125 reg = <0x1fffc000 0x4000>;
128 ahbbridge0: ahb-bridge0@40000000 {
129 compatible = "fsl,aips-bus", "simple-bus";
130 #address-cells = <1>;
132 reg = <0x40000000 0x800000>;
135 edma0: dma-controller@40080000 {
137 compatible = "nxp,imx7ulp-edma";
138 reg = <0x40080000 0x2000>,
141 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
142 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
143 <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
144 <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
145 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
146 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
147 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
148 <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
149 <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
150 <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
151 <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>,
152 <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
153 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
154 <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
155 <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
156 <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>,
157 <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
158 clock-names = "dma", "dmamux0";
159 clocks = <&clks IMX7ULP_CLK_DMA1>, <&clks IMX7ULP_CLK_DMA_MUX1>;
163 compatible = "fsl,imx7ulp-mu", "fsl,imx6sx-mu";
164 reg = <0x40220000 0x1000>;
165 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
166 <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
171 compatible = "fsl,imx7ulp-nmi";
172 reg = <0x40220000 0x1000>;
173 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
178 compatible = "fsl,imx7ulp-rpmsg";
179 memory-region = <&rpmsg_reserved>;
183 snvs: snvs@40230000 {
184 compatible = "fsl,sec-v4.0-mon","syscon", "simple-mfd";
185 reg = <0x40230000 0x10000>;
187 snvs_rtc: snvs-rtc-lp{
188 compatible = "fsl,sec-v4.0-mon-rtc-lp";
191 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
192 clock-names = "snvs-rtc";
193 clocks = <&clks IMX7ULP_CLK_SNVS>;
198 compatible = "fsl,imx7ulp-tpm";
199 reg = <0x40260000 0x1000>;
200 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
201 clocks = <&clks IMX7ULP_CLK_LPTPM5>;
205 compatible = "fsl,imx-lpit";
206 reg = <0x40270000 0x1000>;
207 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
208 /* clocks = <&lpclk>;*/
209 clocks = <&clks IMX7ULP_CLK_LPIT1>;
210 assigned-clock-rates = <48000000>;
211 assigned-clocks = <&clks IMX7ULP_CLK_LPIT1>;
212 assigned-clock-parents = <&clks IMX7ULP_CLK_FIRC>;
215 lpi2c4: lpi2c4@402B0000 {
216 compatible = "fsl,imx7ulp-lpi2c";
217 reg = <0x402B0000 0x10000>;
218 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
219 clocks = <&clks IMX7ULP_CLK_LPI2C4>;
221 assigned-clocks = <&clks IMX7ULP_CLK_LPI2C4>;
222 assigned-clock-parents = <&clks IMX7ULP_CLK_FIRC>;
223 assigned-clock-rates = <48000000>;
227 lpi2c5: lpi2c4@402C0000 {
228 compatible = "fsl,imx7ulp-lpi2c";
229 reg = <0x402C0000 0x10000>;
230 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
231 clocks = <&clks IMX7ULP_CLK_LPI2C5>;
233 assigned-clocks = <&clks IMX7ULP_CLK_LPI2C5>;
234 assigned-clock-parents = <&clks IMX7ULP_CLK_FIRC>;
235 assigned-clock-rates = <48000000>;
239 lpspi2: lpspi@40290000 {
240 compatible = "fsl,imx7ulp-spi";
241 reg = <0x40290000 0x10000>;
242 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
243 clocks = <&clks IMX7ULP_CLK_LPSPI2>;
245 assigned-clocks = <&clks IMX7ULP_CLK_LPSPI2>;
246 assigned-clock-parents = <&clks IMX7ULP_CLK_FIRC>;
247 assigned-clock-rates = <48000000>;
251 lpspi3: lpspi@402A0000 {
252 compatible = "fsl,imx7ulp-spi";
253 reg = <0x402A0000 0x10000>;
254 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
255 clocks = <&clks IMX7ULP_CLK_LPSPI3>;
257 assigned-clocks = <&clks IMX7ULP_CLK_LPSPI3>;
258 assigned-clock-parents = <&clks IMX7ULP_CLK_FIRC>;
259 assigned-clock-rates = <48000000>;
263 lpuart4: serial@402D0000 {
264 compatible = "fsl,imx7ulp-lpuart";
265 reg = <0x402D0000 0x1000>;
266 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
267 clocks = <&clks IMX7ULP_CLK_LPUART4>;
269 assigned-clocks = <&clks IMX7ULP_CLK_LPUART4>;
270 assigned-clock-parents = <&clks IMX7ULP_CLK_OSC>;
271 assigned-clock-rates = <24000000>;
275 lpuart5: serial@402E0000 {
276 compatible = "fsl,imx7ulp-lpuart";
277 reg = <0x402E0000 0x1000>;
278 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
279 clocks = <&clks IMX7ULP_CLK_LPUART5>;
281 assigned-clocks = <&clks IMX7ULP_CLK_LPUART5>;
282 assigned-clock-parents = <&clks IMX7ULP_CLK_FIRC>;
283 assigned-clock-rates = <48000000>;
284 dmas = <&edma0 0 20>, <&edma0 0 19>;
285 dma-names = "tx","rx";
289 usbotg1: usb@40330000 {
290 compatible = "fsl,imx7ulp-usb", "fsl,imx6ul-usb",
292 reg = <0x40330000 0x200>;
293 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
294 clocks = <&clks IMX7ULP_CLK_USB0>;
295 fsl,usbphy = <&usbphy1>;
296 fsl,usbmisc = <&usbmisc1 0>;
297 ahb-burst-config = <0x0>;
298 tx-burst-size-dword = <0x8>;
299 rx-burst-size-dword = <0x8>;
303 usbmisc1: usbmisc@40330200 {
305 compatible = "fsl,imx7ulp-usbmisc", "fsl,imx7d-usbmisc",
307 reg = <0x40330200 0x200>;
310 usbphy1: usbphy@0x40350000 {
311 compatible = "fsl,imx7ulp-usbphy",
312 "fsl,imx6ul-usbphy", "fsl,imx23-usbphy";
313 reg = <0x40350000 0x1000>;
314 interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
315 clocks = <&clks IMX7ULP_CLK_USB_PHY>;
319 usdhc0: usdhc@40370000 {
320 compatible = "fsl,imx7ulp-usdhc";
321 reg = <0x40370000 0x10000>;
322 interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
323 clocks = <&clks IMX7ULP_CLK_NIC1_BUS_DIV>,
324 <&clks IMX7ULP_CLK_NIC1_DIV>,
325 <&clks IMX7ULP_CLK_USDHC0>;
326 clock-names ="ipg", "ahb", "per";
328 fsl,tuning-start-tap = <20>;
329 fsl,tuning-step= <2>;
333 usdhc1: usdhc@40380000 {
334 compatible = "fsl,imx7ulp-usdhc";
335 reg = <0x40380000 0x10000>;
336 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
337 clocks = <&clks IMX7ULP_CLK_NIC1_BUS_DIV>,
338 <&clks IMX7ULP_CLK_NIC1_DIV>,
339 <&clks IMX7ULP_CLK_USDHC1>;
340 clock-names ="ipg", "ahb", "per";
342 fsl,tuning-start-tap = <20>;
343 fsl,tuning-step= <2>;
347 wdog1: wdog@403D0000 {
348 compatible = "fsl,imx7ulp-wdt";
349 reg = <0x403D0000 0x10000>;
350 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
351 clocks = <&clks IMX7ULP_CLK_WDG1>;
352 assigned-clocks = <&clks IMX7ULP_CLK_WDG1>;
353 assigned-clocks-parents = <&clks IMX7ULP_CLK_FIRC>;
355 * As the 1KHz LPO clock rate is not trimed,the actually clock
356 * is about 667Hz, so the init timeout 60s should set 40*1000
357 * in the TOVAL register.
362 wdog2: wdog@40430000 {
363 compatible = "fsl,imx7ulp-wdt";
364 reg = <0x40430000 0x10000>;
365 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
366 clocks = <&clks IMX7ULP_CLK_WDG2>;
367 assigned-clocks = <&clks IMX7ULP_CLK_WDG2>;
368 assigned-clocks-parents = <&clks IMX7ULP_CLK_FIRC>;
372 clks: scg1@403E0000 {
373 compatible = "fsl,imx7ulp-scg1";
374 reg = <0x403E0000 0x10000>;
375 clocks = <&ckil>, <&osc>, <&sirc>,
376 <&firc>, <&upll>, <&mpll>;
377 clock-names = "ckil", "osc", "sirc",
378 "firc", "upll", "mpll";
380 assigned-clocks = <&clks IMX7ULP_CLK_LPTPM5>,
381 <&clks IMX7ULP_CLK_USDHC1>;
382 assigned-clock-parents = <&clks IMX7ULP_CLK_OSC>,
383 <&clks IMX7ULP_CLK_NIC1_DIV>;
386 pcc2: pcc2@403F0000 {
387 compatible = "fsl,imx7ulp-pcc2";
388 reg = <0x403F0000 0x10000>;
391 pmc1: pmc1@40400000 {
392 compatible = "fsl,imx7ulp-pmc1";
393 reg = <0x40400000 0x1000>;
396 smc1: smc1@40410000 {
397 compatible = "fsl,imx7ulp-smc1";
398 reg = <0x40410000 0x1000>;
403 ahbbridge1: ahb-bridge1@40800000 {
404 compatible = "fsl,aips-bus", "simple-bus";
405 #address-cells = <1>;
407 reg = <0x40800000 0x800000>;
410 lpi2c6: lpi2c6@40A40000 {
411 compatible = "fsl,imx7ulp-lpi2c";
412 reg = <0x40A40000 0x10000>;
413 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
414 clocks = <&clks IMX7ULP_CLK_LPI2C6>;
416 assigned-clocks = <&clks IMX7ULP_CLK_LPI2C6>;
417 assigned-clock-parents = <&clks IMX7ULP_CLK_FIRC>;
418 assigned-clock-rates = <48000000>;
422 lpi2c7: lpi2c7@40A50000 {
423 compatible = "fsl,imx7ulp-lpi2c";
424 reg = <0x40A50000 0x10000>;
425 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
426 clocks = <&clks IMX7ULP_CLK_LPI2C7>;
428 assigned-clocks = <&clks IMX7ULP_CLK_LPI2C7>;
429 assigned-clock-parents = <&clks IMX7ULP_CLK_FIRC>;
430 assigned-clock-rates = <48000000>;
434 lpuart6: serial@40A60000 {
435 compatible = "fsl,imx7ulp-lpuart";
436 reg = <0x40A60000 0x1000>;
437 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
438 clocks = <&clks IMX7ULP_CLK_LPUART6>;
440 assigned-clocks = <&clks IMX7ULP_CLK_LPUART6>;
441 assigned-clock-parents = <&clks IMX7ULP_CLK_FIRC>;
442 assigned-clock-rates = <48000000>;
443 dmas = <&edma0 0 22>, <&edma0 0 21>;
444 dma-names = "tx","rx";
448 lpuart7: serial@40A70000 {
449 compatible = "fsl,imx7ulp-lpuart";
450 reg = <0x40A70000 0x1000>;
451 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
452 clocks = <&clks IMX7ULP_CLK_LPUART7>;
454 assigned-clocks = <&clks IMX7ULP_CLK_LPUART7>;
455 assigned-clock-parents = <&clks IMX7ULP_CLK_FIRC>;
456 assigned-clock-rates = <50000000>;
457 dmas = <&edma0 0 24>, <&edma0 0 23>;
458 dma-names = "tx","rx";
462 lcdif: lcdif@40AA0000 {
463 compatible = "fsl,imx7ulp-lcdif";
464 reg = <0x40aa0000 0x10000>;
465 interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
466 clocks = <&clks IMX7ULP_CLK_DUMMY>,
467 <&clks IMX7ULP_CLK_LCDIF>,
468 <&clks IMX7ULP_CLK_DUMMY>;
469 clock-names = "axi", "pix", "disp_axi";
473 mipi_dsi: mipi_dsi@40A90000 {
474 compatible = "fsl,imx7ulp-mipi-dsi";
475 reg = <0x40A90000 0x10000>;
476 interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
477 clocks = <&clks IMX7ULP_CLK_DSI>;
478 clock-names = "mipi_dsi_clk";
483 mmdc: mmdc@40ab0000 {
484 compatible = "fsl,imx7ulp-mmdc";
485 reg = <0x40ab0000 0x4000>;
488 pcc3: pcc3@40B30000 {
489 compatible = "fsl,imx7ulp-pcc3";
490 reg = <0x40B30000 0x10000>;
493 iomuxc: iomuxc@4103D000 {
494 compatible = "fsl,imx7ulp-iomuxc-0";
495 reg = <0x4103D000 0x1000>;
496 fsl,mux_mask = <0xf00>;
500 iomuxc1: iomuxc1@40ac0000 {
501 compatible = "fsl,imx7ulp-iomuxc-1";
502 reg = <0x40ac0000 0x1000>;
503 fsl,mux_mask = <0xf00>;
506 gpio0: gpio@40ae0000 {
507 compatible = "fsl,imx7ulp-gpio";
508 reg = <0x40ae0000 0x1000 0x400F0000 0x40>;
511 interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
512 interrupt-controller;
513 #interrupt-cells = <2>;
514 gpio-ranges = <&iomuxc1 0 0 32>;
517 gpio1: gpio@40af0000 {
518 compatible = "fsl,imx7ulp-gpio";
519 reg = <0x40af0000 0x1000 0x400F0040 0x40>;
522 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
523 interrupt-controller;
524 #interrupt-cells = <2>;
525 gpio-ranges = <&iomuxc1 0 32 32>;
528 gpio2: gpio@40b00000 {
529 compatible = "fsl,imx7ulp-gpio";
530 reg = <0x40b00000 0x1000 0x400F0080 0x40>;
533 interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
534 interrupt-controller;
535 #interrupt-cells = <2>;
536 gpio-ranges = <&iomuxc1 0 64 32>;
539 gpio3: gpio@40b10000 {
540 compatible = "fsl,imx7ulp-gpio";
541 reg = <0x40b10000 0x1000 0x400F00c0 0x40>;
544 interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
545 interrupt-controller;
546 #interrupt-cells = <2>;
547 gpio-ranges = <&iomuxc1 0 96 32>;
550 pmc0: pmc0@410a1000 {
551 compatible = "fsl,imx7ulp-pmc0";
552 reg = <0x410a1000 0x1000>;
556 compatible = "fsl,imx7ulp-sim", "syscon";
557 reg = <0x410a3000 0x1000>;
560 qspi1: qspi@410A5000 {
561 #address-cells = <1>;
563 compatible = "fsl,imx7ulp-qspi";
564 reg = <0x410A5000 0x10000>, <0xC0000000 0x10000000>;
565 reg-names = "QuadSPI", "QuadSPI-memory";
566 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
567 clocks = <&clks IMX7ULP_CLK_DUMMY>,
568 <&clks IMX7ULP_CLK_DUMMY>;
569 clock-names = "qspi_en", "qspi";
574 compatible = "fsl,imx6q-gpu";
575 reg = <0x41800000 0x80000>, <0x41880000 0x80000>,
576 <0x60000000 0x40000000>, <0x0 0x4000000>;
577 reg-names = "iobase_3d", "iobase_2d",
578 "phys_baseaddr", "contiguous_mem";
579 interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
580 <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
581 interrupt-names = "irq_3d", "irq_2d";
582 clocks = <&clks IMX7ULP_CLK_GPU3D>,
583 <&clks IMX7ULP_CLK_NIC1_DIV>,
584 <&clks IMX7ULP_CLK_GPU_DIV>,
585 <&clks IMX7ULP_CLK_GPU2D>,
586 <&clks IMX7ULP_CLK_NIC1_DIV>,
587 <&clks IMX7ULP_CLK_NIC1_DIV>;
588 clock-names = "gpu3d_clk", "gpu3d_shader_clk",
589 "gpu3d_axi_clk", "gpu2d_clk",
590 "gpu2d_shader_clk", "gpu2d_axi_clk";
595 compatible = "fsl,mxc-ion";