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 interrupt-parent = <&gic>; 16a05ea40eSJacky Bai #address-cells = <2>; 17a05ea40eSJacky Bai #size-cells = <2>; 18a05ea40eSJacky Bai 19a05ea40eSJacky Bai aliases { 20a05ea40eSJacky Bai ethernet0 = &fec1; 2183ae2848SPeng Fan gpio0 = &gpio1; 2283ae2848SPeng Fan gpio1 = &gpio2; 2383ae2848SPeng Fan gpio2 = &gpio3; 2483ae2848SPeng Fan gpio3 = &gpio4; 2583ae2848SPeng Fan gpio4 = &gpio5; 26a05ea40eSJacky Bai i2c0 = &i2c1; 27a05ea40eSJacky Bai i2c1 = &i2c2; 28a05ea40eSJacky Bai i2c2 = &i2c3; 29a05ea40eSJacky Bai i2c3 = &i2c4; 3083ae2848SPeng Fan mmc0 = &usdhc1; 3183ae2848SPeng Fan mmc1 = &usdhc2; 3283ae2848SPeng Fan mmc2 = &usdhc3; 33a05ea40eSJacky Bai serial0 = &uart1; 34a05ea40eSJacky Bai serial1 = &uart2; 35a05ea40eSJacky Bai serial2 = &uart3; 36a05ea40eSJacky Bai serial3 = &uart4; 37a05ea40eSJacky Bai spi0 = &ecspi1; 38a05ea40eSJacky Bai spi1 = &ecspi2; 39a05ea40eSJacky Bai spi2 = &ecspi3; 40a05ea40eSJacky Bai }; 41a05ea40eSJacky Bai 42a05ea40eSJacky Bai cpus { 43a05ea40eSJacky Bai #address-cells = <1>; 44a05ea40eSJacky Bai #size-cells = <0>; 45a05ea40eSJacky Bai 46a1406b72SAnson Huang idle-states { 47a1406b72SAnson Huang entry-method = "psci"; 48a1406b72SAnson Huang 49a1406b72SAnson Huang cpu_pd_wait: cpu-pd-wait { 50a1406b72SAnson Huang compatible = "arm,idle-state"; 51a1406b72SAnson Huang arm,psci-suspend-param = <0x0010033>; 52a1406b72SAnson Huang local-timer-stop; 53a1406b72SAnson Huang entry-latency-us = <1000>; 54a1406b72SAnson Huang exit-latency-us = <700>; 55a1406b72SAnson Huang min-residency-us = <2700>; 56a1406b72SAnson Huang }; 57a1406b72SAnson Huang }; 58a1406b72SAnson Huang 59a05ea40eSJacky Bai A53_0: cpu@0 { 60a05ea40eSJacky Bai device_type = "cpu"; 61a05ea40eSJacky Bai compatible = "arm,cortex-a53"; 62a05ea40eSJacky Bai reg = <0x0>; 63e85c9d0fSLeonard Crestez clock-latency = <61036>; /* two CLK32 periods */ 64e85c9d0fSLeonard Crestez clocks = <&clk IMX8MM_CLK_ARM>; 65a05ea40eSJacky Bai enable-method = "psci"; 66a05ea40eSJacky Bai next-level-cache = <&A53_L2>; 67e85c9d0fSLeonard Crestez operating-points-v2 = <&a53_opp_table>; 68f403a26cSLeonard Crestez nvmem-cells = <&cpu_speed_grade>; 69f403a26cSLeonard Crestez nvmem-cell-names = "speed_grade"; 70a1406b72SAnson Huang cpu-idle-states = <&cpu_pd_wait>; 7111699fd5SAnson Huang #cooling-cells = <2>; 72a05ea40eSJacky Bai }; 73a05ea40eSJacky Bai 74a05ea40eSJacky Bai A53_1: cpu@1 { 75a05ea40eSJacky Bai device_type = "cpu"; 76a05ea40eSJacky Bai compatible = "arm,cortex-a53"; 77a05ea40eSJacky Bai reg = <0x1>; 78e85c9d0fSLeonard Crestez clock-latency = <61036>; /* two CLK32 periods */ 79e85c9d0fSLeonard Crestez clocks = <&clk IMX8MM_CLK_ARM>; 80a05ea40eSJacky Bai enable-method = "psci"; 81a05ea40eSJacky Bai next-level-cache = <&A53_L2>; 82e85c9d0fSLeonard Crestez operating-points-v2 = <&a53_opp_table>; 83a1406b72SAnson Huang cpu-idle-states = <&cpu_pd_wait>; 8411699fd5SAnson Huang #cooling-cells = <2>; 85a05ea40eSJacky Bai }; 86a05ea40eSJacky Bai 87a05ea40eSJacky Bai A53_2: cpu@2 { 88a05ea40eSJacky Bai device_type = "cpu"; 89a05ea40eSJacky Bai compatible = "arm,cortex-a53"; 90a05ea40eSJacky Bai reg = <0x2>; 91e85c9d0fSLeonard Crestez clock-latency = <61036>; /* two CLK32 periods */ 92e85c9d0fSLeonard Crestez clocks = <&clk IMX8MM_CLK_ARM>; 93a05ea40eSJacky Bai enable-method = "psci"; 94a05ea40eSJacky Bai next-level-cache = <&A53_L2>; 95e85c9d0fSLeonard Crestez operating-points-v2 = <&a53_opp_table>; 96a1406b72SAnson Huang cpu-idle-states = <&cpu_pd_wait>; 9711699fd5SAnson Huang #cooling-cells = <2>; 98a05ea40eSJacky Bai }; 99a05ea40eSJacky Bai 100a05ea40eSJacky Bai A53_3: cpu@3 { 101a05ea40eSJacky Bai device_type = "cpu"; 102a05ea40eSJacky Bai compatible = "arm,cortex-a53"; 103a05ea40eSJacky Bai reg = <0x3>; 104e85c9d0fSLeonard Crestez clock-latency = <61036>; /* two CLK32 periods */ 105e85c9d0fSLeonard Crestez clocks = <&clk IMX8MM_CLK_ARM>; 106a05ea40eSJacky Bai enable-method = "psci"; 107a05ea40eSJacky Bai next-level-cache = <&A53_L2>; 108e85c9d0fSLeonard Crestez operating-points-v2 = <&a53_opp_table>; 109a1406b72SAnson Huang cpu-idle-states = <&cpu_pd_wait>; 11011699fd5SAnson Huang #cooling-cells = <2>; 111a05ea40eSJacky Bai }; 112a05ea40eSJacky Bai 113a05ea40eSJacky Bai A53_L2: l2-cache0 { 114a05ea40eSJacky Bai compatible = "cache"; 115a05ea40eSJacky Bai }; 116a05ea40eSJacky Bai }; 117a05ea40eSJacky Bai 118e85c9d0fSLeonard Crestez a53_opp_table: opp-table { 119e85c9d0fSLeonard Crestez compatible = "operating-points-v2"; 120e85c9d0fSLeonard Crestez opp-shared; 121e85c9d0fSLeonard Crestez 122e85c9d0fSLeonard Crestez opp-1200000000 { 123e85c9d0fSLeonard Crestez opp-hz = /bits/ 64 <1200000000>; 124e85c9d0fSLeonard Crestez opp-microvolt = <850000>; 125f403a26cSLeonard Crestez opp-supported-hw = <0xe>, <0x7>; 126e85c9d0fSLeonard Crestez clock-latency-ns = <150000>; 1270d9df581SAnson Huang opp-suspend; 128e85c9d0fSLeonard Crestez }; 129e85c9d0fSLeonard Crestez 130e85c9d0fSLeonard Crestez opp-1600000000 { 131e85c9d0fSLeonard Crestez opp-hz = /bits/ 64 <1600000000>; 132d19d2152SLucas Stach opp-microvolt = <950000>; 133f403a26cSLeonard Crestez opp-supported-hw = <0xc>, <0x7>; 134e85c9d0fSLeonard Crestez clock-latency-ns = <150000>; 1350d9df581SAnson Huang opp-suspend; 136f403a26cSLeonard Crestez }; 137f403a26cSLeonard Crestez 138f403a26cSLeonard Crestez opp-1800000000 { 139f403a26cSLeonard Crestez opp-hz = /bits/ 64 <1800000000>; 140f403a26cSLeonard Crestez opp-microvolt = <1000000>; 141cd7c2ddfSAnson Huang opp-supported-hw = <0x8>, <0x3>; 142f403a26cSLeonard Crestez clock-latency-ns = <150000>; 1430d9df581SAnson Huang opp-suspend; 144e85c9d0fSLeonard Crestez }; 145e85c9d0fSLeonard Crestez }; 146e85c9d0fSLeonard Crestez 147a05ea40eSJacky Bai osc_32k: clock-osc-32k { 148a05ea40eSJacky Bai compatible = "fixed-clock"; 149a05ea40eSJacky Bai #clock-cells = <0>; 150a05ea40eSJacky Bai clock-frequency = <32768>; 151a05ea40eSJacky Bai clock-output-names = "osc_32k"; 152a05ea40eSJacky Bai }; 153a05ea40eSJacky Bai 154a05ea40eSJacky Bai osc_24m: clock-osc-24m { 155a05ea40eSJacky Bai compatible = "fixed-clock"; 156a05ea40eSJacky Bai #clock-cells = <0>; 157a05ea40eSJacky Bai clock-frequency = <24000000>; 158a05ea40eSJacky Bai clock-output-names = "osc_24m"; 159a05ea40eSJacky Bai }; 160a05ea40eSJacky Bai 161a05ea40eSJacky Bai clk_ext1: clock-ext1 { 162a05ea40eSJacky Bai compatible = "fixed-clock"; 163a05ea40eSJacky Bai #clock-cells = <0>; 164a05ea40eSJacky Bai clock-frequency = <133000000>; 165a05ea40eSJacky Bai clock-output-names = "clk_ext1"; 166a05ea40eSJacky Bai }; 167a05ea40eSJacky Bai 168a05ea40eSJacky Bai clk_ext2: clock-ext2 { 169a05ea40eSJacky Bai compatible = "fixed-clock"; 170a05ea40eSJacky Bai #clock-cells = <0>; 171a05ea40eSJacky Bai clock-frequency = <133000000>; 172a05ea40eSJacky Bai clock-output-names = "clk_ext2"; 173a05ea40eSJacky Bai }; 174a05ea40eSJacky Bai 175a05ea40eSJacky Bai clk_ext3: clock-ext3 { 176a05ea40eSJacky Bai compatible = "fixed-clock"; 177a05ea40eSJacky Bai #clock-cells = <0>; 178a05ea40eSJacky Bai clock-frequency = <133000000>; 179a05ea40eSJacky Bai clock-output-names = "clk_ext3"; 180a05ea40eSJacky Bai }; 181a05ea40eSJacky Bai 182a05ea40eSJacky Bai clk_ext4: clock-ext4 { 183a05ea40eSJacky Bai compatible = "fixed-clock"; 184a05ea40eSJacky Bai #clock-cells = <0>; 185a05ea40eSJacky Bai clock-frequency= <133000000>; 186a05ea40eSJacky Bai clock-output-names = "clk_ext4"; 187a05ea40eSJacky Bai }; 188a05ea40eSJacky Bai 189a05ea40eSJacky Bai psci { 190a05ea40eSJacky Bai compatible = "arm,psci-1.0"; 191a05ea40eSJacky Bai method = "smc"; 192a05ea40eSJacky Bai }; 193a05ea40eSJacky Bai 194a05ea40eSJacky Bai pmu { 195a05ea40eSJacky Bai compatible = "arm,armv8-pmuv3"; 196a05ea40eSJacky Bai interrupts = <GIC_PPI 7 1975c22a9afSKrzysztof Kozlowski (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; 198a05ea40eSJacky Bai interrupt-affinity = <&A53_0>, <&A53_1>, <&A53_2>, <&A53_3>; 199a05ea40eSJacky Bai }; 200a05ea40eSJacky Bai 201a05ea40eSJacky Bai timer { 202a05ea40eSJacky Bai compatible = "arm,armv8-timer"; 2035c22a9afSKrzysztof Kozlowski interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, /* Physical Secure */ 2045c22a9afSKrzysztof Kozlowski <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, /* Physical Non-Secure */ 2055c22a9afSKrzysztof Kozlowski <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, /* Virtual */ 2065c22a9afSKrzysztof Kozlowski <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; /* Hypervisor */ 207a05ea40eSJacky Bai clock-frequency = <8000000>; 208a05ea40eSJacky Bai arm,no-tick-in-suspend; 209a05ea40eSJacky Bai }; 210a05ea40eSJacky Bai 21111699fd5SAnson Huang thermal-zones { 21211699fd5SAnson Huang cpu-thermal { 21311699fd5SAnson Huang polling-delay-passive = <250>; 21411699fd5SAnson Huang polling-delay = <2000>; 21511699fd5SAnson Huang thermal-sensors = <&tmu>; 21611699fd5SAnson Huang trips { 21711699fd5SAnson Huang cpu_alert0: trip0 { 21811699fd5SAnson Huang temperature = <85000>; 21911699fd5SAnson Huang hysteresis = <2000>; 22011699fd5SAnson Huang type = "passive"; 22111699fd5SAnson Huang }; 22211699fd5SAnson Huang 22311699fd5SAnson Huang cpu_crit0: trip1 { 22411699fd5SAnson Huang temperature = <95000>; 22511699fd5SAnson Huang hysteresis = <2000>; 22611699fd5SAnson Huang type = "critical"; 22711699fd5SAnson Huang }; 22811699fd5SAnson Huang }; 22911699fd5SAnson Huang 23011699fd5SAnson Huang cooling-maps { 23111699fd5SAnson Huang map0 { 23211699fd5SAnson Huang trip = <&cpu_alert0>; 23311699fd5SAnson Huang cooling-device = 23411699fd5SAnson Huang <&A53_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 23511699fd5SAnson Huang <&A53_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 23611699fd5SAnson Huang <&A53_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 23711699fd5SAnson Huang <&A53_3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 23811699fd5SAnson Huang }; 23911699fd5SAnson Huang }; 24011699fd5SAnson Huang }; 24111699fd5SAnson Huang }; 24211699fd5SAnson Huang 243a656622aSFabio Estevam usbphynop1: usbphynop1 { 244a656622aSFabio Estevam compatible = "usb-nop-xceiv"; 245a656622aSFabio Estevam clocks = <&clk IMX8MM_CLK_USB_PHY_REF>; 246a656622aSFabio Estevam assigned-clocks = <&clk IMX8MM_CLK_USB_PHY_REF>; 247a656622aSFabio Estevam assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_100M>; 248a656622aSFabio Estevam clock-names = "main_clk"; 249a656622aSFabio Estevam }; 250a656622aSFabio Estevam 251a656622aSFabio Estevam usbphynop2: usbphynop2 { 252a656622aSFabio Estevam compatible = "usb-nop-xceiv"; 253a656622aSFabio Estevam clocks = <&clk IMX8MM_CLK_USB_PHY_REF>; 254a656622aSFabio Estevam assigned-clocks = <&clk IMX8MM_CLK_USB_PHY_REF>; 255a656622aSFabio Estevam assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_100M>; 256a656622aSFabio Estevam clock-names = "main_clk"; 257a656622aSFabio Estevam }; 258a656622aSFabio Estevam 259951c1d37SFabio Estevam soc@0 { 260*ce58459dSAlice Guo compatible = "fsl,imx8mm-soc", "simple-bus"; 261a05ea40eSJacky Bai #address-cells = <1>; 262a05ea40eSJacky Bai #size-cells = <1>; 263a05ea40eSJacky Bai ranges = <0x0 0x0 0x0 0x3e000000>; 264a05ea40eSJacky Bai 265a05ea40eSJacky Bai aips1: bus@30000000 { 266dc3efc6fSPeng Fan compatible = "fsl,aips-bus", "simple-bus"; 267921a6845SFabio Estevam reg = <0x30000000 0x400000>; 268a05ea40eSJacky Bai #address-cells = <1>; 269a05ea40eSJacky Bai #size-cells = <1>; 27010c74207SFabio Estevam ranges = <0x30000000 0x30000000 0x400000>; 271a05ea40eSJacky Bai 2724bee4357SDaniel Baluta sai1: sai@30010000 { 273ebfa8951SMatt Porter #sound-dai-cells = <0>; 2744bee4357SDaniel Baluta compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 2754bee4357SDaniel Baluta reg = <0x30010000 0x10000>; 2764bee4357SDaniel Baluta interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>; 2774bee4357SDaniel Baluta clocks = <&clk IMX8MM_CLK_SAI1_IPG>, 2784bee4357SDaniel Baluta <&clk IMX8MM_CLK_SAI1_ROOT>, 2794bee4357SDaniel Baluta <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>; 2804bee4357SDaniel Baluta clock-names = "bus", "mclk1", "mclk2", "mclk3"; 2814bee4357SDaniel Baluta dmas = <&sdma2 0 2 0>, <&sdma2 1 2 0>; 2824bee4357SDaniel Baluta dma-names = "rx", "tx"; 2834bee4357SDaniel Baluta status = "disabled"; 2844bee4357SDaniel Baluta }; 2854bee4357SDaniel Baluta 2864bee4357SDaniel Baluta sai2: sai@30020000 { 287ebfa8951SMatt Porter #sound-dai-cells = <0>; 2884bee4357SDaniel Baluta compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 2894bee4357SDaniel Baluta reg = <0x30020000 0x10000>; 2904bee4357SDaniel Baluta interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; 2914bee4357SDaniel Baluta clocks = <&clk IMX8MM_CLK_SAI2_IPG>, 2924bee4357SDaniel Baluta <&clk IMX8MM_CLK_SAI2_ROOT>, 2934bee4357SDaniel Baluta <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>; 2944bee4357SDaniel Baluta clock-names = "bus", "mclk1", "mclk2", "mclk3"; 2954bee4357SDaniel Baluta dmas = <&sdma2 2 2 0>, <&sdma2 3 2 0>; 2964bee4357SDaniel Baluta dma-names = "rx", "tx"; 2974bee4357SDaniel Baluta status = "disabled"; 2984bee4357SDaniel Baluta }; 2994bee4357SDaniel Baluta 3004bee4357SDaniel Baluta sai3: sai@30030000 { 3014bee4357SDaniel Baluta #sound-dai-cells = <0>; 3024bee4357SDaniel Baluta compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 3034bee4357SDaniel Baluta reg = <0x30030000 0x10000>; 3044bee4357SDaniel Baluta interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>; 3054bee4357SDaniel Baluta clocks = <&clk IMX8MM_CLK_SAI3_IPG>, 3064bee4357SDaniel Baluta <&clk IMX8MM_CLK_SAI3_ROOT>, 3074bee4357SDaniel Baluta <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>; 3084bee4357SDaniel Baluta clock-names = "bus", "mclk1", "mclk2", "mclk3"; 3094bee4357SDaniel Baluta dmas = <&sdma2 4 2 0>, <&sdma2 5 2 0>; 3104bee4357SDaniel Baluta dma-names = "rx", "tx"; 3114bee4357SDaniel Baluta status = "disabled"; 3124bee4357SDaniel Baluta }; 3134bee4357SDaniel Baluta 3144bee4357SDaniel Baluta sai5: sai@30050000 { 315ebfa8951SMatt Porter #sound-dai-cells = <0>; 3164bee4357SDaniel Baluta compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 3174bee4357SDaniel Baluta reg = <0x30050000 0x10000>; 3184bee4357SDaniel Baluta interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>; 3194bee4357SDaniel Baluta clocks = <&clk IMX8MM_CLK_SAI5_IPG>, 3204bee4357SDaniel Baluta <&clk IMX8MM_CLK_SAI5_ROOT>, 3214bee4357SDaniel Baluta <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>; 3224bee4357SDaniel Baluta clock-names = "bus", "mclk1", "mclk2", "mclk3"; 3234bee4357SDaniel Baluta dmas = <&sdma2 8 2 0>, <&sdma2 9 2 0>; 3244bee4357SDaniel Baluta dma-names = "rx", "tx"; 3254bee4357SDaniel Baluta status = "disabled"; 3264bee4357SDaniel Baluta }; 3274bee4357SDaniel Baluta 3284bee4357SDaniel Baluta sai6: sai@30060000 { 329ebfa8951SMatt Porter #sound-dai-cells = <0>; 3304bee4357SDaniel Baluta compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 3314bee4357SDaniel Baluta reg = <0x30060000 0x10000>; 3324bee4357SDaniel Baluta interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>; 3334bee4357SDaniel Baluta clocks = <&clk IMX8MM_CLK_SAI6_IPG>, 3344bee4357SDaniel Baluta <&clk IMX8MM_CLK_SAI6_ROOT>, 3354bee4357SDaniel Baluta <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>; 3364bee4357SDaniel Baluta clock-names = "bus", "mclk1", "mclk2", "mclk3"; 3374bee4357SDaniel Baluta dmas = <&sdma2 10 2 0>, <&sdma2 11 2 0>; 3384bee4357SDaniel Baluta dma-names = "rx", "tx"; 3394bee4357SDaniel Baluta status = "disabled"; 3404bee4357SDaniel Baluta }; 341a05ea40eSJacky Bai 3423bd0788cSAdam Ford micfil: audio-controller@30080000 { 3433bd0788cSAdam Ford compatible = "fsl,imx8mm-micfil"; 3443bd0788cSAdam Ford reg = <0x30080000 0x10000>; 3453bd0788cSAdam Ford interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>, 3463bd0788cSAdam Ford <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>, 3473bd0788cSAdam Ford <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>, 3483bd0788cSAdam Ford <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>; 3493bd0788cSAdam Ford clocks = <&clk IMX8MM_CLK_PDM_IPG>, 3503bd0788cSAdam Ford <&clk IMX8MM_CLK_PDM_ROOT>, 3513bd0788cSAdam Ford <&clk IMX8MM_AUDIO_PLL1_OUT>, 3523bd0788cSAdam Ford <&clk IMX8MM_AUDIO_PLL2_OUT>, 3533bd0788cSAdam Ford <&clk IMX8MM_CLK_EXT3>; 3543bd0788cSAdam Ford clock-names = "ipg_clk", "ipg_clk_app", 3553bd0788cSAdam Ford "pll8k", "pll11k", "clkext3"; 3563bd0788cSAdam Ford dmas = <&sdma2 24 25 0x80000000>; 3573bd0788cSAdam Ford dma-names = "rx"; 3583bd0788cSAdam Ford status = "disabled"; 3593bd0788cSAdam Ford }; 3603bd0788cSAdam Ford 36157412197SAdam Ford spdif1: spdif@30090000 { 36257412197SAdam Ford compatible = "fsl,imx35-spdif"; 36357412197SAdam Ford reg = <0x30090000 0x10000>; 36457412197SAdam Ford interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; 36557412197SAdam Ford clocks = <&clk IMX8MM_CLK_AUDIO_AHB>, /* core */ 36657412197SAdam Ford <&clk IMX8MM_CLK_24M>, /* rxtx0 */ 36757412197SAdam Ford <&clk IMX8MM_CLK_SPDIF1>, /* rxtx1 */ 36857412197SAdam Ford <&clk IMX8MM_CLK_DUMMY>, /* rxtx2 */ 36957412197SAdam Ford <&clk IMX8MM_CLK_DUMMY>, /* rxtx3 */ 37057412197SAdam Ford <&clk IMX8MM_CLK_DUMMY>, /* rxtx4 */ 37157412197SAdam Ford <&clk IMX8MM_CLK_AUDIO_AHB>, /* rxtx5 */ 37257412197SAdam Ford <&clk IMX8MM_CLK_DUMMY>, /* rxtx6 */ 37357412197SAdam Ford <&clk IMX8MM_CLK_DUMMY>, /* rxtx7 */ 37457412197SAdam Ford <&clk IMX8MM_CLK_DUMMY>; /* spba */ 37557412197SAdam Ford clock-names = "core", "rxtx0", 37657412197SAdam Ford "rxtx1", "rxtx2", 37757412197SAdam Ford "rxtx3", "rxtx4", 37857412197SAdam Ford "rxtx5", "rxtx6", 37957412197SAdam Ford "rxtx7", "spba"; 38057412197SAdam Ford dmas = <&sdma2 28 18 0>, <&sdma2 29 18 0>; 38157412197SAdam Ford dma-names = "rx", "tx"; 38257412197SAdam Ford status = "disabled"; 38357412197SAdam Ford }; 38457412197SAdam Ford 385a05ea40eSJacky Bai gpio1: gpio@30200000 { 386a05ea40eSJacky Bai compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio"; 387a05ea40eSJacky Bai reg = <0x30200000 0x10000>; 388a05ea40eSJacky Bai interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>, 389a05ea40eSJacky Bai <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; 39009892aa1SAnson Huang clocks = <&clk IMX8MM_CLK_GPIO1_ROOT>; 391a05ea40eSJacky Bai gpio-controller; 392a05ea40eSJacky Bai #gpio-cells = <2>; 393a05ea40eSJacky Bai interrupt-controller; 394a05ea40eSJacky Bai #interrupt-cells = <2>; 39515626359SAnson Huang gpio-ranges = <&iomuxc 0 10 30>; 396a05ea40eSJacky Bai }; 397a05ea40eSJacky Bai 398a05ea40eSJacky Bai gpio2: gpio@30210000 { 399a05ea40eSJacky Bai compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio"; 400a05ea40eSJacky Bai reg = <0x30210000 0x10000>; 401a05ea40eSJacky Bai interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>, 402a05ea40eSJacky Bai <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; 40309892aa1SAnson Huang clocks = <&clk IMX8MM_CLK_GPIO2_ROOT>; 404a05ea40eSJacky Bai gpio-controller; 405a05ea40eSJacky Bai #gpio-cells = <2>; 406a05ea40eSJacky Bai interrupt-controller; 407a05ea40eSJacky Bai #interrupt-cells = <2>; 40815626359SAnson Huang gpio-ranges = <&iomuxc 0 40 21>; 409a05ea40eSJacky Bai }; 410a05ea40eSJacky Bai 411a05ea40eSJacky Bai gpio3: gpio@30220000 { 412a05ea40eSJacky Bai compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio"; 413a05ea40eSJacky Bai reg = <0x30220000 0x10000>; 414a05ea40eSJacky Bai interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>, 415a05ea40eSJacky Bai <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>; 41609892aa1SAnson Huang clocks = <&clk IMX8MM_CLK_GPIO3_ROOT>; 417a05ea40eSJacky Bai gpio-controller; 418a05ea40eSJacky Bai #gpio-cells = <2>; 419a05ea40eSJacky Bai interrupt-controller; 420a05ea40eSJacky Bai #interrupt-cells = <2>; 42115626359SAnson Huang gpio-ranges = <&iomuxc 0 61 26>; 422a05ea40eSJacky Bai }; 423a05ea40eSJacky Bai 424a05ea40eSJacky Bai gpio4: gpio@30230000 { 425a05ea40eSJacky Bai compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio"; 426a05ea40eSJacky Bai reg = <0x30230000 0x10000>; 427a05ea40eSJacky Bai interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>, 428a05ea40eSJacky Bai <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>; 42909892aa1SAnson Huang clocks = <&clk IMX8MM_CLK_GPIO4_ROOT>; 430a05ea40eSJacky Bai gpio-controller; 431a05ea40eSJacky Bai #gpio-cells = <2>; 432a05ea40eSJacky Bai interrupt-controller; 433a05ea40eSJacky Bai #interrupt-cells = <2>; 43415626359SAnson Huang gpio-ranges = <&iomuxc 0 87 32>; 435a05ea40eSJacky Bai }; 436a05ea40eSJacky Bai 437a05ea40eSJacky Bai gpio5: gpio@30240000 { 438a05ea40eSJacky Bai compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio"; 439a05ea40eSJacky Bai reg = <0x30240000 0x10000>; 440a05ea40eSJacky Bai interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>, 441a05ea40eSJacky Bai <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; 44209892aa1SAnson Huang clocks = <&clk IMX8MM_CLK_GPIO5_ROOT>; 443a05ea40eSJacky Bai gpio-controller; 444a05ea40eSJacky Bai #gpio-cells = <2>; 445a05ea40eSJacky Bai interrupt-controller; 446a05ea40eSJacky Bai #interrupt-cells = <2>; 44715626359SAnson Huang gpio-ranges = <&iomuxc 0 119 30>; 448a05ea40eSJacky Bai }; 449a05ea40eSJacky Bai 45011699fd5SAnson Huang tmu: tmu@30260000 { 45111699fd5SAnson Huang compatible = "fsl,imx8mm-tmu"; 45211699fd5SAnson Huang reg = <0x30260000 0x10000>; 45311699fd5SAnson Huang clocks = <&clk IMX8MM_CLK_TMU_ROOT>; 45411699fd5SAnson Huang #thermal-sensor-cells = <0>; 45511699fd5SAnson Huang }; 45611699fd5SAnson Huang 457a05ea40eSJacky Bai wdog1: watchdog@30280000 { 458a05ea40eSJacky Bai compatible = "fsl,imx8mm-wdt", "fsl,imx21-wdt"; 459a05ea40eSJacky Bai reg = <0x30280000 0x10000>; 460a05ea40eSJacky Bai interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>; 461a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_WDOG1_ROOT>; 462a05ea40eSJacky Bai status = "disabled"; 463a05ea40eSJacky Bai }; 464a05ea40eSJacky Bai 465a05ea40eSJacky Bai wdog2: watchdog@30290000 { 466a05ea40eSJacky Bai compatible = "fsl,imx8mm-wdt", "fsl,imx21-wdt"; 467a05ea40eSJacky Bai reg = <0x30290000 0x10000>; 468a05ea40eSJacky Bai interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>; 469a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_WDOG2_ROOT>; 470a05ea40eSJacky Bai status = "disabled"; 471a05ea40eSJacky Bai }; 472a05ea40eSJacky Bai 473a05ea40eSJacky Bai wdog3: watchdog@302a0000 { 474a05ea40eSJacky Bai compatible = "fsl,imx8mm-wdt", "fsl,imx21-wdt"; 475a05ea40eSJacky Bai reg = <0x302a0000 0x10000>; 476a05ea40eSJacky Bai interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 477a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_WDOG3_ROOT>; 478a05ea40eSJacky Bai status = "disabled"; 479a05ea40eSJacky Bai }; 480a05ea40eSJacky Bai 481a05ea40eSJacky Bai sdma2: dma-controller@302c0000 { 482e346ff93SShengjiu Wang compatible = "fsl,imx8mm-sdma", "fsl,imx8mq-sdma"; 483a05ea40eSJacky Bai reg = <0x302c0000 0x10000>; 484a05ea40eSJacky Bai interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; 485a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_SDMA2_ROOT>, 486a05ea40eSJacky Bai <&clk IMX8MM_CLK_SDMA2_ROOT>; 487a05ea40eSJacky Bai clock-names = "ipg", "ahb"; 488a05ea40eSJacky Bai #dma-cells = <3>; 489a05ea40eSJacky Bai fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin"; 490a05ea40eSJacky Bai }; 491a05ea40eSJacky Bai 492a05ea40eSJacky Bai sdma3: dma-controller@302b0000 { 493e346ff93SShengjiu Wang compatible = "fsl,imx8mm-sdma", "fsl,imx8mq-sdma"; 494a05ea40eSJacky Bai reg = <0x302b0000 0x10000>; 495a05ea40eSJacky Bai interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; 496a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_SDMA3_ROOT>, 497a05ea40eSJacky Bai <&clk IMX8MM_CLK_SDMA3_ROOT>; 498a05ea40eSJacky Bai clock-names = "ipg", "ahb"; 499a05ea40eSJacky Bai #dma-cells = <3>; 500a05ea40eSJacky Bai fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin"; 501a05ea40eSJacky Bai }; 502a05ea40eSJacky Bai 503a05ea40eSJacky Bai iomuxc: pinctrl@30330000 { 504a05ea40eSJacky Bai compatible = "fsl,imx8mm-iomuxc"; 505a05ea40eSJacky Bai reg = <0x30330000 0x10000>; 506a05ea40eSJacky Bai }; 507a05ea40eSJacky Bai 508a05ea40eSJacky Bai gpr: iomuxc-gpr@30340000 { 509a05ea40eSJacky Bai compatible = "fsl,imx8mm-iomuxc-gpr", "syscon"; 510a05ea40eSJacky Bai reg = <0x30340000 0x10000>; 511a05ea40eSJacky Bai }; 512a05ea40eSJacky Bai 51312fa1078SAnson Huang ocotp: efuse@30350000 { 514b09802a0SAnson Huang compatible = "fsl,imx8mm-ocotp", "syscon"; 515a05ea40eSJacky Bai reg = <0x30350000 0x10000>; 516a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_OCOTP_ROOT>; 517a05ea40eSJacky Bai /* For nvmem subnodes */ 518a05ea40eSJacky Bai #address-cells = <1>; 519a05ea40eSJacky Bai #size-cells = <1>; 520f403a26cSLeonard Crestez 521f403a26cSLeonard Crestez cpu_speed_grade: speed-grade@10 { 522f403a26cSLeonard Crestez reg = <0x10 4>; 523f403a26cSLeonard Crestez }; 524a05ea40eSJacky Bai }; 525a05ea40eSJacky Bai 526a05ea40eSJacky Bai anatop: anatop@30360000 { 5270900a484SFancy Fang compatible = "fsl,imx8mm-anatop", "syscon"; 528a05ea40eSJacky Bai reg = <0x30360000 0x10000>; 529a05ea40eSJacky Bai }; 530a05ea40eSJacky Bai 531a05ea40eSJacky Bai snvs: snvs@30370000 { 532a05ea40eSJacky Bai compatible = "fsl,sec-v4.0-mon","syscon", "simple-mfd"; 533a05ea40eSJacky Bai reg = <0x30370000 0x10000>; 534a05ea40eSJacky Bai 535a05ea40eSJacky Bai snvs_rtc: snvs-rtc-lp { 536a05ea40eSJacky Bai compatible = "fsl,sec-v4.0-mon-rtc-lp"; 537a05ea40eSJacky Bai regmap = <&snvs>; 538a05ea40eSJacky Bai offset = <0x34>; 539a05ea40eSJacky Bai interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>, 540a05ea40eSJacky Bai <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; 541f145b209SAnson Huang clocks = <&clk IMX8MM_CLK_SNVS_ROOT>; 542f145b209SAnson Huang clock-names = "snvs-rtc"; 543a05ea40eSJacky Bai }; 544a05ea40eSJacky Bai 545a05ea40eSJacky Bai snvs_pwrkey: snvs-powerkey { 546a05ea40eSJacky Bai compatible = "fsl,sec-v4.0-pwrkey"; 547a05ea40eSJacky Bai regmap = <&snvs>; 548a05ea40eSJacky Bai interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; 54946770eaeSAndré Draszik clocks = <&clk IMX8MM_CLK_SNVS_ROOT>; 55046770eaeSAndré Draszik clock-names = "snvs-pwrkey"; 551a05ea40eSJacky Bai linux,keycode = <KEY_POWER>; 552a05ea40eSJacky Bai wakeup-source; 553d038c1dcSAnson Huang status = "disabled"; 554a05ea40eSJacky Bai }; 555a05ea40eSJacky Bai }; 556a05ea40eSJacky Bai 557a05ea40eSJacky Bai clk: clock-controller@30380000 { 558a05ea40eSJacky Bai compatible = "fsl,imx8mm-ccm"; 559a05ea40eSJacky Bai reg = <0x30380000 0x10000>; 560a05ea40eSJacky Bai #clock-cells = <1>; 561a05ea40eSJacky Bai clocks = <&osc_32k>, <&osc_24m>, <&clk_ext1>, <&clk_ext2>, 562a05ea40eSJacky Bai <&clk_ext3>, <&clk_ext4>; 563a05ea40eSJacky Bai clock-names = "osc_32k", "osc_24m", "clk_ext1", "clk_ext2", 564a05ea40eSJacky Bai "clk_ext3", "clk_ext4"; 5659e6337e6SPeng Fan assigned-clocks = <&clk IMX8MM_CLK_A53_SRC>, 5669e6337e6SPeng Fan <&clk IMX8MM_CLK_A53_CORE>, 5679e6337e6SPeng Fan <&clk IMX8MM_CLK_NOC>, 5686b392e16SAbel Vesa <&clk IMX8MM_CLK_AUDIO_AHB>, 5696b392e16SAbel Vesa <&clk IMX8MM_CLK_IPG_AUDIO_ROOT>, 5706b392e16SAbel Vesa <&clk IMX8MM_SYS_PLL3>, 571e8b395b2SS.j. Wang <&clk IMX8MM_VIDEO_PLL1>, 572e8b395b2SS.j. Wang <&clk IMX8MM_AUDIO_PLL1>, 573e8b395b2SS.j. Wang <&clk IMX8MM_AUDIO_PLL2>; 5749e6337e6SPeng Fan assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_800M>, 5759e6337e6SPeng Fan <&clk IMX8MM_ARM_PLL_OUT>, 5769e6337e6SPeng Fan <&clk IMX8MM_SYS_PLL3_OUT>, 5776b392e16SAbel Vesa <&clk IMX8MM_SYS_PLL1_800M>; 5789e6337e6SPeng Fan assigned-clock-rates = <0>, <0>, <0>, 5796b392e16SAbel Vesa <400000000>, 5806b392e16SAbel Vesa <400000000>, 5816b392e16SAbel Vesa <750000000>, 582e8b395b2SS.j. Wang <594000000>, 583e8b395b2SS.j. Wang <393216000>, 584e8b395b2SS.j. Wang <361267200>; 585a05ea40eSJacky Bai }; 586a05ea40eSJacky Bai 587a05ea40eSJacky Bai src: reset-controller@30390000 { 58846b29f4bSAnson Huang compatible = "fsl,imx8mm-src", "fsl,imx8mq-src", "syscon"; 589a05ea40eSJacky Bai reg = <0x30390000 0x10000>; 590a05ea40eSJacky Bai interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; 591a05ea40eSJacky Bai #reset-cells = <1>; 592a05ea40eSJacky Bai }; 593a05ea40eSJacky Bai }; 594a05ea40eSJacky Bai 595a05ea40eSJacky Bai aips2: bus@30400000 { 596dc3efc6fSPeng Fan compatible = "fsl,aips-bus", "simple-bus"; 597921a6845SFabio Estevam reg = <0x30400000 0x400000>; 598a05ea40eSJacky Bai #address-cells = <1>; 599a05ea40eSJacky Bai #size-cells = <1>; 60010c74207SFabio Estevam ranges = <0x30400000 0x30400000 0x400000>; 601a05ea40eSJacky Bai 602a05ea40eSJacky Bai pwm1: pwm@30660000 { 603a05ea40eSJacky Bai compatible = "fsl,imx8mm-pwm", "fsl,imx27-pwm"; 604a05ea40eSJacky Bai reg = <0x30660000 0x10000>; 605a05ea40eSJacky Bai interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>; 606a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_PWM1_ROOT>, 607a05ea40eSJacky Bai <&clk IMX8MM_CLK_PWM1_ROOT>; 608a05ea40eSJacky Bai clock-names = "ipg", "per"; 609a05ea40eSJacky Bai #pwm-cells = <2>; 610a05ea40eSJacky Bai status = "disabled"; 611a05ea40eSJacky Bai }; 612a05ea40eSJacky Bai 613a05ea40eSJacky Bai pwm2: pwm@30670000 { 614a05ea40eSJacky Bai compatible = "fsl,imx8mm-pwm", "fsl,imx27-pwm"; 615a05ea40eSJacky Bai reg = <0x30670000 0x10000>; 616a05ea40eSJacky Bai interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; 617a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_PWM2_ROOT>, 618a05ea40eSJacky Bai <&clk IMX8MM_CLK_PWM2_ROOT>; 619a05ea40eSJacky Bai clock-names = "ipg", "per"; 620a05ea40eSJacky Bai #pwm-cells = <2>; 621a05ea40eSJacky Bai status = "disabled"; 622a05ea40eSJacky Bai }; 623a05ea40eSJacky Bai 624a05ea40eSJacky Bai pwm3: pwm@30680000 { 625a05ea40eSJacky Bai compatible = "fsl,imx8mm-pwm", "fsl,imx27-pwm"; 626a05ea40eSJacky Bai reg = <0x30680000 0x10000>; 627a05ea40eSJacky Bai interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; 628a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_PWM3_ROOT>, 629a05ea40eSJacky Bai <&clk IMX8MM_CLK_PWM3_ROOT>; 630a05ea40eSJacky Bai clock-names = "ipg", "per"; 631a05ea40eSJacky Bai #pwm-cells = <2>; 632a05ea40eSJacky Bai status = "disabled"; 633a05ea40eSJacky Bai }; 634a05ea40eSJacky Bai 635a05ea40eSJacky Bai pwm4: pwm@30690000 { 636a05ea40eSJacky Bai compatible = "fsl,imx8mm-pwm", "fsl,imx27-pwm"; 637a05ea40eSJacky Bai reg = <0x30690000 0x10000>; 638a05ea40eSJacky Bai interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; 639a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_PWM4_ROOT>, 640a05ea40eSJacky Bai <&clk IMX8MM_CLK_PWM4_ROOT>; 641a05ea40eSJacky Bai clock-names = "ipg", "per"; 642a05ea40eSJacky Bai #pwm-cells = <2>; 643a05ea40eSJacky Bai status = "disabled"; 644a05ea40eSJacky Bai }; 6455b0221bfSAnson Huang 6465b0221bfSAnson Huang system_counter: timer@306a0000 { 6475b0221bfSAnson Huang compatible = "nxp,sysctr-timer"; 6485b0221bfSAnson Huang reg = <0x306a0000 0x20000>; 6495b0221bfSAnson Huang interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>; 6505b0221bfSAnson Huang clocks = <&osc_24m>; 6515b0221bfSAnson Huang clock-names = "per"; 6525b0221bfSAnson Huang }; 653a05ea40eSJacky Bai }; 654a05ea40eSJacky Bai 655a05ea40eSJacky Bai aips3: bus@30800000 { 656dc3efc6fSPeng Fan compatible = "fsl,aips-bus", "simple-bus"; 657921a6845SFabio Estevam reg = <0x30800000 0x400000>; 658a05ea40eSJacky Bai #address-cells = <1>; 659a05ea40eSJacky Bai #size-cells = <1>; 660f0692bb8SAdam Ford ranges = <0x30800000 0x30800000 0x400000>, 661f0692bb8SAdam Ford <0x8000000 0x8000000 0x10000000>; 662a05ea40eSJacky Bai 663a05ea40eSJacky Bai ecspi1: spi@30820000 { 664a05ea40eSJacky Bai compatible = "fsl,imx8mm-ecspi", "fsl,imx51-ecspi"; 665a05ea40eSJacky Bai #address-cells = <1>; 666a05ea40eSJacky Bai #size-cells = <0>; 667a05ea40eSJacky Bai reg = <0x30820000 0x10000>; 668a05ea40eSJacky Bai interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; 669a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_ECSPI1_ROOT>, 670a05ea40eSJacky Bai <&clk IMX8MM_CLK_ECSPI1_ROOT>; 671a05ea40eSJacky Bai clock-names = "ipg", "per"; 672a05ea40eSJacky Bai dmas = <&sdma1 0 7 1>, <&sdma1 1 7 2>; 673a05ea40eSJacky Bai dma-names = "rx", "tx"; 674a05ea40eSJacky Bai status = "disabled"; 675a05ea40eSJacky Bai }; 676a05ea40eSJacky Bai 677a05ea40eSJacky Bai ecspi2: spi@30830000 { 678a05ea40eSJacky Bai compatible = "fsl,imx8mm-ecspi", "fsl,imx51-ecspi"; 679a05ea40eSJacky Bai #address-cells = <1>; 680a05ea40eSJacky Bai #size-cells = <0>; 681a05ea40eSJacky Bai reg = <0x30830000 0x10000>; 682a05ea40eSJacky Bai interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; 683a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_ECSPI2_ROOT>, 684a05ea40eSJacky Bai <&clk IMX8MM_CLK_ECSPI2_ROOT>; 685a05ea40eSJacky Bai clock-names = "ipg", "per"; 686a05ea40eSJacky Bai dmas = <&sdma1 2 7 1>, <&sdma1 3 7 2>; 687a05ea40eSJacky Bai dma-names = "rx", "tx"; 688a05ea40eSJacky Bai status = "disabled"; 689a05ea40eSJacky Bai }; 690a05ea40eSJacky Bai 691a05ea40eSJacky Bai ecspi3: spi@30840000 { 692a05ea40eSJacky Bai compatible = "fsl,imx8mm-ecspi", "fsl,imx51-ecspi"; 693a05ea40eSJacky Bai #address-cells = <1>; 694a05ea40eSJacky Bai #size-cells = <0>; 695a05ea40eSJacky Bai reg = <0x30840000 0x10000>; 696a05ea40eSJacky Bai interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; 697a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_ECSPI3_ROOT>, 698a05ea40eSJacky Bai <&clk IMX8MM_CLK_ECSPI3_ROOT>; 699a05ea40eSJacky Bai clock-names = "ipg", "per"; 700a05ea40eSJacky Bai dmas = <&sdma1 4 7 1>, <&sdma1 5 7 2>; 701a05ea40eSJacky Bai dma-names = "rx", "tx"; 702a05ea40eSJacky Bai status = "disabled"; 703a05ea40eSJacky Bai }; 704a05ea40eSJacky Bai 705a05ea40eSJacky Bai uart1: serial@30860000 { 706a05ea40eSJacky Bai compatible = "fsl,imx8mm-uart", "fsl,imx6q-uart"; 707a05ea40eSJacky Bai reg = <0x30860000 0x10000>; 708a05ea40eSJacky Bai interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; 709a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_UART1_ROOT>, 710a05ea40eSJacky Bai <&clk IMX8MM_CLK_UART1_ROOT>; 711a05ea40eSJacky Bai clock-names = "ipg", "per"; 712a05ea40eSJacky Bai dmas = <&sdma1 22 4 0>, <&sdma1 23 4 0>; 713a05ea40eSJacky Bai dma-names = "rx", "tx"; 714a05ea40eSJacky Bai status = "disabled"; 715a05ea40eSJacky Bai }; 716a05ea40eSJacky Bai 717a05ea40eSJacky Bai uart3: serial@30880000 { 718a05ea40eSJacky Bai compatible = "fsl,imx8mm-uart", "fsl,imx6q-uart"; 719a05ea40eSJacky Bai reg = <0x30880000 0x10000>; 720a05ea40eSJacky Bai interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; 721a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_UART3_ROOT>, 722a05ea40eSJacky Bai <&clk IMX8MM_CLK_UART3_ROOT>; 723a05ea40eSJacky Bai clock-names = "ipg", "per"; 724a05ea40eSJacky Bai dmas = <&sdma1 26 4 0>, <&sdma1 27 4 0>; 725a05ea40eSJacky Bai dma-names = "rx", "tx"; 726a05ea40eSJacky Bai status = "disabled"; 727a05ea40eSJacky Bai }; 728a05ea40eSJacky Bai 729a05ea40eSJacky Bai uart2: serial@30890000 { 730a05ea40eSJacky Bai compatible = "fsl,imx8mm-uart", "fsl,imx6q-uart"; 731a05ea40eSJacky Bai reg = <0x30890000 0x10000>; 732a05ea40eSJacky Bai interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>; 733a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_UART2_ROOT>, 734a05ea40eSJacky Bai <&clk IMX8MM_CLK_UART2_ROOT>; 735a05ea40eSJacky Bai clock-names = "ipg", "per"; 736a05ea40eSJacky Bai status = "disabled"; 737a05ea40eSJacky Bai }; 738a05ea40eSJacky Bai 739bff5b972SAdam Ford crypto: crypto@30900000 { 740bff5b972SAdam Ford compatible = "fsl,sec-v4.0"; 741bff5b972SAdam Ford #address-cells = <1>; 742bff5b972SAdam Ford #size-cells = <1>; 743bff5b972SAdam Ford reg = <0x30900000 0x40000>; 744bff5b972SAdam Ford ranges = <0 0x30900000 0x40000>; 745bff5b972SAdam Ford interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>; 746bff5b972SAdam Ford clocks = <&clk IMX8MM_CLK_AHB>, 747bff5b972SAdam Ford <&clk IMX8MM_CLK_IPG_ROOT>; 748bff5b972SAdam Ford clock-names = "aclk", "ipg"; 749bff5b972SAdam Ford 750bff5b972SAdam Ford sec_jr0: jr@1000 { 751bff5b972SAdam Ford compatible = "fsl,sec-v4.0-job-ring"; 752bff5b972SAdam Ford reg = <0x1000 0x1000>; 753bff5b972SAdam Ford interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>; 754bff5b972SAdam Ford }; 755bff5b972SAdam Ford 756bff5b972SAdam Ford sec_jr1: jr@2000 { 757bff5b972SAdam Ford compatible = "fsl,sec-v4.0-job-ring"; 758bff5b972SAdam Ford reg = <0x2000 0x1000>; 759bff5b972SAdam Ford interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>; 760bff5b972SAdam Ford }; 761bff5b972SAdam Ford 762bff5b972SAdam Ford sec_jr2: jr@3000 { 763bff5b972SAdam Ford compatible = "fsl,sec-v4.0-job-ring"; 764bff5b972SAdam Ford reg = <0x3000 0x1000>; 765bff5b972SAdam Ford interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>; 766bff5b972SAdam Ford }; 767bff5b972SAdam Ford }; 768bff5b972SAdam Ford 769a05ea40eSJacky Bai i2c1: i2c@30a20000 { 770a05ea40eSJacky Bai compatible = "fsl,imx8mm-i2c", "fsl,imx21-i2c"; 771a05ea40eSJacky Bai #address-cells = <1>; 772a05ea40eSJacky Bai #size-cells = <0>; 773a05ea40eSJacky Bai reg = <0x30a20000 0x10000>; 774a05ea40eSJacky Bai interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; 775a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_I2C1_ROOT>; 776a05ea40eSJacky Bai status = "disabled"; 777a05ea40eSJacky Bai }; 778a05ea40eSJacky Bai 779a05ea40eSJacky Bai i2c2: i2c@30a30000 { 780a05ea40eSJacky Bai compatible = "fsl,imx8mm-i2c", "fsl,imx21-i2c"; 781a05ea40eSJacky Bai #address-cells = <1>; 782a05ea40eSJacky Bai #size-cells = <0>; 783a05ea40eSJacky Bai reg = <0x30a30000 0x10000>; 784a05ea40eSJacky Bai interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; 785a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_I2C2_ROOT>; 786a05ea40eSJacky Bai status = "disabled"; 787a05ea40eSJacky Bai }; 788a05ea40eSJacky Bai 789a05ea40eSJacky Bai i2c3: i2c@30a40000 { 790a05ea40eSJacky Bai #address-cells = <1>; 791a05ea40eSJacky Bai #size-cells = <0>; 792a05ea40eSJacky Bai compatible = "fsl,imx8mm-i2c", "fsl,imx21-i2c"; 793a05ea40eSJacky Bai reg = <0x30a40000 0x10000>; 794a05ea40eSJacky Bai interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; 795a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_I2C3_ROOT>; 796a05ea40eSJacky Bai status = "disabled"; 797a05ea40eSJacky Bai }; 798a05ea40eSJacky Bai 799a05ea40eSJacky Bai i2c4: i2c@30a50000 { 800a05ea40eSJacky Bai compatible = "fsl,imx8mm-i2c", "fsl,imx21-i2c"; 801a05ea40eSJacky Bai #address-cells = <1>; 802a05ea40eSJacky Bai #size-cells = <0>; 803a05ea40eSJacky Bai reg = <0x30a50000 0x10000>; 804a05ea40eSJacky Bai interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; 805a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_I2C4_ROOT>; 806a05ea40eSJacky Bai status = "disabled"; 807a05ea40eSJacky Bai }; 808a05ea40eSJacky Bai 809a05ea40eSJacky Bai uart4: serial@30a60000 { 810a05ea40eSJacky Bai compatible = "fsl,imx8mm-uart", "fsl,imx6q-uart"; 811a05ea40eSJacky Bai reg = <0x30a60000 0x10000>; 812a05ea40eSJacky Bai interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; 813a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_UART4_ROOT>, 814a05ea40eSJacky Bai <&clk IMX8MM_CLK_UART4_ROOT>; 815a05ea40eSJacky Bai clock-names = "ipg", "per"; 816a05ea40eSJacky Bai dmas = <&sdma1 28 4 0>, <&sdma1 29 4 0>; 817a05ea40eSJacky Bai dma-names = "rx", "tx"; 818a05ea40eSJacky Bai status = "disabled"; 819a05ea40eSJacky Bai }; 820a05ea40eSJacky Bai 821bbfc59beSPeng Fan mu: mailbox@30aa0000 { 822bbfc59beSPeng Fan compatible = "fsl,imx8mm-mu", "fsl,imx6sx-mu"; 823bbfc59beSPeng Fan reg = <0x30aa0000 0x10000>; 824bbfc59beSPeng Fan interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>; 825bbfc59beSPeng Fan clocks = <&clk IMX8MM_CLK_MU_ROOT>; 826bbfc59beSPeng Fan #mbox-cells = <2>; 827bbfc59beSPeng Fan }; 828bbfc59beSPeng Fan 829a05ea40eSJacky Bai usdhc1: mmc@30b40000 { 830a05ea40eSJacky Bai compatible = "fsl,imx8mm-usdhc", "fsl,imx7d-usdhc"; 831a05ea40eSJacky Bai reg = <0x30b40000 0x10000>; 832a05ea40eSJacky Bai interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; 833a6a40d56SAnson Huang clocks = <&clk IMX8MM_CLK_IPG_ROOT>, 834a05ea40eSJacky Bai <&clk IMX8MM_CLK_NAND_USDHC_BUS>, 835a05ea40eSJacky Bai <&clk IMX8MM_CLK_USDHC1_ROOT>; 836a05ea40eSJacky Bai clock-names = "ipg", "ahb", "per"; 837a05ea40eSJacky Bai fsl,tuning-start-tap = <20>; 838a05ea40eSJacky Bai fsl,tuning-step= <2>; 839a05ea40eSJacky Bai bus-width = <4>; 840a05ea40eSJacky Bai status = "disabled"; 841a05ea40eSJacky Bai }; 842a05ea40eSJacky Bai 843a05ea40eSJacky Bai usdhc2: mmc@30b50000 { 844a05ea40eSJacky Bai compatible = "fsl,imx8mm-usdhc", "fsl,imx7d-usdhc"; 845a05ea40eSJacky Bai reg = <0x30b50000 0x10000>; 846a05ea40eSJacky Bai interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; 847a6a40d56SAnson Huang clocks = <&clk IMX8MM_CLK_IPG_ROOT>, 848a05ea40eSJacky Bai <&clk IMX8MM_CLK_NAND_USDHC_BUS>, 849a05ea40eSJacky Bai <&clk IMX8MM_CLK_USDHC2_ROOT>; 850a05ea40eSJacky Bai clock-names = "ipg", "ahb", "per"; 851a05ea40eSJacky Bai fsl,tuning-start-tap = <20>; 852a05ea40eSJacky Bai fsl,tuning-step= <2>; 853a05ea40eSJacky Bai bus-width = <4>; 854a05ea40eSJacky Bai status = "disabled"; 855a05ea40eSJacky Bai }; 856a05ea40eSJacky Bai 857a05ea40eSJacky Bai usdhc3: mmc@30b60000 { 858a05ea40eSJacky Bai compatible = "fsl,imx8mm-usdhc", "fsl,imx7d-usdhc"; 859a05ea40eSJacky Bai reg = <0x30b60000 0x10000>; 860a05ea40eSJacky Bai interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>; 861a6a40d56SAnson Huang clocks = <&clk IMX8MM_CLK_IPG_ROOT>, 862a05ea40eSJacky Bai <&clk IMX8MM_CLK_NAND_USDHC_BUS>, 863a05ea40eSJacky Bai <&clk IMX8MM_CLK_USDHC3_ROOT>; 864a05ea40eSJacky Bai clock-names = "ipg", "ahb", "per"; 865a05ea40eSJacky Bai fsl,tuning-start-tap = <20>; 866a05ea40eSJacky Bai fsl,tuning-step= <2>; 867a05ea40eSJacky Bai bus-width = <4>; 868a05ea40eSJacky Bai status = "disabled"; 869a05ea40eSJacky Bai }; 870a05ea40eSJacky Bai 871f0692bb8SAdam Ford flexspi: spi@30bb0000 { 872f0692bb8SAdam Ford #address-cells = <1>; 873f0692bb8SAdam Ford #size-cells = <0>; 874f0692bb8SAdam Ford compatible = "nxp,imx8mm-fspi"; 875f0692bb8SAdam Ford reg = <0x30bb0000 0x10000>, <0x8000000 0x10000000>; 876f0692bb8SAdam Ford reg-names = "fspi_base", "fspi_mmap"; 877f0692bb8SAdam Ford interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>; 878f0692bb8SAdam Ford clocks = <&clk IMX8MM_CLK_QSPI_ROOT>, 879f0692bb8SAdam Ford <&clk IMX8MM_CLK_QSPI_ROOT>; 880f0692bb8SAdam Ford clock-names = "fspi", "fspi_en"; 881f0692bb8SAdam Ford status = "disabled"; 882f0692bb8SAdam Ford }; 883f0692bb8SAdam Ford 884a05ea40eSJacky Bai sdma1: dma-controller@30bd0000 { 885e346ff93SShengjiu Wang compatible = "fsl,imx8mm-sdma", "fsl,imx8mq-sdma"; 886a05ea40eSJacky Bai reg = <0x30bd0000 0x10000>; 887a05ea40eSJacky Bai interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; 888a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_SDMA1_ROOT>, 88924a572bfSAdam Ford <&clk IMX8MM_CLK_AHB>; 890a05ea40eSJacky Bai clock-names = "ipg", "ahb"; 891a05ea40eSJacky Bai #dma-cells = <3>; 892a05ea40eSJacky Bai fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin"; 893a05ea40eSJacky Bai }; 894a05ea40eSJacky Bai 895a05ea40eSJacky Bai fec1: ethernet@30be0000 { 896a05ea40eSJacky Bai compatible = "fsl,imx8mm-fec", "fsl,imx6sx-fec"; 897a05ea40eSJacky Bai reg = <0x30be0000 0x10000>; 898a05ea40eSJacky Bai interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, 899a05ea40eSJacky Bai <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>, 900d3762a47SFabio Estevam <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>, 901d3762a47SFabio Estevam <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>; 902a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_ENET1_ROOT>, 903a05ea40eSJacky Bai <&clk IMX8MM_CLK_ENET1_ROOT>, 904a05ea40eSJacky Bai <&clk IMX8MM_CLK_ENET_TIMER>, 905a05ea40eSJacky Bai <&clk IMX8MM_CLK_ENET_REF>, 906a05ea40eSJacky Bai <&clk IMX8MM_CLK_ENET_PHY_REF>; 907a05ea40eSJacky Bai clock-names = "ipg", "ahb", "ptp", 908a05ea40eSJacky Bai "enet_clk_ref", "enet_out"; 909a05ea40eSJacky Bai assigned-clocks = <&clk IMX8MM_CLK_ENET_AXI>, 910a05ea40eSJacky Bai <&clk IMX8MM_CLK_ENET_TIMER>, 911a05ea40eSJacky Bai <&clk IMX8MM_CLK_ENET_REF>, 912a05ea40eSJacky Bai <&clk IMX8MM_CLK_ENET_TIMER>; 913a05ea40eSJacky Bai assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_266M>, 914a05ea40eSJacky Bai <&clk IMX8MM_SYS_PLL2_100M>, 915a05ea40eSJacky Bai <&clk IMX8MM_SYS_PLL2_125M>; 916a05ea40eSJacky Bai assigned-clock-rates = <0>, <0>, <125000000>, <100000000>; 917a05ea40eSJacky Bai fsl,num-tx-queues = <3>; 918a05ea40eSJacky Bai fsl,num-rx-queues = <3>; 919a05ea40eSJacky Bai status = "disabled"; 920a05ea40eSJacky Bai }; 921a05ea40eSJacky Bai 922a05ea40eSJacky Bai }; 923a05ea40eSJacky Bai 924a05ea40eSJacky Bai aips4: bus@32c00000 { 925dc3efc6fSPeng Fan compatible = "fsl,aips-bus", "simple-bus"; 926921a6845SFabio Estevam reg = <0x32c00000 0x400000>; 927a05ea40eSJacky Bai #address-cells = <1>; 928a05ea40eSJacky Bai #size-cells = <1>; 92910c74207SFabio Estevam ranges = <0x32c00000 0x32c00000 0x400000>; 930a05ea40eSJacky Bai 931a05ea40eSJacky Bai usbotg1: usb@32e40000 { 932a05ea40eSJacky Bai compatible = "fsl,imx8mm-usb", "fsl,imx7d-usb"; 933a05ea40eSJacky Bai reg = <0x32e40000 0x200>; 934a05ea40eSJacky Bai interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; 935a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_USB1_CTRL_ROOT>; 936a05ea40eSJacky Bai clock-names = "usb1_ctrl_root_clk"; 9378b01840eSLi Jun assigned-clocks = <&clk IMX8MM_CLK_USB_BUS>; 9388b01840eSLi Jun assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_500M>; 939a05ea40eSJacky Bai fsl,usbphy = <&usbphynop1>; 940a05ea40eSJacky Bai fsl,usbmisc = <&usbmisc1 0>; 941a05ea40eSJacky Bai status = "disabled"; 942a05ea40eSJacky Bai }; 943a05ea40eSJacky Bai 944a05ea40eSJacky Bai usbmisc1: usbmisc@32e40200 { 945a05ea40eSJacky Bai compatible = "fsl,imx8mm-usbmisc", "fsl,imx7d-usbmisc"; 946a05ea40eSJacky Bai #index-cells = <1>; 947a05ea40eSJacky Bai reg = <0x32e40200 0x200>; 948a05ea40eSJacky Bai }; 949a05ea40eSJacky Bai 950a05ea40eSJacky Bai usbotg2: usb@32e50000 { 951a05ea40eSJacky Bai compatible = "fsl,imx8mm-usb", "fsl,imx7d-usb"; 952a05ea40eSJacky Bai reg = <0x32e50000 0x200>; 953a05ea40eSJacky Bai interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; 954a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_USB1_CTRL_ROOT>; 955a05ea40eSJacky Bai clock-names = "usb1_ctrl_root_clk"; 9568b01840eSLi Jun assigned-clocks = <&clk IMX8MM_CLK_USB_BUS>; 9578b01840eSLi Jun assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_500M>; 958a05ea40eSJacky Bai fsl,usbphy = <&usbphynop2>; 959a05ea40eSJacky Bai fsl,usbmisc = <&usbmisc2 0>; 960a05ea40eSJacky Bai status = "disabled"; 961a05ea40eSJacky Bai }; 962a05ea40eSJacky Bai 963a05ea40eSJacky Bai usbmisc2: usbmisc@32e50200 { 964a05ea40eSJacky Bai compatible = "fsl,imx8mm-usbmisc", "fsl,imx7d-usbmisc"; 965a05ea40eSJacky Bai #index-cells = <1>; 966a05ea40eSJacky Bai reg = <0x32e50200 0x200>; 967a05ea40eSJacky Bai }; 968a05ea40eSJacky Bai 969a05ea40eSJacky Bai }; 970a05ea40eSJacky Bai 971a05ea40eSJacky Bai dma_apbh: dma-controller@33000000 { 972a05ea40eSJacky Bai compatible = "fsl,imx7d-dma-apbh", "fsl,imx28-dma-apbh"; 973a05ea40eSJacky Bai reg = <0x33000000 0x2000>; 974a05ea40eSJacky Bai interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>, 975a05ea40eSJacky Bai <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>, 976a05ea40eSJacky Bai <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>, 977a05ea40eSJacky Bai <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; 978a05ea40eSJacky Bai interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3"; 979a05ea40eSJacky Bai #dma-cells = <1>; 980a05ea40eSJacky Bai dma-channels = <4>; 981a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_NAND_USDHC_BUS_RAWNAND_CLK>; 982a05ea40eSJacky Bai }; 983a05ea40eSJacky Bai 984a05ea40eSJacky Bai gpmi: nand-controller@33002000{ 985a05ea40eSJacky Bai compatible = "fsl,imx8mm-gpmi-nand", "fsl,imx7d-gpmi-nand"; 986a05ea40eSJacky Bai #address-cells = <1>; 987a05ea40eSJacky Bai #size-cells = <1>; 988a05ea40eSJacky Bai reg = <0x33002000 0x2000>, <0x33004000 0x4000>; 989a05ea40eSJacky Bai reg-names = "gpmi-nand", "bch"; 990a05ea40eSJacky Bai interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; 991a05ea40eSJacky Bai interrupt-names = "bch"; 992a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_NAND_ROOT>, 993a05ea40eSJacky Bai <&clk IMX8MM_CLK_NAND_USDHC_BUS_RAWNAND_CLK>; 994a05ea40eSJacky Bai clock-names = "gpmi_io", "gpmi_bch_apb"; 995a05ea40eSJacky Bai dmas = <&dma_apbh 0>; 996a05ea40eSJacky Bai dma-names = "rx-tx"; 997a05ea40eSJacky Bai status = "disabled"; 998a05ea40eSJacky Bai }; 999b4e3e54aSAnson Huang 1000b4e3e54aSAnson Huang gic: interrupt-controller@38800000 { 1001b4e3e54aSAnson Huang compatible = "arm,gic-v3"; 1002b4e3e54aSAnson Huang reg = <0x38800000 0x10000>, /* GIC Dist */ 1003b4e3e54aSAnson Huang <0x38880000 0xc0000>; /* GICR (RD_base + SGI_base) */ 1004b4e3e54aSAnson Huang #interrupt-cells = <3>; 1005b4e3e54aSAnson Huang interrupt-controller; 1006b4e3e54aSAnson Huang interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; 1007b4e3e54aSAnson Huang }; 10081efe85c9SLeonard Crestez 10090376f6ecSLeonard Crestez ddrc: memory-controller@3d400000 { 10100376f6ecSLeonard Crestez compatible = "fsl,imx8mm-ddrc", "fsl,imx8m-ddrc"; 10110376f6ecSLeonard Crestez reg = <0x3d400000 0x400000>; 10120376f6ecSLeonard Crestez clock-names = "core", "pll", "alt", "apb"; 10130376f6ecSLeonard Crestez clocks = <&clk IMX8MM_CLK_DRAM_CORE>, 10140376f6ecSLeonard Crestez <&clk IMX8MM_DRAM_PLL>, 10150376f6ecSLeonard Crestez <&clk IMX8MM_CLK_DRAM_ALT>, 10160376f6ecSLeonard Crestez <&clk IMX8MM_CLK_DRAM_APB>; 10170376f6ecSLeonard Crestez }; 10180376f6ecSLeonard Crestez 10191efe85c9SLeonard Crestez ddr-pmu@3d800000 { 10201efe85c9SLeonard Crestez compatible = "fsl,imx8mm-ddr-pmu", "fsl,imx8m-ddr-pmu"; 10211efe85c9SLeonard Crestez reg = <0x3d800000 0x400000>; 10221efe85c9SLeonard Crestez interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>; 10231efe85c9SLeonard Crestez }; 1024a05ea40eSJacky Bai }; 1025a05ea40eSJacky Bai}; 1026