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