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"; 68cb551b5eSPeng Fan i-cache-size = <0x8000>; 69cb551b5eSPeng Fan i-cache-line-size = <64>; 70cb551b5eSPeng Fan i-cache-sets = <256>; 71cb551b5eSPeng Fan d-cache-size = <0x8000>; 72cb551b5eSPeng Fan d-cache-line-size = <64>; 73cb551b5eSPeng Fan d-cache-sets = <128>; 74a05ea40eSJacky Bai next-level-cache = <&A53_L2>; 75e85c9d0fSLeonard Crestez operating-points-v2 = <&a53_opp_table>; 76f403a26cSLeonard Crestez nvmem-cells = <&cpu_speed_grade>; 77f403a26cSLeonard Crestez nvmem-cell-names = "speed_grade"; 78a1406b72SAnson Huang cpu-idle-states = <&cpu_pd_wait>; 7911699fd5SAnson Huang #cooling-cells = <2>; 80a05ea40eSJacky Bai }; 81a05ea40eSJacky Bai 82a05ea40eSJacky Bai A53_1: cpu@1 { 83a05ea40eSJacky Bai device_type = "cpu"; 84a05ea40eSJacky Bai compatible = "arm,cortex-a53"; 85a05ea40eSJacky Bai reg = <0x1>; 86e85c9d0fSLeonard Crestez clock-latency = <61036>; /* two CLK32 periods */ 87e85c9d0fSLeonard Crestez clocks = <&clk IMX8MM_CLK_ARM>; 88a05ea40eSJacky Bai enable-method = "psci"; 89cb551b5eSPeng Fan i-cache-size = <0x8000>; 90cb551b5eSPeng Fan i-cache-line-size = <64>; 91cb551b5eSPeng Fan i-cache-sets = <256>; 92cb551b5eSPeng Fan d-cache-size = <0x8000>; 93cb551b5eSPeng Fan d-cache-line-size = <64>; 94cb551b5eSPeng Fan d-cache-sets = <128>; 95a05ea40eSJacky Bai next-level-cache = <&A53_L2>; 96e85c9d0fSLeonard Crestez operating-points-v2 = <&a53_opp_table>; 97a1406b72SAnson Huang cpu-idle-states = <&cpu_pd_wait>; 9811699fd5SAnson Huang #cooling-cells = <2>; 99a05ea40eSJacky Bai }; 100a05ea40eSJacky Bai 101a05ea40eSJacky Bai A53_2: cpu@2 { 102a05ea40eSJacky Bai device_type = "cpu"; 103a05ea40eSJacky Bai compatible = "arm,cortex-a53"; 104a05ea40eSJacky Bai reg = <0x2>; 105e85c9d0fSLeonard Crestez clock-latency = <61036>; /* two CLK32 periods */ 106e85c9d0fSLeonard Crestez clocks = <&clk IMX8MM_CLK_ARM>; 107a05ea40eSJacky Bai enable-method = "psci"; 108cb551b5eSPeng Fan i-cache-size = <0x8000>; 109cb551b5eSPeng Fan i-cache-line-size = <64>; 110cb551b5eSPeng Fan i-cache-sets = <256>; 111cb551b5eSPeng Fan d-cache-size = <0x8000>; 112cb551b5eSPeng Fan d-cache-line-size = <64>; 113cb551b5eSPeng Fan d-cache-sets = <128>; 114a05ea40eSJacky Bai next-level-cache = <&A53_L2>; 115e85c9d0fSLeonard Crestez operating-points-v2 = <&a53_opp_table>; 116a1406b72SAnson Huang cpu-idle-states = <&cpu_pd_wait>; 11711699fd5SAnson Huang #cooling-cells = <2>; 118a05ea40eSJacky Bai }; 119a05ea40eSJacky Bai 120a05ea40eSJacky Bai A53_3: cpu@3 { 121a05ea40eSJacky Bai device_type = "cpu"; 122a05ea40eSJacky Bai compatible = "arm,cortex-a53"; 123a05ea40eSJacky Bai reg = <0x3>; 124e85c9d0fSLeonard Crestez clock-latency = <61036>; /* two CLK32 periods */ 125e85c9d0fSLeonard Crestez clocks = <&clk IMX8MM_CLK_ARM>; 126a05ea40eSJacky Bai enable-method = "psci"; 127cb551b5eSPeng Fan i-cache-size = <0x8000>; 128cb551b5eSPeng Fan i-cache-line-size = <64>; 129cb551b5eSPeng Fan i-cache-sets = <256>; 130cb551b5eSPeng Fan d-cache-size = <0x8000>; 131cb551b5eSPeng Fan d-cache-line-size = <64>; 132cb551b5eSPeng Fan d-cache-sets = <128>; 133a05ea40eSJacky Bai next-level-cache = <&A53_L2>; 134e85c9d0fSLeonard Crestez operating-points-v2 = <&a53_opp_table>; 135a1406b72SAnson Huang cpu-idle-states = <&cpu_pd_wait>; 13611699fd5SAnson Huang #cooling-cells = <2>; 137a05ea40eSJacky Bai }; 138a05ea40eSJacky Bai 139a05ea40eSJacky Bai A53_L2: l2-cache0 { 140a05ea40eSJacky Bai compatible = "cache"; 141cb551b5eSPeng Fan cache-level = <2>; 142cb551b5eSPeng Fan cache-size = <0x80000>; 143cb551b5eSPeng Fan cache-line-size = <64>; 144cb551b5eSPeng Fan cache-sets = <512>; 145a05ea40eSJacky Bai }; 146a05ea40eSJacky Bai }; 147a05ea40eSJacky Bai 148e85c9d0fSLeonard Crestez a53_opp_table: opp-table { 149e85c9d0fSLeonard Crestez compatible = "operating-points-v2"; 150e85c9d0fSLeonard Crestez opp-shared; 151e85c9d0fSLeonard Crestez 152e85c9d0fSLeonard Crestez opp-1200000000 { 153e85c9d0fSLeonard Crestez opp-hz = /bits/ 64 <1200000000>; 154e85c9d0fSLeonard Crestez opp-microvolt = <850000>; 155f403a26cSLeonard Crestez opp-supported-hw = <0xe>, <0x7>; 156e85c9d0fSLeonard Crestez clock-latency-ns = <150000>; 1570d9df581SAnson Huang opp-suspend; 158e85c9d0fSLeonard Crestez }; 159e85c9d0fSLeonard Crestez 160e85c9d0fSLeonard Crestez opp-1600000000 { 161e85c9d0fSLeonard Crestez opp-hz = /bits/ 64 <1600000000>; 162d19d2152SLucas Stach opp-microvolt = <950000>; 163f403a26cSLeonard Crestez opp-supported-hw = <0xc>, <0x7>; 164e85c9d0fSLeonard Crestez clock-latency-ns = <150000>; 1650d9df581SAnson Huang opp-suspend; 166f403a26cSLeonard Crestez }; 167f403a26cSLeonard Crestez 168f403a26cSLeonard Crestez opp-1800000000 { 169f403a26cSLeonard Crestez opp-hz = /bits/ 64 <1800000000>; 170f403a26cSLeonard Crestez opp-microvolt = <1000000>; 171cd7c2ddfSAnson Huang opp-supported-hw = <0x8>, <0x3>; 172f403a26cSLeonard Crestez clock-latency-ns = <150000>; 1730d9df581SAnson Huang opp-suspend; 174e85c9d0fSLeonard Crestez }; 175e85c9d0fSLeonard Crestez }; 176e85c9d0fSLeonard Crestez 177a05ea40eSJacky Bai osc_32k: clock-osc-32k { 178a05ea40eSJacky Bai compatible = "fixed-clock"; 179a05ea40eSJacky Bai #clock-cells = <0>; 180a05ea40eSJacky Bai clock-frequency = <32768>; 181a05ea40eSJacky Bai clock-output-names = "osc_32k"; 182a05ea40eSJacky Bai }; 183a05ea40eSJacky Bai 184a05ea40eSJacky Bai osc_24m: clock-osc-24m { 185a05ea40eSJacky Bai compatible = "fixed-clock"; 186a05ea40eSJacky Bai #clock-cells = <0>; 187a05ea40eSJacky Bai clock-frequency = <24000000>; 188a05ea40eSJacky Bai clock-output-names = "osc_24m"; 189a05ea40eSJacky Bai }; 190a05ea40eSJacky Bai 191a05ea40eSJacky Bai clk_ext1: clock-ext1 { 192a05ea40eSJacky Bai compatible = "fixed-clock"; 193a05ea40eSJacky Bai #clock-cells = <0>; 194a05ea40eSJacky Bai clock-frequency = <133000000>; 195a05ea40eSJacky Bai clock-output-names = "clk_ext1"; 196a05ea40eSJacky Bai }; 197a05ea40eSJacky Bai 198a05ea40eSJacky Bai clk_ext2: clock-ext2 { 199a05ea40eSJacky Bai compatible = "fixed-clock"; 200a05ea40eSJacky Bai #clock-cells = <0>; 201a05ea40eSJacky Bai clock-frequency = <133000000>; 202a05ea40eSJacky Bai clock-output-names = "clk_ext2"; 203a05ea40eSJacky Bai }; 204a05ea40eSJacky Bai 205a05ea40eSJacky Bai clk_ext3: clock-ext3 { 206a05ea40eSJacky Bai compatible = "fixed-clock"; 207a05ea40eSJacky Bai #clock-cells = <0>; 208a05ea40eSJacky Bai clock-frequency = <133000000>; 209a05ea40eSJacky Bai clock-output-names = "clk_ext3"; 210a05ea40eSJacky Bai }; 211a05ea40eSJacky Bai 212a05ea40eSJacky Bai clk_ext4: clock-ext4 { 213a05ea40eSJacky Bai compatible = "fixed-clock"; 214a05ea40eSJacky Bai #clock-cells = <0>; 215a05ea40eSJacky Bai clock-frequency= <133000000>; 216a05ea40eSJacky Bai clock-output-names = "clk_ext4"; 217a05ea40eSJacky Bai }; 218a05ea40eSJacky Bai 219a05ea40eSJacky Bai psci { 220a05ea40eSJacky Bai compatible = "arm,psci-1.0"; 221a05ea40eSJacky Bai method = "smc"; 222a05ea40eSJacky Bai }; 223a05ea40eSJacky Bai 224a05ea40eSJacky Bai pmu { 225ceec36eeSPeng Fan compatible = "arm,cortex-a53-pmu"; 226a05ea40eSJacky Bai interrupts = <GIC_PPI 7 2275c22a9afSKrzysztof Kozlowski (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; 228a05ea40eSJacky Bai }; 229a05ea40eSJacky Bai 230a05ea40eSJacky Bai timer { 231a05ea40eSJacky Bai compatible = "arm,armv8-timer"; 2325c22a9afSKrzysztof Kozlowski interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, /* Physical Secure */ 2335c22a9afSKrzysztof Kozlowski <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, /* Physical Non-Secure */ 2345c22a9afSKrzysztof Kozlowski <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, /* Virtual */ 2355c22a9afSKrzysztof Kozlowski <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; /* Hypervisor */ 236a05ea40eSJacky Bai clock-frequency = <8000000>; 237a05ea40eSJacky Bai arm,no-tick-in-suspend; 238a05ea40eSJacky Bai }; 239a05ea40eSJacky Bai 24011699fd5SAnson Huang thermal-zones { 24111699fd5SAnson Huang cpu-thermal { 24211699fd5SAnson Huang polling-delay-passive = <250>; 24311699fd5SAnson Huang polling-delay = <2000>; 24411699fd5SAnson Huang thermal-sensors = <&tmu>; 24511699fd5SAnson Huang trips { 24611699fd5SAnson Huang cpu_alert0: trip0 { 24711699fd5SAnson Huang temperature = <85000>; 24811699fd5SAnson Huang hysteresis = <2000>; 24911699fd5SAnson Huang type = "passive"; 25011699fd5SAnson Huang }; 25111699fd5SAnson Huang 25211699fd5SAnson Huang cpu_crit0: trip1 { 25311699fd5SAnson Huang temperature = <95000>; 25411699fd5SAnson Huang hysteresis = <2000>; 25511699fd5SAnson Huang type = "critical"; 25611699fd5SAnson Huang }; 25711699fd5SAnson Huang }; 25811699fd5SAnson Huang 25911699fd5SAnson Huang cooling-maps { 26011699fd5SAnson Huang map0 { 26111699fd5SAnson Huang trip = <&cpu_alert0>; 26211699fd5SAnson Huang cooling-device = 26311699fd5SAnson Huang <&A53_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 26411699fd5SAnson Huang <&A53_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 26511699fd5SAnson Huang <&A53_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 26611699fd5SAnson Huang <&A53_3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 26711699fd5SAnson Huang }; 26811699fd5SAnson Huang }; 26911699fd5SAnson Huang }; 27011699fd5SAnson Huang }; 27111699fd5SAnson Huang 272a656622aSFabio Estevam usbphynop1: usbphynop1 { 27378e80c4bSMarek Vasut #phy-cells = <0>; 274a656622aSFabio Estevam compatible = "usb-nop-xceiv"; 275a656622aSFabio Estevam clocks = <&clk IMX8MM_CLK_USB_PHY_REF>; 276a656622aSFabio Estevam assigned-clocks = <&clk IMX8MM_CLK_USB_PHY_REF>; 277a656622aSFabio Estevam assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_100M>; 278a656622aSFabio Estevam clock-names = "main_clk"; 279a656622aSFabio Estevam }; 280a656622aSFabio Estevam 281a656622aSFabio Estevam usbphynop2: usbphynop2 { 28278e80c4bSMarek Vasut #phy-cells = <0>; 283a656622aSFabio Estevam compatible = "usb-nop-xceiv"; 284a656622aSFabio Estevam clocks = <&clk IMX8MM_CLK_USB_PHY_REF>; 285a656622aSFabio Estevam assigned-clocks = <&clk IMX8MM_CLK_USB_PHY_REF>; 286a656622aSFabio Estevam assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_100M>; 287a656622aSFabio Estevam clock-names = "main_clk"; 288a656622aSFabio Estevam }; 289a656622aSFabio Estevam 290951c1d37SFabio Estevam soc@0 { 291ce58459dSAlice Guo compatible = "fsl,imx8mm-soc", "simple-bus"; 292a05ea40eSJacky Bai #address-cells = <1>; 293a05ea40eSJacky Bai #size-cells = <1>; 294a05ea40eSJacky Bai ranges = <0x0 0x0 0x0 0x3e000000>; 2954251a3acSLucas Stach dma-ranges = <0x40000000 0x0 0x40000000 0xc0000000>; 296cbff2379SAlice Guo nvmem-cells = <&imx8mm_uid>; 297cbff2379SAlice Guo nvmem-cell-names = "soc_unique_id"; 298a05ea40eSJacky Bai 299a05ea40eSJacky Bai aips1: bus@30000000 { 300dc3efc6fSPeng Fan compatible = "fsl,aips-bus", "simple-bus"; 301921a6845SFabio Estevam reg = <0x30000000 0x400000>; 302a05ea40eSJacky Bai #address-cells = <1>; 303a05ea40eSJacky Bai #size-cells = <1>; 30410c74207SFabio Estevam ranges = <0x30000000 0x30000000 0x400000>; 305a05ea40eSJacky Bai 3067923353bSAdam Ford spba2: spba-bus@30000000 { 3077923353bSAdam Ford compatible = "fsl,spba-bus", "simple-bus"; 3087923353bSAdam Ford #address-cells = <1>; 3097923353bSAdam Ford #size-cells = <1>; 3107923353bSAdam Ford reg = <0x30000000 0x100000>; 3117923353bSAdam Ford ranges; 3127923353bSAdam Ford 3134bee4357SDaniel Baluta sai1: sai@30010000 { 314ebfa8951SMatt Porter #sound-dai-cells = <0>; 3154bee4357SDaniel Baluta compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 3164bee4357SDaniel Baluta reg = <0x30010000 0x10000>; 3174bee4357SDaniel Baluta interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>; 3184bee4357SDaniel Baluta clocks = <&clk IMX8MM_CLK_SAI1_IPG>, 3194bee4357SDaniel Baluta <&clk IMX8MM_CLK_SAI1_ROOT>, 3204bee4357SDaniel Baluta <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>; 3214bee4357SDaniel Baluta clock-names = "bus", "mclk1", "mclk2", "mclk3"; 3224bee4357SDaniel Baluta dmas = <&sdma2 0 2 0>, <&sdma2 1 2 0>; 3234bee4357SDaniel Baluta dma-names = "rx", "tx"; 3244bee4357SDaniel Baluta status = "disabled"; 3254bee4357SDaniel Baluta }; 3264bee4357SDaniel Baluta 3274bee4357SDaniel Baluta sai2: sai@30020000 { 328ebfa8951SMatt Porter #sound-dai-cells = <0>; 3294bee4357SDaniel Baluta compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 3304bee4357SDaniel Baluta reg = <0x30020000 0x10000>; 3314bee4357SDaniel Baluta interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; 3324bee4357SDaniel Baluta clocks = <&clk IMX8MM_CLK_SAI2_IPG>, 3334bee4357SDaniel Baluta <&clk IMX8MM_CLK_SAI2_ROOT>, 3344bee4357SDaniel Baluta <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>; 3354bee4357SDaniel Baluta clock-names = "bus", "mclk1", "mclk2", "mclk3"; 3364bee4357SDaniel Baluta dmas = <&sdma2 2 2 0>, <&sdma2 3 2 0>; 3374bee4357SDaniel Baluta dma-names = "rx", "tx"; 3384bee4357SDaniel Baluta status = "disabled"; 3394bee4357SDaniel Baluta }; 3404bee4357SDaniel Baluta 3414bee4357SDaniel Baluta sai3: sai@30030000 { 3424bee4357SDaniel Baluta #sound-dai-cells = <0>; 3434bee4357SDaniel Baluta compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 3444bee4357SDaniel Baluta reg = <0x30030000 0x10000>; 3454bee4357SDaniel Baluta interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>; 3464bee4357SDaniel Baluta clocks = <&clk IMX8MM_CLK_SAI3_IPG>, 3474bee4357SDaniel Baluta <&clk IMX8MM_CLK_SAI3_ROOT>, 3484bee4357SDaniel Baluta <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>; 3494bee4357SDaniel Baluta clock-names = "bus", "mclk1", "mclk2", "mclk3"; 3504bee4357SDaniel Baluta dmas = <&sdma2 4 2 0>, <&sdma2 5 2 0>; 3514bee4357SDaniel Baluta dma-names = "rx", "tx"; 3524bee4357SDaniel Baluta status = "disabled"; 3534bee4357SDaniel Baluta }; 3544bee4357SDaniel Baluta 3554bee4357SDaniel Baluta sai5: sai@30050000 { 356ebfa8951SMatt Porter #sound-dai-cells = <0>; 3574bee4357SDaniel Baluta compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 3584bee4357SDaniel Baluta reg = <0x30050000 0x10000>; 3594bee4357SDaniel Baluta interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>; 3604bee4357SDaniel Baluta clocks = <&clk IMX8MM_CLK_SAI5_IPG>, 3614bee4357SDaniel Baluta <&clk IMX8MM_CLK_SAI5_ROOT>, 3624bee4357SDaniel Baluta <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>; 3634bee4357SDaniel Baluta clock-names = "bus", "mclk1", "mclk2", "mclk3"; 3644bee4357SDaniel Baluta dmas = <&sdma2 8 2 0>, <&sdma2 9 2 0>; 3654bee4357SDaniel Baluta dma-names = "rx", "tx"; 3664bee4357SDaniel Baluta status = "disabled"; 3674bee4357SDaniel Baluta }; 3684bee4357SDaniel Baluta 3694bee4357SDaniel Baluta sai6: sai@30060000 { 370ebfa8951SMatt Porter #sound-dai-cells = <0>; 3714bee4357SDaniel Baluta compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 3724bee4357SDaniel Baluta reg = <0x30060000 0x10000>; 3734bee4357SDaniel Baluta interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>; 3744bee4357SDaniel Baluta clocks = <&clk IMX8MM_CLK_SAI6_IPG>, 3754bee4357SDaniel Baluta <&clk IMX8MM_CLK_SAI6_ROOT>, 3764bee4357SDaniel Baluta <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>; 3774bee4357SDaniel Baluta clock-names = "bus", "mclk1", "mclk2", "mclk3"; 3784bee4357SDaniel Baluta dmas = <&sdma2 10 2 0>, <&sdma2 11 2 0>; 3794bee4357SDaniel Baluta dma-names = "rx", "tx"; 3804bee4357SDaniel Baluta status = "disabled"; 3814bee4357SDaniel Baluta }; 382a05ea40eSJacky Bai 3833bd0788cSAdam Ford micfil: audio-controller@30080000 { 3843bd0788cSAdam Ford compatible = "fsl,imx8mm-micfil"; 3853bd0788cSAdam Ford reg = <0x30080000 0x10000>; 3863bd0788cSAdam Ford interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>, 3873bd0788cSAdam Ford <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>, 3883bd0788cSAdam Ford <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>, 3893bd0788cSAdam Ford <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>; 3903bd0788cSAdam Ford clocks = <&clk IMX8MM_CLK_PDM_IPG>, 3913bd0788cSAdam Ford <&clk IMX8MM_CLK_PDM_ROOT>, 3923bd0788cSAdam Ford <&clk IMX8MM_AUDIO_PLL1_OUT>, 3933bd0788cSAdam Ford <&clk IMX8MM_AUDIO_PLL2_OUT>, 3943bd0788cSAdam Ford <&clk IMX8MM_CLK_EXT3>; 3953bd0788cSAdam Ford clock-names = "ipg_clk", "ipg_clk_app", 3963bd0788cSAdam Ford "pll8k", "pll11k", "clkext3"; 3973bd0788cSAdam Ford dmas = <&sdma2 24 25 0x80000000>; 3983bd0788cSAdam Ford dma-names = "rx"; 3993bd0788cSAdam Ford status = "disabled"; 4003bd0788cSAdam Ford }; 4013bd0788cSAdam Ford 40257412197SAdam Ford spdif1: spdif@30090000 { 40357412197SAdam Ford compatible = "fsl,imx35-spdif"; 40457412197SAdam Ford reg = <0x30090000 0x10000>; 40557412197SAdam Ford interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; 40657412197SAdam Ford clocks = <&clk IMX8MM_CLK_AUDIO_AHB>, /* core */ 40757412197SAdam Ford <&clk IMX8MM_CLK_24M>, /* rxtx0 */ 40857412197SAdam Ford <&clk IMX8MM_CLK_SPDIF1>, /* rxtx1 */ 40957412197SAdam Ford <&clk IMX8MM_CLK_DUMMY>, /* rxtx2 */ 41057412197SAdam Ford <&clk IMX8MM_CLK_DUMMY>, /* rxtx3 */ 41157412197SAdam Ford <&clk IMX8MM_CLK_DUMMY>, /* rxtx4 */ 41257412197SAdam Ford <&clk IMX8MM_CLK_AUDIO_AHB>, /* rxtx5 */ 41357412197SAdam Ford <&clk IMX8MM_CLK_DUMMY>, /* rxtx6 */ 41457412197SAdam Ford <&clk IMX8MM_CLK_DUMMY>, /* rxtx7 */ 41557412197SAdam Ford <&clk IMX8MM_CLK_DUMMY>; /* spba */ 41657412197SAdam Ford clock-names = "core", "rxtx0", 41757412197SAdam Ford "rxtx1", "rxtx2", 41857412197SAdam Ford "rxtx3", "rxtx4", 41957412197SAdam Ford "rxtx5", "rxtx6", 42057412197SAdam Ford "rxtx7", "spba"; 42157412197SAdam Ford dmas = <&sdma2 28 18 0>, <&sdma2 29 18 0>; 42257412197SAdam Ford dma-names = "rx", "tx"; 42357412197SAdam Ford status = "disabled"; 42457412197SAdam Ford }; 4257923353bSAdam Ford }; 42657412197SAdam Ford 427a05ea40eSJacky Bai gpio1: gpio@30200000 { 428a05ea40eSJacky Bai compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio"; 429a05ea40eSJacky Bai reg = <0x30200000 0x10000>; 430a05ea40eSJacky Bai interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>, 431a05ea40eSJacky Bai <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; 43209892aa1SAnson Huang clocks = <&clk IMX8MM_CLK_GPIO1_ROOT>; 433a05ea40eSJacky Bai gpio-controller; 434a05ea40eSJacky Bai #gpio-cells = <2>; 435a05ea40eSJacky Bai interrupt-controller; 436a05ea40eSJacky Bai #interrupt-cells = <2>; 43715626359SAnson Huang gpio-ranges = <&iomuxc 0 10 30>; 438a05ea40eSJacky Bai }; 439a05ea40eSJacky Bai 440a05ea40eSJacky Bai gpio2: gpio@30210000 { 441a05ea40eSJacky Bai compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio"; 442a05ea40eSJacky Bai reg = <0x30210000 0x10000>; 443a05ea40eSJacky Bai interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>, 444a05ea40eSJacky Bai <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; 44509892aa1SAnson Huang clocks = <&clk IMX8MM_CLK_GPIO2_ROOT>; 446a05ea40eSJacky Bai gpio-controller; 447a05ea40eSJacky Bai #gpio-cells = <2>; 448a05ea40eSJacky Bai interrupt-controller; 449a05ea40eSJacky Bai #interrupt-cells = <2>; 45015626359SAnson Huang gpio-ranges = <&iomuxc 0 40 21>; 451a05ea40eSJacky Bai }; 452a05ea40eSJacky Bai 453a05ea40eSJacky Bai gpio3: gpio@30220000 { 454a05ea40eSJacky Bai compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio"; 455a05ea40eSJacky Bai reg = <0x30220000 0x10000>; 456a05ea40eSJacky Bai interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>, 457a05ea40eSJacky Bai <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>; 45809892aa1SAnson Huang clocks = <&clk IMX8MM_CLK_GPIO3_ROOT>; 459a05ea40eSJacky Bai gpio-controller; 460a05ea40eSJacky Bai #gpio-cells = <2>; 461a05ea40eSJacky Bai interrupt-controller; 462a05ea40eSJacky Bai #interrupt-cells = <2>; 46315626359SAnson Huang gpio-ranges = <&iomuxc 0 61 26>; 464a05ea40eSJacky Bai }; 465a05ea40eSJacky Bai 466a05ea40eSJacky Bai gpio4: gpio@30230000 { 467a05ea40eSJacky Bai compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio"; 468a05ea40eSJacky Bai reg = <0x30230000 0x10000>; 469a05ea40eSJacky Bai interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>, 470a05ea40eSJacky Bai <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>; 47109892aa1SAnson Huang clocks = <&clk IMX8MM_CLK_GPIO4_ROOT>; 472a05ea40eSJacky Bai gpio-controller; 473a05ea40eSJacky Bai #gpio-cells = <2>; 474a05ea40eSJacky Bai interrupt-controller; 475a05ea40eSJacky Bai #interrupt-cells = <2>; 47615626359SAnson Huang gpio-ranges = <&iomuxc 0 87 32>; 477a05ea40eSJacky Bai }; 478a05ea40eSJacky Bai 479a05ea40eSJacky Bai gpio5: gpio@30240000 { 480a05ea40eSJacky Bai compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio"; 481a05ea40eSJacky Bai reg = <0x30240000 0x10000>; 482a05ea40eSJacky Bai interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>, 483a05ea40eSJacky Bai <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; 48409892aa1SAnson Huang clocks = <&clk IMX8MM_CLK_GPIO5_ROOT>; 485a05ea40eSJacky Bai gpio-controller; 486a05ea40eSJacky Bai #gpio-cells = <2>; 487a05ea40eSJacky Bai interrupt-controller; 488a05ea40eSJacky Bai #interrupt-cells = <2>; 48915626359SAnson Huang gpio-ranges = <&iomuxc 0 119 30>; 490a05ea40eSJacky Bai }; 491a05ea40eSJacky Bai 49211699fd5SAnson Huang tmu: tmu@30260000 { 49311699fd5SAnson Huang compatible = "fsl,imx8mm-tmu"; 49411699fd5SAnson Huang reg = <0x30260000 0x10000>; 49511699fd5SAnson Huang clocks = <&clk IMX8MM_CLK_TMU_ROOT>; 49611699fd5SAnson Huang #thermal-sensor-cells = <0>; 49711699fd5SAnson Huang }; 49811699fd5SAnson Huang 499a05ea40eSJacky Bai wdog1: watchdog@30280000 { 500a05ea40eSJacky Bai compatible = "fsl,imx8mm-wdt", "fsl,imx21-wdt"; 501a05ea40eSJacky Bai reg = <0x30280000 0x10000>; 502a05ea40eSJacky Bai interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>; 503a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_WDOG1_ROOT>; 504a05ea40eSJacky Bai status = "disabled"; 505a05ea40eSJacky Bai }; 506a05ea40eSJacky Bai 507a05ea40eSJacky Bai wdog2: watchdog@30290000 { 508a05ea40eSJacky Bai compatible = "fsl,imx8mm-wdt", "fsl,imx21-wdt"; 509a05ea40eSJacky Bai reg = <0x30290000 0x10000>; 510a05ea40eSJacky Bai interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>; 511a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_WDOG2_ROOT>; 512a05ea40eSJacky Bai status = "disabled"; 513a05ea40eSJacky Bai }; 514a05ea40eSJacky Bai 515a05ea40eSJacky Bai wdog3: watchdog@302a0000 { 516a05ea40eSJacky Bai compatible = "fsl,imx8mm-wdt", "fsl,imx21-wdt"; 517a05ea40eSJacky Bai reg = <0x302a0000 0x10000>; 518a05ea40eSJacky Bai interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 519a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_WDOG3_ROOT>; 520a05ea40eSJacky Bai status = "disabled"; 521a05ea40eSJacky Bai }; 522a05ea40eSJacky Bai 523a05ea40eSJacky Bai sdma2: dma-controller@302c0000 { 524e346ff93SShengjiu Wang compatible = "fsl,imx8mm-sdma", "fsl,imx8mq-sdma"; 525a05ea40eSJacky Bai reg = <0x302c0000 0x10000>; 526a05ea40eSJacky Bai interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; 527a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_SDMA2_ROOT>, 528a05ea40eSJacky Bai <&clk IMX8MM_CLK_SDMA2_ROOT>; 529a05ea40eSJacky Bai clock-names = "ipg", "ahb"; 530a05ea40eSJacky Bai #dma-cells = <3>; 531a05ea40eSJacky Bai fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin"; 532a05ea40eSJacky Bai }; 533a05ea40eSJacky Bai 534a05ea40eSJacky Bai sdma3: dma-controller@302b0000 { 535e346ff93SShengjiu Wang compatible = "fsl,imx8mm-sdma", "fsl,imx8mq-sdma"; 536a05ea40eSJacky Bai reg = <0x302b0000 0x10000>; 537a05ea40eSJacky Bai interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; 538a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_SDMA3_ROOT>, 539a05ea40eSJacky Bai <&clk IMX8MM_CLK_SDMA3_ROOT>; 540a05ea40eSJacky Bai clock-names = "ipg", "ahb"; 541a05ea40eSJacky Bai #dma-cells = <3>; 542a05ea40eSJacky Bai fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin"; 543a05ea40eSJacky Bai }; 544a05ea40eSJacky Bai 545a05ea40eSJacky Bai iomuxc: pinctrl@30330000 { 546a05ea40eSJacky Bai compatible = "fsl,imx8mm-iomuxc"; 547a05ea40eSJacky Bai reg = <0x30330000 0x10000>; 548a05ea40eSJacky Bai }; 549a05ea40eSJacky Bai 550a05ea40eSJacky Bai gpr: iomuxc-gpr@30340000 { 551aaeba6a8SRichard Zhu compatible = "fsl,imx8mm-iomuxc-gpr", "fsl,imx6q-iomuxc-gpr", "syscon"; 552a05ea40eSJacky Bai reg = <0x30340000 0x10000>; 553a05ea40eSJacky Bai }; 554a05ea40eSJacky Bai 55512fa1078SAnson Huang ocotp: efuse@30350000 { 556b09802a0SAnson Huang compatible = "fsl,imx8mm-ocotp", "syscon"; 557a05ea40eSJacky Bai reg = <0x30350000 0x10000>; 558a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_OCOTP_ROOT>; 559a05ea40eSJacky Bai /* For nvmem subnodes */ 560a05ea40eSJacky Bai #address-cells = <1>; 561a05ea40eSJacky Bai #size-cells = <1>; 562f403a26cSLeonard Crestez 563cbff2379SAlice Guo imx8mm_uid: unique-id@410 { 564cbff2379SAlice Guo reg = <0x4 0x8>; 565cbff2379SAlice Guo }; 566cbff2379SAlice Guo 567f403a26cSLeonard Crestez cpu_speed_grade: speed-grade@10 { 568f403a26cSLeonard Crestez reg = <0x10 4>; 569f403a26cSLeonard Crestez }; 570066438aeSJoakim Zhang 571066438aeSJoakim Zhang fec_mac_address: mac-address@90 { 572066438aeSJoakim Zhang reg = <0x90 6>; 573066438aeSJoakim Zhang }; 574a05ea40eSJacky Bai }; 575a05ea40eSJacky Bai 576a05ea40eSJacky Bai anatop: anatop@30360000 { 5770900a484SFancy Fang compatible = "fsl,imx8mm-anatop", "syscon"; 578a05ea40eSJacky Bai reg = <0x30360000 0x10000>; 579a05ea40eSJacky Bai }; 580a05ea40eSJacky Bai 581a05ea40eSJacky Bai snvs: snvs@30370000 { 582a05ea40eSJacky Bai compatible = "fsl,sec-v4.0-mon","syscon", "simple-mfd"; 583a05ea40eSJacky Bai reg = <0x30370000 0x10000>; 584a05ea40eSJacky Bai 585a05ea40eSJacky Bai snvs_rtc: snvs-rtc-lp { 586a05ea40eSJacky Bai compatible = "fsl,sec-v4.0-mon-rtc-lp"; 587a05ea40eSJacky Bai regmap = <&snvs>; 588a05ea40eSJacky Bai offset = <0x34>; 589a05ea40eSJacky Bai interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>, 590a05ea40eSJacky Bai <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; 591f145b209SAnson Huang clocks = <&clk IMX8MM_CLK_SNVS_ROOT>; 592f145b209SAnson Huang clock-names = "snvs-rtc"; 593a05ea40eSJacky Bai }; 594a05ea40eSJacky Bai 595a05ea40eSJacky Bai snvs_pwrkey: snvs-powerkey { 596a05ea40eSJacky Bai compatible = "fsl,sec-v4.0-pwrkey"; 597a05ea40eSJacky Bai regmap = <&snvs>; 598a05ea40eSJacky Bai interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; 59946770eaeSAndré Draszik clocks = <&clk IMX8MM_CLK_SNVS_ROOT>; 60046770eaeSAndré Draszik clock-names = "snvs-pwrkey"; 601a05ea40eSJacky Bai linux,keycode = <KEY_POWER>; 602a05ea40eSJacky Bai wakeup-source; 603d038c1dcSAnson Huang status = "disabled"; 604a05ea40eSJacky Bai }; 605a05ea40eSJacky Bai }; 606a05ea40eSJacky Bai 607a05ea40eSJacky Bai clk: clock-controller@30380000 { 608a05ea40eSJacky Bai compatible = "fsl,imx8mm-ccm"; 609a05ea40eSJacky Bai reg = <0x30380000 0x10000>; 610a05ea40eSJacky Bai #clock-cells = <1>; 611a05ea40eSJacky Bai clocks = <&osc_32k>, <&osc_24m>, <&clk_ext1>, <&clk_ext2>, 612a05ea40eSJacky Bai <&clk_ext3>, <&clk_ext4>; 613a05ea40eSJacky Bai clock-names = "osc_32k", "osc_24m", "clk_ext1", "clk_ext2", 614a05ea40eSJacky Bai "clk_ext3", "clk_ext4"; 6159e6337e6SPeng Fan assigned-clocks = <&clk IMX8MM_CLK_A53_SRC>, 6169e6337e6SPeng Fan <&clk IMX8MM_CLK_A53_CORE>, 6179e6337e6SPeng Fan <&clk IMX8MM_CLK_NOC>, 6186b392e16SAbel Vesa <&clk IMX8MM_CLK_AUDIO_AHB>, 6196b392e16SAbel Vesa <&clk IMX8MM_CLK_IPG_AUDIO_ROOT>, 6206b392e16SAbel Vesa <&clk IMX8MM_SYS_PLL3>, 621e8b395b2SS.j. Wang <&clk IMX8MM_VIDEO_PLL1>, 622842912c4SLucas Stach <&clk IMX8MM_AUDIO_PLL1>; 6239e6337e6SPeng Fan assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_800M>, 6249e6337e6SPeng Fan <&clk IMX8MM_ARM_PLL_OUT>, 6259e6337e6SPeng Fan <&clk IMX8MM_SYS_PLL3_OUT>, 6266b392e16SAbel Vesa <&clk IMX8MM_SYS_PLL1_800M>; 6279e6337e6SPeng Fan assigned-clock-rates = <0>, <0>, <0>, 6286b392e16SAbel Vesa <400000000>, 6296b392e16SAbel Vesa <400000000>, 6306b392e16SAbel Vesa <750000000>, 631e8b395b2SS.j. Wang <594000000>, 632842912c4SLucas Stach <393216000>; 633a05ea40eSJacky Bai }; 634a05ea40eSJacky Bai 635a05ea40eSJacky Bai src: reset-controller@30390000 { 63646b29f4bSAnson Huang compatible = "fsl,imx8mm-src", "fsl,imx8mq-src", "syscon"; 637a05ea40eSJacky Bai reg = <0x30390000 0x10000>; 638a05ea40eSJacky Bai interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; 639a05ea40eSJacky Bai #reset-cells = <1>; 640a05ea40eSJacky Bai }; 641d39d4bb1SLucas Stach 642d39d4bb1SLucas Stach gpc: gpc@303a0000 { 643d39d4bb1SLucas Stach compatible = "fsl,imx8mm-gpc"; 644d39d4bb1SLucas Stach reg = <0x303a0000 0x10000>; 645d39d4bb1SLucas Stach interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>; 646d39d4bb1SLucas Stach interrupt-parent = <&gic>; 647d39d4bb1SLucas Stach interrupt-controller; 648d39d4bb1SLucas Stach #interrupt-cells = <3>; 649d39d4bb1SLucas Stach 650d39d4bb1SLucas Stach pgc { 651d39d4bb1SLucas Stach #address-cells = <1>; 652d39d4bb1SLucas Stach #size-cells = <0>; 653d39d4bb1SLucas Stach 654d39d4bb1SLucas Stach pgc_hsiomix: power-domain@0 { 655d39d4bb1SLucas Stach #power-domain-cells = <0>; 656d39d4bb1SLucas Stach reg = <IMX8MM_POWER_DOMAIN_HSIOMIX>; 657d39d4bb1SLucas Stach clocks = <&clk IMX8MM_CLK_USB_BUS>; 658d39d4bb1SLucas Stach assigned-clocks = <&clk IMX8MM_CLK_USB_BUS>; 659d39d4bb1SLucas Stach assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_500M>; 660d39d4bb1SLucas Stach }; 661d39d4bb1SLucas Stach 662d39d4bb1SLucas Stach pgc_pcie: power-domain@1 { 663d39d4bb1SLucas Stach #power-domain-cells = <0>; 664d39d4bb1SLucas Stach reg = <IMX8MM_POWER_DOMAIN_PCIE>; 665d39d4bb1SLucas Stach power-domains = <&pgc_hsiomix>; 666d39d4bb1SLucas Stach clocks = <&clk IMX8MM_CLK_PCIE1_ROOT>; 667d39d4bb1SLucas Stach }; 668d39d4bb1SLucas Stach 669d39d4bb1SLucas Stach pgc_otg1: power-domain@2 { 670d39d4bb1SLucas Stach #power-domain-cells = <0>; 671d39d4bb1SLucas Stach reg = <IMX8MM_POWER_DOMAIN_OTG1>; 672d39d4bb1SLucas Stach power-domains = <&pgc_hsiomix>; 673d39d4bb1SLucas Stach }; 674d39d4bb1SLucas Stach 675d39d4bb1SLucas Stach pgc_otg2: power-domain@3 { 676d39d4bb1SLucas Stach #power-domain-cells = <0>; 677d39d4bb1SLucas Stach reg = <IMX8MM_POWER_DOMAIN_OTG2>; 678d39d4bb1SLucas Stach power-domains = <&pgc_hsiomix>; 679d39d4bb1SLucas Stach }; 680d39d4bb1SLucas Stach 681d39d4bb1SLucas Stach pgc_gpumix: power-domain@4 { 682d39d4bb1SLucas Stach #power-domain-cells = <0>; 683d39d4bb1SLucas Stach reg = <IMX8MM_POWER_DOMAIN_GPUMIX>; 684d39d4bb1SLucas Stach clocks = <&clk IMX8MM_CLK_GPU_BUS_ROOT>, 685d39d4bb1SLucas Stach <&clk IMX8MM_CLK_GPU_AHB>; 686d39d4bb1SLucas Stach assigned-clocks = <&clk IMX8MM_CLK_GPU_AXI>, 687d39d4bb1SLucas Stach <&clk IMX8MM_CLK_GPU_AHB>; 688d39d4bb1SLucas Stach assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_800M>, 689d39d4bb1SLucas Stach <&clk IMX8MM_SYS_PLL1_800M>; 690d39d4bb1SLucas Stach assigned-clock-rates = <800000000>, <400000000>; 691d39d4bb1SLucas Stach }; 692d39d4bb1SLucas Stach 693d39d4bb1SLucas Stach pgc_gpu: power-domain@5 { 694d39d4bb1SLucas Stach #power-domain-cells = <0>; 695d39d4bb1SLucas Stach reg = <IMX8MM_POWER_DOMAIN_GPU>; 696d39d4bb1SLucas Stach clocks = <&clk IMX8MM_CLK_GPU_AHB>, 697d39d4bb1SLucas Stach <&clk IMX8MM_CLK_GPU_BUS_ROOT>, 698d39d4bb1SLucas Stach <&clk IMX8MM_CLK_GPU2D_ROOT>, 699d39d4bb1SLucas Stach <&clk IMX8MM_CLK_GPU3D_ROOT>; 700d39d4bb1SLucas Stach resets = <&src IMX8MQ_RESET_GPU_RESET>; 701d39d4bb1SLucas Stach power-domains = <&pgc_gpumix>; 702d39d4bb1SLucas Stach }; 703d39d4bb1SLucas Stach 704d39d4bb1SLucas Stach pgc_vpumix: power-domain@6 { 705d39d4bb1SLucas Stach #power-domain-cells = <0>; 706d39d4bb1SLucas Stach reg = <IMX8MM_POWER_DOMAIN_VPUMIX>; 707d39d4bb1SLucas Stach clocks = <&clk IMX8MM_CLK_VPU_DEC_ROOT>; 708d39d4bb1SLucas Stach assigned-clocks = <&clk IMX8MM_CLK_VPU_BUS>; 709d39d4bb1SLucas Stach assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_800M>; 710d39d4bb1SLucas Stach resets = <&src IMX8MQ_RESET_VPU_RESET>; 711d39d4bb1SLucas Stach }; 712d39d4bb1SLucas Stach 713d39d4bb1SLucas Stach pgc_vpu_g1: power-domain@7 { 714d39d4bb1SLucas Stach #power-domain-cells = <0>; 715d39d4bb1SLucas Stach reg = <IMX8MM_POWER_DOMAIN_VPUG1>; 716d39d4bb1SLucas Stach }; 717d39d4bb1SLucas Stach 718d39d4bb1SLucas Stach pgc_vpu_g2: power-domain@8 { 719d39d4bb1SLucas Stach #power-domain-cells = <0>; 720d39d4bb1SLucas Stach reg = <IMX8MM_POWER_DOMAIN_VPUG2>; 721d39d4bb1SLucas Stach }; 722d39d4bb1SLucas Stach 723d39d4bb1SLucas Stach pgc_vpu_h1: power-domain@9 { 724d39d4bb1SLucas Stach #power-domain-cells = <0>; 725d39d4bb1SLucas Stach reg = <IMX8MM_POWER_DOMAIN_VPUH1>; 726d39d4bb1SLucas Stach }; 727d39d4bb1SLucas Stach 728d39d4bb1SLucas Stach pgc_dispmix: power-domain@10 { 729d39d4bb1SLucas Stach #power-domain-cells = <0>; 730d39d4bb1SLucas Stach reg = <IMX8MM_POWER_DOMAIN_DISPMIX>; 731d39d4bb1SLucas Stach clocks = <&clk IMX8MM_CLK_DISP_APB_ROOT>, 732d39d4bb1SLucas Stach <&clk IMX8MM_CLK_DISP_AXI_ROOT>; 733d39d4bb1SLucas Stach assigned-clocks = <&clk IMX8MM_CLK_DISP_AXI>, 734d39d4bb1SLucas Stach <&clk IMX8MM_CLK_DISP_APB>; 735d39d4bb1SLucas Stach assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_1000M>, 736d39d4bb1SLucas Stach <&clk IMX8MM_SYS_PLL1_800M>; 737d39d4bb1SLucas Stach assigned-clock-rates = <500000000>, <200000000>; 738d39d4bb1SLucas Stach }; 739d39d4bb1SLucas Stach 740d39d4bb1SLucas Stach pgc_mipi: power-domain@11 { 741d39d4bb1SLucas Stach #power-domain-cells = <0>; 742d39d4bb1SLucas Stach reg = <IMX8MM_POWER_DOMAIN_MIPI>; 743d39d4bb1SLucas Stach }; 744d39d4bb1SLucas Stach }; 745d39d4bb1SLucas Stach }; 746a05ea40eSJacky Bai }; 747a05ea40eSJacky Bai 748a05ea40eSJacky Bai aips2: bus@30400000 { 749dc3efc6fSPeng Fan compatible = "fsl,aips-bus", "simple-bus"; 750921a6845SFabio Estevam reg = <0x30400000 0x400000>; 751a05ea40eSJacky Bai #address-cells = <1>; 752a05ea40eSJacky Bai #size-cells = <1>; 75310c74207SFabio Estevam ranges = <0x30400000 0x30400000 0x400000>; 754a05ea40eSJacky Bai 755a05ea40eSJacky Bai pwm1: pwm@30660000 { 756a05ea40eSJacky Bai compatible = "fsl,imx8mm-pwm", "fsl,imx27-pwm"; 757a05ea40eSJacky Bai reg = <0x30660000 0x10000>; 758a05ea40eSJacky Bai interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>; 759a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_PWM1_ROOT>, 760a05ea40eSJacky Bai <&clk IMX8MM_CLK_PWM1_ROOT>; 761a05ea40eSJacky Bai clock-names = "ipg", "per"; 762a05ea40eSJacky Bai #pwm-cells = <2>; 763a05ea40eSJacky Bai status = "disabled"; 764a05ea40eSJacky Bai }; 765a05ea40eSJacky Bai 766a05ea40eSJacky Bai pwm2: pwm@30670000 { 767a05ea40eSJacky Bai compatible = "fsl,imx8mm-pwm", "fsl,imx27-pwm"; 768a05ea40eSJacky Bai reg = <0x30670000 0x10000>; 769a05ea40eSJacky Bai interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; 770a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_PWM2_ROOT>, 771a05ea40eSJacky Bai <&clk IMX8MM_CLK_PWM2_ROOT>; 772a05ea40eSJacky Bai clock-names = "ipg", "per"; 773a05ea40eSJacky Bai #pwm-cells = <2>; 774a05ea40eSJacky Bai status = "disabled"; 775a05ea40eSJacky Bai }; 776a05ea40eSJacky Bai 777a05ea40eSJacky Bai pwm3: pwm@30680000 { 778a05ea40eSJacky Bai compatible = "fsl,imx8mm-pwm", "fsl,imx27-pwm"; 779a05ea40eSJacky Bai reg = <0x30680000 0x10000>; 780a05ea40eSJacky Bai interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; 781a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_PWM3_ROOT>, 782a05ea40eSJacky Bai <&clk IMX8MM_CLK_PWM3_ROOT>; 783a05ea40eSJacky Bai clock-names = "ipg", "per"; 784a05ea40eSJacky Bai #pwm-cells = <2>; 785a05ea40eSJacky Bai status = "disabled"; 786a05ea40eSJacky Bai }; 787a05ea40eSJacky Bai 788a05ea40eSJacky Bai pwm4: pwm@30690000 { 789a05ea40eSJacky Bai compatible = "fsl,imx8mm-pwm", "fsl,imx27-pwm"; 790a05ea40eSJacky Bai reg = <0x30690000 0x10000>; 791a05ea40eSJacky Bai interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; 792a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_PWM4_ROOT>, 793a05ea40eSJacky Bai <&clk IMX8MM_CLK_PWM4_ROOT>; 794a05ea40eSJacky Bai clock-names = "ipg", "per"; 795a05ea40eSJacky Bai #pwm-cells = <2>; 796a05ea40eSJacky Bai status = "disabled"; 797a05ea40eSJacky Bai }; 7985b0221bfSAnson Huang 7995b0221bfSAnson Huang system_counter: timer@306a0000 { 8005b0221bfSAnson Huang compatible = "nxp,sysctr-timer"; 8015b0221bfSAnson Huang reg = <0x306a0000 0x20000>; 8025b0221bfSAnson Huang interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>; 8035b0221bfSAnson Huang clocks = <&osc_24m>; 8045b0221bfSAnson Huang clock-names = "per"; 8055b0221bfSAnson Huang }; 806a05ea40eSJacky Bai }; 807a05ea40eSJacky Bai 808a05ea40eSJacky Bai aips3: bus@30800000 { 809dc3efc6fSPeng Fan compatible = "fsl,aips-bus", "simple-bus"; 810921a6845SFabio Estevam reg = <0x30800000 0x400000>; 811a05ea40eSJacky Bai #address-cells = <1>; 812a05ea40eSJacky Bai #size-cells = <1>; 813f0692bb8SAdam Ford ranges = <0x30800000 0x30800000 0x400000>, 814f0692bb8SAdam Ford <0x8000000 0x8000000 0x10000000>; 815a05ea40eSJacky Bai 8167923353bSAdam Ford spba1: spba-bus@30800000 { 8177923353bSAdam Ford compatible = "fsl,spba-bus", "simple-bus"; 8187923353bSAdam Ford #address-cells = <1>; 8197923353bSAdam Ford #size-cells = <1>; 8207923353bSAdam Ford reg = <0x30800000 0x100000>; 8217923353bSAdam Ford ranges; 8227923353bSAdam Ford 823a05ea40eSJacky Bai ecspi1: spi@30820000 { 824a05ea40eSJacky Bai compatible = "fsl,imx8mm-ecspi", "fsl,imx51-ecspi"; 825a05ea40eSJacky Bai #address-cells = <1>; 826a05ea40eSJacky Bai #size-cells = <0>; 827a05ea40eSJacky Bai reg = <0x30820000 0x10000>; 828a05ea40eSJacky Bai interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; 829a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_ECSPI1_ROOT>, 830a05ea40eSJacky Bai <&clk IMX8MM_CLK_ECSPI1_ROOT>; 831a05ea40eSJacky Bai clock-names = "ipg", "per"; 832a05ea40eSJacky Bai dmas = <&sdma1 0 7 1>, <&sdma1 1 7 2>; 833a05ea40eSJacky Bai dma-names = "rx", "tx"; 834a05ea40eSJacky Bai status = "disabled"; 835a05ea40eSJacky Bai }; 836a05ea40eSJacky Bai 837a05ea40eSJacky Bai ecspi2: spi@30830000 { 838a05ea40eSJacky Bai compatible = "fsl,imx8mm-ecspi", "fsl,imx51-ecspi"; 839a05ea40eSJacky Bai #address-cells = <1>; 840a05ea40eSJacky Bai #size-cells = <0>; 841a05ea40eSJacky Bai reg = <0x30830000 0x10000>; 842a05ea40eSJacky Bai interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; 843a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_ECSPI2_ROOT>, 844a05ea40eSJacky Bai <&clk IMX8MM_CLK_ECSPI2_ROOT>; 845a05ea40eSJacky Bai clock-names = "ipg", "per"; 846a05ea40eSJacky Bai dmas = <&sdma1 2 7 1>, <&sdma1 3 7 2>; 847a05ea40eSJacky Bai dma-names = "rx", "tx"; 848a05ea40eSJacky Bai status = "disabled"; 849a05ea40eSJacky Bai }; 850a05ea40eSJacky Bai 851a05ea40eSJacky Bai ecspi3: spi@30840000 { 852a05ea40eSJacky Bai compatible = "fsl,imx8mm-ecspi", "fsl,imx51-ecspi"; 853a05ea40eSJacky Bai #address-cells = <1>; 854a05ea40eSJacky Bai #size-cells = <0>; 855a05ea40eSJacky Bai reg = <0x30840000 0x10000>; 856a05ea40eSJacky Bai interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; 857a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_ECSPI3_ROOT>, 858a05ea40eSJacky Bai <&clk IMX8MM_CLK_ECSPI3_ROOT>; 859a05ea40eSJacky Bai clock-names = "ipg", "per"; 860a05ea40eSJacky Bai dmas = <&sdma1 4 7 1>, <&sdma1 5 7 2>; 861a05ea40eSJacky Bai dma-names = "rx", "tx"; 862a05ea40eSJacky Bai status = "disabled"; 863a05ea40eSJacky Bai }; 864a05ea40eSJacky Bai 865a05ea40eSJacky Bai uart1: serial@30860000 { 866a05ea40eSJacky Bai compatible = "fsl,imx8mm-uart", "fsl,imx6q-uart"; 867a05ea40eSJacky Bai reg = <0x30860000 0x10000>; 868a05ea40eSJacky Bai interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; 869a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_UART1_ROOT>, 870a05ea40eSJacky Bai <&clk IMX8MM_CLK_UART1_ROOT>; 871a05ea40eSJacky Bai clock-names = "ipg", "per"; 872a05ea40eSJacky Bai dmas = <&sdma1 22 4 0>, <&sdma1 23 4 0>; 873a05ea40eSJacky Bai dma-names = "rx", "tx"; 874a05ea40eSJacky Bai status = "disabled"; 875a05ea40eSJacky Bai }; 876a05ea40eSJacky Bai 877a05ea40eSJacky Bai uart3: serial@30880000 { 878a05ea40eSJacky Bai compatible = "fsl,imx8mm-uart", "fsl,imx6q-uart"; 879a05ea40eSJacky Bai reg = <0x30880000 0x10000>; 880a05ea40eSJacky Bai interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; 881a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_UART3_ROOT>, 882a05ea40eSJacky Bai <&clk IMX8MM_CLK_UART3_ROOT>; 883a05ea40eSJacky Bai clock-names = "ipg", "per"; 884a05ea40eSJacky Bai dmas = <&sdma1 26 4 0>, <&sdma1 27 4 0>; 885a05ea40eSJacky Bai dma-names = "rx", "tx"; 886a05ea40eSJacky Bai status = "disabled"; 887a05ea40eSJacky Bai }; 888a05ea40eSJacky Bai 889a05ea40eSJacky Bai uart2: serial@30890000 { 890a05ea40eSJacky Bai compatible = "fsl,imx8mm-uart", "fsl,imx6q-uart"; 891a05ea40eSJacky Bai reg = <0x30890000 0x10000>; 892a05ea40eSJacky Bai interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>; 893a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_UART2_ROOT>, 894a05ea40eSJacky Bai <&clk IMX8MM_CLK_UART2_ROOT>; 895a05ea40eSJacky Bai clock-names = "ipg", "per"; 896a05ea40eSJacky Bai status = "disabled"; 897a05ea40eSJacky Bai }; 8987923353bSAdam Ford }; 899a05ea40eSJacky Bai 900bff5b972SAdam Ford crypto: crypto@30900000 { 901bff5b972SAdam Ford compatible = "fsl,sec-v4.0"; 902bff5b972SAdam Ford #address-cells = <1>; 903bff5b972SAdam Ford #size-cells = <1>; 904bff5b972SAdam Ford reg = <0x30900000 0x40000>; 905bff5b972SAdam Ford ranges = <0 0x30900000 0x40000>; 906bff5b972SAdam Ford interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>; 907bff5b972SAdam Ford clocks = <&clk IMX8MM_CLK_AHB>, 908bff5b972SAdam Ford <&clk IMX8MM_CLK_IPG_ROOT>; 909bff5b972SAdam Ford clock-names = "aclk", "ipg"; 910bff5b972SAdam Ford 911bff5b972SAdam Ford sec_jr0: jr@1000 { 912bff5b972SAdam Ford compatible = "fsl,sec-v4.0-job-ring"; 913bff5b972SAdam Ford reg = <0x1000 0x1000>; 914bff5b972SAdam Ford interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>; 915bff5b972SAdam Ford }; 916bff5b972SAdam Ford 917bff5b972SAdam Ford sec_jr1: jr@2000 { 918bff5b972SAdam Ford compatible = "fsl,sec-v4.0-job-ring"; 919bff5b972SAdam Ford reg = <0x2000 0x1000>; 920bff5b972SAdam Ford interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>; 921bff5b972SAdam Ford }; 922bff5b972SAdam Ford 923bff5b972SAdam Ford sec_jr2: jr@3000 { 924bff5b972SAdam Ford compatible = "fsl,sec-v4.0-job-ring"; 925bff5b972SAdam Ford reg = <0x3000 0x1000>; 926bff5b972SAdam Ford interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>; 927bff5b972SAdam Ford }; 928bff5b972SAdam Ford }; 929bff5b972SAdam Ford 930a05ea40eSJacky Bai i2c1: i2c@30a20000 { 931a05ea40eSJacky Bai compatible = "fsl,imx8mm-i2c", "fsl,imx21-i2c"; 932a05ea40eSJacky Bai #address-cells = <1>; 933a05ea40eSJacky Bai #size-cells = <0>; 934a05ea40eSJacky Bai reg = <0x30a20000 0x10000>; 935a05ea40eSJacky Bai interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; 936a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_I2C1_ROOT>; 937a05ea40eSJacky Bai status = "disabled"; 938a05ea40eSJacky Bai }; 939a05ea40eSJacky Bai 940a05ea40eSJacky Bai i2c2: i2c@30a30000 { 941a05ea40eSJacky Bai compatible = "fsl,imx8mm-i2c", "fsl,imx21-i2c"; 942a05ea40eSJacky Bai #address-cells = <1>; 943a05ea40eSJacky Bai #size-cells = <0>; 944a05ea40eSJacky Bai reg = <0x30a30000 0x10000>; 945a05ea40eSJacky Bai interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; 946a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_I2C2_ROOT>; 947a05ea40eSJacky Bai status = "disabled"; 948a05ea40eSJacky Bai }; 949a05ea40eSJacky Bai 950a05ea40eSJacky Bai i2c3: i2c@30a40000 { 951a05ea40eSJacky Bai #address-cells = <1>; 952a05ea40eSJacky Bai #size-cells = <0>; 953a05ea40eSJacky Bai compatible = "fsl,imx8mm-i2c", "fsl,imx21-i2c"; 954a05ea40eSJacky Bai reg = <0x30a40000 0x10000>; 955a05ea40eSJacky Bai interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; 956a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_I2C3_ROOT>; 957a05ea40eSJacky Bai status = "disabled"; 958a05ea40eSJacky Bai }; 959a05ea40eSJacky Bai 960a05ea40eSJacky Bai i2c4: i2c@30a50000 { 961a05ea40eSJacky Bai compatible = "fsl,imx8mm-i2c", "fsl,imx21-i2c"; 962a05ea40eSJacky Bai #address-cells = <1>; 963a05ea40eSJacky Bai #size-cells = <0>; 964a05ea40eSJacky Bai reg = <0x30a50000 0x10000>; 965a05ea40eSJacky Bai interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; 966a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_I2C4_ROOT>; 967a05ea40eSJacky Bai status = "disabled"; 968a05ea40eSJacky Bai }; 969a05ea40eSJacky Bai 970a05ea40eSJacky Bai uart4: serial@30a60000 { 971a05ea40eSJacky Bai compatible = "fsl,imx8mm-uart", "fsl,imx6q-uart"; 972a05ea40eSJacky Bai reg = <0x30a60000 0x10000>; 973a05ea40eSJacky Bai interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; 974a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_UART4_ROOT>, 975a05ea40eSJacky Bai <&clk IMX8MM_CLK_UART4_ROOT>; 976a05ea40eSJacky Bai clock-names = "ipg", "per"; 977a05ea40eSJacky Bai dmas = <&sdma1 28 4 0>, <&sdma1 29 4 0>; 978a05ea40eSJacky Bai dma-names = "rx", "tx"; 979a05ea40eSJacky Bai status = "disabled"; 980a05ea40eSJacky Bai }; 981a05ea40eSJacky Bai 982bbfc59beSPeng Fan mu: mailbox@30aa0000 { 983bbfc59beSPeng Fan compatible = "fsl,imx8mm-mu", "fsl,imx6sx-mu"; 984bbfc59beSPeng Fan reg = <0x30aa0000 0x10000>; 985bbfc59beSPeng Fan interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>; 986bbfc59beSPeng Fan clocks = <&clk IMX8MM_CLK_MU_ROOT>; 987bbfc59beSPeng Fan #mbox-cells = <2>; 988bbfc59beSPeng Fan }; 989bbfc59beSPeng Fan 990a05ea40eSJacky Bai usdhc1: mmc@30b40000 { 991a05ea40eSJacky Bai compatible = "fsl,imx8mm-usdhc", "fsl,imx7d-usdhc"; 992a05ea40eSJacky Bai reg = <0x30b40000 0x10000>; 993a05ea40eSJacky Bai interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; 994a6a40d56SAnson Huang clocks = <&clk IMX8MM_CLK_IPG_ROOT>, 995a05ea40eSJacky Bai <&clk IMX8MM_CLK_NAND_USDHC_BUS>, 996a05ea40eSJacky Bai <&clk IMX8MM_CLK_USDHC1_ROOT>; 997a05ea40eSJacky Bai clock-names = "ipg", "ahb", "per"; 998a05ea40eSJacky Bai fsl,tuning-start-tap = <20>; 999a05ea40eSJacky Bai fsl,tuning-step= <2>; 1000a05ea40eSJacky Bai bus-width = <4>; 1001a05ea40eSJacky Bai status = "disabled"; 1002a05ea40eSJacky Bai }; 1003a05ea40eSJacky Bai 1004a05ea40eSJacky Bai usdhc2: mmc@30b50000 { 1005a05ea40eSJacky Bai compatible = "fsl,imx8mm-usdhc", "fsl,imx7d-usdhc"; 1006a05ea40eSJacky Bai reg = <0x30b50000 0x10000>; 1007a05ea40eSJacky Bai interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; 1008a6a40d56SAnson Huang clocks = <&clk IMX8MM_CLK_IPG_ROOT>, 1009a05ea40eSJacky Bai <&clk IMX8MM_CLK_NAND_USDHC_BUS>, 1010a05ea40eSJacky Bai <&clk IMX8MM_CLK_USDHC2_ROOT>; 1011a05ea40eSJacky Bai clock-names = "ipg", "ahb", "per"; 1012a05ea40eSJacky Bai fsl,tuning-start-tap = <20>; 1013a05ea40eSJacky Bai fsl,tuning-step= <2>; 1014a05ea40eSJacky Bai bus-width = <4>; 1015a05ea40eSJacky Bai status = "disabled"; 1016a05ea40eSJacky Bai }; 1017a05ea40eSJacky Bai 1018a05ea40eSJacky Bai usdhc3: mmc@30b60000 { 1019a05ea40eSJacky Bai compatible = "fsl,imx8mm-usdhc", "fsl,imx7d-usdhc"; 1020a05ea40eSJacky Bai reg = <0x30b60000 0x10000>; 1021a05ea40eSJacky Bai interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>; 1022a6a40d56SAnson Huang clocks = <&clk IMX8MM_CLK_IPG_ROOT>, 1023a05ea40eSJacky Bai <&clk IMX8MM_CLK_NAND_USDHC_BUS>, 1024a05ea40eSJacky Bai <&clk IMX8MM_CLK_USDHC3_ROOT>; 1025a05ea40eSJacky Bai clock-names = "ipg", "ahb", "per"; 1026a05ea40eSJacky Bai fsl,tuning-start-tap = <20>; 1027a05ea40eSJacky Bai fsl,tuning-step= <2>; 1028a05ea40eSJacky Bai bus-width = <4>; 1029a05ea40eSJacky Bai status = "disabled"; 1030a05ea40eSJacky Bai }; 1031a05ea40eSJacky Bai 1032f0692bb8SAdam Ford flexspi: spi@30bb0000 { 1033f0692bb8SAdam Ford #address-cells = <1>; 1034f0692bb8SAdam Ford #size-cells = <0>; 1035f0692bb8SAdam Ford compatible = "nxp,imx8mm-fspi"; 1036f0692bb8SAdam Ford reg = <0x30bb0000 0x10000>, <0x8000000 0x10000000>; 1037f0692bb8SAdam Ford reg-names = "fspi_base", "fspi_mmap"; 1038f0692bb8SAdam Ford interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>; 1039f0692bb8SAdam Ford clocks = <&clk IMX8MM_CLK_QSPI_ROOT>, 1040f0692bb8SAdam Ford <&clk IMX8MM_CLK_QSPI_ROOT>; 10419eaf9984SKuldeep Singh clock-names = "fspi_en", "fspi"; 1042f0692bb8SAdam Ford status = "disabled"; 1043f0692bb8SAdam Ford }; 1044f0692bb8SAdam Ford 1045a05ea40eSJacky Bai sdma1: dma-controller@30bd0000 { 1046e346ff93SShengjiu Wang compatible = "fsl,imx8mm-sdma", "fsl,imx8mq-sdma"; 1047a05ea40eSJacky Bai reg = <0x30bd0000 0x10000>; 1048a05ea40eSJacky Bai interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; 1049a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_SDMA1_ROOT>, 105024a572bfSAdam Ford <&clk IMX8MM_CLK_AHB>; 1051a05ea40eSJacky Bai clock-names = "ipg", "ahb"; 1052a05ea40eSJacky Bai #dma-cells = <3>; 1053a05ea40eSJacky Bai fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin"; 1054a05ea40eSJacky Bai }; 1055a05ea40eSJacky Bai 1056a05ea40eSJacky Bai fec1: ethernet@30be0000 { 1057a758dee8SJoakim Zhang compatible = "fsl,imx8mm-fec", "fsl,imx8mq-fec", "fsl,imx6sx-fec"; 1058a05ea40eSJacky Bai reg = <0x30be0000 0x10000>; 1059a05ea40eSJacky Bai interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, 1060a05ea40eSJacky Bai <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>, 1061d3762a47SFabio Estevam <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>, 1062d3762a47SFabio Estevam <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>; 1063a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_ENET1_ROOT>, 1064a05ea40eSJacky Bai <&clk IMX8MM_CLK_ENET1_ROOT>, 1065a05ea40eSJacky Bai <&clk IMX8MM_CLK_ENET_TIMER>, 1066a05ea40eSJacky Bai <&clk IMX8MM_CLK_ENET_REF>, 1067a05ea40eSJacky Bai <&clk IMX8MM_CLK_ENET_PHY_REF>; 1068a05ea40eSJacky Bai clock-names = "ipg", "ahb", "ptp", 1069a05ea40eSJacky Bai "enet_clk_ref", "enet_out"; 1070a05ea40eSJacky Bai assigned-clocks = <&clk IMX8MM_CLK_ENET_AXI>, 1071a05ea40eSJacky Bai <&clk IMX8MM_CLK_ENET_TIMER>, 1072a05ea40eSJacky Bai <&clk IMX8MM_CLK_ENET_REF>, 107370eacf42SJoakim Zhang <&clk IMX8MM_CLK_ENET_PHY_REF>; 1074a05ea40eSJacky Bai assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_266M>, 1075a05ea40eSJacky Bai <&clk IMX8MM_SYS_PLL2_100M>, 107670eacf42SJoakim Zhang <&clk IMX8MM_SYS_PLL2_125M>, 107770eacf42SJoakim Zhang <&clk IMX8MM_SYS_PLL2_50M>; 107870eacf42SJoakim Zhang assigned-clock-rates = <0>, <100000000>, <125000000>, <0>; 1079a05ea40eSJacky Bai fsl,num-tx-queues = <3>; 1080a05ea40eSJacky Bai fsl,num-rx-queues = <3>; 1081066438aeSJoakim Zhang nvmem-cells = <&fec_mac_address>; 1082066438aeSJoakim Zhang nvmem-cell-names = "mac-address"; 1083afe99354SJoakim Zhang fsl,stop-mode = <&gpr 0x10 3>; 1084a05ea40eSJacky Bai status = "disabled"; 1085a05ea40eSJacky Bai }; 1086a05ea40eSJacky Bai 1087a05ea40eSJacky Bai }; 1088a05ea40eSJacky Bai 1089a05ea40eSJacky Bai aips4: bus@32c00000 { 1090dc3efc6fSPeng Fan compatible = "fsl,aips-bus", "simple-bus"; 1091921a6845SFabio Estevam reg = <0x32c00000 0x400000>; 1092a05ea40eSJacky Bai #address-cells = <1>; 1093a05ea40eSJacky Bai #size-cells = <1>; 109410c74207SFabio Estevam ranges = <0x32c00000 0x32c00000 0x400000>; 1095a05ea40eSJacky Bai 1096e523b7c5SAdam Ford csi: csi@32e20000 { 1097e523b7c5SAdam Ford compatible = "fsl,imx8mm-csi", "fsl,imx7-csi"; 1098e523b7c5SAdam Ford reg = <0x32e20000 0x1000>; 1099e523b7c5SAdam Ford interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; 1100e523b7c5SAdam Ford clocks = <&clk IMX8MM_CLK_CSI1_ROOT>; 1101e523b7c5SAdam Ford clock-names = "mclk"; 1102e523b7c5SAdam Ford power-domains = <&disp_blk_ctrl IMX8MM_DISPBLK_PD_CSI_BRIDGE>; 1103e523b7c5SAdam Ford status = "disabled"; 1104e523b7c5SAdam Ford 1105e523b7c5SAdam Ford port { 1106e523b7c5SAdam Ford csi_in: endpoint { 1107e523b7c5SAdam Ford remote-endpoint = <&imx8mm_mipi_csi_out>; 1108e523b7c5SAdam Ford }; 1109e523b7c5SAdam Ford }; 1110e523b7c5SAdam Ford }; 1111e523b7c5SAdam Ford 1112d2fefef9SLucas Stach disp_blk_ctrl: blk-ctrl@32e28000 { 1113d2fefef9SLucas Stach compatible = "fsl,imx8mm-disp-blk-ctrl", "syscon"; 1114d2fefef9SLucas Stach reg = <0x32e28000 0x100>; 1115d2fefef9SLucas Stach power-domains = <&pgc_dispmix>, <&pgc_dispmix>, 1116d2fefef9SLucas Stach <&pgc_dispmix>, <&pgc_mipi>, 1117d2fefef9SLucas Stach <&pgc_mipi>; 1118d2fefef9SLucas Stach power-domain-names = "bus", "csi-bridge", 1119d2fefef9SLucas Stach "lcdif", "mipi-dsi", 1120d2fefef9SLucas Stach "mipi-csi"; 1121d2fefef9SLucas Stach clocks = <&clk IMX8MM_CLK_DISP_AXI_ROOT>, 1122d2fefef9SLucas Stach <&clk IMX8MM_CLK_DISP_APB_ROOT>, 1123d2fefef9SLucas Stach <&clk IMX8MM_CLK_CSI1_ROOT>, 1124d2fefef9SLucas Stach <&clk IMX8MM_CLK_DISP_AXI_ROOT>, 1125d2fefef9SLucas Stach <&clk IMX8MM_CLK_DISP_APB_ROOT>, 1126d2fefef9SLucas Stach <&clk IMX8MM_CLK_DISP_ROOT>, 1127d2fefef9SLucas Stach <&clk IMX8MM_CLK_DSI_CORE>, 1128d2fefef9SLucas Stach <&clk IMX8MM_CLK_DSI_PHY_REF>, 1129d2fefef9SLucas Stach <&clk IMX8MM_CLK_CSI1_CORE>, 1130d2fefef9SLucas Stach <&clk IMX8MM_CLK_CSI1_PHY_REF>; 1131d2fefef9SLucas Stach clock-names = "csi-bridge-axi","csi-bridge-apb", 1132d2fefef9SLucas Stach "csi-bridge-core", "lcdif-axi", 1133d2fefef9SLucas Stach "lcdif-apb", "lcdif-pix", 1134d2fefef9SLucas Stach "dsi-pclk", "dsi-ref", 1135d2fefef9SLucas Stach "csi-aclk", "csi-pclk"; 1136d2fefef9SLucas Stach #power-domain-cells = <1>; 1137d2fefef9SLucas Stach }; 1138d2fefef9SLucas Stach 1139e523b7c5SAdam Ford mipi_csi: mipi-csi@32e30000 { 1140e523b7c5SAdam Ford compatible = "fsl,imx8mm-mipi-csi2"; 1141e523b7c5SAdam Ford reg = <0x32e30000 0x1000>; 1142e523b7c5SAdam Ford interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>; 1143e523b7c5SAdam Ford assigned-clocks = <&clk IMX8MM_CLK_CSI1_CORE>, 1144e523b7c5SAdam Ford <&clk IMX8MM_CLK_CSI1_PHY_REF>; 1145e523b7c5SAdam Ford assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_1000M>, 1146e523b7c5SAdam Ford <&clk IMX8MM_SYS_PLL2_1000M>; 1147e523b7c5SAdam Ford clock-frequency = <333000000>; 1148e523b7c5SAdam Ford clocks = <&clk IMX8MM_CLK_DISP_APB_ROOT>, 1149e523b7c5SAdam Ford <&clk IMX8MM_CLK_CSI1_ROOT>, 1150e523b7c5SAdam Ford <&clk IMX8MM_CLK_CSI1_PHY_REF>, 1151e523b7c5SAdam Ford <&clk IMX8MM_CLK_DISP_AXI_ROOT>; 1152e523b7c5SAdam Ford clock-names = "pclk", "wrap", "phy", "axi"; 1153e523b7c5SAdam Ford power-domains = <&disp_blk_ctrl IMX8MM_DISPBLK_PD_MIPI_CSI>; 1154e523b7c5SAdam Ford status = "disabled"; 1155e523b7c5SAdam Ford 1156e523b7c5SAdam Ford ports { 1157e523b7c5SAdam Ford #address-cells = <1>; 1158e523b7c5SAdam Ford #size-cells = <0>; 1159e523b7c5SAdam Ford 1160e523b7c5SAdam Ford port@0 { 1161e523b7c5SAdam Ford reg = <0>; 1162e523b7c5SAdam Ford }; 1163e523b7c5SAdam Ford 1164e523b7c5SAdam Ford port@1 { 1165e523b7c5SAdam Ford reg = <1>; 1166e523b7c5SAdam Ford 1167e523b7c5SAdam Ford imx8mm_mipi_csi_out: endpoint { 1168e523b7c5SAdam Ford remote-endpoint = <&csi_in>; 1169e523b7c5SAdam Ford }; 1170e523b7c5SAdam Ford }; 1171e523b7c5SAdam Ford }; 1172e523b7c5SAdam Ford }; 1173e523b7c5SAdam Ford 1174a05ea40eSJacky Bai usbotg1: usb@32e40000 { 1175a05ea40eSJacky Bai compatible = "fsl,imx8mm-usb", "fsl,imx7d-usb"; 1176a05ea40eSJacky Bai reg = <0x32e40000 0x200>; 1177a05ea40eSJacky Bai interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; 1178a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_USB1_CTRL_ROOT>; 1179a05ea40eSJacky Bai clock-names = "usb1_ctrl_root_clk"; 11808b01840eSLi Jun assigned-clocks = <&clk IMX8MM_CLK_USB_BUS>; 11818b01840eSLi Jun assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_500M>; 118278e80c4bSMarek Vasut phys = <&usbphynop1>; 1183a05ea40eSJacky Bai fsl,usbmisc = <&usbmisc1 0>; 118401df28d8SLucas Stach power-domains = <&pgc_otg1>; 1185a05ea40eSJacky Bai status = "disabled"; 1186a05ea40eSJacky Bai }; 1187a05ea40eSJacky Bai 1188a05ea40eSJacky Bai usbmisc1: usbmisc@32e40200 { 1189a05ea40eSJacky Bai compatible = "fsl,imx8mm-usbmisc", "fsl,imx7d-usbmisc"; 1190a05ea40eSJacky Bai #index-cells = <1>; 1191a05ea40eSJacky Bai reg = <0x32e40200 0x200>; 1192a05ea40eSJacky Bai }; 1193a05ea40eSJacky Bai 1194a05ea40eSJacky Bai usbotg2: usb@32e50000 { 1195a05ea40eSJacky Bai compatible = "fsl,imx8mm-usb", "fsl,imx7d-usb"; 1196a05ea40eSJacky Bai reg = <0x32e50000 0x200>; 1197a05ea40eSJacky Bai interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; 1198a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_USB1_CTRL_ROOT>; 1199a05ea40eSJacky Bai clock-names = "usb1_ctrl_root_clk"; 12008b01840eSLi Jun assigned-clocks = <&clk IMX8MM_CLK_USB_BUS>; 12018b01840eSLi Jun assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_500M>; 120278e80c4bSMarek Vasut phys = <&usbphynop2>; 1203a05ea40eSJacky Bai fsl,usbmisc = <&usbmisc2 0>; 120401df28d8SLucas Stach power-domains = <&pgc_otg2>; 1205a05ea40eSJacky Bai status = "disabled"; 1206a05ea40eSJacky Bai }; 1207a05ea40eSJacky Bai 1208a05ea40eSJacky Bai usbmisc2: usbmisc@32e50200 { 1209a05ea40eSJacky Bai compatible = "fsl,imx8mm-usbmisc", "fsl,imx7d-usbmisc"; 1210a05ea40eSJacky Bai #index-cells = <1>; 1211a05ea40eSJacky Bai reg = <0x32e50200 0x200>; 1212a05ea40eSJacky Bai }; 1213a05ea40eSJacky Bai 1214cfc50784SRichard Zhu pcie_phy: pcie-phy@32f00000 { 1215cfc50784SRichard Zhu compatible = "fsl,imx8mm-pcie-phy"; 1216cfc50784SRichard Zhu reg = <0x32f00000 0x10000>; 1217cfc50784SRichard Zhu clocks = <&clk IMX8MM_CLK_PCIE1_PHY>; 1218cfc50784SRichard Zhu clock-names = "ref"; 1219cfc50784SRichard Zhu assigned-clocks = <&clk IMX8MM_CLK_PCIE1_PHY>; 1220cfc50784SRichard Zhu assigned-clock-rates = <100000000>; 1221cfc50784SRichard Zhu assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_100M>; 1222cfc50784SRichard Zhu resets = <&src IMX8MQ_RESET_PCIEPHY>; 1223cfc50784SRichard Zhu reset-names = "pciephy"; 1224cfc50784SRichard Zhu #phy-cells = <0>; 1225cfc50784SRichard Zhu status = "disabled"; 1226cfc50784SRichard Zhu }; 1227a05ea40eSJacky Bai }; 1228a05ea40eSJacky Bai 1229a05ea40eSJacky Bai dma_apbh: dma-controller@33000000 { 1230a05ea40eSJacky Bai compatible = "fsl,imx7d-dma-apbh", "fsl,imx28-dma-apbh"; 1231a05ea40eSJacky Bai reg = <0x33000000 0x2000>; 1232a05ea40eSJacky Bai interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>, 1233a05ea40eSJacky Bai <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>, 1234a05ea40eSJacky Bai <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>, 1235a05ea40eSJacky Bai <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; 1236a05ea40eSJacky Bai interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3"; 1237a05ea40eSJacky Bai #dma-cells = <1>; 1238a05ea40eSJacky Bai dma-channels = <4>; 1239a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_NAND_USDHC_BUS_RAWNAND_CLK>; 1240a05ea40eSJacky Bai }; 1241a05ea40eSJacky Bai 1242a05ea40eSJacky Bai gpmi: nand-controller@33002000{ 1243a05ea40eSJacky Bai compatible = "fsl,imx8mm-gpmi-nand", "fsl,imx7d-gpmi-nand"; 1244a05ea40eSJacky Bai #address-cells = <1>; 1245a05ea40eSJacky Bai #size-cells = <1>; 1246a05ea40eSJacky Bai reg = <0x33002000 0x2000>, <0x33004000 0x4000>; 1247a05ea40eSJacky Bai reg-names = "gpmi-nand", "bch"; 1248a05ea40eSJacky Bai interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; 1249a05ea40eSJacky Bai interrupt-names = "bch"; 1250a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_NAND_ROOT>, 1251a05ea40eSJacky Bai <&clk IMX8MM_CLK_NAND_USDHC_BUS_RAWNAND_CLK>; 1252a05ea40eSJacky Bai clock-names = "gpmi_io", "gpmi_bch_apb"; 1253a05ea40eSJacky Bai dmas = <&dma_apbh 0>; 1254a05ea40eSJacky Bai dma-names = "rx-tx"; 1255a05ea40eSJacky Bai status = "disabled"; 1256a05ea40eSJacky Bai }; 1257b4e3e54aSAnson Huang 1258aaeba6a8SRichard Zhu pcie0: pcie@33800000 { 1259aaeba6a8SRichard Zhu compatible = "fsl,imx8mm-pcie"; 1260aaeba6a8SRichard Zhu reg = <0x33800000 0x400000>, <0x1ff00000 0x80000>; 1261aaeba6a8SRichard Zhu reg-names = "dbi", "config"; 1262aaeba6a8SRichard Zhu #address-cells = <3>; 1263aaeba6a8SRichard Zhu #size-cells = <2>; 1264aaeba6a8SRichard Zhu device_type = "pci"; 1265aaeba6a8SRichard Zhu bus-range = <0x00 0xff>; 1266aaeba6a8SRichard Zhu ranges = <0x81000000 0 0x00000000 0x1ff80000 0 0x00010000 /* downstream I/O 64KB */ 1267aaeba6a8SRichard Zhu 0x82000000 0 0x18000000 0x18000000 0 0x07f00000>; /* non-prefetchable memory */ 1268aaeba6a8SRichard Zhu num-lanes = <1>; 1269aaeba6a8SRichard Zhu num-viewport = <4>; 1270aaeba6a8SRichard Zhu interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>; 1271aaeba6a8SRichard Zhu interrupt-names = "msi"; 1272aaeba6a8SRichard Zhu #interrupt-cells = <1>; 1273aaeba6a8SRichard Zhu interrupt-map-mask = <0 0 0 0x7>; 1274aaeba6a8SRichard Zhu interrupt-map = <0 0 0 1 &gic GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>, 1275aaeba6a8SRichard Zhu <0 0 0 2 &gic GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>, 1276aaeba6a8SRichard Zhu <0 0 0 3 &gic GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, 1277aaeba6a8SRichard Zhu <0 0 0 4 &gic GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>; 1278aaeba6a8SRichard Zhu fsl,max-link-speed = <2>; 1279aaeba6a8SRichard Zhu linux,pci-domain = <0>; 1280aaeba6a8SRichard Zhu power-domains = <&pgc_pcie>; 1281aaeba6a8SRichard Zhu resets = <&src IMX8MQ_RESET_PCIE_CTRL_APPS_EN>, 1282aaeba6a8SRichard Zhu <&src IMX8MQ_RESET_PCIE_CTRL_APPS_TURNOFF>; 1283aaeba6a8SRichard Zhu reset-names = "apps", "turnoff"; 1284aaeba6a8SRichard Zhu phys = <&pcie_phy>; 1285aaeba6a8SRichard Zhu phy-names = "pcie-phy"; 1286aaeba6a8SRichard Zhu status = "disabled"; 1287aaeba6a8SRichard Zhu }; 1288aaeba6a8SRichard Zhu 12894523be8eSFrieder Schrempf gpu_3d: gpu@38000000 { 12904523be8eSFrieder Schrempf compatible = "vivante,gc"; 12914523be8eSFrieder Schrempf reg = <0x38000000 0x8000>; 12924523be8eSFrieder Schrempf interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; 12934523be8eSFrieder Schrempf clocks = <&clk IMX8MM_CLK_GPU_AHB>, 12944523be8eSFrieder Schrempf <&clk IMX8MM_CLK_GPU_BUS_ROOT>, 12954523be8eSFrieder Schrempf <&clk IMX8MM_CLK_GPU3D_ROOT>, 12964523be8eSFrieder Schrempf <&clk IMX8MM_CLK_GPU3D_ROOT>; 12974523be8eSFrieder Schrempf clock-names = "reg", "bus", "core", "shader"; 12984523be8eSFrieder Schrempf assigned-clocks = <&clk IMX8MM_CLK_GPU3D_CORE>, 12994523be8eSFrieder Schrempf <&clk IMX8MM_GPU_PLL_OUT>; 13004523be8eSFrieder Schrempf assigned-clock-parents = <&clk IMX8MM_GPU_PLL_OUT>; 13014523be8eSFrieder Schrempf assigned-clock-rates = <0>, <1000000000>; 13024523be8eSFrieder Schrempf power-domains = <&pgc_gpu>; 13034523be8eSFrieder Schrempf }; 13044523be8eSFrieder Schrempf 13054523be8eSFrieder Schrempf gpu_2d: gpu@38008000 { 13064523be8eSFrieder Schrempf compatible = "vivante,gc"; 13074523be8eSFrieder Schrempf reg = <0x38008000 0x8000>; 13084523be8eSFrieder Schrempf interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; 13094523be8eSFrieder Schrempf clocks = <&clk IMX8MM_CLK_GPU_AHB>, 13104523be8eSFrieder Schrempf <&clk IMX8MM_CLK_GPU_BUS_ROOT>, 13114523be8eSFrieder Schrempf <&clk IMX8MM_CLK_GPU2D_ROOT>; 13124523be8eSFrieder Schrempf clock-names = "reg", "bus", "core"; 13134523be8eSFrieder Schrempf assigned-clocks = <&clk IMX8MM_CLK_GPU2D_CORE>, 13144523be8eSFrieder Schrempf <&clk IMX8MM_GPU_PLL_OUT>; 13154523be8eSFrieder Schrempf assigned-clock-parents = <&clk IMX8MM_GPU_PLL_OUT>; 13164523be8eSFrieder Schrempf assigned-clock-rates = <0>, <1000000000>; 13174523be8eSFrieder Schrempf power-domains = <&pgc_gpu>; 13184523be8eSFrieder Schrempf }; 13194523be8eSFrieder Schrempf 1320*9cbe605bSAdam Ford vpu_g1: video-codec@38300000 { 1321*9cbe605bSAdam Ford compatible = "nxp,imx8mm-vpu-g1"; 1322*9cbe605bSAdam Ford reg = <0x38300000 0x10000>; 1323*9cbe605bSAdam Ford interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; 1324*9cbe605bSAdam Ford clocks = <&clk IMX8MM_CLK_VPU_G1_ROOT>; 1325*9cbe605bSAdam Ford power-domains = <&vpu_blk_ctrl IMX8MM_VPUBLK_PD_G1>; 1326*9cbe605bSAdam Ford }; 1327*9cbe605bSAdam Ford 1328*9cbe605bSAdam Ford vpu_g2: video-codec@38310000 { 1329*9cbe605bSAdam Ford compatible = "nxp,imx8mq-vpu-g2"; 1330*9cbe605bSAdam Ford reg = <0x38310000 0x10000>; 1331*9cbe605bSAdam Ford interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; 1332*9cbe605bSAdam Ford clocks = <&clk IMX8MM_CLK_VPU_G2_ROOT>; 1333*9cbe605bSAdam Ford power-domains = <&vpu_blk_ctrl IMX8MM_VPUBLK_PD_G2>; 1334*9cbe605bSAdam Ford }; 1335*9cbe605bSAdam Ford 13362604c5caSLucas Stach vpu_blk_ctrl: blk-ctrl@38330000 { 13372604c5caSLucas Stach compatible = "fsl,imx8mm-vpu-blk-ctrl", "syscon"; 13382604c5caSLucas Stach reg = <0x38330000 0x100>; 13392604c5caSLucas Stach power-domains = <&pgc_vpumix>, <&pgc_vpu_g1>, 13402604c5caSLucas Stach <&pgc_vpu_g2>, <&pgc_vpu_h1>; 13412604c5caSLucas Stach power-domain-names = "bus", "g1", "g2", "h1"; 13422604c5caSLucas Stach clocks = <&clk IMX8MM_CLK_VPU_G1_ROOT>, 13432604c5caSLucas Stach <&clk IMX8MM_CLK_VPU_G2_ROOT>, 13442604c5caSLucas Stach <&clk IMX8MM_CLK_VPU_H1_ROOT>; 13452604c5caSLucas Stach clock-names = "g1", "g2", "h1"; 1346*9cbe605bSAdam Ford assigned-clocks = <&clk IMX8MM_CLK_VPU_G1>, 1347*9cbe605bSAdam Ford <&clk IMX8MM_CLK_VPU_G2>; 1348*9cbe605bSAdam Ford assigned-clock-parents = <&clk IMX8MM_VPU_PLL_OUT>, 1349*9cbe605bSAdam Ford <&clk IMX8MM_VPU_PLL_OUT>; 1350*9cbe605bSAdam Ford assigned-clock-rates = <600000000>, 1351*9cbe605bSAdam Ford <600000000>; 13522604c5caSLucas Stach #power-domain-cells = <1>; 13532604c5caSLucas Stach }; 13542604c5caSLucas Stach 1355b4e3e54aSAnson Huang gic: interrupt-controller@38800000 { 1356b4e3e54aSAnson Huang compatible = "arm,gic-v3"; 1357b4e3e54aSAnson Huang reg = <0x38800000 0x10000>, /* GIC Dist */ 1358b4e3e54aSAnson Huang <0x38880000 0xc0000>; /* GICR (RD_base + SGI_base) */ 1359b4e3e54aSAnson Huang #interrupt-cells = <3>; 1360b4e3e54aSAnson Huang interrupt-controller; 1361b4e3e54aSAnson Huang interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; 1362b4e3e54aSAnson Huang }; 13631efe85c9SLeonard Crestez 13640376f6ecSLeonard Crestez ddrc: memory-controller@3d400000 { 13650376f6ecSLeonard Crestez compatible = "fsl,imx8mm-ddrc", "fsl,imx8m-ddrc"; 13660376f6ecSLeonard Crestez reg = <0x3d400000 0x400000>; 13670376f6ecSLeonard Crestez clock-names = "core", "pll", "alt", "apb"; 13680376f6ecSLeonard Crestez clocks = <&clk IMX8MM_CLK_DRAM_CORE>, 13690376f6ecSLeonard Crestez <&clk IMX8MM_DRAM_PLL>, 13700376f6ecSLeonard Crestez <&clk IMX8MM_CLK_DRAM_ALT>, 13710376f6ecSLeonard Crestez <&clk IMX8MM_CLK_DRAM_APB>; 13720376f6ecSLeonard Crestez }; 13730376f6ecSLeonard Crestez 13741efe85c9SLeonard Crestez ddr-pmu@3d800000 { 13751efe85c9SLeonard Crestez compatible = "fsl,imx8mm-ddr-pmu", "fsl,imx8m-ddr-pmu"; 13761efe85c9SLeonard Crestez reg = <0x3d800000 0x400000>; 13771efe85c9SLeonard Crestez interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>; 13781efe85c9SLeonard Crestez }; 1379a05ea40eSJacky Bai }; 1380a05ea40eSJacky Bai}; 1381