16c3debcbSAnson Huang// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 26c3debcbSAnson Huang/* 36c3debcbSAnson Huang * Copyright 2019 NXP 46c3debcbSAnson Huang */ 56c3debcbSAnson Huang 66c3debcbSAnson Huang#include <dt-bindings/clock/imx8mn-clock.h> 76c3debcbSAnson Huang#include <dt-bindings/gpio/gpio.h> 86c3debcbSAnson Huang#include <dt-bindings/input/input.h> 96c3debcbSAnson Huang#include <dt-bindings/interrupt-controller/arm-gic.h> 106c3debcbSAnson Huang 116c3debcbSAnson Huang#include "imx8mn-pinfunc.h" 126c3debcbSAnson Huang 136c3debcbSAnson Huang/ { 146c3debcbSAnson Huang compatible = "fsl,imx8mn"; 156c3debcbSAnson Huang interrupt-parent = <&gic>; 166c3debcbSAnson Huang #address-cells = <2>; 176c3debcbSAnson Huang #size-cells = <2>; 186c3debcbSAnson Huang 196c3debcbSAnson Huang aliases { 206c3debcbSAnson Huang ethernet0 = &fec1; 216c3debcbSAnson Huang gpio0 = &gpio1; 226c3debcbSAnson Huang gpio1 = &gpio2; 236c3debcbSAnson Huang gpio2 = &gpio3; 246c3debcbSAnson Huang gpio3 = &gpio4; 256c3debcbSAnson Huang gpio4 = &gpio5; 266c3debcbSAnson Huang i2c0 = &i2c1; 276c3debcbSAnson Huang i2c1 = &i2c2; 286c3debcbSAnson Huang i2c2 = &i2c3; 296c3debcbSAnson Huang i2c3 = &i2c4; 306c3debcbSAnson Huang mmc0 = &usdhc1; 316c3debcbSAnson Huang mmc1 = &usdhc2; 326c3debcbSAnson Huang mmc2 = &usdhc3; 336c3debcbSAnson Huang serial0 = &uart1; 346c3debcbSAnson Huang serial1 = &uart2; 356c3debcbSAnson Huang serial2 = &uart3; 366c3debcbSAnson Huang serial3 = &uart4; 376c3debcbSAnson Huang spi0 = &ecspi1; 386c3debcbSAnson Huang spi1 = &ecspi2; 396c3debcbSAnson Huang spi2 = &ecspi3; 406c3debcbSAnson Huang }; 416c3debcbSAnson Huang 426c3debcbSAnson Huang cpus { 436c3debcbSAnson Huang #address-cells = <1>; 446c3debcbSAnson Huang #size-cells = <0>; 456c3debcbSAnson Huang 466c3debcbSAnson Huang A53_0: cpu@0 { 476c3debcbSAnson Huang device_type = "cpu"; 486c3debcbSAnson Huang compatible = "arm,cortex-a53"; 496c3debcbSAnson Huang reg = <0x0>; 506c3debcbSAnson Huang clock-latency = <61036>; 516c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_ARM>; 526c3debcbSAnson Huang enable-method = "psci"; 536c3debcbSAnson Huang next-level-cache = <&A53_L2>; 5401c49314SAnson Huang operating-points-v2 = <&a53_opp_table>; 5501c49314SAnson Huang nvmem-cells = <&cpu_speed_grade>; 5601c49314SAnson Huang nvmem-cell-names = "speed_grade"; 576c3debcbSAnson Huang }; 586c3debcbSAnson Huang 596c3debcbSAnson Huang A53_1: cpu@1 { 606c3debcbSAnson Huang device_type = "cpu"; 616c3debcbSAnson Huang compatible = "arm,cortex-a53"; 626c3debcbSAnson Huang reg = <0x1>; 636c3debcbSAnson Huang clock-latency = <61036>; 646c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_ARM>; 656c3debcbSAnson Huang enable-method = "psci"; 666c3debcbSAnson Huang next-level-cache = <&A53_L2>; 6701c49314SAnson Huang operating-points-v2 = <&a53_opp_table>; 686c3debcbSAnson Huang }; 696c3debcbSAnson Huang 706c3debcbSAnson Huang A53_2: cpu@2 { 716c3debcbSAnson Huang device_type = "cpu"; 726c3debcbSAnson Huang compatible = "arm,cortex-a53"; 736c3debcbSAnson Huang reg = <0x2>; 746c3debcbSAnson Huang clock-latency = <61036>; 756c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_ARM>; 766c3debcbSAnson Huang enable-method = "psci"; 776c3debcbSAnson Huang next-level-cache = <&A53_L2>; 7801c49314SAnson Huang operating-points-v2 = <&a53_opp_table>; 796c3debcbSAnson Huang }; 806c3debcbSAnson Huang 816c3debcbSAnson Huang A53_3: cpu@3 { 826c3debcbSAnson Huang device_type = "cpu"; 836c3debcbSAnson Huang compatible = "arm,cortex-a53"; 846c3debcbSAnson Huang reg = <0x3>; 856c3debcbSAnson Huang clock-latency = <61036>; 866c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_ARM>; 876c3debcbSAnson Huang enable-method = "psci"; 886c3debcbSAnson Huang next-level-cache = <&A53_L2>; 8901c49314SAnson Huang operating-points-v2 = <&a53_opp_table>; 906c3debcbSAnson Huang }; 916c3debcbSAnson Huang 926c3debcbSAnson Huang A53_L2: l2-cache0 { 936c3debcbSAnson Huang compatible = "cache"; 946c3debcbSAnson Huang }; 956c3debcbSAnson Huang }; 966c3debcbSAnson Huang 9701c49314SAnson Huang a53_opp_table: opp-table { 9801c49314SAnson Huang compatible = "operating-points-v2"; 9901c49314SAnson Huang opp-shared; 10001c49314SAnson Huang 10101c49314SAnson Huang opp-1200000000 { 10201c49314SAnson Huang opp-hz = /bits/ 64 <1200000000>; 10301c49314SAnson Huang opp-microvolt = <850000>; 10401c49314SAnson Huang opp-supported-hw = <0xb00>, <0x7>; 10501c49314SAnson Huang clock-latency-ns = <150000>; 10601c49314SAnson Huang opp-suspend; 10701c49314SAnson Huang }; 10801c49314SAnson Huang 10901c49314SAnson Huang opp-1400000000 { 11001c49314SAnson Huang opp-hz = /bits/ 64 <1400000000>; 11101c49314SAnson Huang opp-microvolt = <950000>; 11201c49314SAnson Huang opp-supported-hw = <0x300>, <0x7>; 11301c49314SAnson Huang clock-latency-ns = <150000>; 11401c49314SAnson Huang opp-suspend; 11501c49314SAnson Huang }; 11601c49314SAnson Huang 11701c49314SAnson Huang opp-1500000000 { 11801c49314SAnson Huang opp-hz = /bits/ 64 <1500000000>; 11901c49314SAnson Huang opp-microvolt = <1000000>; 12001c49314SAnson Huang opp-supported-hw = <0x100>, <0x3>; 12101c49314SAnson Huang clock-latency-ns = <150000>; 12201c49314SAnson Huang opp-suspend; 12301c49314SAnson Huang }; 12401c49314SAnson Huang }; 12501c49314SAnson Huang 1266c3debcbSAnson Huang memory@40000000 { 1276c3debcbSAnson Huang device_type = "memory"; 1286c3debcbSAnson Huang reg = <0x0 0x40000000 0 0x80000000>; 1296c3debcbSAnson Huang }; 1306c3debcbSAnson Huang 1316c3debcbSAnson Huang osc_32k: clock-osc-32k { 1326c3debcbSAnson Huang compatible = "fixed-clock"; 1336c3debcbSAnson Huang #clock-cells = <0>; 1346c3debcbSAnson Huang clock-frequency = <32768>; 1356c3debcbSAnson Huang clock-output-names = "osc_32k"; 1366c3debcbSAnson Huang }; 1376c3debcbSAnson Huang 1386c3debcbSAnson Huang osc_24m: clock-osc-24m { 1396c3debcbSAnson Huang compatible = "fixed-clock"; 1406c3debcbSAnson Huang #clock-cells = <0>; 1416c3debcbSAnson Huang clock-frequency = <24000000>; 1426c3debcbSAnson Huang clock-output-names = "osc_24m"; 1436c3debcbSAnson Huang }; 1446c3debcbSAnson Huang 1456c3debcbSAnson Huang clk_ext1: clock-ext1 { 1466c3debcbSAnson Huang compatible = "fixed-clock"; 1476c3debcbSAnson Huang #clock-cells = <0>; 1486c3debcbSAnson Huang clock-frequency = <133000000>; 1496c3debcbSAnson Huang clock-output-names = "clk_ext1"; 1506c3debcbSAnson Huang }; 1516c3debcbSAnson Huang 1526c3debcbSAnson Huang clk_ext2: clock-ext2 { 1536c3debcbSAnson Huang compatible = "fixed-clock"; 1546c3debcbSAnson Huang #clock-cells = <0>; 1556c3debcbSAnson Huang clock-frequency = <133000000>; 1566c3debcbSAnson Huang clock-output-names = "clk_ext2"; 1576c3debcbSAnson Huang }; 1586c3debcbSAnson Huang 1596c3debcbSAnson Huang clk_ext3: clock-ext3 { 1606c3debcbSAnson Huang compatible = "fixed-clock"; 1616c3debcbSAnson Huang #clock-cells = <0>; 1626c3debcbSAnson Huang clock-frequency = <133000000>; 1636c3debcbSAnson Huang clock-output-names = "clk_ext3"; 1646c3debcbSAnson Huang }; 1656c3debcbSAnson Huang 1666c3debcbSAnson Huang clk_ext4: clock-ext4 { 1676c3debcbSAnson Huang compatible = "fixed-clock"; 1686c3debcbSAnson Huang #clock-cells = <0>; 1696c3debcbSAnson Huang clock-frequency= <133000000>; 1706c3debcbSAnson Huang clock-output-names = "clk_ext4"; 1716c3debcbSAnson Huang }; 1726c3debcbSAnson Huang 1736c3debcbSAnson Huang psci { 1746c3debcbSAnson Huang compatible = "arm,psci-1.0"; 1756c3debcbSAnson Huang method = "smc"; 1766c3debcbSAnson Huang }; 1776c3debcbSAnson Huang 1786c3debcbSAnson Huang timer { 1796c3debcbSAnson Huang compatible = "arm,armv8-timer"; 1806c3debcbSAnson Huang interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>, 1816c3debcbSAnson Huang <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>, 1826c3debcbSAnson Huang <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>, 1836c3debcbSAnson Huang <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>; 1846c3debcbSAnson Huang clock-frequency = <8000000>; 1856c3debcbSAnson Huang arm,no-tick-in-suspend; 1866c3debcbSAnson Huang }; 1876c3debcbSAnson Huang 1886c3debcbSAnson Huang soc@0 { 1896c3debcbSAnson Huang compatible = "simple-bus"; 1906c3debcbSAnson Huang #address-cells = <1>; 1916c3debcbSAnson Huang #size-cells = <1>; 1926c3debcbSAnson Huang ranges = <0x0 0x0 0x0 0x3e000000>; 1936c3debcbSAnson Huang 1946c3debcbSAnson Huang aips1: bus@30000000 { 1956c3debcbSAnson Huang compatible = "fsl,aips-bus", "simple-bus"; 1966c3debcbSAnson Huang reg = <0x30000000 0x400000>; 1976c3debcbSAnson Huang #address-cells = <1>; 1986c3debcbSAnson Huang #size-cells = <1>; 1996c3debcbSAnson Huang ranges; 2006c3debcbSAnson Huang 2016c3debcbSAnson Huang gpio1: gpio@30200000 { 2026c3debcbSAnson Huang compatible = "fsl,imx8mn-gpio", "fsl,imx35-gpio"; 2036c3debcbSAnson Huang reg = <0x30200000 0x10000>; 2046c3debcbSAnson Huang interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>, 2056c3debcbSAnson Huang <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; 2066c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_GPIO1_ROOT>; 2076c3debcbSAnson Huang gpio-controller; 2086c3debcbSAnson Huang #gpio-cells = <2>; 2096c3debcbSAnson Huang interrupt-controller; 2106c3debcbSAnson Huang #interrupt-cells = <2>; 211ee8696beSAnson Huang gpio-ranges = <&iomuxc 0 10 30>; 2126c3debcbSAnson Huang }; 2136c3debcbSAnson Huang 2146c3debcbSAnson Huang gpio2: gpio@30210000 { 2156c3debcbSAnson Huang compatible = "fsl,imx8mn-gpio", "fsl,imx35-gpio"; 2166c3debcbSAnson Huang reg = <0x30210000 0x10000>; 2176c3debcbSAnson Huang interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>, 2186c3debcbSAnson Huang <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; 2196c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_GPIO2_ROOT>; 2206c3debcbSAnson Huang gpio-controller; 2216c3debcbSAnson Huang #gpio-cells = <2>; 2226c3debcbSAnson Huang interrupt-controller; 2236c3debcbSAnson Huang #interrupt-cells = <2>; 224ee8696beSAnson Huang gpio-ranges = <&iomuxc 0 40 21>; 2256c3debcbSAnson Huang }; 2266c3debcbSAnson Huang 2276c3debcbSAnson Huang gpio3: gpio@30220000 { 2286c3debcbSAnson Huang compatible = "fsl,imx8mn-gpio", "fsl,imx35-gpio"; 2296c3debcbSAnson Huang reg = <0x30220000 0x10000>; 2306c3debcbSAnson Huang interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>, 2316c3debcbSAnson Huang <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>; 2326c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_GPIO3_ROOT>; 2336c3debcbSAnson Huang gpio-controller; 2346c3debcbSAnson Huang #gpio-cells = <2>; 2356c3debcbSAnson Huang interrupt-controller; 2366c3debcbSAnson Huang #interrupt-cells = <2>; 237ee8696beSAnson Huang gpio-ranges = <&iomuxc 0 61 26>; 2386c3debcbSAnson Huang }; 2396c3debcbSAnson Huang 2406c3debcbSAnson Huang gpio4: gpio@30230000 { 2416c3debcbSAnson Huang compatible = "fsl,imx8mn-gpio", "fsl,imx35-gpio"; 2426c3debcbSAnson Huang reg = <0x30230000 0x10000>; 2436c3debcbSAnson Huang interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>, 2446c3debcbSAnson Huang <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>; 2456c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_GPIO4_ROOT>; 2466c3debcbSAnson Huang gpio-controller; 2476c3debcbSAnson Huang #gpio-cells = <2>; 2486c3debcbSAnson Huang interrupt-controller; 2496c3debcbSAnson Huang #interrupt-cells = <2>; 250ee8696beSAnson Huang gpio-ranges = <&iomuxc 21 108 11>; 2516c3debcbSAnson Huang }; 2526c3debcbSAnson Huang 2536c3debcbSAnson Huang gpio5: gpio@30240000 { 2546c3debcbSAnson Huang compatible = "fsl,imx8mn-gpio", "fsl,imx35-gpio"; 2556c3debcbSAnson Huang reg = <0x30240000 0x10000>; 2566c3debcbSAnson Huang interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>, 2576c3debcbSAnson Huang <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; 2586c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_GPIO5_ROOT>; 2596c3debcbSAnson Huang gpio-controller; 2606c3debcbSAnson Huang #gpio-cells = <2>; 2616c3debcbSAnson Huang interrupt-controller; 2626c3debcbSAnson Huang #interrupt-cells = <2>; 263ee8696beSAnson Huang gpio-ranges = <&iomuxc 0 119 30>; 2646c3debcbSAnson Huang }; 2656c3debcbSAnson Huang 2666c3debcbSAnson Huang wdog1: watchdog@30280000 { 2676c3debcbSAnson Huang compatible = "fsl,imx8mn-wdt", "fsl,imx21-wdt"; 2686c3debcbSAnson Huang reg = <0x30280000 0x10000>; 2696c3debcbSAnson Huang interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>; 2706c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_WDOG1_ROOT>; 2716c3debcbSAnson Huang status = "disabled"; 2726c3debcbSAnson Huang }; 2736c3debcbSAnson Huang 2746c3debcbSAnson Huang wdog2: watchdog@30290000 { 2756c3debcbSAnson Huang compatible = "fsl,imx8mn-wdt", "fsl,imx21-wdt"; 2766c3debcbSAnson Huang reg = <0x30290000 0x10000>; 2776c3debcbSAnson Huang interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>; 2786c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_WDOG2_ROOT>; 2796c3debcbSAnson Huang status = "disabled"; 2806c3debcbSAnson Huang }; 2816c3debcbSAnson Huang 2826c3debcbSAnson Huang wdog3: watchdog@302a0000 { 2836c3debcbSAnson Huang compatible = "fsl,imx8mn-wdt", "fsl,imx21-wdt"; 2846c3debcbSAnson Huang reg = <0x302a0000 0x10000>; 2856c3debcbSAnson Huang interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 2866c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_WDOG3_ROOT>; 2876c3debcbSAnson Huang status = "disabled"; 2886c3debcbSAnson Huang }; 2896c3debcbSAnson Huang 2906c3debcbSAnson Huang sdma3: dma-controller@302b0000 { 2916c3debcbSAnson Huang compatible = "fsl,imx8mn-sdma", "fsl,imx7d-sdma"; 2926c3debcbSAnson Huang reg = <0x302b0000 0x10000>; 2936c3debcbSAnson Huang interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; 2946c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_SDMA3_ROOT>, 2956c3debcbSAnson Huang <&clk IMX8MN_CLK_SDMA3_ROOT>; 2966c3debcbSAnson Huang clock-names = "ipg", "ahb"; 2976c3debcbSAnson Huang #dma-cells = <3>; 2986c3debcbSAnson Huang fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin"; 2996c3debcbSAnson Huang }; 3006c3debcbSAnson Huang 3016c3debcbSAnson Huang sdma2: dma-controller@302c0000 { 3026c3debcbSAnson Huang compatible = "fsl,imx8mn-sdma", "fsl,imx7d-sdma"; 3036c3debcbSAnson Huang reg = <0x302c0000 0x10000>; 3046c3debcbSAnson Huang interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; 3056c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_SDMA2_ROOT>, 3066c3debcbSAnson Huang <&clk IMX8MN_CLK_SDMA2_ROOT>; 3076c3debcbSAnson Huang clock-names = "ipg", "ahb"; 3086c3debcbSAnson Huang #dma-cells = <3>; 3096c3debcbSAnson Huang fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin"; 3106c3debcbSAnson Huang }; 3116c3debcbSAnson Huang 3126c3debcbSAnson Huang iomuxc: pinctrl@30330000 { 3136c3debcbSAnson Huang compatible = "fsl,imx8mn-iomuxc"; 3146c3debcbSAnson Huang reg = <0x30330000 0x10000>; 3156c3debcbSAnson Huang }; 3166c3debcbSAnson Huang 3176c3debcbSAnson Huang gpr: iomuxc-gpr@30340000 { 3186c3debcbSAnson Huang compatible = "fsl,imx8mn-iomuxc-gpr", "syscon"; 3196c3debcbSAnson Huang reg = <0x30340000 0x10000>; 3206c3debcbSAnson Huang }; 3216c3debcbSAnson Huang 3226c3debcbSAnson Huang ocotp: ocotp-ctrl@30350000 { 3236c3debcbSAnson Huang compatible = "fsl,imx8mn-ocotp", "fsl,imx7d-ocotp", "syscon"; 3246c3debcbSAnson Huang reg = <0x30350000 0x10000>; 3256c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_OCOTP_ROOT>; 32601c49314SAnson Huang #address-cells = <1>; 32701c49314SAnson Huang #size-cells = <1>; 32801c49314SAnson Huang 32901c49314SAnson Huang cpu_speed_grade: speed-grade@10 { 33001c49314SAnson Huang reg = <0x10 4>; 33101c49314SAnson Huang }; 3326c3debcbSAnson Huang }; 3336c3debcbSAnson Huang 3346c3debcbSAnson Huang anatop: anatop@30360000 { 3356c3debcbSAnson Huang compatible = "fsl,imx8mn-anatop", "fsl,imx8mm-anatop", 3366c3debcbSAnson Huang "syscon", "simple-bus"; 3376c3debcbSAnson Huang reg = <0x30360000 0x10000>; 3386c3debcbSAnson Huang }; 3396c3debcbSAnson Huang 3406c3debcbSAnson Huang snvs: snvs@30370000 { 3416c3debcbSAnson Huang compatible = "fsl,sec-v4.0-mon","syscon", "simple-mfd"; 3426c3debcbSAnson Huang reg = <0x30370000 0x10000>; 3436c3debcbSAnson Huang 3446c3debcbSAnson Huang snvs_rtc: snvs-rtc-lp { 3456c3debcbSAnson Huang compatible = "fsl,sec-v4.0-mon-rtc-lp"; 3466c3debcbSAnson Huang regmap = <&snvs>; 3476c3debcbSAnson Huang offset = <0x34>; 3486c3debcbSAnson Huang interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>, 3496c3debcbSAnson Huang <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; 3506c3debcbSAnson Huang clock-names = "snvs-rtc"; 3516c3debcbSAnson Huang }; 3526c3debcbSAnson Huang 3536c3debcbSAnson Huang snvs_pwrkey: snvs-powerkey { 3546c3debcbSAnson Huang compatible = "fsl,sec-v4.0-pwrkey"; 3556c3debcbSAnson Huang regmap = <&snvs>; 3566c3debcbSAnson Huang interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; 3576c3debcbSAnson Huang linux,keycode = <KEY_POWER>; 3586c3debcbSAnson Huang wakeup-source; 3596c3debcbSAnson Huang status = "disabled"; 3606c3debcbSAnson Huang }; 3616c3debcbSAnson Huang }; 3626c3debcbSAnson Huang 3636c3debcbSAnson Huang clk: clock-controller@30380000 { 3646c3debcbSAnson Huang compatible = "fsl,imx8mn-ccm"; 3656c3debcbSAnson Huang reg = <0x30380000 0x10000>; 3666c3debcbSAnson Huang #clock-cells = <1>; 3676c3debcbSAnson Huang clocks = <&osc_32k>, <&osc_24m>, <&clk_ext1>, <&clk_ext2>, 3686c3debcbSAnson Huang <&clk_ext3>, <&clk_ext4>; 3696c3debcbSAnson Huang clock-names = "osc_32k", "osc_24m", "clk_ext1", "clk_ext2", 3706c3debcbSAnson Huang "clk_ext3", "clk_ext4"; 3716c3debcbSAnson Huang }; 3726c3debcbSAnson Huang 3736c3debcbSAnson Huang src: reset-controller@30390000 { 374*23b80c20SAnson Huang compatible = "fsl,imx8mn-src", "fsl,imx8mq-src", "syscon"; 3756c3debcbSAnson Huang reg = <0x30390000 0x10000>; 3766c3debcbSAnson Huang interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; 3776c3debcbSAnson Huang #reset-cells = <1>; 3786c3debcbSAnson Huang }; 3796c3debcbSAnson Huang }; 3806c3debcbSAnson Huang 3816c3debcbSAnson Huang aips2: bus@30400000 { 3826c3debcbSAnson Huang compatible = "fsl,aips-bus", "simple-bus"; 3836c3debcbSAnson Huang reg = <0x30400000 0x400000>; 3846c3debcbSAnson Huang #address-cells = <1>; 3856c3debcbSAnson Huang #size-cells = <1>; 3866c3debcbSAnson Huang ranges; 3876c3debcbSAnson Huang 3886c3debcbSAnson Huang pwm1: pwm@30660000 { 3896c3debcbSAnson Huang compatible = "fsl,imx8mn-pwm", "fsl,imx27-pwm"; 3906c3debcbSAnson Huang reg = <0x30660000 0x10000>; 3916c3debcbSAnson Huang interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>; 3926c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_PWM1_ROOT>, 3936c3debcbSAnson Huang <&clk IMX8MN_CLK_PWM1_ROOT>; 3946c3debcbSAnson Huang clock-names = "ipg", "per"; 3956c3debcbSAnson Huang #pwm-cells = <2>; 3966c3debcbSAnson Huang status = "disabled"; 3976c3debcbSAnson Huang }; 3986c3debcbSAnson Huang 3996c3debcbSAnson Huang pwm2: pwm@30670000 { 4006c3debcbSAnson Huang compatible = "fsl,imx8mn-pwm", "fsl,imx27-pwm"; 4016c3debcbSAnson Huang reg = <0x30670000 0x10000>; 4026c3debcbSAnson Huang interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; 4036c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_PWM2_ROOT>, 4046c3debcbSAnson Huang <&clk IMX8MN_CLK_PWM2_ROOT>; 4056c3debcbSAnson Huang clock-names = "ipg", "per"; 4066c3debcbSAnson Huang #pwm-cells = <2>; 4076c3debcbSAnson Huang status = "disabled"; 4086c3debcbSAnson Huang }; 4096c3debcbSAnson Huang 4106c3debcbSAnson Huang pwm3: pwm@30680000 { 4116c3debcbSAnson Huang compatible = "fsl,imx8mn-pwm", "fsl,imx27-pwm"; 4126c3debcbSAnson Huang reg = <0x30680000 0x10000>; 4136c3debcbSAnson Huang interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; 4146c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_PWM3_ROOT>, 4156c3debcbSAnson Huang <&clk IMX8MN_CLK_PWM3_ROOT>; 4166c3debcbSAnson Huang clock-names = "ipg", "per"; 4176c3debcbSAnson Huang #pwm-cells = <2>; 4186c3debcbSAnson Huang status = "disabled"; 4196c3debcbSAnson Huang }; 4206c3debcbSAnson Huang 4216c3debcbSAnson Huang pwm4: pwm@30690000 { 4226c3debcbSAnson Huang compatible = "fsl,imx8mn-pwm", "fsl,imx27-pwm"; 4236c3debcbSAnson Huang reg = <0x30690000 0x10000>; 4246c3debcbSAnson Huang interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; 4256c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_PWM4_ROOT>, 4266c3debcbSAnson Huang <&clk IMX8MN_CLK_PWM4_ROOT>; 4276c3debcbSAnson Huang clock-names = "ipg", "per"; 4286c3debcbSAnson Huang #pwm-cells = <2>; 4296c3debcbSAnson Huang status = "disabled"; 4306c3debcbSAnson Huang }; 4316c3debcbSAnson Huang }; 4326c3debcbSAnson Huang 4336c3debcbSAnson Huang aips3: bus@30800000 { 4346c3debcbSAnson Huang compatible = "fsl,aips-bus", "simple-bus"; 4356c3debcbSAnson Huang reg = <0x30800000 0x400000>; 4366c3debcbSAnson Huang #address-cells = <1>; 4376c3debcbSAnson Huang #size-cells = <1>; 4386c3debcbSAnson Huang ranges; 4396c3debcbSAnson Huang 4406c3debcbSAnson Huang ecspi1: spi@30820000 { 4416c3debcbSAnson Huang compatible = "fsl,imx8mn-ecspi", "fsl,imx51-ecspi"; 4426c3debcbSAnson Huang #address-cells = <1>; 4436c3debcbSAnson Huang #size-cells = <0>; 4446c3debcbSAnson Huang reg = <0x30820000 0x10000>; 4456c3debcbSAnson Huang interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; 4466c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_ECSPI1_ROOT>, 4476c3debcbSAnson Huang <&clk IMX8MN_CLK_ECSPI1_ROOT>; 4486c3debcbSAnson Huang clock-names = "ipg", "per"; 4496c3debcbSAnson Huang dmas = <&sdma1 0 7 1>, <&sdma1 1 7 2>; 4506c3debcbSAnson Huang dma-names = "rx", "tx"; 4516c3debcbSAnson Huang status = "disabled"; 4526c3debcbSAnson Huang }; 4536c3debcbSAnson Huang 4546c3debcbSAnson Huang ecspi2: spi@30830000 { 4556c3debcbSAnson Huang compatible = "fsl,imx8mn-ecspi", "fsl,imx51-ecspi"; 4566c3debcbSAnson Huang #address-cells = <1>; 4576c3debcbSAnson Huang #size-cells = <0>; 4586c3debcbSAnson Huang reg = <0x30830000 0x10000>; 4596c3debcbSAnson Huang interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; 4606c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_ECSPI2_ROOT>, 4616c3debcbSAnson Huang <&clk IMX8MN_CLK_ECSPI2_ROOT>; 4626c3debcbSAnson Huang clock-names = "ipg", "per"; 4636c3debcbSAnson Huang dmas = <&sdma1 2 7 1>, <&sdma1 3 7 2>; 4646c3debcbSAnson Huang dma-names = "rx", "tx"; 4656c3debcbSAnson Huang status = "disabled"; 4666c3debcbSAnson Huang }; 4676c3debcbSAnson Huang 4686c3debcbSAnson Huang ecspi3: spi@30840000 { 4696c3debcbSAnson Huang compatible = "fsl,imx8mn-ecspi", "fsl,imx51-ecspi"; 4706c3debcbSAnson Huang #address-cells = <1>; 4716c3debcbSAnson Huang #size-cells = <0>; 4726c3debcbSAnson Huang reg = <0x30840000 0x10000>; 4736c3debcbSAnson Huang interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; 4746c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_ECSPI3_ROOT>, 4756c3debcbSAnson Huang <&clk IMX8MN_CLK_ECSPI3_ROOT>; 4766c3debcbSAnson Huang clock-names = "ipg", "per"; 4776c3debcbSAnson Huang dmas = <&sdma1 4 7 1>, <&sdma1 5 7 2>; 4786c3debcbSAnson Huang dma-names = "rx", "tx"; 4796c3debcbSAnson Huang status = "disabled"; 4806c3debcbSAnson Huang }; 4816c3debcbSAnson Huang 4826c3debcbSAnson Huang uart1: serial@30860000 { 4836c3debcbSAnson Huang compatible = "fsl,imx8mn-uart", "fsl,imx6q-uart"; 4846c3debcbSAnson Huang reg = <0x30860000 0x10000>; 4856c3debcbSAnson Huang interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; 4866c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_UART1_ROOT>, 4876c3debcbSAnson Huang <&clk IMX8MN_CLK_UART1_ROOT>; 4886c3debcbSAnson Huang clock-names = "ipg", "per"; 4896c3debcbSAnson Huang dmas = <&sdma1 22 4 0>, <&sdma1 23 4 0>; 4906c3debcbSAnson Huang dma-names = "rx", "tx"; 4916c3debcbSAnson Huang status = "disabled"; 4926c3debcbSAnson Huang }; 4936c3debcbSAnson Huang 4946c3debcbSAnson Huang uart3: serial@30880000 { 4956c3debcbSAnson Huang compatible = "fsl,imx8mn-uart", "fsl,imx6q-uart"; 4966c3debcbSAnson Huang reg = <0x30880000 0x10000>; 4976c3debcbSAnson Huang interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; 4986c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_UART3_ROOT>, 4996c3debcbSAnson Huang <&clk IMX8MN_CLK_UART3_ROOT>; 5006c3debcbSAnson Huang clock-names = "ipg", "per"; 5016c3debcbSAnson Huang dmas = <&sdma1 26 4 0>, <&sdma1 27 4 0>; 5026c3debcbSAnson Huang dma-names = "rx", "tx"; 5036c3debcbSAnson Huang status = "disabled"; 5046c3debcbSAnson Huang }; 5056c3debcbSAnson Huang 5066c3debcbSAnson Huang uart2: serial@30890000 { 5076c3debcbSAnson Huang compatible = "fsl,imx8mn-uart", "fsl,imx6q-uart"; 5086c3debcbSAnson Huang reg = <0x30890000 0x10000>; 5096c3debcbSAnson Huang interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>; 5106c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_UART2_ROOT>, 5116c3debcbSAnson Huang <&clk IMX8MN_CLK_UART2_ROOT>; 5126c3debcbSAnson Huang clock-names = "ipg", "per"; 5136c3debcbSAnson Huang status = "disabled"; 5146c3debcbSAnson Huang }; 5156c3debcbSAnson Huang 5166c3debcbSAnson Huang i2c1: i2c@30a20000 { 5176c3debcbSAnson Huang compatible = "fsl,imx8mn-i2c", "fsl,imx21-i2c"; 5186c3debcbSAnson Huang #address-cells = <1>; 5196c3debcbSAnson Huang #size-cells = <0>; 5206c3debcbSAnson Huang reg = <0x30a20000 0x10000>; 5216c3debcbSAnson Huang interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; 5226c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_I2C1_ROOT>; 5236c3debcbSAnson Huang status = "disabled"; 5246c3debcbSAnson Huang }; 5256c3debcbSAnson Huang 5266c3debcbSAnson Huang i2c2: i2c@30a30000 { 5276c3debcbSAnson Huang compatible = "fsl,imx8mn-i2c", "fsl,imx21-i2c"; 5286c3debcbSAnson Huang #address-cells = <1>; 5296c3debcbSAnson Huang #size-cells = <0>; 5306c3debcbSAnson Huang reg = <0x30a30000 0x10000>; 5316c3debcbSAnson Huang interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; 5326c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_I2C2_ROOT>; 5336c3debcbSAnson Huang status = "disabled"; 5346c3debcbSAnson Huang }; 5356c3debcbSAnson Huang 5366c3debcbSAnson Huang i2c3: i2c@30a40000 { 5376c3debcbSAnson Huang #address-cells = <1>; 5386c3debcbSAnson Huang #size-cells = <0>; 5396c3debcbSAnson Huang compatible = "fsl,imx8mn-i2c", "fsl,imx21-i2c"; 5406c3debcbSAnson Huang reg = <0x30a40000 0x10000>; 5416c3debcbSAnson Huang interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; 5426c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_I2C3_ROOT>; 5436c3debcbSAnson Huang status = "disabled"; 5446c3debcbSAnson Huang }; 5456c3debcbSAnson Huang 5466c3debcbSAnson Huang i2c4: i2c@30a50000 { 5476c3debcbSAnson Huang compatible = "fsl,imx8mn-i2c", "fsl,imx21-i2c"; 5486c3debcbSAnson Huang #address-cells = <1>; 5496c3debcbSAnson Huang #size-cells = <0>; 5506c3debcbSAnson Huang reg = <0x30a50000 0x10000>; 5516c3debcbSAnson Huang interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; 5526c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_I2C4_ROOT>; 5536c3debcbSAnson Huang status = "disabled"; 5546c3debcbSAnson Huang }; 5556c3debcbSAnson Huang 5566c3debcbSAnson Huang uart4: serial@30a60000 { 5576c3debcbSAnson Huang compatible = "fsl,imx8mn-uart", "fsl,imx6q-uart"; 5586c3debcbSAnson Huang reg = <0x30a60000 0x10000>; 5596c3debcbSAnson Huang interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; 5606c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_UART4_ROOT>, 5616c3debcbSAnson Huang <&clk IMX8MN_CLK_UART4_ROOT>; 5626c3debcbSAnson Huang clock-names = "ipg", "per"; 5636c3debcbSAnson Huang dmas = <&sdma1 28 4 0>, <&sdma1 29 4 0>; 5646c3debcbSAnson Huang dma-names = "rx", "tx"; 5656c3debcbSAnson Huang status = "disabled"; 5666c3debcbSAnson Huang }; 5676c3debcbSAnson Huang 5686c3debcbSAnson Huang usdhc1: mmc@30b40000 { 5696c3debcbSAnson Huang compatible = "fsl,imx8mn-usdhc", "fsl,imx7d-usdhc"; 5706c3debcbSAnson Huang reg = <0x30b40000 0x10000>; 5716c3debcbSAnson Huang interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; 5726c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_DUMMY>, 5736c3debcbSAnson Huang <&clk IMX8MN_CLK_NAND_USDHC_BUS>, 5746c3debcbSAnson Huang <&clk IMX8MN_CLK_USDHC1_ROOT>; 5756c3debcbSAnson Huang clock-names = "ipg", "ahb", "per"; 5766c3debcbSAnson Huang assigned-clocks = <&clk IMX8MN_CLK_USDHC1>; 5776c3debcbSAnson Huang assigned-clock-rates = <400000000>; 5786c3debcbSAnson Huang fsl,tuning-start-tap = <20>; 5796c3debcbSAnson Huang fsl,tuning-step= <2>; 5806c3debcbSAnson Huang bus-width = <4>; 5816c3debcbSAnson Huang status = "disabled"; 5826c3debcbSAnson Huang }; 5836c3debcbSAnson Huang 5846c3debcbSAnson Huang usdhc2: mmc@30b50000 { 5856c3debcbSAnson Huang compatible = "fsl,imx8mn-usdhc", "fsl,imx7d-usdhc"; 5866c3debcbSAnson Huang reg = <0x30b50000 0x10000>; 5876c3debcbSAnson Huang interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; 5886c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_DUMMY>, 5896c3debcbSAnson Huang <&clk IMX8MN_CLK_NAND_USDHC_BUS>, 5906c3debcbSAnson Huang <&clk IMX8MN_CLK_USDHC2_ROOT>; 5916c3debcbSAnson Huang clock-names = "ipg", "ahb", "per"; 5926c3debcbSAnson Huang fsl,tuning-start-tap = <20>; 5936c3debcbSAnson Huang fsl,tuning-step= <2>; 5946c3debcbSAnson Huang bus-width = <4>; 5956c3debcbSAnson Huang status = "disabled"; 5966c3debcbSAnson Huang }; 5976c3debcbSAnson Huang 5986c3debcbSAnson Huang usdhc3: mmc@30b60000 { 5996c3debcbSAnson Huang compatible = "fsl,imx8mn-usdhc", "fsl,imx7d-usdhc"; 6006c3debcbSAnson Huang reg = <0x30b60000 0x10000>; 6016c3debcbSAnson Huang interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>; 6026c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_DUMMY>, 6036c3debcbSAnson Huang <&clk IMX8MN_CLK_NAND_USDHC_BUS>, 6046c3debcbSAnson Huang <&clk IMX8MN_CLK_USDHC3_ROOT>; 6056c3debcbSAnson Huang clock-names = "ipg", "ahb", "per"; 6066c3debcbSAnson Huang assigned-clocks = <&clk IMX8MN_CLK_USDHC3_ROOT>; 6076c3debcbSAnson Huang assigned-clock-rates = <400000000>; 6086c3debcbSAnson Huang fsl,tuning-start-tap = <20>; 6096c3debcbSAnson Huang fsl,tuning-step= <2>; 6106c3debcbSAnson Huang bus-width = <4>; 6116c3debcbSAnson Huang status = "disabled"; 6126c3debcbSAnson Huang }; 6136c3debcbSAnson Huang 6146c3debcbSAnson Huang sdma1: dma-controller@30bd0000 { 6156c3debcbSAnson Huang compatible = "fsl,imx8mn-sdma", "fsl,imx7d-sdma"; 6166c3debcbSAnson Huang reg = <0x30bd0000 0x10000>; 6176c3debcbSAnson Huang interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; 6186c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_SDMA1_ROOT>, 6196c3debcbSAnson Huang <&clk IMX8MN_CLK_SDMA1_ROOT>; 6206c3debcbSAnson Huang clock-names = "ipg", "ahb"; 6216c3debcbSAnson Huang #dma-cells = <3>; 6226c3debcbSAnson Huang fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin"; 6236c3debcbSAnson Huang }; 6246c3debcbSAnson Huang 6256c3debcbSAnson Huang fec1: ethernet@30be0000 { 6266c3debcbSAnson Huang compatible = "fsl,imx8mn-fec", "fsl,imx6sx-fec"; 6276c3debcbSAnson Huang reg = <0x30be0000 0x10000>; 6286c3debcbSAnson Huang interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, 6296c3debcbSAnson Huang <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>, 6306c3debcbSAnson Huang <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; 6316c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_ENET1_ROOT>, 6326c3debcbSAnson Huang <&clk IMX8MN_CLK_ENET1_ROOT>, 6336c3debcbSAnson Huang <&clk IMX8MN_CLK_ENET_TIMER>, 6346c3debcbSAnson Huang <&clk IMX8MN_CLK_ENET_REF>, 6356c3debcbSAnson Huang <&clk IMX8MN_CLK_ENET_PHY_REF>; 6366c3debcbSAnson Huang clock-names = "ipg", "ahb", "ptp", 6376c3debcbSAnson Huang "enet_clk_ref", "enet_out"; 6386c3debcbSAnson Huang assigned-clocks = <&clk IMX8MN_CLK_ENET_AXI>, 6396c3debcbSAnson Huang <&clk IMX8MN_CLK_ENET_TIMER>, 6406c3debcbSAnson Huang <&clk IMX8MN_CLK_ENET_REF>, 6416c3debcbSAnson Huang <&clk IMX8MN_CLK_ENET_TIMER>; 6426c3debcbSAnson Huang assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_266M>, 6436c3debcbSAnson Huang <&clk IMX8MN_SYS_PLL2_100M>, 6446c3debcbSAnson Huang <&clk IMX8MN_SYS_PLL2_125M>; 6456c3debcbSAnson Huang assigned-clock-rates = <0>, <0>, <125000000>, <100000000>; 6466c3debcbSAnson Huang fsl,num-tx-queues = <3>; 6476c3debcbSAnson Huang fsl,num-rx-queues = <3>; 6486c3debcbSAnson Huang status = "disabled"; 6496c3debcbSAnson Huang }; 6506c3debcbSAnson Huang 6516c3debcbSAnson Huang }; 6526c3debcbSAnson Huang 6536c3debcbSAnson Huang aips4: bus@32c00000 { 6546c3debcbSAnson Huang compatible = "fsl,aips-bus", "simple-bus"; 6556c3debcbSAnson Huang reg = <0x32c00000 0x400000>; 6566c3debcbSAnson Huang #address-cells = <1>; 6576c3debcbSAnson Huang #size-cells = <1>; 6586c3debcbSAnson Huang ranges; 6596c3debcbSAnson Huang 6606c3debcbSAnson Huang usbotg1: usb@32e40000 { 6616c3debcbSAnson Huang compatible = "fsl,imx8mn-usb", "fsl,imx7d-usb"; 6626c3debcbSAnson Huang reg = <0x32e40000 0x200>; 6636c3debcbSAnson Huang interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; 6646c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_USB1_CTRL_ROOT>; 6656c3debcbSAnson Huang clock-names = "usb1_ctrl_root_clk"; 6666c3debcbSAnson Huang assigned-clocks = <&clk IMX8MN_CLK_USB_BUS>, 6676c3debcbSAnson Huang <&clk IMX8MN_CLK_USB_CORE_REF>; 6686c3debcbSAnson Huang assigned-clock-parents = <&clk IMX8MN_SYS_PLL2_500M>, 6696c3debcbSAnson Huang <&clk IMX8MN_SYS_PLL1_100M>; 6706c3debcbSAnson Huang fsl,usbphy = <&usbphynop1>; 6716c3debcbSAnson Huang fsl,usbmisc = <&usbmisc1 0>; 6726c3debcbSAnson Huang status = "disabled"; 6736c3debcbSAnson Huang }; 6746c3debcbSAnson Huang 6756c3debcbSAnson Huang usbmisc1: usbmisc@32e40200 { 6766c3debcbSAnson Huang compatible = "fsl,imx8mn-usbmisc", "fsl,imx7d-usbmisc"; 6776c3debcbSAnson Huang #index-cells = <1>; 6786c3debcbSAnson Huang reg = <0x32e40200 0x200>; 6796c3debcbSAnson Huang }; 6806c3debcbSAnson Huang 6816c3debcbSAnson Huang usbotg2: usb@32e50000 { 6826c3debcbSAnson Huang compatible = "fsl,imx8mn-usb", "fsl,imx7d-usb"; 6836c3debcbSAnson Huang reg = <0x32e50000 0x200>; 6846c3debcbSAnson Huang interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; 6856c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_USB1_CTRL_ROOT>; 6866c3debcbSAnson Huang clock-names = "usb1_ctrl_root_clk"; 6876c3debcbSAnson Huang assigned-clocks = <&clk IMX8MN_CLK_USB_BUS>, 6886c3debcbSAnson Huang <&clk IMX8MN_CLK_USB_CORE_REF>; 6896c3debcbSAnson Huang assigned-clock-parents = <&clk IMX8MN_SYS_PLL2_500M>, 6906c3debcbSAnson Huang <&clk IMX8MN_SYS_PLL1_100M>; 6916c3debcbSAnson Huang fsl,usbphy = <&usbphynop2>; 6926c3debcbSAnson Huang fsl,usbmisc = <&usbmisc2 0>; 6936c3debcbSAnson Huang status = "disabled"; 6946c3debcbSAnson Huang }; 6956c3debcbSAnson Huang 6966c3debcbSAnson Huang usbmisc2: usbmisc@32e50200 { 6976c3debcbSAnson Huang compatible = "fsl,imx8mn-usbmisc", "fsl,imx7d-usbmisc"; 6986c3debcbSAnson Huang #index-cells = <1>; 6996c3debcbSAnson Huang reg = <0x32e50200 0x200>; 7006c3debcbSAnson Huang }; 7016c3debcbSAnson Huang 7026c3debcbSAnson Huang }; 7036c3debcbSAnson Huang 7046c3debcbSAnson Huang dma_apbh: dma-controller@33000000 { 7056c3debcbSAnson Huang compatible = "fsl,imx7d-dma-apbh", "fsl,imx28-dma-apbh"; 7066c3debcbSAnson Huang reg = <0x33000000 0x2000>; 7076c3debcbSAnson Huang interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>, 7086c3debcbSAnson Huang <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>, 7096c3debcbSAnson Huang <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>, 7106c3debcbSAnson Huang <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; 7116c3debcbSAnson Huang interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3"; 7126c3debcbSAnson Huang #dma-cells = <1>; 7136c3debcbSAnson Huang dma-channels = <4>; 7146c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_NAND_USDHC_BUS_RAWNAND_CLK>; 7156c3debcbSAnson Huang }; 7166c3debcbSAnson Huang 7176c3debcbSAnson Huang gpmi: nand-controller@33002000 { 7186c3debcbSAnson Huang compatible = "fsl,imx8mn-gpmi-nand", "fsl,imx7d-gpmi-nand"; 7196c3debcbSAnson Huang #address-cells = <1>; 7206c3debcbSAnson Huang #size-cells = <1>; 7216c3debcbSAnson Huang reg = <0x33002000 0x2000>, <0x33004000 0x4000>; 7226c3debcbSAnson Huang reg-names = "gpmi-nand", "bch"; 7236c3debcbSAnson Huang interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; 7246c3debcbSAnson Huang interrupt-names = "bch"; 7256c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_NAND_ROOT>, 7266c3debcbSAnson Huang <&clk IMX8MN_CLK_NAND_USDHC_BUS_RAWNAND_CLK>; 7276c3debcbSAnson Huang clock-names = "gpmi_io", "gpmi_bch_apb"; 7286c3debcbSAnson Huang dmas = <&dma_apbh 0>; 7296c3debcbSAnson Huang dma-names = "rx-tx"; 7306c3debcbSAnson Huang status = "disabled"; 7316c3debcbSAnson Huang }; 7326c3debcbSAnson Huang 7336c3debcbSAnson Huang gic: interrupt-controller@38800000 { 7346c3debcbSAnson Huang compatible = "arm,gic-v3"; 7356c3debcbSAnson Huang reg = <0x38800000 0x10000>, 7366c3debcbSAnson Huang <0x38880000 0xc0000>; 7376c3debcbSAnson Huang #interrupt-cells = <3>; 7386c3debcbSAnson Huang interrupt-controller; 7396c3debcbSAnson Huang interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; 7406c3debcbSAnson Huang }; 7416c3debcbSAnson Huang }; 7426c3debcbSAnson Huang 7436c3debcbSAnson Huang usbphynop1: usbphynop1 { 7446c3debcbSAnson Huang compatible = "usb-nop-xceiv"; 7456c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_USB_PHY_REF>; 7466c3debcbSAnson Huang assigned-clocks = <&clk IMX8MN_CLK_USB_PHY_REF>; 7476c3debcbSAnson Huang assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_100M>; 7486c3debcbSAnson Huang clock-names = "main_clk"; 7496c3debcbSAnson Huang }; 7506c3debcbSAnson Huang 7516c3debcbSAnson Huang usbphynop2: usbphynop2 { 7526c3debcbSAnson Huang compatible = "usb-nop-xceiv"; 7536c3debcbSAnson Huang clocks = <&clk IMX8MN_CLK_USB_PHY_REF>; 7546c3debcbSAnson Huang assigned-clocks = <&clk IMX8MN_CLK_USB_PHY_REF>; 7556c3debcbSAnson Huang assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_100M>; 7566c3debcbSAnson Huang clock-names = "main_clk"; 7576c3debcbSAnson Huang }; 7586c3debcbSAnson Huang}; 759