1a05ea40eSJacky Bai// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2a05ea40eSJacky Bai/* 3a05ea40eSJacky Bai * Copyright 2019 NXP 4a05ea40eSJacky Bai */ 5a05ea40eSJacky Bai 6a05ea40eSJacky Bai#include <dt-bindings/clock/imx8mm-clock.h> 7a05ea40eSJacky Bai#include <dt-bindings/gpio/gpio.h> 8a05ea40eSJacky Bai#include <dt-bindings/input/input.h> 9a05ea40eSJacky Bai#include <dt-bindings/interrupt-controller/arm-gic.h> 10a05ea40eSJacky Bai#include <dt-bindings/thermal/thermal.h> 11a05ea40eSJacky Bai 12a05ea40eSJacky Bai#include "imx8mm-pinfunc.h" 13a05ea40eSJacky Bai 14a05ea40eSJacky Bai/ { 15a05ea40eSJacky Bai compatible = "fsl,imx8mm"; 16a05ea40eSJacky Bai interrupt-parent = <&gic>; 17a05ea40eSJacky Bai #address-cells = <2>; 18a05ea40eSJacky Bai #size-cells = <2>; 19a05ea40eSJacky Bai 20a05ea40eSJacky Bai aliases { 21a05ea40eSJacky Bai ethernet0 = &fec1; 22a05ea40eSJacky Bai i2c0 = &i2c1; 23a05ea40eSJacky Bai i2c1 = &i2c2; 24a05ea40eSJacky Bai i2c2 = &i2c3; 25a05ea40eSJacky Bai i2c3 = &i2c4; 26a05ea40eSJacky Bai serial0 = &uart1; 27a05ea40eSJacky Bai serial1 = &uart2; 28a05ea40eSJacky Bai serial2 = &uart3; 29a05ea40eSJacky Bai serial3 = &uart4; 30a05ea40eSJacky Bai spi0 = &ecspi1; 31a05ea40eSJacky Bai spi1 = &ecspi2; 32a05ea40eSJacky Bai spi2 = &ecspi3; 33a05ea40eSJacky Bai mmc0 = &usdhc1; 34a05ea40eSJacky Bai mmc1 = &usdhc2; 35a05ea40eSJacky Bai mmc2 = &usdhc3; 36a05ea40eSJacky Bai gpio0 = &gpio1; 37a05ea40eSJacky Bai gpio1 = &gpio2; 38a05ea40eSJacky Bai gpio2 = &gpio3; 39a05ea40eSJacky Bai gpio3 = &gpio4; 40a05ea40eSJacky Bai gpio4 = &gpio5; 41a05ea40eSJacky Bai }; 42a05ea40eSJacky Bai 43a05ea40eSJacky Bai cpus { 44a05ea40eSJacky Bai #address-cells = <1>; 45a05ea40eSJacky Bai #size-cells = <0>; 46a05ea40eSJacky Bai 47a05ea40eSJacky Bai A53_0: cpu@0 { 48a05ea40eSJacky Bai device_type = "cpu"; 49a05ea40eSJacky Bai compatible = "arm,cortex-a53"; 50a05ea40eSJacky Bai reg = <0x0>; 51e85c9d0fSLeonard Crestez clock-latency = <61036>; /* two CLK32 periods */ 52e85c9d0fSLeonard Crestez clocks = <&clk IMX8MM_CLK_ARM>; 53a05ea40eSJacky Bai enable-method = "psci"; 54a05ea40eSJacky Bai next-level-cache = <&A53_L2>; 55e85c9d0fSLeonard Crestez operating-points-v2 = <&a53_opp_table>; 56f403a26cSLeonard Crestez nvmem-cells = <&cpu_speed_grade>; 57f403a26cSLeonard Crestez nvmem-cell-names = "speed_grade"; 58a05ea40eSJacky Bai }; 59a05ea40eSJacky Bai 60a05ea40eSJacky Bai A53_1: cpu@1 { 61a05ea40eSJacky Bai device_type = "cpu"; 62a05ea40eSJacky Bai compatible = "arm,cortex-a53"; 63a05ea40eSJacky Bai reg = <0x1>; 64e85c9d0fSLeonard Crestez clock-latency = <61036>; /* two CLK32 periods */ 65e85c9d0fSLeonard Crestez clocks = <&clk IMX8MM_CLK_ARM>; 66a05ea40eSJacky Bai enable-method = "psci"; 67a05ea40eSJacky Bai next-level-cache = <&A53_L2>; 68e85c9d0fSLeonard Crestez operating-points-v2 = <&a53_opp_table>; 69a05ea40eSJacky Bai }; 70a05ea40eSJacky Bai 71a05ea40eSJacky Bai A53_2: cpu@2 { 72a05ea40eSJacky Bai device_type = "cpu"; 73a05ea40eSJacky Bai compatible = "arm,cortex-a53"; 74a05ea40eSJacky Bai reg = <0x2>; 75e85c9d0fSLeonard Crestez clock-latency = <61036>; /* two CLK32 periods */ 76e85c9d0fSLeonard Crestez clocks = <&clk IMX8MM_CLK_ARM>; 77a05ea40eSJacky Bai enable-method = "psci"; 78a05ea40eSJacky Bai next-level-cache = <&A53_L2>; 79e85c9d0fSLeonard Crestez operating-points-v2 = <&a53_opp_table>; 80a05ea40eSJacky Bai }; 81a05ea40eSJacky Bai 82a05ea40eSJacky Bai A53_3: cpu@3 { 83a05ea40eSJacky Bai device_type = "cpu"; 84a05ea40eSJacky Bai compatible = "arm,cortex-a53"; 85a05ea40eSJacky Bai reg = <0x3>; 86e85c9d0fSLeonard Crestez clock-latency = <61036>; /* two CLK32 periods */ 87e85c9d0fSLeonard Crestez clocks = <&clk IMX8MM_CLK_ARM>; 88a05ea40eSJacky Bai enable-method = "psci"; 89a05ea40eSJacky Bai next-level-cache = <&A53_L2>; 90e85c9d0fSLeonard Crestez operating-points-v2 = <&a53_opp_table>; 91a05ea40eSJacky Bai }; 92a05ea40eSJacky Bai 93a05ea40eSJacky Bai A53_L2: l2-cache0 { 94a05ea40eSJacky Bai compatible = "cache"; 95a05ea40eSJacky Bai }; 96a05ea40eSJacky Bai }; 97a05ea40eSJacky Bai 98e85c9d0fSLeonard Crestez a53_opp_table: opp-table { 99e85c9d0fSLeonard Crestez compatible = "operating-points-v2"; 100e85c9d0fSLeonard Crestez opp-shared; 101e85c9d0fSLeonard Crestez 102e85c9d0fSLeonard Crestez opp-1200000000 { 103e85c9d0fSLeonard Crestez opp-hz = /bits/ 64 <1200000000>; 104e85c9d0fSLeonard Crestez opp-microvolt = <850000>; 105f403a26cSLeonard Crestez opp-supported-hw = <0xe>, <0x7>; 106e85c9d0fSLeonard Crestez clock-latency-ns = <150000>; 107e85c9d0fSLeonard Crestez }; 108e85c9d0fSLeonard Crestez 109e85c9d0fSLeonard Crestez opp-1600000000 { 110e85c9d0fSLeonard Crestez opp-hz = /bits/ 64 <1600000000>; 111e85c9d0fSLeonard Crestez opp-microvolt = <900000>; 112f403a26cSLeonard Crestez opp-supported-hw = <0xc>, <0x7>; 113e85c9d0fSLeonard Crestez clock-latency-ns = <150000>; 114f403a26cSLeonard Crestez }; 115f403a26cSLeonard Crestez 116f403a26cSLeonard Crestez opp-1800000000 { 117f403a26cSLeonard Crestez opp-hz = /bits/ 64 <1800000000>; 118f403a26cSLeonard Crestez opp-microvolt = <1000000>; 119f403a26cSLeonard Crestez /* Consumer only but rely on speed grading */ 120f403a26cSLeonard Crestez opp-supported-hw = <0x8>, <0x7>; 121f403a26cSLeonard Crestez clock-latency-ns = <150000>; 122e85c9d0fSLeonard Crestez }; 123e85c9d0fSLeonard Crestez }; 124e85c9d0fSLeonard Crestez 125a05ea40eSJacky Bai memory@40000000 { 126a05ea40eSJacky Bai device_type = "memory"; 127a05ea40eSJacky Bai reg = <0x0 0x40000000 0 0x80000000>; 128a05ea40eSJacky Bai }; 129a05ea40eSJacky Bai 130a05ea40eSJacky Bai osc_32k: clock-osc-32k { 131a05ea40eSJacky Bai compatible = "fixed-clock"; 132a05ea40eSJacky Bai #clock-cells = <0>; 133a05ea40eSJacky Bai clock-frequency = <32768>; 134a05ea40eSJacky Bai clock-output-names = "osc_32k"; 135a05ea40eSJacky Bai }; 136a05ea40eSJacky Bai 137a05ea40eSJacky Bai osc_24m: clock-osc-24m { 138a05ea40eSJacky Bai compatible = "fixed-clock"; 139a05ea40eSJacky Bai #clock-cells = <0>; 140a05ea40eSJacky Bai clock-frequency = <24000000>; 141a05ea40eSJacky Bai clock-output-names = "osc_24m"; 142a05ea40eSJacky Bai }; 143a05ea40eSJacky Bai 144a05ea40eSJacky Bai clk_ext1: clock-ext1 { 145a05ea40eSJacky Bai compatible = "fixed-clock"; 146a05ea40eSJacky Bai #clock-cells = <0>; 147a05ea40eSJacky Bai clock-frequency = <133000000>; 148a05ea40eSJacky Bai clock-output-names = "clk_ext1"; 149a05ea40eSJacky Bai }; 150a05ea40eSJacky Bai 151a05ea40eSJacky Bai clk_ext2: clock-ext2 { 152a05ea40eSJacky Bai compatible = "fixed-clock"; 153a05ea40eSJacky Bai #clock-cells = <0>; 154a05ea40eSJacky Bai clock-frequency = <133000000>; 155a05ea40eSJacky Bai clock-output-names = "clk_ext2"; 156a05ea40eSJacky Bai }; 157a05ea40eSJacky Bai 158a05ea40eSJacky Bai clk_ext3: clock-ext3 { 159a05ea40eSJacky Bai compatible = "fixed-clock"; 160a05ea40eSJacky Bai #clock-cells = <0>; 161a05ea40eSJacky Bai clock-frequency = <133000000>; 162a05ea40eSJacky Bai clock-output-names = "clk_ext3"; 163a05ea40eSJacky Bai }; 164a05ea40eSJacky Bai 165a05ea40eSJacky Bai clk_ext4: clock-ext4 { 166a05ea40eSJacky Bai compatible = "fixed-clock"; 167a05ea40eSJacky Bai #clock-cells = <0>; 168a05ea40eSJacky Bai clock-frequency= <133000000>; 169a05ea40eSJacky Bai clock-output-names = "clk_ext4"; 170a05ea40eSJacky Bai }; 171a05ea40eSJacky Bai 172a05ea40eSJacky Bai psci { 173a05ea40eSJacky Bai compatible = "arm,psci-1.0"; 174a05ea40eSJacky Bai method = "smc"; 175a05ea40eSJacky Bai }; 176a05ea40eSJacky Bai 177a05ea40eSJacky Bai pmu { 178a05ea40eSJacky Bai compatible = "arm,armv8-pmuv3"; 179a05ea40eSJacky Bai interrupts = <GIC_PPI 7 180a05ea40eSJacky Bai (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_HIGH)>; 181a05ea40eSJacky Bai interrupt-affinity = <&A53_0>, <&A53_1>, <&A53_2>, <&A53_3>; 182a05ea40eSJacky Bai }; 183a05ea40eSJacky Bai 184a05ea40eSJacky Bai timer { 185a05ea40eSJacky Bai compatible = "arm,armv8-timer"; 186a05ea40eSJacky Bai interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>, /* Physical Secure */ 187a05ea40eSJacky Bai <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>, /* Physical Non-Secure */ 188a05ea40eSJacky Bai <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>, /* Virtual */ 189a05ea40eSJacky Bai <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>; /* Hypervisor */ 190a05ea40eSJacky Bai clock-frequency = <8000000>; 191a05ea40eSJacky Bai arm,no-tick-in-suspend; 192a05ea40eSJacky Bai }; 193a05ea40eSJacky Bai 194a656622aSFabio Estevam usbphynop1: usbphynop1 { 195a656622aSFabio Estevam compatible = "usb-nop-xceiv"; 196a656622aSFabio Estevam clocks = <&clk IMX8MM_CLK_USB_PHY_REF>; 197a656622aSFabio Estevam assigned-clocks = <&clk IMX8MM_CLK_USB_PHY_REF>; 198a656622aSFabio Estevam assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_100M>; 199a656622aSFabio Estevam clock-names = "main_clk"; 200a656622aSFabio Estevam }; 201a656622aSFabio Estevam 202a656622aSFabio Estevam usbphynop2: usbphynop2 { 203a656622aSFabio Estevam compatible = "usb-nop-xceiv"; 204a656622aSFabio Estevam clocks = <&clk IMX8MM_CLK_USB_PHY_REF>; 205a656622aSFabio Estevam assigned-clocks = <&clk IMX8MM_CLK_USB_PHY_REF>; 206a656622aSFabio Estevam assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_100M>; 207a656622aSFabio Estevam clock-names = "main_clk"; 208a656622aSFabio Estevam }; 209a656622aSFabio Estevam 210951c1d37SFabio Estevam soc@0 { 211a05ea40eSJacky Bai compatible = "simple-bus"; 212a05ea40eSJacky Bai #address-cells = <1>; 213a05ea40eSJacky Bai #size-cells = <1>; 214a05ea40eSJacky Bai ranges = <0x0 0x0 0x0 0x3e000000>; 215a05ea40eSJacky Bai 216a05ea40eSJacky Bai aips1: bus@30000000 { 217a05ea40eSJacky Bai compatible = "fsl,aips-bus", "simple-bus"; 218a05ea40eSJacky Bai #address-cells = <1>; 219a05ea40eSJacky Bai #size-cells = <1>; 22010c74207SFabio Estevam ranges = <0x30000000 0x30000000 0x400000>; 221a05ea40eSJacky Bai 2224bee4357SDaniel Baluta sai1: sai@30010000 { 2234bee4357SDaniel Baluta compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 2244bee4357SDaniel Baluta reg = <0x30010000 0x10000>; 2254bee4357SDaniel Baluta interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>; 2264bee4357SDaniel Baluta clocks = <&clk IMX8MM_CLK_SAI1_IPG>, 2274bee4357SDaniel Baluta <&clk IMX8MM_CLK_SAI1_ROOT>, 2284bee4357SDaniel Baluta <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>; 2294bee4357SDaniel Baluta clock-names = "bus", "mclk1", "mclk2", "mclk3"; 2304bee4357SDaniel Baluta dmas = <&sdma2 0 2 0>, <&sdma2 1 2 0>; 2314bee4357SDaniel Baluta dma-names = "rx", "tx"; 2324bee4357SDaniel Baluta status = "disabled"; 2334bee4357SDaniel Baluta }; 2344bee4357SDaniel Baluta 2354bee4357SDaniel Baluta sai2: sai@30020000 { 2364bee4357SDaniel Baluta compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 2374bee4357SDaniel Baluta reg = <0x30020000 0x10000>; 2384bee4357SDaniel Baluta interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; 2394bee4357SDaniel Baluta clocks = <&clk IMX8MM_CLK_SAI2_IPG>, 2404bee4357SDaniel Baluta <&clk IMX8MM_CLK_SAI2_ROOT>, 2414bee4357SDaniel Baluta <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>; 2424bee4357SDaniel Baluta clock-names = "bus", "mclk1", "mclk2", "mclk3"; 2434bee4357SDaniel Baluta dmas = <&sdma2 2 2 0>, <&sdma2 3 2 0>; 2444bee4357SDaniel Baluta dma-names = "rx", "tx"; 2454bee4357SDaniel Baluta status = "disabled"; 2464bee4357SDaniel Baluta }; 2474bee4357SDaniel Baluta 2484bee4357SDaniel Baluta sai3: sai@30030000 { 2494bee4357SDaniel Baluta #sound-dai-cells = <0>; 2504bee4357SDaniel Baluta compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 2514bee4357SDaniel Baluta reg = <0x30030000 0x10000>; 2524bee4357SDaniel Baluta interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>; 2534bee4357SDaniel Baluta clocks = <&clk IMX8MM_CLK_SAI3_IPG>, 2544bee4357SDaniel Baluta <&clk IMX8MM_CLK_SAI3_ROOT>, 2554bee4357SDaniel Baluta <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>; 2564bee4357SDaniel Baluta clock-names = "bus", "mclk1", "mclk2", "mclk3"; 2574bee4357SDaniel Baluta dmas = <&sdma2 4 2 0>, <&sdma2 5 2 0>; 2584bee4357SDaniel Baluta dma-names = "rx", "tx"; 2594bee4357SDaniel Baluta status = "disabled"; 2604bee4357SDaniel Baluta }; 2614bee4357SDaniel Baluta 2624bee4357SDaniel Baluta sai5: sai@30050000 { 2634bee4357SDaniel Baluta compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 2644bee4357SDaniel Baluta reg = <0x30050000 0x10000>; 2654bee4357SDaniel Baluta interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>; 2664bee4357SDaniel Baluta clocks = <&clk IMX8MM_CLK_SAI5_IPG>, 2674bee4357SDaniel Baluta <&clk IMX8MM_CLK_SAI5_ROOT>, 2684bee4357SDaniel Baluta <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>; 2694bee4357SDaniel Baluta clock-names = "bus", "mclk1", "mclk2", "mclk3"; 2704bee4357SDaniel Baluta dmas = <&sdma2 8 2 0>, <&sdma2 9 2 0>; 2714bee4357SDaniel Baluta dma-names = "rx", "tx"; 2724bee4357SDaniel Baluta status = "disabled"; 2734bee4357SDaniel Baluta }; 2744bee4357SDaniel Baluta 2754bee4357SDaniel Baluta sai6: sai@30060000 { 2764bee4357SDaniel Baluta compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 2774bee4357SDaniel Baluta reg = <0x30060000 0x10000>; 2784bee4357SDaniel Baluta interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>; 2794bee4357SDaniel Baluta clocks = <&clk IMX8MM_CLK_SAI6_IPG>, 2804bee4357SDaniel Baluta <&clk IMX8MM_CLK_SAI6_ROOT>, 2814bee4357SDaniel Baluta <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>; 2824bee4357SDaniel Baluta clock-names = "bus", "mclk1", "mclk2", "mclk3"; 2834bee4357SDaniel Baluta dmas = <&sdma2 10 2 0>, <&sdma2 11 2 0>; 2844bee4357SDaniel Baluta dma-names = "rx", "tx"; 2854bee4357SDaniel Baluta status = "disabled"; 2864bee4357SDaniel Baluta }; 287a05ea40eSJacky Bai 288a05ea40eSJacky Bai gpio1: gpio@30200000 { 289a05ea40eSJacky Bai compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio"; 290a05ea40eSJacky Bai reg = <0x30200000 0x10000>; 291a05ea40eSJacky Bai interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>, 292a05ea40eSJacky Bai <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; 29309892aa1SAnson Huang clocks = <&clk IMX8MM_CLK_GPIO1_ROOT>; 294a05ea40eSJacky Bai gpio-controller; 295a05ea40eSJacky Bai #gpio-cells = <2>; 296a05ea40eSJacky Bai interrupt-controller; 297a05ea40eSJacky Bai #interrupt-cells = <2>; 29815626359SAnson Huang gpio-ranges = <&iomuxc 0 10 30>; 299a05ea40eSJacky Bai }; 300a05ea40eSJacky Bai 301a05ea40eSJacky Bai gpio2: gpio@30210000 { 302a05ea40eSJacky Bai compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio"; 303a05ea40eSJacky Bai reg = <0x30210000 0x10000>; 304a05ea40eSJacky Bai interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>, 305a05ea40eSJacky Bai <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; 30609892aa1SAnson Huang clocks = <&clk IMX8MM_CLK_GPIO2_ROOT>; 307a05ea40eSJacky Bai gpio-controller; 308a05ea40eSJacky Bai #gpio-cells = <2>; 309a05ea40eSJacky Bai interrupt-controller; 310a05ea40eSJacky Bai #interrupt-cells = <2>; 31115626359SAnson Huang gpio-ranges = <&iomuxc 0 40 21>; 312a05ea40eSJacky Bai }; 313a05ea40eSJacky Bai 314a05ea40eSJacky Bai gpio3: gpio@30220000 { 315a05ea40eSJacky Bai compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio"; 316a05ea40eSJacky Bai reg = <0x30220000 0x10000>; 317a05ea40eSJacky Bai interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>, 318a05ea40eSJacky Bai <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>; 31909892aa1SAnson Huang clocks = <&clk IMX8MM_CLK_GPIO3_ROOT>; 320a05ea40eSJacky Bai gpio-controller; 321a05ea40eSJacky Bai #gpio-cells = <2>; 322a05ea40eSJacky Bai interrupt-controller; 323a05ea40eSJacky Bai #interrupt-cells = <2>; 32415626359SAnson Huang gpio-ranges = <&iomuxc 0 61 26>; 325a05ea40eSJacky Bai }; 326a05ea40eSJacky Bai 327a05ea40eSJacky Bai gpio4: gpio@30230000 { 328a05ea40eSJacky Bai compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio"; 329a05ea40eSJacky Bai reg = <0x30230000 0x10000>; 330a05ea40eSJacky Bai interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>, 331a05ea40eSJacky Bai <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>; 33209892aa1SAnson Huang clocks = <&clk IMX8MM_CLK_GPIO4_ROOT>; 333a05ea40eSJacky Bai gpio-controller; 334a05ea40eSJacky Bai #gpio-cells = <2>; 335a05ea40eSJacky Bai interrupt-controller; 336a05ea40eSJacky Bai #interrupt-cells = <2>; 33715626359SAnson Huang gpio-ranges = <&iomuxc 0 87 32>; 338a05ea40eSJacky Bai }; 339a05ea40eSJacky Bai 340a05ea40eSJacky Bai gpio5: gpio@30240000 { 341a05ea40eSJacky Bai compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio"; 342a05ea40eSJacky Bai reg = <0x30240000 0x10000>; 343a05ea40eSJacky Bai interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>, 344a05ea40eSJacky Bai <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; 34509892aa1SAnson Huang clocks = <&clk IMX8MM_CLK_GPIO5_ROOT>; 346a05ea40eSJacky Bai gpio-controller; 347a05ea40eSJacky Bai #gpio-cells = <2>; 348a05ea40eSJacky Bai interrupt-controller; 349a05ea40eSJacky Bai #interrupt-cells = <2>; 35015626359SAnson Huang gpio-ranges = <&iomuxc 0 119 30>; 351a05ea40eSJacky Bai }; 352a05ea40eSJacky Bai 353a05ea40eSJacky Bai wdog1: watchdog@30280000 { 354a05ea40eSJacky Bai compatible = "fsl,imx8mm-wdt", "fsl,imx21-wdt"; 355a05ea40eSJacky Bai reg = <0x30280000 0x10000>; 356a05ea40eSJacky Bai interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>; 357a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_WDOG1_ROOT>; 358a05ea40eSJacky Bai status = "disabled"; 359a05ea40eSJacky Bai }; 360a05ea40eSJacky Bai 361a05ea40eSJacky Bai wdog2: watchdog@30290000 { 362a05ea40eSJacky Bai compatible = "fsl,imx8mm-wdt", "fsl,imx21-wdt"; 363a05ea40eSJacky Bai reg = <0x30290000 0x10000>; 364a05ea40eSJacky Bai interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>; 365a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_WDOG2_ROOT>; 366a05ea40eSJacky Bai status = "disabled"; 367a05ea40eSJacky Bai }; 368a05ea40eSJacky Bai 369a05ea40eSJacky Bai wdog3: watchdog@302a0000 { 370a05ea40eSJacky Bai compatible = "fsl,imx8mm-wdt", "fsl,imx21-wdt"; 371a05ea40eSJacky Bai reg = <0x302a0000 0x10000>; 372a05ea40eSJacky Bai interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 373a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_WDOG3_ROOT>; 374a05ea40eSJacky Bai status = "disabled"; 375a05ea40eSJacky Bai }; 376a05ea40eSJacky Bai 377a05ea40eSJacky Bai sdma2: dma-controller@302c0000 { 378a05ea40eSJacky Bai compatible = "fsl,imx8mm-sdma", "fsl,imx7d-sdma"; 379a05ea40eSJacky Bai reg = <0x302c0000 0x10000>; 380a05ea40eSJacky Bai interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; 381a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_SDMA2_ROOT>, 382a05ea40eSJacky Bai <&clk IMX8MM_CLK_SDMA2_ROOT>; 383a05ea40eSJacky Bai clock-names = "ipg", "ahb"; 384a05ea40eSJacky Bai #dma-cells = <3>; 385a05ea40eSJacky Bai fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin"; 386a05ea40eSJacky Bai }; 387a05ea40eSJacky Bai 388a05ea40eSJacky Bai sdma3: dma-controller@302b0000 { 389a05ea40eSJacky Bai compatible = "fsl,imx8mm-sdma", "fsl,imx7d-sdma"; 390a05ea40eSJacky Bai reg = <0x302b0000 0x10000>; 391a05ea40eSJacky Bai interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; 392a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_SDMA3_ROOT>, 393a05ea40eSJacky Bai <&clk IMX8MM_CLK_SDMA3_ROOT>; 394a05ea40eSJacky Bai clock-names = "ipg", "ahb"; 395a05ea40eSJacky Bai #dma-cells = <3>; 396a05ea40eSJacky Bai fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin"; 397a05ea40eSJacky Bai }; 398a05ea40eSJacky Bai 399a05ea40eSJacky Bai iomuxc: pinctrl@30330000 { 400a05ea40eSJacky Bai compatible = "fsl,imx8mm-iomuxc"; 401a05ea40eSJacky Bai reg = <0x30330000 0x10000>; 402a05ea40eSJacky Bai }; 403a05ea40eSJacky Bai 404a05ea40eSJacky Bai gpr: iomuxc-gpr@30340000 { 405a05ea40eSJacky Bai compatible = "fsl,imx8mm-iomuxc-gpr", "syscon"; 406a05ea40eSJacky Bai reg = <0x30340000 0x10000>; 407a05ea40eSJacky Bai }; 408a05ea40eSJacky Bai 409a05ea40eSJacky Bai ocotp: ocotp-ctrl@30350000 { 410a05ea40eSJacky Bai compatible = "fsl,imx8mm-ocotp", "fsl,imx7d-ocotp", "syscon"; 411a05ea40eSJacky Bai reg = <0x30350000 0x10000>; 412a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_OCOTP_ROOT>; 413a05ea40eSJacky Bai /* For nvmem subnodes */ 414a05ea40eSJacky Bai #address-cells = <1>; 415a05ea40eSJacky Bai #size-cells = <1>; 416f403a26cSLeonard Crestez 417f403a26cSLeonard Crestez cpu_speed_grade: speed-grade@10 { 418f403a26cSLeonard Crestez reg = <0x10 4>; 419f403a26cSLeonard Crestez }; 420a05ea40eSJacky Bai }; 421a05ea40eSJacky Bai 422a05ea40eSJacky Bai anatop: anatop@30360000 { 423a05ea40eSJacky Bai compatible = "fsl,imx8mm-anatop", "syscon", "simple-bus"; 424a05ea40eSJacky Bai reg = <0x30360000 0x10000>; 425a05ea40eSJacky Bai }; 426a05ea40eSJacky Bai 427a05ea40eSJacky Bai snvs: snvs@30370000 { 428a05ea40eSJacky Bai compatible = "fsl,sec-v4.0-mon","syscon", "simple-mfd"; 429a05ea40eSJacky Bai reg = <0x30370000 0x10000>; 430a05ea40eSJacky Bai 431a05ea40eSJacky Bai snvs_rtc: snvs-rtc-lp { 432a05ea40eSJacky Bai compatible = "fsl,sec-v4.0-mon-rtc-lp"; 433a05ea40eSJacky Bai regmap = <&snvs>; 434a05ea40eSJacky Bai offset = <0x34>; 435a05ea40eSJacky Bai interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>, 436a05ea40eSJacky Bai <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; 437f145b209SAnson Huang clocks = <&clk IMX8MM_CLK_SNVS_ROOT>; 438f145b209SAnson Huang clock-names = "snvs-rtc"; 439a05ea40eSJacky Bai }; 440a05ea40eSJacky Bai 441a05ea40eSJacky Bai snvs_pwrkey: snvs-powerkey { 442a05ea40eSJacky Bai compatible = "fsl,sec-v4.0-pwrkey"; 443a05ea40eSJacky Bai regmap = <&snvs>; 444a05ea40eSJacky Bai interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; 445a05ea40eSJacky Bai linux,keycode = <KEY_POWER>; 446a05ea40eSJacky Bai wakeup-source; 447d038c1dcSAnson Huang status = "disabled"; 448a05ea40eSJacky Bai }; 449a05ea40eSJacky Bai }; 450a05ea40eSJacky Bai 451a05ea40eSJacky Bai clk: clock-controller@30380000 { 452a05ea40eSJacky Bai compatible = "fsl,imx8mm-ccm"; 453a05ea40eSJacky Bai reg = <0x30380000 0x10000>; 454a05ea40eSJacky Bai #clock-cells = <1>; 455a05ea40eSJacky Bai clocks = <&osc_32k>, <&osc_24m>, <&clk_ext1>, <&clk_ext2>, 456a05ea40eSJacky Bai <&clk_ext3>, <&clk_ext4>; 457a05ea40eSJacky Bai clock-names = "osc_32k", "osc_24m", "clk_ext1", "clk_ext2", 458a05ea40eSJacky Bai "clk_ext3", "clk_ext4"; 4596b392e16SAbel Vesa assigned-clocks = <&clk IMX8MM_CLK_NOC>, 4606b392e16SAbel Vesa <&clk IMX8MM_CLK_AUDIO_AHB>, 4616b392e16SAbel Vesa <&clk IMX8MM_CLK_IPG_AUDIO_ROOT>, 4626b392e16SAbel Vesa <&clk IMX8MM_SYS_PLL3>, 4636b392e16SAbel Vesa <&clk IMX8MM_VIDEO_PLL1>; 4646b392e16SAbel Vesa assigned-clock-parents = <&clk IMX8MM_SYS_PLL3_OUT>, 4656b392e16SAbel Vesa <&clk IMX8MM_SYS_PLL1_800M>; 4666b392e16SAbel Vesa assigned-clock-rates = <0>, 4676b392e16SAbel Vesa <400000000>, 4686b392e16SAbel Vesa <400000000>, 4696b392e16SAbel Vesa <750000000>, 4706b392e16SAbel Vesa <594000000>; 471a05ea40eSJacky Bai }; 472a05ea40eSJacky Bai 473a05ea40eSJacky Bai src: reset-controller@30390000 { 47446b29f4bSAnson Huang compatible = "fsl,imx8mm-src", "fsl,imx8mq-src", "syscon"; 475a05ea40eSJacky Bai reg = <0x30390000 0x10000>; 476a05ea40eSJacky Bai interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; 477a05ea40eSJacky Bai #reset-cells = <1>; 478a05ea40eSJacky Bai }; 479a05ea40eSJacky Bai }; 480a05ea40eSJacky Bai 481a05ea40eSJacky Bai aips2: bus@30400000 { 482a05ea40eSJacky Bai compatible = "fsl,aips-bus", "simple-bus"; 483a05ea40eSJacky Bai #address-cells = <1>; 484a05ea40eSJacky Bai #size-cells = <1>; 48510c74207SFabio Estevam ranges = <0x30400000 0x30400000 0x400000>; 486a05ea40eSJacky Bai 487a05ea40eSJacky Bai pwm1: pwm@30660000 { 488a05ea40eSJacky Bai compatible = "fsl,imx8mm-pwm", "fsl,imx27-pwm"; 489a05ea40eSJacky Bai reg = <0x30660000 0x10000>; 490a05ea40eSJacky Bai interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>; 491a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_PWM1_ROOT>, 492a05ea40eSJacky Bai <&clk IMX8MM_CLK_PWM1_ROOT>; 493a05ea40eSJacky Bai clock-names = "ipg", "per"; 494a05ea40eSJacky Bai #pwm-cells = <2>; 495a05ea40eSJacky Bai status = "disabled"; 496a05ea40eSJacky Bai }; 497a05ea40eSJacky Bai 498a05ea40eSJacky Bai pwm2: pwm@30670000 { 499a05ea40eSJacky Bai compatible = "fsl,imx8mm-pwm", "fsl,imx27-pwm"; 500a05ea40eSJacky Bai reg = <0x30670000 0x10000>; 501a05ea40eSJacky Bai interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; 502a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_PWM2_ROOT>, 503a05ea40eSJacky Bai <&clk IMX8MM_CLK_PWM2_ROOT>; 504a05ea40eSJacky Bai clock-names = "ipg", "per"; 505a05ea40eSJacky Bai #pwm-cells = <2>; 506a05ea40eSJacky Bai status = "disabled"; 507a05ea40eSJacky Bai }; 508a05ea40eSJacky Bai 509a05ea40eSJacky Bai pwm3: pwm@30680000 { 510a05ea40eSJacky Bai compatible = "fsl,imx8mm-pwm", "fsl,imx27-pwm"; 511a05ea40eSJacky Bai reg = <0x30680000 0x10000>; 512a05ea40eSJacky Bai interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; 513a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_PWM3_ROOT>, 514a05ea40eSJacky Bai <&clk IMX8MM_CLK_PWM3_ROOT>; 515a05ea40eSJacky Bai clock-names = "ipg", "per"; 516a05ea40eSJacky Bai #pwm-cells = <2>; 517a05ea40eSJacky Bai status = "disabled"; 518a05ea40eSJacky Bai }; 519a05ea40eSJacky Bai 520a05ea40eSJacky Bai pwm4: pwm@30690000 { 521a05ea40eSJacky Bai compatible = "fsl,imx8mm-pwm", "fsl,imx27-pwm"; 522a05ea40eSJacky Bai reg = <0x30690000 0x10000>; 523a05ea40eSJacky Bai interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; 524a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_PWM4_ROOT>, 525a05ea40eSJacky Bai <&clk IMX8MM_CLK_PWM4_ROOT>; 526a05ea40eSJacky Bai clock-names = "ipg", "per"; 527a05ea40eSJacky Bai #pwm-cells = <2>; 528a05ea40eSJacky Bai status = "disabled"; 529a05ea40eSJacky Bai }; 530a05ea40eSJacky Bai }; 531a05ea40eSJacky Bai 532a05ea40eSJacky Bai aips3: bus@30800000 { 533a05ea40eSJacky Bai compatible = "fsl,aips-bus", "simple-bus"; 534a05ea40eSJacky Bai #address-cells = <1>; 535a05ea40eSJacky Bai #size-cells = <1>; 53610c74207SFabio Estevam ranges = <0x30800000 0x30800000 0x400000>; 537a05ea40eSJacky Bai 538a05ea40eSJacky Bai ecspi1: spi@30820000 { 539a05ea40eSJacky Bai compatible = "fsl,imx8mm-ecspi", "fsl,imx51-ecspi"; 540a05ea40eSJacky Bai #address-cells = <1>; 541a05ea40eSJacky Bai #size-cells = <0>; 542a05ea40eSJacky Bai reg = <0x30820000 0x10000>; 543a05ea40eSJacky Bai interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; 544a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_ECSPI1_ROOT>, 545a05ea40eSJacky Bai <&clk IMX8MM_CLK_ECSPI1_ROOT>; 546a05ea40eSJacky Bai clock-names = "ipg", "per"; 547a05ea40eSJacky Bai dmas = <&sdma1 0 7 1>, <&sdma1 1 7 2>; 548a05ea40eSJacky Bai dma-names = "rx", "tx"; 549a05ea40eSJacky Bai status = "disabled"; 550a05ea40eSJacky Bai }; 551a05ea40eSJacky Bai 552a05ea40eSJacky Bai ecspi2: spi@30830000 { 553a05ea40eSJacky Bai compatible = "fsl,imx8mm-ecspi", "fsl,imx51-ecspi"; 554a05ea40eSJacky Bai #address-cells = <1>; 555a05ea40eSJacky Bai #size-cells = <0>; 556a05ea40eSJacky Bai reg = <0x30830000 0x10000>; 557a05ea40eSJacky Bai interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; 558a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_ECSPI2_ROOT>, 559a05ea40eSJacky Bai <&clk IMX8MM_CLK_ECSPI2_ROOT>; 560a05ea40eSJacky Bai clock-names = "ipg", "per"; 561a05ea40eSJacky Bai dmas = <&sdma1 2 7 1>, <&sdma1 3 7 2>; 562a05ea40eSJacky Bai dma-names = "rx", "tx"; 563a05ea40eSJacky Bai status = "disabled"; 564a05ea40eSJacky Bai }; 565a05ea40eSJacky Bai 566a05ea40eSJacky Bai ecspi3: spi@30840000 { 567a05ea40eSJacky Bai compatible = "fsl,imx8mm-ecspi", "fsl,imx51-ecspi"; 568a05ea40eSJacky Bai #address-cells = <1>; 569a05ea40eSJacky Bai #size-cells = <0>; 570a05ea40eSJacky Bai reg = <0x30840000 0x10000>; 571a05ea40eSJacky Bai interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; 572a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_ECSPI3_ROOT>, 573a05ea40eSJacky Bai <&clk IMX8MM_CLK_ECSPI3_ROOT>; 574a05ea40eSJacky Bai clock-names = "ipg", "per"; 575a05ea40eSJacky Bai dmas = <&sdma1 4 7 1>, <&sdma1 5 7 2>; 576a05ea40eSJacky Bai dma-names = "rx", "tx"; 577a05ea40eSJacky Bai status = "disabled"; 578a05ea40eSJacky Bai }; 579a05ea40eSJacky Bai 580a05ea40eSJacky Bai uart1: serial@30860000 { 581a05ea40eSJacky Bai compatible = "fsl,imx8mm-uart", "fsl,imx6q-uart"; 582a05ea40eSJacky Bai reg = <0x30860000 0x10000>; 583a05ea40eSJacky Bai interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; 584a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_UART1_ROOT>, 585a05ea40eSJacky Bai <&clk IMX8MM_CLK_UART1_ROOT>; 586a05ea40eSJacky Bai clock-names = "ipg", "per"; 587a05ea40eSJacky Bai dmas = <&sdma1 22 4 0>, <&sdma1 23 4 0>; 588a05ea40eSJacky Bai dma-names = "rx", "tx"; 589a05ea40eSJacky Bai status = "disabled"; 590a05ea40eSJacky Bai }; 591a05ea40eSJacky Bai 592a05ea40eSJacky Bai uart3: serial@30880000 { 593a05ea40eSJacky Bai compatible = "fsl,imx8mm-uart", "fsl,imx6q-uart"; 594a05ea40eSJacky Bai reg = <0x30880000 0x10000>; 595a05ea40eSJacky Bai interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; 596a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_UART3_ROOT>, 597a05ea40eSJacky Bai <&clk IMX8MM_CLK_UART3_ROOT>; 598a05ea40eSJacky Bai clock-names = "ipg", "per"; 599a05ea40eSJacky Bai dmas = <&sdma1 26 4 0>, <&sdma1 27 4 0>; 600a05ea40eSJacky Bai dma-names = "rx", "tx"; 601a05ea40eSJacky Bai status = "disabled"; 602a05ea40eSJacky Bai }; 603a05ea40eSJacky Bai 604a05ea40eSJacky Bai uart2: serial@30890000 { 605a05ea40eSJacky Bai compatible = "fsl,imx8mm-uart", "fsl,imx6q-uart"; 606a05ea40eSJacky Bai reg = <0x30890000 0x10000>; 607a05ea40eSJacky Bai interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>; 608a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_UART2_ROOT>, 609a05ea40eSJacky Bai <&clk IMX8MM_CLK_UART2_ROOT>; 610a05ea40eSJacky Bai clock-names = "ipg", "per"; 611a05ea40eSJacky Bai status = "disabled"; 612a05ea40eSJacky Bai }; 613a05ea40eSJacky Bai 614a05ea40eSJacky Bai i2c1: i2c@30a20000 { 615a05ea40eSJacky Bai compatible = "fsl,imx8mm-i2c", "fsl,imx21-i2c"; 616a05ea40eSJacky Bai #address-cells = <1>; 617a05ea40eSJacky Bai #size-cells = <0>; 618a05ea40eSJacky Bai reg = <0x30a20000 0x10000>; 619a05ea40eSJacky Bai interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; 620a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_I2C1_ROOT>; 621a05ea40eSJacky Bai status = "disabled"; 622a05ea40eSJacky Bai }; 623a05ea40eSJacky Bai 624a05ea40eSJacky Bai i2c2: i2c@30a30000 { 625a05ea40eSJacky Bai compatible = "fsl,imx8mm-i2c", "fsl,imx21-i2c"; 626a05ea40eSJacky Bai #address-cells = <1>; 627a05ea40eSJacky Bai #size-cells = <0>; 628a05ea40eSJacky Bai reg = <0x30a30000 0x10000>; 629a05ea40eSJacky Bai interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; 630a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_I2C2_ROOT>; 631a05ea40eSJacky Bai status = "disabled"; 632a05ea40eSJacky Bai }; 633a05ea40eSJacky Bai 634a05ea40eSJacky Bai i2c3: i2c@30a40000 { 635a05ea40eSJacky Bai #address-cells = <1>; 636a05ea40eSJacky Bai #size-cells = <0>; 637a05ea40eSJacky Bai compatible = "fsl,imx8mm-i2c", "fsl,imx21-i2c"; 638a05ea40eSJacky Bai reg = <0x30a40000 0x10000>; 639a05ea40eSJacky Bai interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; 640a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_I2C3_ROOT>; 641a05ea40eSJacky Bai status = "disabled"; 642a05ea40eSJacky Bai }; 643a05ea40eSJacky Bai 644a05ea40eSJacky Bai i2c4: i2c@30a50000 { 645a05ea40eSJacky Bai compatible = "fsl,imx8mm-i2c", "fsl,imx21-i2c"; 646a05ea40eSJacky Bai #address-cells = <1>; 647a05ea40eSJacky Bai #size-cells = <0>; 648a05ea40eSJacky Bai reg = <0x30a50000 0x10000>; 649a05ea40eSJacky Bai interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; 650a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_I2C4_ROOT>; 651a05ea40eSJacky Bai status = "disabled"; 652a05ea40eSJacky Bai }; 653a05ea40eSJacky Bai 654a05ea40eSJacky Bai uart4: serial@30a60000 { 655a05ea40eSJacky Bai compatible = "fsl,imx8mm-uart", "fsl,imx6q-uart"; 656a05ea40eSJacky Bai reg = <0x30a60000 0x10000>; 657a05ea40eSJacky Bai interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; 658a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_UART4_ROOT>, 659a05ea40eSJacky Bai <&clk IMX8MM_CLK_UART4_ROOT>; 660a05ea40eSJacky Bai clock-names = "ipg", "per"; 661a05ea40eSJacky Bai dmas = <&sdma1 28 4 0>, <&sdma1 29 4 0>; 662a05ea40eSJacky Bai dma-names = "rx", "tx"; 663a05ea40eSJacky Bai status = "disabled"; 664a05ea40eSJacky Bai }; 665a05ea40eSJacky Bai 666a05ea40eSJacky Bai usdhc1: mmc@30b40000 { 667a05ea40eSJacky Bai compatible = "fsl,imx8mm-usdhc", "fsl,imx7d-usdhc"; 668a05ea40eSJacky Bai reg = <0x30b40000 0x10000>; 669a05ea40eSJacky Bai interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; 670a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_DUMMY>, 671a05ea40eSJacky Bai <&clk IMX8MM_CLK_NAND_USDHC_BUS>, 672a05ea40eSJacky Bai <&clk IMX8MM_CLK_USDHC1_ROOT>; 673a05ea40eSJacky Bai clock-names = "ipg", "ahb", "per"; 674a05ea40eSJacky Bai assigned-clocks = <&clk IMX8MM_CLK_USDHC1>; 675a05ea40eSJacky Bai assigned-clock-rates = <400000000>; 676a05ea40eSJacky Bai fsl,tuning-start-tap = <20>; 677a05ea40eSJacky Bai fsl,tuning-step= <2>; 678a05ea40eSJacky Bai bus-width = <4>; 679a05ea40eSJacky Bai status = "disabled"; 680a05ea40eSJacky Bai }; 681a05ea40eSJacky Bai 682a05ea40eSJacky Bai usdhc2: mmc@30b50000 { 683a05ea40eSJacky Bai compatible = "fsl,imx8mm-usdhc", "fsl,imx7d-usdhc"; 684a05ea40eSJacky Bai reg = <0x30b50000 0x10000>; 685a05ea40eSJacky Bai interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; 686a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_DUMMY>, 687a05ea40eSJacky Bai <&clk IMX8MM_CLK_NAND_USDHC_BUS>, 688a05ea40eSJacky Bai <&clk IMX8MM_CLK_USDHC2_ROOT>; 689a05ea40eSJacky Bai clock-names = "ipg", "ahb", "per"; 690a05ea40eSJacky Bai fsl,tuning-start-tap = <20>; 691a05ea40eSJacky Bai fsl,tuning-step= <2>; 692a05ea40eSJacky Bai bus-width = <4>; 693a05ea40eSJacky Bai status = "disabled"; 694a05ea40eSJacky Bai }; 695a05ea40eSJacky Bai 696a05ea40eSJacky Bai usdhc3: mmc@30b60000 { 697a05ea40eSJacky Bai compatible = "fsl,imx8mm-usdhc", "fsl,imx7d-usdhc"; 698a05ea40eSJacky Bai reg = <0x30b60000 0x10000>; 699a05ea40eSJacky Bai interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>; 700a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_DUMMY>, 701a05ea40eSJacky Bai <&clk IMX8MM_CLK_NAND_USDHC_BUS>, 702a05ea40eSJacky Bai <&clk IMX8MM_CLK_USDHC3_ROOT>; 703a05ea40eSJacky Bai clock-names = "ipg", "ahb", "per"; 704a05ea40eSJacky Bai assigned-clocks = <&clk IMX8MM_CLK_USDHC3_ROOT>; 705a05ea40eSJacky Bai assigned-clock-rates = <400000000>; 706a05ea40eSJacky Bai fsl,tuning-start-tap = <20>; 707a05ea40eSJacky Bai fsl,tuning-step= <2>; 708a05ea40eSJacky Bai bus-width = <4>; 709a05ea40eSJacky Bai status = "disabled"; 710a05ea40eSJacky Bai }; 711a05ea40eSJacky Bai 712a05ea40eSJacky Bai sdma1: dma-controller@30bd0000 { 713a05ea40eSJacky Bai compatible = "fsl,imx8mm-sdma", "fsl,imx7d-sdma"; 714a05ea40eSJacky Bai reg = <0x30bd0000 0x10000>; 715a05ea40eSJacky Bai interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; 716a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_SDMA1_ROOT>, 717a05ea40eSJacky Bai <&clk IMX8MM_CLK_SDMA1_ROOT>; 718a05ea40eSJacky Bai clock-names = "ipg", "ahb"; 719a05ea40eSJacky Bai #dma-cells = <3>; 720a05ea40eSJacky Bai fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin"; 721a05ea40eSJacky Bai }; 722a05ea40eSJacky Bai 723a05ea40eSJacky Bai fec1: ethernet@30be0000 { 724a05ea40eSJacky Bai compatible = "fsl,imx8mm-fec", "fsl,imx6sx-fec"; 725a05ea40eSJacky Bai reg = <0x30be0000 0x10000>; 726a05ea40eSJacky Bai interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, 727a05ea40eSJacky Bai <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>, 728a05ea40eSJacky Bai <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; 729a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_ENET1_ROOT>, 730a05ea40eSJacky Bai <&clk IMX8MM_CLK_ENET1_ROOT>, 731a05ea40eSJacky Bai <&clk IMX8MM_CLK_ENET_TIMER>, 732a05ea40eSJacky Bai <&clk IMX8MM_CLK_ENET_REF>, 733a05ea40eSJacky Bai <&clk IMX8MM_CLK_ENET_PHY_REF>; 734a05ea40eSJacky Bai clock-names = "ipg", "ahb", "ptp", 735a05ea40eSJacky Bai "enet_clk_ref", "enet_out"; 736a05ea40eSJacky Bai assigned-clocks = <&clk IMX8MM_CLK_ENET_AXI>, 737a05ea40eSJacky Bai <&clk IMX8MM_CLK_ENET_TIMER>, 738a05ea40eSJacky Bai <&clk IMX8MM_CLK_ENET_REF>, 739a05ea40eSJacky Bai <&clk IMX8MM_CLK_ENET_TIMER>; 740a05ea40eSJacky Bai assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_266M>, 741a05ea40eSJacky Bai <&clk IMX8MM_SYS_PLL2_100M>, 742a05ea40eSJacky Bai <&clk IMX8MM_SYS_PLL2_125M>; 743a05ea40eSJacky Bai assigned-clock-rates = <0>, <0>, <125000000>, <100000000>; 744a05ea40eSJacky Bai fsl,num-tx-queues = <3>; 745a05ea40eSJacky Bai fsl,num-rx-queues = <3>; 746a05ea40eSJacky Bai status = "disabled"; 747a05ea40eSJacky Bai }; 748a05ea40eSJacky Bai 749a05ea40eSJacky Bai }; 750a05ea40eSJacky Bai 751a05ea40eSJacky Bai aips4: bus@32c00000 { 752a05ea40eSJacky Bai compatible = "fsl,aips-bus", "simple-bus"; 753a05ea40eSJacky Bai #address-cells = <1>; 754a05ea40eSJacky Bai #size-cells = <1>; 75510c74207SFabio Estevam ranges = <0x32c00000 0x32c00000 0x400000>; 756a05ea40eSJacky Bai 757a05ea40eSJacky Bai usbotg1: usb@32e40000 { 758a05ea40eSJacky Bai compatible = "fsl,imx8mm-usb", "fsl,imx7d-usb"; 759a05ea40eSJacky Bai reg = <0x32e40000 0x200>; 760a05ea40eSJacky Bai interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; 761a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_USB1_CTRL_ROOT>; 762a05ea40eSJacky Bai clock-names = "usb1_ctrl_root_clk"; 7638b01840eSLi Jun assigned-clocks = <&clk IMX8MM_CLK_USB_BUS>; 7648b01840eSLi Jun assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_500M>; 765a05ea40eSJacky Bai fsl,usbphy = <&usbphynop1>; 766a05ea40eSJacky Bai fsl,usbmisc = <&usbmisc1 0>; 767a05ea40eSJacky Bai status = "disabled"; 768a05ea40eSJacky Bai }; 769a05ea40eSJacky Bai 770a05ea40eSJacky Bai usbmisc1: usbmisc@32e40200 { 771a05ea40eSJacky Bai compatible = "fsl,imx8mm-usbmisc", "fsl,imx7d-usbmisc"; 772a05ea40eSJacky Bai #index-cells = <1>; 773a05ea40eSJacky Bai reg = <0x32e40200 0x200>; 774a05ea40eSJacky Bai }; 775a05ea40eSJacky Bai 776a05ea40eSJacky Bai usbotg2: usb@32e50000 { 777a05ea40eSJacky Bai compatible = "fsl,imx8mm-usb", "fsl,imx7d-usb"; 778a05ea40eSJacky Bai reg = <0x32e50000 0x200>; 779a05ea40eSJacky Bai interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; 780a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_USB1_CTRL_ROOT>; 781a05ea40eSJacky Bai clock-names = "usb1_ctrl_root_clk"; 7828b01840eSLi Jun assigned-clocks = <&clk IMX8MM_CLK_USB_BUS>; 7838b01840eSLi Jun assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_500M>; 784a05ea40eSJacky Bai fsl,usbphy = <&usbphynop2>; 785a05ea40eSJacky Bai fsl,usbmisc = <&usbmisc2 0>; 786a05ea40eSJacky Bai status = "disabled"; 787a05ea40eSJacky Bai }; 788a05ea40eSJacky Bai 789a05ea40eSJacky Bai usbmisc2: usbmisc@32e50200 { 790a05ea40eSJacky Bai compatible = "fsl,imx8mm-usbmisc", "fsl,imx7d-usbmisc"; 791a05ea40eSJacky Bai #index-cells = <1>; 792a05ea40eSJacky Bai reg = <0x32e50200 0x200>; 793a05ea40eSJacky Bai }; 794a05ea40eSJacky Bai 795a05ea40eSJacky Bai }; 796a05ea40eSJacky Bai 797a05ea40eSJacky Bai dma_apbh: dma-controller@33000000 { 798a05ea40eSJacky Bai compatible = "fsl,imx7d-dma-apbh", "fsl,imx28-dma-apbh"; 799a05ea40eSJacky Bai reg = <0x33000000 0x2000>; 800a05ea40eSJacky Bai interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>, 801a05ea40eSJacky Bai <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>, 802a05ea40eSJacky Bai <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>, 803a05ea40eSJacky Bai <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; 804a05ea40eSJacky Bai interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3"; 805a05ea40eSJacky Bai #dma-cells = <1>; 806a05ea40eSJacky Bai dma-channels = <4>; 807a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_NAND_USDHC_BUS_RAWNAND_CLK>; 808a05ea40eSJacky Bai }; 809a05ea40eSJacky Bai 810a05ea40eSJacky Bai gpmi: nand-controller@33002000{ 811a05ea40eSJacky Bai compatible = "fsl,imx8mm-gpmi-nand", "fsl,imx7d-gpmi-nand"; 812a05ea40eSJacky Bai #address-cells = <1>; 813a05ea40eSJacky Bai #size-cells = <1>; 814a05ea40eSJacky Bai reg = <0x33002000 0x2000>, <0x33004000 0x4000>; 815a05ea40eSJacky Bai reg-names = "gpmi-nand", "bch"; 816a05ea40eSJacky Bai interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; 817a05ea40eSJacky Bai interrupt-names = "bch"; 818a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_NAND_ROOT>, 819a05ea40eSJacky Bai <&clk IMX8MM_CLK_NAND_USDHC_BUS_RAWNAND_CLK>; 820a05ea40eSJacky Bai clock-names = "gpmi_io", "gpmi_bch_apb"; 821a05ea40eSJacky Bai dmas = <&dma_apbh 0>; 822a05ea40eSJacky Bai dma-names = "rx-tx"; 823a05ea40eSJacky Bai status = "disabled"; 824a05ea40eSJacky Bai }; 825b4e3e54aSAnson Huang 826b4e3e54aSAnson Huang gic: interrupt-controller@38800000 { 827b4e3e54aSAnson Huang compatible = "arm,gic-v3"; 828b4e3e54aSAnson Huang reg = <0x38800000 0x10000>, /* GIC Dist */ 829b4e3e54aSAnson Huang <0x38880000 0xc0000>; /* GICR (RD_base + SGI_base) */ 830b4e3e54aSAnson Huang #interrupt-cells = <3>; 831b4e3e54aSAnson Huang interrupt-controller; 832b4e3e54aSAnson Huang interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; 833b4e3e54aSAnson Huang }; 8341efe85c9SLeonard Crestez 8351efe85c9SLeonard Crestez ddr-pmu@3d800000 { 8361efe85c9SLeonard Crestez compatible = "fsl,imx8mm-ddr-pmu", "fsl,imx8m-ddr-pmu"; 8371efe85c9SLeonard Crestez reg = <0x3d800000 0x400000>; 8381efe85c9SLeonard Crestez interrupt-parent = <&gic>; 8391efe85c9SLeonard Crestez interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>; 8401efe85c9SLeonard Crestez }; 841a05ea40eSJacky Bai }; 842a05ea40eSJacky Bai}; 843