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> 10d39d4bb1SLucas Stach#include <dt-bindings/power/imx8mm-power.h> 11d39d4bb1SLucas Stach#include <dt-bindings/reset/imx8mq-reset.h> 12a05ea40eSJacky Bai#include <dt-bindings/thermal/thermal.h> 13a05ea40eSJacky Bai 14a05ea40eSJacky Bai#include "imx8mm-pinfunc.h" 15a05ea40eSJacky Bai 16a05ea40eSJacky Bai/ { 17a05ea40eSJacky Bai interrupt-parent = <&gic>; 18a05ea40eSJacky Bai #address-cells = <2>; 19a05ea40eSJacky Bai #size-cells = <2>; 20a05ea40eSJacky Bai 21a05ea40eSJacky Bai aliases { 22a05ea40eSJacky Bai ethernet0 = &fec1; 2383ae2848SPeng Fan gpio0 = &gpio1; 2483ae2848SPeng Fan gpio1 = &gpio2; 2583ae2848SPeng Fan gpio2 = &gpio3; 2683ae2848SPeng Fan gpio3 = &gpio4; 2783ae2848SPeng Fan gpio4 = &gpio5; 28a05ea40eSJacky Bai i2c0 = &i2c1; 29a05ea40eSJacky Bai i2c1 = &i2c2; 30a05ea40eSJacky Bai i2c2 = &i2c3; 31a05ea40eSJacky Bai i2c3 = &i2c4; 3283ae2848SPeng Fan mmc0 = &usdhc1; 3383ae2848SPeng Fan mmc1 = &usdhc2; 3483ae2848SPeng Fan mmc2 = &usdhc3; 35a05ea40eSJacky Bai serial0 = &uart1; 36a05ea40eSJacky Bai serial1 = &uart2; 37a05ea40eSJacky Bai serial2 = &uart3; 38a05ea40eSJacky Bai serial3 = &uart4; 39a05ea40eSJacky Bai spi0 = &ecspi1; 40a05ea40eSJacky Bai spi1 = &ecspi2; 41a05ea40eSJacky Bai spi2 = &ecspi3; 42a05ea40eSJacky Bai }; 43a05ea40eSJacky Bai 44a05ea40eSJacky Bai cpus { 45a05ea40eSJacky Bai #address-cells = <1>; 46a05ea40eSJacky Bai #size-cells = <0>; 47a05ea40eSJacky Bai 48a1406b72SAnson Huang idle-states { 49a1406b72SAnson Huang entry-method = "psci"; 50a1406b72SAnson Huang 51a1406b72SAnson Huang cpu_pd_wait: cpu-pd-wait { 52a1406b72SAnson Huang compatible = "arm,idle-state"; 53a1406b72SAnson Huang arm,psci-suspend-param = <0x0010033>; 54a1406b72SAnson Huang local-timer-stop; 55a1406b72SAnson Huang entry-latency-us = <1000>; 56a1406b72SAnson Huang exit-latency-us = <700>; 57a1406b72SAnson Huang min-residency-us = <2700>; 58a1406b72SAnson Huang }; 59a1406b72SAnson Huang }; 60a1406b72SAnson Huang 61a05ea40eSJacky Bai A53_0: cpu@0 { 62a05ea40eSJacky Bai device_type = "cpu"; 63a05ea40eSJacky Bai compatible = "arm,cortex-a53"; 64a05ea40eSJacky Bai reg = <0x0>; 65e85c9d0fSLeonard Crestez clock-latency = <61036>; /* two CLK32 periods */ 66e85c9d0fSLeonard Crestez clocks = <&clk IMX8MM_CLK_ARM>; 67a05ea40eSJacky Bai enable-method = "psci"; 68a05ea40eSJacky Bai next-level-cache = <&A53_L2>; 69e85c9d0fSLeonard Crestez operating-points-v2 = <&a53_opp_table>; 70f403a26cSLeonard Crestez nvmem-cells = <&cpu_speed_grade>; 71f403a26cSLeonard Crestez nvmem-cell-names = "speed_grade"; 72a1406b72SAnson Huang cpu-idle-states = <&cpu_pd_wait>; 7311699fd5SAnson Huang #cooling-cells = <2>; 74a05ea40eSJacky Bai }; 75a05ea40eSJacky Bai 76a05ea40eSJacky Bai A53_1: cpu@1 { 77a05ea40eSJacky Bai device_type = "cpu"; 78a05ea40eSJacky Bai compatible = "arm,cortex-a53"; 79a05ea40eSJacky Bai reg = <0x1>; 80e85c9d0fSLeonard Crestez clock-latency = <61036>; /* two CLK32 periods */ 81e85c9d0fSLeonard Crestez clocks = <&clk IMX8MM_CLK_ARM>; 82a05ea40eSJacky Bai enable-method = "psci"; 83a05ea40eSJacky Bai next-level-cache = <&A53_L2>; 84e85c9d0fSLeonard Crestez operating-points-v2 = <&a53_opp_table>; 85a1406b72SAnson Huang cpu-idle-states = <&cpu_pd_wait>; 8611699fd5SAnson Huang #cooling-cells = <2>; 87a05ea40eSJacky Bai }; 88a05ea40eSJacky Bai 89a05ea40eSJacky Bai A53_2: cpu@2 { 90a05ea40eSJacky Bai device_type = "cpu"; 91a05ea40eSJacky Bai compatible = "arm,cortex-a53"; 92a05ea40eSJacky Bai reg = <0x2>; 93e85c9d0fSLeonard Crestez clock-latency = <61036>; /* two CLK32 periods */ 94e85c9d0fSLeonard Crestez clocks = <&clk IMX8MM_CLK_ARM>; 95a05ea40eSJacky Bai enable-method = "psci"; 96a05ea40eSJacky Bai next-level-cache = <&A53_L2>; 97e85c9d0fSLeonard Crestez operating-points-v2 = <&a53_opp_table>; 98a1406b72SAnson Huang cpu-idle-states = <&cpu_pd_wait>; 9911699fd5SAnson Huang #cooling-cells = <2>; 100a05ea40eSJacky Bai }; 101a05ea40eSJacky Bai 102a05ea40eSJacky Bai A53_3: cpu@3 { 103a05ea40eSJacky Bai device_type = "cpu"; 104a05ea40eSJacky Bai compatible = "arm,cortex-a53"; 105a05ea40eSJacky Bai reg = <0x3>; 106e85c9d0fSLeonard Crestez clock-latency = <61036>; /* two CLK32 periods */ 107e85c9d0fSLeonard Crestez clocks = <&clk IMX8MM_CLK_ARM>; 108a05ea40eSJacky Bai enable-method = "psci"; 109a05ea40eSJacky Bai next-level-cache = <&A53_L2>; 110e85c9d0fSLeonard Crestez operating-points-v2 = <&a53_opp_table>; 111a1406b72SAnson Huang cpu-idle-states = <&cpu_pd_wait>; 11211699fd5SAnson Huang #cooling-cells = <2>; 113a05ea40eSJacky Bai }; 114a05ea40eSJacky Bai 115a05ea40eSJacky Bai A53_L2: l2-cache0 { 116a05ea40eSJacky Bai compatible = "cache"; 117a05ea40eSJacky Bai }; 118a05ea40eSJacky Bai }; 119a05ea40eSJacky Bai 120e85c9d0fSLeonard Crestez a53_opp_table: opp-table { 121e85c9d0fSLeonard Crestez compatible = "operating-points-v2"; 122e85c9d0fSLeonard Crestez opp-shared; 123e85c9d0fSLeonard Crestez 124e85c9d0fSLeonard Crestez opp-1200000000 { 125e85c9d0fSLeonard Crestez opp-hz = /bits/ 64 <1200000000>; 126e85c9d0fSLeonard Crestez opp-microvolt = <850000>; 127f403a26cSLeonard Crestez opp-supported-hw = <0xe>, <0x7>; 128e85c9d0fSLeonard Crestez clock-latency-ns = <150000>; 1290d9df581SAnson Huang opp-suspend; 130e85c9d0fSLeonard Crestez }; 131e85c9d0fSLeonard Crestez 132e85c9d0fSLeonard Crestez opp-1600000000 { 133e85c9d0fSLeonard Crestez opp-hz = /bits/ 64 <1600000000>; 134d19d2152SLucas Stach opp-microvolt = <950000>; 135f403a26cSLeonard Crestez opp-supported-hw = <0xc>, <0x7>; 136e85c9d0fSLeonard Crestez clock-latency-ns = <150000>; 1370d9df581SAnson Huang opp-suspend; 138f403a26cSLeonard Crestez }; 139f403a26cSLeonard Crestez 140f403a26cSLeonard Crestez opp-1800000000 { 141f403a26cSLeonard Crestez opp-hz = /bits/ 64 <1800000000>; 142f403a26cSLeonard Crestez opp-microvolt = <1000000>; 143cd7c2ddfSAnson Huang opp-supported-hw = <0x8>, <0x3>; 144f403a26cSLeonard Crestez clock-latency-ns = <150000>; 1450d9df581SAnson Huang opp-suspend; 146e85c9d0fSLeonard Crestez }; 147e85c9d0fSLeonard Crestez }; 148e85c9d0fSLeonard Crestez 149a05ea40eSJacky Bai osc_32k: clock-osc-32k { 150a05ea40eSJacky Bai compatible = "fixed-clock"; 151a05ea40eSJacky Bai #clock-cells = <0>; 152a05ea40eSJacky Bai clock-frequency = <32768>; 153a05ea40eSJacky Bai clock-output-names = "osc_32k"; 154a05ea40eSJacky Bai }; 155a05ea40eSJacky Bai 156a05ea40eSJacky Bai osc_24m: clock-osc-24m { 157a05ea40eSJacky Bai compatible = "fixed-clock"; 158a05ea40eSJacky Bai #clock-cells = <0>; 159a05ea40eSJacky Bai clock-frequency = <24000000>; 160a05ea40eSJacky Bai clock-output-names = "osc_24m"; 161a05ea40eSJacky Bai }; 162a05ea40eSJacky Bai 163a05ea40eSJacky Bai clk_ext1: clock-ext1 { 164a05ea40eSJacky Bai compatible = "fixed-clock"; 165a05ea40eSJacky Bai #clock-cells = <0>; 166a05ea40eSJacky Bai clock-frequency = <133000000>; 167a05ea40eSJacky Bai clock-output-names = "clk_ext1"; 168a05ea40eSJacky Bai }; 169a05ea40eSJacky Bai 170a05ea40eSJacky Bai clk_ext2: clock-ext2 { 171a05ea40eSJacky Bai compatible = "fixed-clock"; 172a05ea40eSJacky Bai #clock-cells = <0>; 173a05ea40eSJacky Bai clock-frequency = <133000000>; 174a05ea40eSJacky Bai clock-output-names = "clk_ext2"; 175a05ea40eSJacky Bai }; 176a05ea40eSJacky Bai 177a05ea40eSJacky Bai clk_ext3: clock-ext3 { 178a05ea40eSJacky Bai compatible = "fixed-clock"; 179a05ea40eSJacky Bai #clock-cells = <0>; 180a05ea40eSJacky Bai clock-frequency = <133000000>; 181a05ea40eSJacky Bai clock-output-names = "clk_ext3"; 182a05ea40eSJacky Bai }; 183a05ea40eSJacky Bai 184a05ea40eSJacky Bai clk_ext4: clock-ext4 { 185a05ea40eSJacky Bai compatible = "fixed-clock"; 186a05ea40eSJacky Bai #clock-cells = <0>; 187a05ea40eSJacky Bai clock-frequency= <133000000>; 188a05ea40eSJacky Bai clock-output-names = "clk_ext4"; 189a05ea40eSJacky Bai }; 190a05ea40eSJacky Bai 191a05ea40eSJacky Bai psci { 192a05ea40eSJacky Bai compatible = "arm,psci-1.0"; 193a05ea40eSJacky Bai method = "smc"; 194a05ea40eSJacky Bai }; 195a05ea40eSJacky Bai 196a05ea40eSJacky Bai pmu { 197ceec36eeSPeng Fan compatible = "arm,cortex-a53-pmu"; 198a05ea40eSJacky Bai interrupts = <GIC_PPI 7 1995c22a9afSKrzysztof Kozlowski (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; 200a05ea40eSJacky Bai }; 201a05ea40eSJacky Bai 202a05ea40eSJacky Bai timer { 203a05ea40eSJacky Bai compatible = "arm,armv8-timer"; 2045c22a9afSKrzysztof Kozlowski interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, /* Physical Secure */ 2055c22a9afSKrzysztof Kozlowski <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, /* Physical Non-Secure */ 2065c22a9afSKrzysztof Kozlowski <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, /* Virtual */ 2075c22a9afSKrzysztof Kozlowski <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; /* Hypervisor */ 208a05ea40eSJacky Bai clock-frequency = <8000000>; 209a05ea40eSJacky Bai arm,no-tick-in-suspend; 210a05ea40eSJacky Bai }; 211a05ea40eSJacky Bai 21211699fd5SAnson Huang thermal-zones { 21311699fd5SAnson Huang cpu-thermal { 21411699fd5SAnson Huang polling-delay-passive = <250>; 21511699fd5SAnson Huang polling-delay = <2000>; 21611699fd5SAnson Huang thermal-sensors = <&tmu>; 21711699fd5SAnson Huang trips { 21811699fd5SAnson Huang cpu_alert0: trip0 { 21911699fd5SAnson Huang temperature = <85000>; 22011699fd5SAnson Huang hysteresis = <2000>; 22111699fd5SAnson Huang type = "passive"; 22211699fd5SAnson Huang }; 22311699fd5SAnson Huang 22411699fd5SAnson Huang cpu_crit0: trip1 { 22511699fd5SAnson Huang temperature = <95000>; 22611699fd5SAnson Huang hysteresis = <2000>; 22711699fd5SAnson Huang type = "critical"; 22811699fd5SAnson Huang }; 22911699fd5SAnson Huang }; 23011699fd5SAnson Huang 23111699fd5SAnson Huang cooling-maps { 23211699fd5SAnson Huang map0 { 23311699fd5SAnson Huang trip = <&cpu_alert0>; 23411699fd5SAnson Huang cooling-device = 23511699fd5SAnson Huang <&A53_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 23611699fd5SAnson Huang <&A53_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 23711699fd5SAnson Huang <&A53_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 23811699fd5SAnson Huang <&A53_3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 23911699fd5SAnson Huang }; 24011699fd5SAnson Huang }; 24111699fd5SAnson Huang }; 24211699fd5SAnson Huang }; 24311699fd5SAnson Huang 244a656622aSFabio Estevam usbphynop1: usbphynop1 { 24578e80c4bSMarek Vasut #phy-cells = <0>; 246a656622aSFabio Estevam compatible = "usb-nop-xceiv"; 247a656622aSFabio Estevam clocks = <&clk IMX8MM_CLK_USB_PHY_REF>; 248a656622aSFabio Estevam assigned-clocks = <&clk IMX8MM_CLK_USB_PHY_REF>; 249a656622aSFabio Estevam assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_100M>; 250a656622aSFabio Estevam clock-names = "main_clk"; 251a656622aSFabio Estevam }; 252a656622aSFabio Estevam 253a656622aSFabio Estevam usbphynop2: usbphynop2 { 25478e80c4bSMarek Vasut #phy-cells = <0>; 255a656622aSFabio Estevam compatible = "usb-nop-xceiv"; 256a656622aSFabio Estevam clocks = <&clk IMX8MM_CLK_USB_PHY_REF>; 257a656622aSFabio Estevam assigned-clocks = <&clk IMX8MM_CLK_USB_PHY_REF>; 258a656622aSFabio Estevam assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_100M>; 259a656622aSFabio Estevam clock-names = "main_clk"; 260a656622aSFabio Estevam }; 261a656622aSFabio Estevam 262951c1d37SFabio Estevam soc@0 { 263ce58459dSAlice Guo compatible = "fsl,imx8mm-soc", "simple-bus"; 264a05ea40eSJacky Bai #address-cells = <1>; 265a05ea40eSJacky Bai #size-cells = <1>; 266a05ea40eSJacky Bai ranges = <0x0 0x0 0x0 0x3e000000>; 2674251a3acSLucas Stach dma-ranges = <0x40000000 0x0 0x40000000 0xc0000000>; 268cbff2379SAlice Guo nvmem-cells = <&imx8mm_uid>; 269cbff2379SAlice Guo nvmem-cell-names = "soc_unique_id"; 270a05ea40eSJacky Bai 271a05ea40eSJacky Bai aips1: bus@30000000 { 272dc3efc6fSPeng Fan compatible = "fsl,aips-bus", "simple-bus"; 273921a6845SFabio Estevam reg = <0x30000000 0x400000>; 274a05ea40eSJacky Bai #address-cells = <1>; 275a05ea40eSJacky Bai #size-cells = <1>; 27610c74207SFabio Estevam ranges = <0x30000000 0x30000000 0x400000>; 277a05ea40eSJacky Bai 2787923353bSAdam Ford spba2: spba-bus@30000000 { 2797923353bSAdam Ford compatible = "fsl,spba-bus", "simple-bus"; 2807923353bSAdam Ford #address-cells = <1>; 2817923353bSAdam Ford #size-cells = <1>; 2827923353bSAdam Ford reg = <0x30000000 0x100000>; 2837923353bSAdam Ford ranges; 2847923353bSAdam Ford 2854bee4357SDaniel Baluta sai1: sai@30010000 { 286ebfa8951SMatt Porter #sound-dai-cells = <0>; 2874bee4357SDaniel Baluta compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 2884bee4357SDaniel Baluta reg = <0x30010000 0x10000>; 2894bee4357SDaniel Baluta interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>; 2904bee4357SDaniel Baluta clocks = <&clk IMX8MM_CLK_SAI1_IPG>, 2914bee4357SDaniel Baluta <&clk IMX8MM_CLK_SAI1_ROOT>, 2924bee4357SDaniel Baluta <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>; 2934bee4357SDaniel Baluta clock-names = "bus", "mclk1", "mclk2", "mclk3"; 2944bee4357SDaniel Baluta dmas = <&sdma2 0 2 0>, <&sdma2 1 2 0>; 2954bee4357SDaniel Baluta dma-names = "rx", "tx"; 2964bee4357SDaniel Baluta status = "disabled"; 2974bee4357SDaniel Baluta }; 2984bee4357SDaniel Baluta 2994bee4357SDaniel Baluta sai2: sai@30020000 { 300ebfa8951SMatt Porter #sound-dai-cells = <0>; 3014bee4357SDaniel Baluta compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 3024bee4357SDaniel Baluta reg = <0x30020000 0x10000>; 3034bee4357SDaniel Baluta interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; 3044bee4357SDaniel Baluta clocks = <&clk IMX8MM_CLK_SAI2_IPG>, 3054bee4357SDaniel Baluta <&clk IMX8MM_CLK_SAI2_ROOT>, 3064bee4357SDaniel Baluta <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>; 3074bee4357SDaniel Baluta clock-names = "bus", "mclk1", "mclk2", "mclk3"; 3084bee4357SDaniel Baluta dmas = <&sdma2 2 2 0>, <&sdma2 3 2 0>; 3094bee4357SDaniel Baluta dma-names = "rx", "tx"; 3104bee4357SDaniel Baluta status = "disabled"; 3114bee4357SDaniel Baluta }; 3124bee4357SDaniel Baluta 3134bee4357SDaniel Baluta sai3: sai@30030000 { 3144bee4357SDaniel Baluta #sound-dai-cells = <0>; 3154bee4357SDaniel Baluta compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 3164bee4357SDaniel Baluta reg = <0x30030000 0x10000>; 3174bee4357SDaniel Baluta interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>; 3184bee4357SDaniel Baluta clocks = <&clk IMX8MM_CLK_SAI3_IPG>, 3194bee4357SDaniel Baluta <&clk IMX8MM_CLK_SAI3_ROOT>, 3204bee4357SDaniel Baluta <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>; 3214bee4357SDaniel Baluta clock-names = "bus", "mclk1", "mclk2", "mclk3"; 3224bee4357SDaniel Baluta dmas = <&sdma2 4 2 0>, <&sdma2 5 2 0>; 3234bee4357SDaniel Baluta dma-names = "rx", "tx"; 3244bee4357SDaniel Baluta status = "disabled"; 3254bee4357SDaniel Baluta }; 3264bee4357SDaniel Baluta 3274bee4357SDaniel Baluta sai5: sai@30050000 { 328ebfa8951SMatt Porter #sound-dai-cells = <0>; 3294bee4357SDaniel Baluta compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 3304bee4357SDaniel Baluta reg = <0x30050000 0x10000>; 3314bee4357SDaniel Baluta interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>; 3324bee4357SDaniel Baluta clocks = <&clk IMX8MM_CLK_SAI5_IPG>, 3334bee4357SDaniel Baluta <&clk IMX8MM_CLK_SAI5_ROOT>, 3344bee4357SDaniel Baluta <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>; 3354bee4357SDaniel Baluta clock-names = "bus", "mclk1", "mclk2", "mclk3"; 3364bee4357SDaniel Baluta dmas = <&sdma2 8 2 0>, <&sdma2 9 2 0>; 3374bee4357SDaniel Baluta dma-names = "rx", "tx"; 3384bee4357SDaniel Baluta status = "disabled"; 3394bee4357SDaniel Baluta }; 3404bee4357SDaniel Baluta 3414bee4357SDaniel Baluta sai6: sai@30060000 { 342ebfa8951SMatt Porter #sound-dai-cells = <0>; 3434bee4357SDaniel Baluta compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 3444bee4357SDaniel Baluta reg = <0x30060000 0x10000>; 3454bee4357SDaniel Baluta interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>; 3464bee4357SDaniel Baluta clocks = <&clk IMX8MM_CLK_SAI6_IPG>, 3474bee4357SDaniel Baluta <&clk IMX8MM_CLK_SAI6_ROOT>, 3484bee4357SDaniel Baluta <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>; 3494bee4357SDaniel Baluta clock-names = "bus", "mclk1", "mclk2", "mclk3"; 3504bee4357SDaniel Baluta dmas = <&sdma2 10 2 0>, <&sdma2 11 2 0>; 3514bee4357SDaniel Baluta dma-names = "rx", "tx"; 3524bee4357SDaniel Baluta status = "disabled"; 3534bee4357SDaniel Baluta }; 354a05ea40eSJacky Bai 3553bd0788cSAdam Ford micfil: audio-controller@30080000 { 3563bd0788cSAdam Ford compatible = "fsl,imx8mm-micfil"; 3573bd0788cSAdam Ford reg = <0x30080000 0x10000>; 3583bd0788cSAdam Ford interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>, 3593bd0788cSAdam Ford <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>, 3603bd0788cSAdam Ford <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>, 3613bd0788cSAdam Ford <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>; 3623bd0788cSAdam Ford clocks = <&clk IMX8MM_CLK_PDM_IPG>, 3633bd0788cSAdam Ford <&clk IMX8MM_CLK_PDM_ROOT>, 3643bd0788cSAdam Ford <&clk IMX8MM_AUDIO_PLL1_OUT>, 3653bd0788cSAdam Ford <&clk IMX8MM_AUDIO_PLL2_OUT>, 3663bd0788cSAdam Ford <&clk IMX8MM_CLK_EXT3>; 3673bd0788cSAdam Ford clock-names = "ipg_clk", "ipg_clk_app", 3683bd0788cSAdam Ford "pll8k", "pll11k", "clkext3"; 3693bd0788cSAdam Ford dmas = <&sdma2 24 25 0x80000000>; 3703bd0788cSAdam Ford dma-names = "rx"; 3713bd0788cSAdam Ford status = "disabled"; 3723bd0788cSAdam Ford }; 3733bd0788cSAdam Ford 37457412197SAdam Ford spdif1: spdif@30090000 { 37557412197SAdam Ford compatible = "fsl,imx35-spdif"; 37657412197SAdam Ford reg = <0x30090000 0x10000>; 37757412197SAdam Ford interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; 37857412197SAdam Ford clocks = <&clk IMX8MM_CLK_AUDIO_AHB>, /* core */ 37957412197SAdam Ford <&clk IMX8MM_CLK_24M>, /* rxtx0 */ 38057412197SAdam Ford <&clk IMX8MM_CLK_SPDIF1>, /* rxtx1 */ 38157412197SAdam Ford <&clk IMX8MM_CLK_DUMMY>, /* rxtx2 */ 38257412197SAdam Ford <&clk IMX8MM_CLK_DUMMY>, /* rxtx3 */ 38357412197SAdam Ford <&clk IMX8MM_CLK_DUMMY>, /* rxtx4 */ 38457412197SAdam Ford <&clk IMX8MM_CLK_AUDIO_AHB>, /* rxtx5 */ 38557412197SAdam Ford <&clk IMX8MM_CLK_DUMMY>, /* rxtx6 */ 38657412197SAdam Ford <&clk IMX8MM_CLK_DUMMY>, /* rxtx7 */ 38757412197SAdam Ford <&clk IMX8MM_CLK_DUMMY>; /* spba */ 38857412197SAdam Ford clock-names = "core", "rxtx0", 38957412197SAdam Ford "rxtx1", "rxtx2", 39057412197SAdam Ford "rxtx3", "rxtx4", 39157412197SAdam Ford "rxtx5", "rxtx6", 39257412197SAdam Ford "rxtx7", "spba"; 39357412197SAdam Ford dmas = <&sdma2 28 18 0>, <&sdma2 29 18 0>; 39457412197SAdam Ford dma-names = "rx", "tx"; 39557412197SAdam Ford status = "disabled"; 39657412197SAdam Ford }; 3977923353bSAdam Ford }; 39857412197SAdam Ford 399a05ea40eSJacky Bai gpio1: gpio@30200000 { 400a05ea40eSJacky Bai compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio"; 401a05ea40eSJacky Bai reg = <0x30200000 0x10000>; 402a05ea40eSJacky Bai interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>, 403a05ea40eSJacky Bai <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; 40409892aa1SAnson Huang clocks = <&clk IMX8MM_CLK_GPIO1_ROOT>; 405a05ea40eSJacky Bai gpio-controller; 406a05ea40eSJacky Bai #gpio-cells = <2>; 407a05ea40eSJacky Bai interrupt-controller; 408a05ea40eSJacky Bai #interrupt-cells = <2>; 40915626359SAnson Huang gpio-ranges = <&iomuxc 0 10 30>; 410a05ea40eSJacky Bai }; 411a05ea40eSJacky Bai 412a05ea40eSJacky Bai gpio2: gpio@30210000 { 413a05ea40eSJacky Bai compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio"; 414a05ea40eSJacky Bai reg = <0x30210000 0x10000>; 415a05ea40eSJacky Bai interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>, 416a05ea40eSJacky Bai <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; 41709892aa1SAnson Huang clocks = <&clk IMX8MM_CLK_GPIO2_ROOT>; 418a05ea40eSJacky Bai gpio-controller; 419a05ea40eSJacky Bai #gpio-cells = <2>; 420a05ea40eSJacky Bai interrupt-controller; 421a05ea40eSJacky Bai #interrupt-cells = <2>; 42215626359SAnson Huang gpio-ranges = <&iomuxc 0 40 21>; 423a05ea40eSJacky Bai }; 424a05ea40eSJacky Bai 425a05ea40eSJacky Bai gpio3: gpio@30220000 { 426a05ea40eSJacky Bai compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio"; 427a05ea40eSJacky Bai reg = <0x30220000 0x10000>; 428a05ea40eSJacky Bai interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>, 429a05ea40eSJacky Bai <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>; 43009892aa1SAnson Huang clocks = <&clk IMX8MM_CLK_GPIO3_ROOT>; 431a05ea40eSJacky Bai gpio-controller; 432a05ea40eSJacky Bai #gpio-cells = <2>; 433a05ea40eSJacky Bai interrupt-controller; 434a05ea40eSJacky Bai #interrupt-cells = <2>; 43515626359SAnson Huang gpio-ranges = <&iomuxc 0 61 26>; 436a05ea40eSJacky Bai }; 437a05ea40eSJacky Bai 438a05ea40eSJacky Bai gpio4: gpio@30230000 { 439a05ea40eSJacky Bai compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio"; 440a05ea40eSJacky Bai reg = <0x30230000 0x10000>; 441a05ea40eSJacky Bai interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>, 442a05ea40eSJacky Bai <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>; 44309892aa1SAnson Huang clocks = <&clk IMX8MM_CLK_GPIO4_ROOT>; 444a05ea40eSJacky Bai gpio-controller; 445a05ea40eSJacky Bai #gpio-cells = <2>; 446a05ea40eSJacky Bai interrupt-controller; 447a05ea40eSJacky Bai #interrupt-cells = <2>; 44815626359SAnson Huang gpio-ranges = <&iomuxc 0 87 32>; 449a05ea40eSJacky Bai }; 450a05ea40eSJacky Bai 451a05ea40eSJacky Bai gpio5: gpio@30240000 { 452a05ea40eSJacky Bai compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio"; 453a05ea40eSJacky Bai reg = <0x30240000 0x10000>; 454a05ea40eSJacky Bai interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>, 455a05ea40eSJacky Bai <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; 45609892aa1SAnson Huang clocks = <&clk IMX8MM_CLK_GPIO5_ROOT>; 457a05ea40eSJacky Bai gpio-controller; 458a05ea40eSJacky Bai #gpio-cells = <2>; 459a05ea40eSJacky Bai interrupt-controller; 460a05ea40eSJacky Bai #interrupt-cells = <2>; 46115626359SAnson Huang gpio-ranges = <&iomuxc 0 119 30>; 462a05ea40eSJacky Bai }; 463a05ea40eSJacky Bai 46411699fd5SAnson Huang tmu: tmu@30260000 { 46511699fd5SAnson Huang compatible = "fsl,imx8mm-tmu"; 46611699fd5SAnson Huang reg = <0x30260000 0x10000>; 46711699fd5SAnson Huang clocks = <&clk IMX8MM_CLK_TMU_ROOT>; 46811699fd5SAnson Huang #thermal-sensor-cells = <0>; 46911699fd5SAnson Huang }; 47011699fd5SAnson Huang 471a05ea40eSJacky Bai wdog1: watchdog@30280000 { 472a05ea40eSJacky Bai compatible = "fsl,imx8mm-wdt", "fsl,imx21-wdt"; 473a05ea40eSJacky Bai reg = <0x30280000 0x10000>; 474a05ea40eSJacky Bai interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>; 475a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_WDOG1_ROOT>; 476a05ea40eSJacky Bai status = "disabled"; 477a05ea40eSJacky Bai }; 478a05ea40eSJacky Bai 479a05ea40eSJacky Bai wdog2: watchdog@30290000 { 480a05ea40eSJacky Bai compatible = "fsl,imx8mm-wdt", "fsl,imx21-wdt"; 481a05ea40eSJacky Bai reg = <0x30290000 0x10000>; 482a05ea40eSJacky Bai interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>; 483a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_WDOG2_ROOT>; 484a05ea40eSJacky Bai status = "disabled"; 485a05ea40eSJacky Bai }; 486a05ea40eSJacky Bai 487a05ea40eSJacky Bai wdog3: watchdog@302a0000 { 488a05ea40eSJacky Bai compatible = "fsl,imx8mm-wdt", "fsl,imx21-wdt"; 489a05ea40eSJacky Bai reg = <0x302a0000 0x10000>; 490a05ea40eSJacky Bai interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 491a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_WDOG3_ROOT>; 492a05ea40eSJacky Bai status = "disabled"; 493a05ea40eSJacky Bai }; 494a05ea40eSJacky Bai 495a05ea40eSJacky Bai sdma2: dma-controller@302c0000 { 496e346ff93SShengjiu Wang compatible = "fsl,imx8mm-sdma", "fsl,imx8mq-sdma"; 497a05ea40eSJacky Bai reg = <0x302c0000 0x10000>; 498a05ea40eSJacky Bai interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; 499a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_SDMA2_ROOT>, 500a05ea40eSJacky Bai <&clk IMX8MM_CLK_SDMA2_ROOT>; 501a05ea40eSJacky Bai clock-names = "ipg", "ahb"; 502a05ea40eSJacky Bai #dma-cells = <3>; 503a05ea40eSJacky Bai fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin"; 504a05ea40eSJacky Bai }; 505a05ea40eSJacky Bai 506a05ea40eSJacky Bai sdma3: dma-controller@302b0000 { 507e346ff93SShengjiu Wang compatible = "fsl,imx8mm-sdma", "fsl,imx8mq-sdma"; 508a05ea40eSJacky Bai reg = <0x302b0000 0x10000>; 509a05ea40eSJacky Bai interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; 510a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_SDMA3_ROOT>, 511a05ea40eSJacky Bai <&clk IMX8MM_CLK_SDMA3_ROOT>; 512a05ea40eSJacky Bai clock-names = "ipg", "ahb"; 513a05ea40eSJacky Bai #dma-cells = <3>; 514a05ea40eSJacky Bai fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin"; 515a05ea40eSJacky Bai }; 516a05ea40eSJacky Bai 517a05ea40eSJacky Bai iomuxc: pinctrl@30330000 { 518a05ea40eSJacky Bai compatible = "fsl,imx8mm-iomuxc"; 519a05ea40eSJacky Bai reg = <0x30330000 0x10000>; 520a05ea40eSJacky Bai }; 521a05ea40eSJacky Bai 522a05ea40eSJacky Bai gpr: iomuxc-gpr@30340000 { 523a05ea40eSJacky Bai compatible = "fsl,imx8mm-iomuxc-gpr", "syscon"; 524a05ea40eSJacky Bai reg = <0x30340000 0x10000>; 525a05ea40eSJacky Bai }; 526a05ea40eSJacky Bai 52712fa1078SAnson Huang ocotp: efuse@30350000 { 528b09802a0SAnson Huang compatible = "fsl,imx8mm-ocotp", "syscon"; 529a05ea40eSJacky Bai reg = <0x30350000 0x10000>; 530a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_OCOTP_ROOT>; 531a05ea40eSJacky Bai /* For nvmem subnodes */ 532a05ea40eSJacky Bai #address-cells = <1>; 533a05ea40eSJacky Bai #size-cells = <1>; 534f403a26cSLeonard Crestez 535cbff2379SAlice Guo imx8mm_uid: unique-id@410 { 536cbff2379SAlice Guo reg = <0x4 0x8>; 537cbff2379SAlice Guo }; 538cbff2379SAlice Guo 539f403a26cSLeonard Crestez cpu_speed_grade: speed-grade@10 { 540f403a26cSLeonard Crestez reg = <0x10 4>; 541f403a26cSLeonard Crestez }; 542066438aeSJoakim Zhang 543066438aeSJoakim Zhang fec_mac_address: mac-address@90 { 544066438aeSJoakim Zhang reg = <0x90 6>; 545066438aeSJoakim Zhang }; 546a05ea40eSJacky Bai }; 547a05ea40eSJacky Bai 548a05ea40eSJacky Bai anatop: anatop@30360000 { 5490900a484SFancy Fang compatible = "fsl,imx8mm-anatop", "syscon"; 550a05ea40eSJacky Bai reg = <0x30360000 0x10000>; 551a05ea40eSJacky Bai }; 552a05ea40eSJacky Bai 553a05ea40eSJacky Bai snvs: snvs@30370000 { 554a05ea40eSJacky Bai compatible = "fsl,sec-v4.0-mon","syscon", "simple-mfd"; 555a05ea40eSJacky Bai reg = <0x30370000 0x10000>; 556a05ea40eSJacky Bai 557a05ea40eSJacky Bai snvs_rtc: snvs-rtc-lp { 558a05ea40eSJacky Bai compatible = "fsl,sec-v4.0-mon-rtc-lp"; 559a05ea40eSJacky Bai regmap = <&snvs>; 560a05ea40eSJacky Bai offset = <0x34>; 561a05ea40eSJacky Bai interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>, 562a05ea40eSJacky Bai <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; 563f145b209SAnson Huang clocks = <&clk IMX8MM_CLK_SNVS_ROOT>; 564f145b209SAnson Huang clock-names = "snvs-rtc"; 565a05ea40eSJacky Bai }; 566a05ea40eSJacky Bai 567a05ea40eSJacky Bai snvs_pwrkey: snvs-powerkey { 568a05ea40eSJacky Bai compatible = "fsl,sec-v4.0-pwrkey"; 569a05ea40eSJacky Bai regmap = <&snvs>; 570a05ea40eSJacky Bai interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; 57146770eaeSAndré Draszik clocks = <&clk IMX8MM_CLK_SNVS_ROOT>; 57246770eaeSAndré Draszik clock-names = "snvs-pwrkey"; 573a05ea40eSJacky Bai linux,keycode = <KEY_POWER>; 574a05ea40eSJacky Bai wakeup-source; 575d038c1dcSAnson Huang status = "disabled"; 576a05ea40eSJacky Bai }; 577a05ea40eSJacky Bai }; 578a05ea40eSJacky Bai 579a05ea40eSJacky Bai clk: clock-controller@30380000 { 580a05ea40eSJacky Bai compatible = "fsl,imx8mm-ccm"; 581a05ea40eSJacky Bai reg = <0x30380000 0x10000>; 582a05ea40eSJacky Bai #clock-cells = <1>; 583a05ea40eSJacky Bai clocks = <&osc_32k>, <&osc_24m>, <&clk_ext1>, <&clk_ext2>, 584a05ea40eSJacky Bai <&clk_ext3>, <&clk_ext4>; 585a05ea40eSJacky Bai clock-names = "osc_32k", "osc_24m", "clk_ext1", "clk_ext2", 586a05ea40eSJacky Bai "clk_ext3", "clk_ext4"; 5879e6337e6SPeng Fan assigned-clocks = <&clk IMX8MM_CLK_A53_SRC>, 5889e6337e6SPeng Fan <&clk IMX8MM_CLK_A53_CORE>, 5899e6337e6SPeng Fan <&clk IMX8MM_CLK_NOC>, 5906b392e16SAbel Vesa <&clk IMX8MM_CLK_AUDIO_AHB>, 5916b392e16SAbel Vesa <&clk IMX8MM_CLK_IPG_AUDIO_ROOT>, 5926b392e16SAbel Vesa <&clk IMX8MM_SYS_PLL3>, 593e8b395b2SS.j. Wang <&clk IMX8MM_VIDEO_PLL1>, 594e8b395b2SS.j. Wang <&clk IMX8MM_AUDIO_PLL1>, 595e8b395b2SS.j. Wang <&clk IMX8MM_AUDIO_PLL2>; 5969e6337e6SPeng Fan assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_800M>, 5979e6337e6SPeng Fan <&clk IMX8MM_ARM_PLL_OUT>, 5989e6337e6SPeng Fan <&clk IMX8MM_SYS_PLL3_OUT>, 5996b392e16SAbel Vesa <&clk IMX8MM_SYS_PLL1_800M>; 6009e6337e6SPeng Fan assigned-clock-rates = <0>, <0>, <0>, 6016b392e16SAbel Vesa <400000000>, 6026b392e16SAbel Vesa <400000000>, 6036b392e16SAbel Vesa <750000000>, 604e8b395b2SS.j. Wang <594000000>, 605e8b395b2SS.j. Wang <393216000>, 606e8b395b2SS.j. Wang <361267200>; 607a05ea40eSJacky Bai }; 608a05ea40eSJacky Bai 609a05ea40eSJacky Bai src: reset-controller@30390000 { 61046b29f4bSAnson Huang compatible = "fsl,imx8mm-src", "fsl,imx8mq-src", "syscon"; 611a05ea40eSJacky Bai reg = <0x30390000 0x10000>; 612a05ea40eSJacky Bai interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; 613a05ea40eSJacky Bai #reset-cells = <1>; 614a05ea40eSJacky Bai }; 615d39d4bb1SLucas Stach 616d39d4bb1SLucas Stach gpc: gpc@303a0000 { 617d39d4bb1SLucas Stach compatible = "fsl,imx8mm-gpc"; 618d39d4bb1SLucas Stach reg = <0x303a0000 0x10000>; 619d39d4bb1SLucas Stach interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>; 620d39d4bb1SLucas Stach interrupt-parent = <&gic>; 621d39d4bb1SLucas Stach interrupt-controller; 622d39d4bb1SLucas Stach #interrupt-cells = <3>; 623d39d4bb1SLucas Stach 624d39d4bb1SLucas Stach pgc { 625d39d4bb1SLucas Stach #address-cells = <1>; 626d39d4bb1SLucas Stach #size-cells = <0>; 627d39d4bb1SLucas Stach 628d39d4bb1SLucas Stach pgc_hsiomix: power-domain@0 { 629d39d4bb1SLucas Stach #power-domain-cells = <0>; 630d39d4bb1SLucas Stach reg = <IMX8MM_POWER_DOMAIN_HSIOMIX>; 631d39d4bb1SLucas Stach clocks = <&clk IMX8MM_CLK_USB_BUS>; 632d39d4bb1SLucas Stach assigned-clocks = <&clk IMX8MM_CLK_USB_BUS>; 633d39d4bb1SLucas Stach assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_500M>; 634d39d4bb1SLucas Stach }; 635d39d4bb1SLucas Stach 636d39d4bb1SLucas Stach pgc_pcie: power-domain@1 { 637d39d4bb1SLucas Stach #power-domain-cells = <0>; 638d39d4bb1SLucas Stach reg = <IMX8MM_POWER_DOMAIN_PCIE>; 639d39d4bb1SLucas Stach power-domains = <&pgc_hsiomix>; 640d39d4bb1SLucas Stach clocks = <&clk IMX8MM_CLK_PCIE1_ROOT>; 641d39d4bb1SLucas Stach }; 642d39d4bb1SLucas Stach 643d39d4bb1SLucas Stach pgc_otg1: power-domain@2 { 644d39d4bb1SLucas Stach #power-domain-cells = <0>; 645d39d4bb1SLucas Stach reg = <IMX8MM_POWER_DOMAIN_OTG1>; 646d39d4bb1SLucas Stach power-domains = <&pgc_hsiomix>; 647d39d4bb1SLucas Stach }; 648d39d4bb1SLucas Stach 649d39d4bb1SLucas Stach pgc_otg2: power-domain@3 { 650d39d4bb1SLucas Stach #power-domain-cells = <0>; 651d39d4bb1SLucas Stach reg = <IMX8MM_POWER_DOMAIN_OTG2>; 652d39d4bb1SLucas Stach power-domains = <&pgc_hsiomix>; 653d39d4bb1SLucas Stach }; 654d39d4bb1SLucas Stach 655d39d4bb1SLucas Stach pgc_gpumix: power-domain@4 { 656d39d4bb1SLucas Stach #power-domain-cells = <0>; 657d39d4bb1SLucas Stach reg = <IMX8MM_POWER_DOMAIN_GPUMIX>; 658d39d4bb1SLucas Stach clocks = <&clk IMX8MM_CLK_GPU_BUS_ROOT>, 659d39d4bb1SLucas Stach <&clk IMX8MM_CLK_GPU_AHB>; 660d39d4bb1SLucas Stach assigned-clocks = <&clk IMX8MM_CLK_GPU_AXI>, 661d39d4bb1SLucas Stach <&clk IMX8MM_CLK_GPU_AHB>; 662d39d4bb1SLucas Stach assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_800M>, 663d39d4bb1SLucas Stach <&clk IMX8MM_SYS_PLL1_800M>; 664d39d4bb1SLucas Stach assigned-clock-rates = <800000000>, <400000000>; 665d39d4bb1SLucas Stach }; 666d39d4bb1SLucas Stach 667d39d4bb1SLucas Stach pgc_gpu: power-domain@5 { 668d39d4bb1SLucas Stach #power-domain-cells = <0>; 669d39d4bb1SLucas Stach reg = <IMX8MM_POWER_DOMAIN_GPU>; 670d39d4bb1SLucas Stach clocks = <&clk IMX8MM_CLK_GPU_AHB>, 671d39d4bb1SLucas Stach <&clk IMX8MM_CLK_GPU_BUS_ROOT>, 672d39d4bb1SLucas Stach <&clk IMX8MM_CLK_GPU2D_ROOT>, 673d39d4bb1SLucas Stach <&clk IMX8MM_CLK_GPU3D_ROOT>; 674d39d4bb1SLucas Stach resets = <&src IMX8MQ_RESET_GPU_RESET>; 675d39d4bb1SLucas Stach power-domains = <&pgc_gpumix>; 676d39d4bb1SLucas Stach }; 677d39d4bb1SLucas Stach 678d39d4bb1SLucas Stach pgc_vpumix: power-domain@6 { 679d39d4bb1SLucas Stach #power-domain-cells = <0>; 680d39d4bb1SLucas Stach reg = <IMX8MM_POWER_DOMAIN_VPUMIX>; 681d39d4bb1SLucas Stach clocks = <&clk IMX8MM_CLK_VPU_DEC_ROOT>; 682d39d4bb1SLucas Stach assigned-clocks = <&clk IMX8MM_CLK_VPU_BUS>; 683d39d4bb1SLucas Stach assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_800M>; 684d39d4bb1SLucas Stach resets = <&src IMX8MQ_RESET_VPU_RESET>; 685d39d4bb1SLucas Stach }; 686d39d4bb1SLucas Stach 687d39d4bb1SLucas Stach pgc_vpu_g1: power-domain@7 { 688d39d4bb1SLucas Stach #power-domain-cells = <0>; 689d39d4bb1SLucas Stach reg = <IMX8MM_POWER_DOMAIN_VPUG1>; 690d39d4bb1SLucas Stach }; 691d39d4bb1SLucas Stach 692d39d4bb1SLucas Stach pgc_vpu_g2: power-domain@8 { 693d39d4bb1SLucas Stach #power-domain-cells = <0>; 694d39d4bb1SLucas Stach reg = <IMX8MM_POWER_DOMAIN_VPUG2>; 695d39d4bb1SLucas Stach }; 696d39d4bb1SLucas Stach 697d39d4bb1SLucas Stach pgc_vpu_h1: power-domain@9 { 698d39d4bb1SLucas Stach #power-domain-cells = <0>; 699d39d4bb1SLucas Stach reg = <IMX8MM_POWER_DOMAIN_VPUH1>; 700d39d4bb1SLucas Stach }; 701d39d4bb1SLucas Stach 702d39d4bb1SLucas Stach pgc_dispmix: power-domain@10 { 703d39d4bb1SLucas Stach #power-domain-cells = <0>; 704d39d4bb1SLucas Stach reg = <IMX8MM_POWER_DOMAIN_DISPMIX>; 705d39d4bb1SLucas Stach clocks = <&clk IMX8MM_CLK_DISP_APB_ROOT>, 706d39d4bb1SLucas Stach <&clk IMX8MM_CLK_DISP_AXI_ROOT>; 707d39d4bb1SLucas Stach assigned-clocks = <&clk IMX8MM_CLK_DISP_AXI>, 708d39d4bb1SLucas Stach <&clk IMX8MM_CLK_DISP_APB>; 709d39d4bb1SLucas Stach assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_1000M>, 710d39d4bb1SLucas Stach <&clk IMX8MM_SYS_PLL1_800M>; 711d39d4bb1SLucas Stach assigned-clock-rates = <500000000>, <200000000>; 712d39d4bb1SLucas Stach }; 713d39d4bb1SLucas Stach 714d39d4bb1SLucas Stach pgc_mipi: power-domain@11 { 715d39d4bb1SLucas Stach #power-domain-cells = <0>; 716d39d4bb1SLucas Stach reg = <IMX8MM_POWER_DOMAIN_MIPI>; 717d39d4bb1SLucas Stach }; 718d39d4bb1SLucas Stach }; 719d39d4bb1SLucas Stach }; 720a05ea40eSJacky Bai }; 721a05ea40eSJacky Bai 722a05ea40eSJacky Bai aips2: bus@30400000 { 723dc3efc6fSPeng Fan compatible = "fsl,aips-bus", "simple-bus"; 724921a6845SFabio Estevam reg = <0x30400000 0x400000>; 725a05ea40eSJacky Bai #address-cells = <1>; 726a05ea40eSJacky Bai #size-cells = <1>; 72710c74207SFabio Estevam ranges = <0x30400000 0x30400000 0x400000>; 728a05ea40eSJacky Bai 729a05ea40eSJacky Bai pwm1: pwm@30660000 { 730a05ea40eSJacky Bai compatible = "fsl,imx8mm-pwm", "fsl,imx27-pwm"; 731a05ea40eSJacky Bai reg = <0x30660000 0x10000>; 732a05ea40eSJacky Bai interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>; 733a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_PWM1_ROOT>, 734a05ea40eSJacky Bai <&clk IMX8MM_CLK_PWM1_ROOT>; 735a05ea40eSJacky Bai clock-names = "ipg", "per"; 736a05ea40eSJacky Bai #pwm-cells = <2>; 737a05ea40eSJacky Bai status = "disabled"; 738a05ea40eSJacky Bai }; 739a05ea40eSJacky Bai 740a05ea40eSJacky Bai pwm2: pwm@30670000 { 741a05ea40eSJacky Bai compatible = "fsl,imx8mm-pwm", "fsl,imx27-pwm"; 742a05ea40eSJacky Bai reg = <0x30670000 0x10000>; 743a05ea40eSJacky Bai interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; 744a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_PWM2_ROOT>, 745a05ea40eSJacky Bai <&clk IMX8MM_CLK_PWM2_ROOT>; 746a05ea40eSJacky Bai clock-names = "ipg", "per"; 747a05ea40eSJacky Bai #pwm-cells = <2>; 748a05ea40eSJacky Bai status = "disabled"; 749a05ea40eSJacky Bai }; 750a05ea40eSJacky Bai 751a05ea40eSJacky Bai pwm3: pwm@30680000 { 752a05ea40eSJacky Bai compatible = "fsl,imx8mm-pwm", "fsl,imx27-pwm"; 753a05ea40eSJacky Bai reg = <0x30680000 0x10000>; 754a05ea40eSJacky Bai interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; 755a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_PWM3_ROOT>, 756a05ea40eSJacky Bai <&clk IMX8MM_CLK_PWM3_ROOT>; 757a05ea40eSJacky Bai clock-names = "ipg", "per"; 758a05ea40eSJacky Bai #pwm-cells = <2>; 759a05ea40eSJacky Bai status = "disabled"; 760a05ea40eSJacky Bai }; 761a05ea40eSJacky Bai 762a05ea40eSJacky Bai pwm4: pwm@30690000 { 763a05ea40eSJacky Bai compatible = "fsl,imx8mm-pwm", "fsl,imx27-pwm"; 764a05ea40eSJacky Bai reg = <0x30690000 0x10000>; 765a05ea40eSJacky Bai interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; 766a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_PWM4_ROOT>, 767a05ea40eSJacky Bai <&clk IMX8MM_CLK_PWM4_ROOT>; 768a05ea40eSJacky Bai clock-names = "ipg", "per"; 769a05ea40eSJacky Bai #pwm-cells = <2>; 770a05ea40eSJacky Bai status = "disabled"; 771a05ea40eSJacky Bai }; 7725b0221bfSAnson Huang 7735b0221bfSAnson Huang system_counter: timer@306a0000 { 7745b0221bfSAnson Huang compatible = "nxp,sysctr-timer"; 7755b0221bfSAnson Huang reg = <0x306a0000 0x20000>; 7765b0221bfSAnson Huang interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>; 7775b0221bfSAnson Huang clocks = <&osc_24m>; 7785b0221bfSAnson Huang clock-names = "per"; 7795b0221bfSAnson Huang }; 780a05ea40eSJacky Bai }; 781a05ea40eSJacky Bai 782a05ea40eSJacky Bai aips3: bus@30800000 { 783dc3efc6fSPeng Fan compatible = "fsl,aips-bus", "simple-bus"; 784921a6845SFabio Estevam reg = <0x30800000 0x400000>; 785a05ea40eSJacky Bai #address-cells = <1>; 786a05ea40eSJacky Bai #size-cells = <1>; 787f0692bb8SAdam Ford ranges = <0x30800000 0x30800000 0x400000>, 788f0692bb8SAdam Ford <0x8000000 0x8000000 0x10000000>; 789a05ea40eSJacky Bai 7907923353bSAdam Ford spba1: spba-bus@30800000 { 7917923353bSAdam Ford compatible = "fsl,spba-bus", "simple-bus"; 7927923353bSAdam Ford #address-cells = <1>; 7937923353bSAdam Ford #size-cells = <1>; 7947923353bSAdam Ford reg = <0x30800000 0x100000>; 7957923353bSAdam Ford ranges; 7967923353bSAdam Ford 797a05ea40eSJacky Bai ecspi1: spi@30820000 { 798a05ea40eSJacky Bai compatible = "fsl,imx8mm-ecspi", "fsl,imx51-ecspi"; 799a05ea40eSJacky Bai #address-cells = <1>; 800a05ea40eSJacky Bai #size-cells = <0>; 801a05ea40eSJacky Bai reg = <0x30820000 0x10000>; 802a05ea40eSJacky Bai interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; 803a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_ECSPI1_ROOT>, 804a05ea40eSJacky Bai <&clk IMX8MM_CLK_ECSPI1_ROOT>; 805a05ea40eSJacky Bai clock-names = "ipg", "per"; 806a05ea40eSJacky Bai dmas = <&sdma1 0 7 1>, <&sdma1 1 7 2>; 807a05ea40eSJacky Bai dma-names = "rx", "tx"; 808a05ea40eSJacky Bai status = "disabled"; 809a05ea40eSJacky Bai }; 810a05ea40eSJacky Bai 811a05ea40eSJacky Bai ecspi2: spi@30830000 { 812a05ea40eSJacky Bai compatible = "fsl,imx8mm-ecspi", "fsl,imx51-ecspi"; 813a05ea40eSJacky Bai #address-cells = <1>; 814a05ea40eSJacky Bai #size-cells = <0>; 815a05ea40eSJacky Bai reg = <0x30830000 0x10000>; 816a05ea40eSJacky Bai interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; 817a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_ECSPI2_ROOT>, 818a05ea40eSJacky Bai <&clk IMX8MM_CLK_ECSPI2_ROOT>; 819a05ea40eSJacky Bai clock-names = "ipg", "per"; 820a05ea40eSJacky Bai dmas = <&sdma1 2 7 1>, <&sdma1 3 7 2>; 821a05ea40eSJacky Bai dma-names = "rx", "tx"; 822a05ea40eSJacky Bai status = "disabled"; 823a05ea40eSJacky Bai }; 824a05ea40eSJacky Bai 825a05ea40eSJacky Bai ecspi3: spi@30840000 { 826a05ea40eSJacky Bai compatible = "fsl,imx8mm-ecspi", "fsl,imx51-ecspi"; 827a05ea40eSJacky Bai #address-cells = <1>; 828a05ea40eSJacky Bai #size-cells = <0>; 829a05ea40eSJacky Bai reg = <0x30840000 0x10000>; 830a05ea40eSJacky Bai interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; 831a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_ECSPI3_ROOT>, 832a05ea40eSJacky Bai <&clk IMX8MM_CLK_ECSPI3_ROOT>; 833a05ea40eSJacky Bai clock-names = "ipg", "per"; 834a05ea40eSJacky Bai dmas = <&sdma1 4 7 1>, <&sdma1 5 7 2>; 835a05ea40eSJacky Bai dma-names = "rx", "tx"; 836a05ea40eSJacky Bai status = "disabled"; 837a05ea40eSJacky Bai }; 838a05ea40eSJacky Bai 839a05ea40eSJacky Bai uart1: serial@30860000 { 840a05ea40eSJacky Bai compatible = "fsl,imx8mm-uart", "fsl,imx6q-uart"; 841a05ea40eSJacky Bai reg = <0x30860000 0x10000>; 842a05ea40eSJacky Bai interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; 843a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_UART1_ROOT>, 844a05ea40eSJacky Bai <&clk IMX8MM_CLK_UART1_ROOT>; 845a05ea40eSJacky Bai clock-names = "ipg", "per"; 846a05ea40eSJacky Bai dmas = <&sdma1 22 4 0>, <&sdma1 23 4 0>; 847a05ea40eSJacky Bai dma-names = "rx", "tx"; 848a05ea40eSJacky Bai status = "disabled"; 849a05ea40eSJacky Bai }; 850a05ea40eSJacky Bai 851a05ea40eSJacky Bai uart3: serial@30880000 { 852a05ea40eSJacky Bai compatible = "fsl,imx8mm-uart", "fsl,imx6q-uart"; 853a05ea40eSJacky Bai reg = <0x30880000 0x10000>; 854a05ea40eSJacky Bai interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; 855a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_UART3_ROOT>, 856a05ea40eSJacky Bai <&clk IMX8MM_CLK_UART3_ROOT>; 857a05ea40eSJacky Bai clock-names = "ipg", "per"; 858a05ea40eSJacky Bai dmas = <&sdma1 26 4 0>, <&sdma1 27 4 0>; 859a05ea40eSJacky Bai dma-names = "rx", "tx"; 860a05ea40eSJacky Bai status = "disabled"; 861a05ea40eSJacky Bai }; 862a05ea40eSJacky Bai 863a05ea40eSJacky Bai uart2: serial@30890000 { 864a05ea40eSJacky Bai compatible = "fsl,imx8mm-uart", "fsl,imx6q-uart"; 865a05ea40eSJacky Bai reg = <0x30890000 0x10000>; 866a05ea40eSJacky Bai interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>; 867a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_UART2_ROOT>, 868a05ea40eSJacky Bai <&clk IMX8MM_CLK_UART2_ROOT>; 869a05ea40eSJacky Bai clock-names = "ipg", "per"; 870a05ea40eSJacky Bai status = "disabled"; 871a05ea40eSJacky Bai }; 8727923353bSAdam Ford }; 873a05ea40eSJacky Bai 874bff5b972SAdam Ford crypto: crypto@30900000 { 875bff5b972SAdam Ford compatible = "fsl,sec-v4.0"; 876bff5b972SAdam Ford #address-cells = <1>; 877bff5b972SAdam Ford #size-cells = <1>; 878bff5b972SAdam Ford reg = <0x30900000 0x40000>; 879bff5b972SAdam Ford ranges = <0 0x30900000 0x40000>; 880bff5b972SAdam Ford interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>; 881bff5b972SAdam Ford clocks = <&clk IMX8MM_CLK_AHB>, 882bff5b972SAdam Ford <&clk IMX8MM_CLK_IPG_ROOT>; 883bff5b972SAdam Ford clock-names = "aclk", "ipg"; 884bff5b972SAdam Ford 885bff5b972SAdam Ford sec_jr0: jr@1000 { 886bff5b972SAdam Ford compatible = "fsl,sec-v4.0-job-ring"; 887bff5b972SAdam Ford reg = <0x1000 0x1000>; 888bff5b972SAdam Ford interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>; 889bff5b972SAdam Ford }; 890bff5b972SAdam Ford 891bff5b972SAdam Ford sec_jr1: jr@2000 { 892bff5b972SAdam Ford compatible = "fsl,sec-v4.0-job-ring"; 893bff5b972SAdam Ford reg = <0x2000 0x1000>; 894bff5b972SAdam Ford interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>; 895bff5b972SAdam Ford }; 896bff5b972SAdam Ford 897bff5b972SAdam Ford sec_jr2: jr@3000 { 898bff5b972SAdam Ford compatible = "fsl,sec-v4.0-job-ring"; 899bff5b972SAdam Ford reg = <0x3000 0x1000>; 900bff5b972SAdam Ford interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>; 901bff5b972SAdam Ford }; 902bff5b972SAdam Ford }; 903bff5b972SAdam Ford 904a05ea40eSJacky Bai i2c1: i2c@30a20000 { 905a05ea40eSJacky Bai compatible = "fsl,imx8mm-i2c", "fsl,imx21-i2c"; 906a05ea40eSJacky Bai #address-cells = <1>; 907a05ea40eSJacky Bai #size-cells = <0>; 908a05ea40eSJacky Bai reg = <0x30a20000 0x10000>; 909a05ea40eSJacky Bai interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; 910a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_I2C1_ROOT>; 911a05ea40eSJacky Bai status = "disabled"; 912a05ea40eSJacky Bai }; 913a05ea40eSJacky Bai 914a05ea40eSJacky Bai i2c2: i2c@30a30000 { 915a05ea40eSJacky Bai compatible = "fsl,imx8mm-i2c", "fsl,imx21-i2c"; 916a05ea40eSJacky Bai #address-cells = <1>; 917a05ea40eSJacky Bai #size-cells = <0>; 918a05ea40eSJacky Bai reg = <0x30a30000 0x10000>; 919a05ea40eSJacky Bai interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; 920a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_I2C2_ROOT>; 921a05ea40eSJacky Bai status = "disabled"; 922a05ea40eSJacky Bai }; 923a05ea40eSJacky Bai 924a05ea40eSJacky Bai i2c3: i2c@30a40000 { 925a05ea40eSJacky Bai #address-cells = <1>; 926a05ea40eSJacky Bai #size-cells = <0>; 927a05ea40eSJacky Bai compatible = "fsl,imx8mm-i2c", "fsl,imx21-i2c"; 928a05ea40eSJacky Bai reg = <0x30a40000 0x10000>; 929a05ea40eSJacky Bai interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; 930a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_I2C3_ROOT>; 931a05ea40eSJacky Bai status = "disabled"; 932a05ea40eSJacky Bai }; 933a05ea40eSJacky Bai 934a05ea40eSJacky Bai i2c4: i2c@30a50000 { 935a05ea40eSJacky Bai compatible = "fsl,imx8mm-i2c", "fsl,imx21-i2c"; 936a05ea40eSJacky Bai #address-cells = <1>; 937a05ea40eSJacky Bai #size-cells = <0>; 938a05ea40eSJacky Bai reg = <0x30a50000 0x10000>; 939a05ea40eSJacky Bai interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; 940a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_I2C4_ROOT>; 941a05ea40eSJacky Bai status = "disabled"; 942a05ea40eSJacky Bai }; 943a05ea40eSJacky Bai 944a05ea40eSJacky Bai uart4: serial@30a60000 { 945a05ea40eSJacky Bai compatible = "fsl,imx8mm-uart", "fsl,imx6q-uart"; 946a05ea40eSJacky Bai reg = <0x30a60000 0x10000>; 947a05ea40eSJacky Bai interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; 948a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_UART4_ROOT>, 949a05ea40eSJacky Bai <&clk IMX8MM_CLK_UART4_ROOT>; 950a05ea40eSJacky Bai clock-names = "ipg", "per"; 951a05ea40eSJacky Bai dmas = <&sdma1 28 4 0>, <&sdma1 29 4 0>; 952a05ea40eSJacky Bai dma-names = "rx", "tx"; 953a05ea40eSJacky Bai status = "disabled"; 954a05ea40eSJacky Bai }; 955a05ea40eSJacky Bai 956bbfc59beSPeng Fan mu: mailbox@30aa0000 { 957bbfc59beSPeng Fan compatible = "fsl,imx8mm-mu", "fsl,imx6sx-mu"; 958bbfc59beSPeng Fan reg = <0x30aa0000 0x10000>; 959bbfc59beSPeng Fan interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>; 960bbfc59beSPeng Fan clocks = <&clk IMX8MM_CLK_MU_ROOT>; 961bbfc59beSPeng Fan #mbox-cells = <2>; 962bbfc59beSPeng Fan }; 963bbfc59beSPeng Fan 964a05ea40eSJacky Bai usdhc1: mmc@30b40000 { 965a05ea40eSJacky Bai compatible = "fsl,imx8mm-usdhc", "fsl,imx7d-usdhc"; 966a05ea40eSJacky Bai reg = <0x30b40000 0x10000>; 967a05ea40eSJacky Bai interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; 968a6a40d56SAnson Huang clocks = <&clk IMX8MM_CLK_IPG_ROOT>, 969a05ea40eSJacky Bai <&clk IMX8MM_CLK_NAND_USDHC_BUS>, 970a05ea40eSJacky Bai <&clk IMX8MM_CLK_USDHC1_ROOT>; 971a05ea40eSJacky Bai clock-names = "ipg", "ahb", "per"; 972a05ea40eSJacky Bai fsl,tuning-start-tap = <20>; 973a05ea40eSJacky Bai fsl,tuning-step= <2>; 974a05ea40eSJacky Bai bus-width = <4>; 975a05ea40eSJacky Bai status = "disabled"; 976a05ea40eSJacky Bai }; 977a05ea40eSJacky Bai 978a05ea40eSJacky Bai usdhc2: mmc@30b50000 { 979a05ea40eSJacky Bai compatible = "fsl,imx8mm-usdhc", "fsl,imx7d-usdhc"; 980a05ea40eSJacky Bai reg = <0x30b50000 0x10000>; 981a05ea40eSJacky Bai interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; 982a6a40d56SAnson Huang clocks = <&clk IMX8MM_CLK_IPG_ROOT>, 983a05ea40eSJacky Bai <&clk IMX8MM_CLK_NAND_USDHC_BUS>, 984a05ea40eSJacky Bai <&clk IMX8MM_CLK_USDHC2_ROOT>; 985a05ea40eSJacky Bai clock-names = "ipg", "ahb", "per"; 986a05ea40eSJacky Bai fsl,tuning-start-tap = <20>; 987a05ea40eSJacky Bai fsl,tuning-step= <2>; 988a05ea40eSJacky Bai bus-width = <4>; 989a05ea40eSJacky Bai status = "disabled"; 990a05ea40eSJacky Bai }; 991a05ea40eSJacky Bai 992a05ea40eSJacky Bai usdhc3: mmc@30b60000 { 993a05ea40eSJacky Bai compatible = "fsl,imx8mm-usdhc", "fsl,imx7d-usdhc"; 994a05ea40eSJacky Bai reg = <0x30b60000 0x10000>; 995a05ea40eSJacky Bai interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>; 996a6a40d56SAnson Huang clocks = <&clk IMX8MM_CLK_IPG_ROOT>, 997a05ea40eSJacky Bai <&clk IMX8MM_CLK_NAND_USDHC_BUS>, 998a05ea40eSJacky Bai <&clk IMX8MM_CLK_USDHC3_ROOT>; 999a05ea40eSJacky Bai clock-names = "ipg", "ahb", "per"; 1000a05ea40eSJacky Bai fsl,tuning-start-tap = <20>; 1001a05ea40eSJacky Bai fsl,tuning-step= <2>; 1002a05ea40eSJacky Bai bus-width = <4>; 1003a05ea40eSJacky Bai status = "disabled"; 1004a05ea40eSJacky Bai }; 1005a05ea40eSJacky Bai 1006f0692bb8SAdam Ford flexspi: spi@30bb0000 { 1007f0692bb8SAdam Ford #address-cells = <1>; 1008f0692bb8SAdam Ford #size-cells = <0>; 1009f0692bb8SAdam Ford compatible = "nxp,imx8mm-fspi"; 1010f0692bb8SAdam Ford reg = <0x30bb0000 0x10000>, <0x8000000 0x10000000>; 1011f0692bb8SAdam Ford reg-names = "fspi_base", "fspi_mmap"; 1012f0692bb8SAdam Ford interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>; 1013f0692bb8SAdam Ford clocks = <&clk IMX8MM_CLK_QSPI_ROOT>, 1014f0692bb8SAdam Ford <&clk IMX8MM_CLK_QSPI_ROOT>; 10159eaf9984SKuldeep Singh clock-names = "fspi_en", "fspi"; 1016f0692bb8SAdam Ford status = "disabled"; 1017f0692bb8SAdam Ford }; 1018f0692bb8SAdam Ford 1019a05ea40eSJacky Bai sdma1: dma-controller@30bd0000 { 1020e346ff93SShengjiu Wang compatible = "fsl,imx8mm-sdma", "fsl,imx8mq-sdma"; 1021a05ea40eSJacky Bai reg = <0x30bd0000 0x10000>; 1022a05ea40eSJacky Bai interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; 1023a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_SDMA1_ROOT>, 102424a572bfSAdam Ford <&clk IMX8MM_CLK_AHB>; 1025a05ea40eSJacky Bai clock-names = "ipg", "ahb"; 1026a05ea40eSJacky Bai #dma-cells = <3>; 1027a05ea40eSJacky Bai fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin"; 1028a05ea40eSJacky Bai }; 1029a05ea40eSJacky Bai 1030a05ea40eSJacky Bai fec1: ethernet@30be0000 { 1031a758dee8SJoakim Zhang compatible = "fsl,imx8mm-fec", "fsl,imx8mq-fec", "fsl,imx6sx-fec"; 1032a05ea40eSJacky Bai reg = <0x30be0000 0x10000>; 1033a05ea40eSJacky Bai interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, 1034a05ea40eSJacky Bai <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>, 1035d3762a47SFabio Estevam <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>, 1036d3762a47SFabio Estevam <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>; 1037a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_ENET1_ROOT>, 1038a05ea40eSJacky Bai <&clk IMX8MM_CLK_ENET1_ROOT>, 1039a05ea40eSJacky Bai <&clk IMX8MM_CLK_ENET_TIMER>, 1040a05ea40eSJacky Bai <&clk IMX8MM_CLK_ENET_REF>, 1041a05ea40eSJacky Bai <&clk IMX8MM_CLK_ENET_PHY_REF>; 1042a05ea40eSJacky Bai clock-names = "ipg", "ahb", "ptp", 1043a05ea40eSJacky Bai "enet_clk_ref", "enet_out"; 1044a05ea40eSJacky Bai assigned-clocks = <&clk IMX8MM_CLK_ENET_AXI>, 1045a05ea40eSJacky Bai <&clk IMX8MM_CLK_ENET_TIMER>, 1046a05ea40eSJacky Bai <&clk IMX8MM_CLK_ENET_REF>, 104770eacf42SJoakim Zhang <&clk IMX8MM_CLK_ENET_PHY_REF>; 1048a05ea40eSJacky Bai assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_266M>, 1049a05ea40eSJacky Bai <&clk IMX8MM_SYS_PLL2_100M>, 105070eacf42SJoakim Zhang <&clk IMX8MM_SYS_PLL2_125M>, 105170eacf42SJoakim Zhang <&clk IMX8MM_SYS_PLL2_50M>; 105270eacf42SJoakim Zhang assigned-clock-rates = <0>, <100000000>, <125000000>, <0>; 1053a05ea40eSJacky Bai fsl,num-tx-queues = <3>; 1054a05ea40eSJacky Bai fsl,num-rx-queues = <3>; 1055066438aeSJoakim Zhang nvmem-cells = <&fec_mac_address>; 1056066438aeSJoakim Zhang nvmem-cell-names = "mac-address"; 1057066438aeSJoakim Zhang nvmem_macaddr_swap; 1058afe99354SJoakim Zhang fsl,stop-mode = <&gpr 0x10 3>; 1059a05ea40eSJacky Bai status = "disabled"; 1060a05ea40eSJacky Bai }; 1061a05ea40eSJacky Bai 1062a05ea40eSJacky Bai }; 1063a05ea40eSJacky Bai 1064a05ea40eSJacky Bai aips4: bus@32c00000 { 1065dc3efc6fSPeng Fan compatible = "fsl,aips-bus", "simple-bus"; 1066921a6845SFabio Estevam reg = <0x32c00000 0x400000>; 1067a05ea40eSJacky Bai #address-cells = <1>; 1068a05ea40eSJacky Bai #size-cells = <1>; 106910c74207SFabio Estevam ranges = <0x32c00000 0x32c00000 0x400000>; 1070a05ea40eSJacky Bai 1071a05ea40eSJacky Bai usbotg1: usb@32e40000 { 1072a05ea40eSJacky Bai compatible = "fsl,imx8mm-usb", "fsl,imx7d-usb"; 1073a05ea40eSJacky Bai reg = <0x32e40000 0x200>; 1074a05ea40eSJacky Bai interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; 1075a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_USB1_CTRL_ROOT>; 1076a05ea40eSJacky Bai clock-names = "usb1_ctrl_root_clk"; 10778b01840eSLi Jun assigned-clocks = <&clk IMX8MM_CLK_USB_BUS>; 10788b01840eSLi Jun assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_500M>; 107978e80c4bSMarek Vasut phys = <&usbphynop1>; 1080a05ea40eSJacky Bai fsl,usbmisc = <&usbmisc1 0>; 108101df28d8SLucas Stach power-domains = <&pgc_otg1>; 1082a05ea40eSJacky Bai status = "disabled"; 1083a05ea40eSJacky Bai }; 1084a05ea40eSJacky Bai 1085a05ea40eSJacky Bai usbmisc1: usbmisc@32e40200 { 1086a05ea40eSJacky Bai compatible = "fsl,imx8mm-usbmisc", "fsl,imx7d-usbmisc"; 1087a05ea40eSJacky Bai #index-cells = <1>; 1088a05ea40eSJacky Bai reg = <0x32e40200 0x200>; 1089a05ea40eSJacky Bai }; 1090a05ea40eSJacky Bai 1091a05ea40eSJacky Bai usbotg2: usb@32e50000 { 1092a05ea40eSJacky Bai compatible = "fsl,imx8mm-usb", "fsl,imx7d-usb"; 1093a05ea40eSJacky Bai reg = <0x32e50000 0x200>; 1094a05ea40eSJacky Bai interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; 1095a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_USB1_CTRL_ROOT>; 1096a05ea40eSJacky Bai clock-names = "usb1_ctrl_root_clk"; 10978b01840eSLi Jun assigned-clocks = <&clk IMX8MM_CLK_USB_BUS>; 10988b01840eSLi Jun assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_500M>; 109978e80c4bSMarek Vasut phys = <&usbphynop2>; 1100a05ea40eSJacky Bai fsl,usbmisc = <&usbmisc2 0>; 110101df28d8SLucas Stach power-domains = <&pgc_otg2>; 1102a05ea40eSJacky Bai status = "disabled"; 1103a05ea40eSJacky Bai }; 1104a05ea40eSJacky Bai 1105a05ea40eSJacky Bai usbmisc2: usbmisc@32e50200 { 1106a05ea40eSJacky Bai compatible = "fsl,imx8mm-usbmisc", "fsl,imx7d-usbmisc"; 1107a05ea40eSJacky Bai #index-cells = <1>; 1108a05ea40eSJacky Bai reg = <0x32e50200 0x200>; 1109a05ea40eSJacky Bai }; 1110a05ea40eSJacky Bai 1111a05ea40eSJacky Bai }; 1112a05ea40eSJacky Bai 1113a05ea40eSJacky Bai dma_apbh: dma-controller@33000000 { 1114a05ea40eSJacky Bai compatible = "fsl,imx7d-dma-apbh", "fsl,imx28-dma-apbh"; 1115a05ea40eSJacky Bai reg = <0x33000000 0x2000>; 1116a05ea40eSJacky Bai interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>, 1117a05ea40eSJacky Bai <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>, 1118a05ea40eSJacky Bai <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>, 1119a05ea40eSJacky Bai <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; 1120a05ea40eSJacky Bai interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3"; 1121a05ea40eSJacky Bai #dma-cells = <1>; 1122a05ea40eSJacky Bai dma-channels = <4>; 1123a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_NAND_USDHC_BUS_RAWNAND_CLK>; 1124a05ea40eSJacky Bai }; 1125a05ea40eSJacky Bai 1126a05ea40eSJacky Bai gpmi: nand-controller@33002000{ 1127a05ea40eSJacky Bai compatible = "fsl,imx8mm-gpmi-nand", "fsl,imx7d-gpmi-nand"; 1128a05ea40eSJacky Bai #address-cells = <1>; 1129a05ea40eSJacky Bai #size-cells = <1>; 1130a05ea40eSJacky Bai reg = <0x33002000 0x2000>, <0x33004000 0x4000>; 1131a05ea40eSJacky Bai reg-names = "gpmi-nand", "bch"; 1132a05ea40eSJacky Bai interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; 1133a05ea40eSJacky Bai interrupt-names = "bch"; 1134a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_NAND_ROOT>, 1135a05ea40eSJacky Bai <&clk IMX8MM_CLK_NAND_USDHC_BUS_RAWNAND_CLK>; 1136a05ea40eSJacky Bai clock-names = "gpmi_io", "gpmi_bch_apb"; 1137a05ea40eSJacky Bai dmas = <&dma_apbh 0>; 1138a05ea40eSJacky Bai dma-names = "rx-tx"; 1139a05ea40eSJacky Bai status = "disabled"; 1140a05ea40eSJacky Bai }; 1141b4e3e54aSAnson Huang 1142*4523be8eSFrieder Schrempf gpu_3d: gpu@38000000 { 1143*4523be8eSFrieder Schrempf compatible = "vivante,gc"; 1144*4523be8eSFrieder Schrempf reg = <0x38000000 0x8000>; 1145*4523be8eSFrieder Schrempf interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; 1146*4523be8eSFrieder Schrempf clocks = <&clk IMX8MM_CLK_GPU_AHB>, 1147*4523be8eSFrieder Schrempf <&clk IMX8MM_CLK_GPU_BUS_ROOT>, 1148*4523be8eSFrieder Schrempf <&clk IMX8MM_CLK_GPU3D_ROOT>, 1149*4523be8eSFrieder Schrempf <&clk IMX8MM_CLK_GPU3D_ROOT>; 1150*4523be8eSFrieder Schrempf clock-names = "reg", "bus", "core", "shader"; 1151*4523be8eSFrieder Schrempf assigned-clocks = <&clk IMX8MM_CLK_GPU3D_CORE>, 1152*4523be8eSFrieder Schrempf <&clk IMX8MM_GPU_PLL_OUT>; 1153*4523be8eSFrieder Schrempf assigned-clock-parents = <&clk IMX8MM_GPU_PLL_OUT>; 1154*4523be8eSFrieder Schrempf assigned-clock-rates = <0>, <1000000000>; 1155*4523be8eSFrieder Schrempf power-domains = <&pgc_gpu>; 1156*4523be8eSFrieder Schrempf }; 1157*4523be8eSFrieder Schrempf 1158*4523be8eSFrieder Schrempf gpu_2d: gpu@38008000 { 1159*4523be8eSFrieder Schrempf compatible = "vivante,gc"; 1160*4523be8eSFrieder Schrempf reg = <0x38008000 0x8000>; 1161*4523be8eSFrieder Schrempf interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; 1162*4523be8eSFrieder Schrempf clocks = <&clk IMX8MM_CLK_GPU_AHB>, 1163*4523be8eSFrieder Schrempf <&clk IMX8MM_CLK_GPU_BUS_ROOT>, 1164*4523be8eSFrieder Schrempf <&clk IMX8MM_CLK_GPU2D_ROOT>; 1165*4523be8eSFrieder Schrempf clock-names = "reg", "bus", "core"; 1166*4523be8eSFrieder Schrempf assigned-clocks = <&clk IMX8MM_CLK_GPU2D_CORE>, 1167*4523be8eSFrieder Schrempf <&clk IMX8MM_GPU_PLL_OUT>; 1168*4523be8eSFrieder Schrempf assigned-clock-parents = <&clk IMX8MM_GPU_PLL_OUT>; 1169*4523be8eSFrieder Schrempf assigned-clock-rates = <0>, <1000000000>; 1170*4523be8eSFrieder Schrempf power-domains = <&pgc_gpu>; 1171*4523be8eSFrieder Schrempf }; 1172*4523be8eSFrieder Schrempf 1173b4e3e54aSAnson Huang gic: interrupt-controller@38800000 { 1174b4e3e54aSAnson Huang compatible = "arm,gic-v3"; 1175b4e3e54aSAnson Huang reg = <0x38800000 0x10000>, /* GIC Dist */ 1176b4e3e54aSAnson Huang <0x38880000 0xc0000>; /* GICR (RD_base + SGI_base) */ 1177b4e3e54aSAnson Huang #interrupt-cells = <3>; 1178b4e3e54aSAnson Huang interrupt-controller; 1179b4e3e54aSAnson Huang interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; 1180b4e3e54aSAnson Huang }; 11811efe85c9SLeonard Crestez 11820376f6ecSLeonard Crestez ddrc: memory-controller@3d400000 { 11830376f6ecSLeonard Crestez compatible = "fsl,imx8mm-ddrc", "fsl,imx8m-ddrc"; 11840376f6ecSLeonard Crestez reg = <0x3d400000 0x400000>; 11850376f6ecSLeonard Crestez clock-names = "core", "pll", "alt", "apb"; 11860376f6ecSLeonard Crestez clocks = <&clk IMX8MM_CLK_DRAM_CORE>, 11870376f6ecSLeonard Crestez <&clk IMX8MM_DRAM_PLL>, 11880376f6ecSLeonard Crestez <&clk IMX8MM_CLK_DRAM_ALT>, 11890376f6ecSLeonard Crestez <&clk IMX8MM_CLK_DRAM_APB>; 11900376f6ecSLeonard Crestez }; 11910376f6ecSLeonard Crestez 11921efe85c9SLeonard Crestez ddr-pmu@3d800000 { 11931efe85c9SLeonard Crestez compatible = "fsl,imx8mm-ddr-pmu", "fsl,imx8m-ddr-pmu"; 11941efe85c9SLeonard Crestez reg = <0x3d800000 0x400000>; 11951efe85c9SLeonard Crestez interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>; 11961efe85c9SLeonard Crestez }; 1197a05ea40eSJacky Bai }; 1198a05ea40eSJacky Bai}; 1199