1a05ea40eSJacky Bai// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2a05ea40eSJacky Bai/* 3a05ea40eSJacky Bai * Copyright 2019 NXP 4a05ea40eSJacky Bai */ 5a05ea40eSJacky Bai 6a05ea40eSJacky Bai#include <dt-bindings/clock/imx8mm-clock.h> 7a05ea40eSJacky Bai#include <dt-bindings/gpio/gpio.h> 8a05ea40eSJacky Bai#include <dt-bindings/input/input.h> 9a05ea40eSJacky Bai#include <dt-bindings/interrupt-controller/arm-gic.h> 10a05ea40eSJacky Bai#include <dt-bindings/thermal/thermal.h> 11a05ea40eSJacky Bai 12a05ea40eSJacky Bai#include "imx8mm-pinfunc.h" 13a05ea40eSJacky Bai 14a05ea40eSJacky Bai/ { 15a05ea40eSJacky Bai compatible = "fsl,imx8mm"; 16a05ea40eSJacky Bai interrupt-parent = <&gic>; 17a05ea40eSJacky Bai #address-cells = <2>; 18a05ea40eSJacky Bai #size-cells = <2>; 19a05ea40eSJacky Bai 20a05ea40eSJacky Bai aliases { 21a05ea40eSJacky Bai ethernet0 = &fec1; 22a05ea40eSJacky Bai i2c0 = &i2c1; 23a05ea40eSJacky Bai i2c1 = &i2c2; 24a05ea40eSJacky Bai i2c2 = &i2c3; 25a05ea40eSJacky Bai i2c3 = &i2c4; 26a05ea40eSJacky Bai serial0 = &uart1; 27a05ea40eSJacky Bai serial1 = &uart2; 28a05ea40eSJacky Bai serial2 = &uart3; 29a05ea40eSJacky Bai serial3 = &uart4; 30a05ea40eSJacky Bai spi0 = &ecspi1; 31a05ea40eSJacky Bai spi1 = &ecspi2; 32a05ea40eSJacky Bai spi2 = &ecspi3; 33a05ea40eSJacky Bai mmc0 = &usdhc1; 34a05ea40eSJacky Bai mmc1 = &usdhc2; 35a05ea40eSJacky Bai mmc2 = &usdhc3; 36a05ea40eSJacky Bai gpio0 = &gpio1; 37a05ea40eSJacky Bai gpio1 = &gpio2; 38a05ea40eSJacky Bai gpio2 = &gpio3; 39a05ea40eSJacky Bai gpio3 = &gpio4; 40a05ea40eSJacky Bai gpio4 = &gpio5; 41a05ea40eSJacky Bai }; 42a05ea40eSJacky Bai 43a05ea40eSJacky Bai cpus { 44a05ea40eSJacky Bai #address-cells = <1>; 45a05ea40eSJacky Bai #size-cells = <0>; 46a05ea40eSJacky Bai 47a05ea40eSJacky Bai A53_0: cpu@0 { 48a05ea40eSJacky Bai device_type = "cpu"; 49a05ea40eSJacky Bai compatible = "arm,cortex-a53"; 50a05ea40eSJacky Bai reg = <0x0>; 51e85c9d0fSLeonard Crestez clock-latency = <61036>; /* two CLK32 periods */ 52e85c9d0fSLeonard Crestez clocks = <&clk IMX8MM_CLK_ARM>; 53a05ea40eSJacky Bai enable-method = "psci"; 54a05ea40eSJacky Bai next-level-cache = <&A53_L2>; 55e85c9d0fSLeonard Crestez operating-points-v2 = <&a53_opp_table>; 56f403a26cSLeonard Crestez nvmem-cells = <&cpu_speed_grade>; 57f403a26cSLeonard Crestez nvmem-cell-names = "speed_grade"; 58a05ea40eSJacky Bai }; 59a05ea40eSJacky Bai 60a05ea40eSJacky Bai A53_1: cpu@1 { 61a05ea40eSJacky Bai device_type = "cpu"; 62a05ea40eSJacky Bai compatible = "arm,cortex-a53"; 63a05ea40eSJacky Bai reg = <0x1>; 64e85c9d0fSLeonard Crestez clock-latency = <61036>; /* two CLK32 periods */ 65e85c9d0fSLeonard Crestez clocks = <&clk IMX8MM_CLK_ARM>; 66a05ea40eSJacky Bai enable-method = "psci"; 67a05ea40eSJacky Bai next-level-cache = <&A53_L2>; 68e85c9d0fSLeonard Crestez operating-points-v2 = <&a53_opp_table>; 69a05ea40eSJacky Bai }; 70a05ea40eSJacky Bai 71a05ea40eSJacky Bai A53_2: cpu@2 { 72a05ea40eSJacky Bai device_type = "cpu"; 73a05ea40eSJacky Bai compatible = "arm,cortex-a53"; 74a05ea40eSJacky Bai reg = <0x2>; 75e85c9d0fSLeonard Crestez clock-latency = <61036>; /* two CLK32 periods */ 76e85c9d0fSLeonard Crestez clocks = <&clk IMX8MM_CLK_ARM>; 77a05ea40eSJacky Bai enable-method = "psci"; 78a05ea40eSJacky Bai next-level-cache = <&A53_L2>; 79e85c9d0fSLeonard Crestez operating-points-v2 = <&a53_opp_table>; 80a05ea40eSJacky Bai }; 81a05ea40eSJacky Bai 82a05ea40eSJacky Bai A53_3: cpu@3 { 83a05ea40eSJacky Bai device_type = "cpu"; 84a05ea40eSJacky Bai compatible = "arm,cortex-a53"; 85a05ea40eSJacky Bai reg = <0x3>; 86e85c9d0fSLeonard Crestez clock-latency = <61036>; /* two CLK32 periods */ 87e85c9d0fSLeonard Crestez clocks = <&clk IMX8MM_CLK_ARM>; 88a05ea40eSJacky Bai enable-method = "psci"; 89a05ea40eSJacky Bai next-level-cache = <&A53_L2>; 90e85c9d0fSLeonard Crestez operating-points-v2 = <&a53_opp_table>; 91a05ea40eSJacky Bai }; 92a05ea40eSJacky Bai 93a05ea40eSJacky Bai A53_L2: l2-cache0 { 94a05ea40eSJacky Bai compatible = "cache"; 95a05ea40eSJacky Bai }; 96a05ea40eSJacky Bai }; 97a05ea40eSJacky Bai 98e85c9d0fSLeonard Crestez a53_opp_table: opp-table { 99e85c9d0fSLeonard Crestez compatible = "operating-points-v2"; 100e85c9d0fSLeonard Crestez opp-shared; 101e85c9d0fSLeonard Crestez 102e85c9d0fSLeonard Crestez opp-1200000000 { 103e85c9d0fSLeonard Crestez opp-hz = /bits/ 64 <1200000000>; 104e85c9d0fSLeonard Crestez opp-microvolt = <850000>; 105f403a26cSLeonard Crestez opp-supported-hw = <0xe>, <0x7>; 106e85c9d0fSLeonard Crestez clock-latency-ns = <150000>; 107e85c9d0fSLeonard Crestez }; 108e85c9d0fSLeonard Crestez 109e85c9d0fSLeonard Crestez opp-1600000000 { 110e85c9d0fSLeonard Crestez opp-hz = /bits/ 64 <1600000000>; 111e85c9d0fSLeonard Crestez opp-microvolt = <900000>; 112f403a26cSLeonard Crestez opp-supported-hw = <0xc>, <0x7>; 113e85c9d0fSLeonard Crestez clock-latency-ns = <150000>; 114f403a26cSLeonard Crestez }; 115f403a26cSLeonard Crestez 116f403a26cSLeonard Crestez opp-1800000000 { 117f403a26cSLeonard Crestez opp-hz = /bits/ 64 <1800000000>; 118f403a26cSLeonard Crestez opp-microvolt = <1000000>; 119f403a26cSLeonard Crestez /* Consumer only but rely on speed grading */ 120f403a26cSLeonard Crestez opp-supported-hw = <0x8>, <0x7>; 121f403a26cSLeonard Crestez clock-latency-ns = <150000>; 122e85c9d0fSLeonard Crestez }; 123e85c9d0fSLeonard Crestez }; 124e85c9d0fSLeonard Crestez 125a05ea40eSJacky Bai memory@40000000 { 126a05ea40eSJacky Bai device_type = "memory"; 127a05ea40eSJacky Bai reg = <0x0 0x40000000 0 0x80000000>; 128a05ea40eSJacky Bai }; 129a05ea40eSJacky Bai 130a05ea40eSJacky Bai osc_32k: clock-osc-32k { 131a05ea40eSJacky Bai compatible = "fixed-clock"; 132a05ea40eSJacky Bai #clock-cells = <0>; 133a05ea40eSJacky Bai clock-frequency = <32768>; 134a05ea40eSJacky Bai clock-output-names = "osc_32k"; 135a05ea40eSJacky Bai }; 136a05ea40eSJacky Bai 137a05ea40eSJacky Bai osc_24m: clock-osc-24m { 138a05ea40eSJacky Bai compatible = "fixed-clock"; 139a05ea40eSJacky Bai #clock-cells = <0>; 140a05ea40eSJacky Bai clock-frequency = <24000000>; 141a05ea40eSJacky Bai clock-output-names = "osc_24m"; 142a05ea40eSJacky Bai }; 143a05ea40eSJacky Bai 144a05ea40eSJacky Bai clk_ext1: clock-ext1 { 145a05ea40eSJacky Bai compatible = "fixed-clock"; 146a05ea40eSJacky Bai #clock-cells = <0>; 147a05ea40eSJacky Bai clock-frequency = <133000000>; 148a05ea40eSJacky Bai clock-output-names = "clk_ext1"; 149a05ea40eSJacky Bai }; 150a05ea40eSJacky Bai 151a05ea40eSJacky Bai clk_ext2: clock-ext2 { 152a05ea40eSJacky Bai compatible = "fixed-clock"; 153a05ea40eSJacky Bai #clock-cells = <0>; 154a05ea40eSJacky Bai clock-frequency = <133000000>; 155a05ea40eSJacky Bai clock-output-names = "clk_ext2"; 156a05ea40eSJacky Bai }; 157a05ea40eSJacky Bai 158a05ea40eSJacky Bai clk_ext3: clock-ext3 { 159a05ea40eSJacky Bai compatible = "fixed-clock"; 160a05ea40eSJacky Bai #clock-cells = <0>; 161a05ea40eSJacky Bai clock-frequency = <133000000>; 162a05ea40eSJacky Bai clock-output-names = "clk_ext3"; 163a05ea40eSJacky Bai }; 164a05ea40eSJacky Bai 165a05ea40eSJacky Bai clk_ext4: clock-ext4 { 166a05ea40eSJacky Bai compatible = "fixed-clock"; 167a05ea40eSJacky Bai #clock-cells = <0>; 168a05ea40eSJacky Bai clock-frequency= <133000000>; 169a05ea40eSJacky Bai clock-output-names = "clk_ext4"; 170a05ea40eSJacky Bai }; 171a05ea40eSJacky Bai 172a05ea40eSJacky Bai gic: interrupt-controller@38800000 { 173a05ea40eSJacky Bai compatible = "arm,gic-v3"; 174a05ea40eSJacky Bai reg = <0x0 0x38800000 0 0x10000>, /* GIC Dist */ 175a05ea40eSJacky Bai <0x0 0x38880000 0 0xC0000>; /* GICR (RD_base + SGI_base) */ 176a05ea40eSJacky Bai #interrupt-cells = <3>; 177a05ea40eSJacky Bai interrupt-controller; 178a05ea40eSJacky Bai interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; 179a05ea40eSJacky Bai }; 180a05ea40eSJacky Bai 181a05ea40eSJacky Bai psci { 182a05ea40eSJacky Bai compatible = "arm,psci-1.0"; 183a05ea40eSJacky Bai method = "smc"; 184a05ea40eSJacky Bai }; 185a05ea40eSJacky Bai 186a05ea40eSJacky Bai pmu { 187a05ea40eSJacky Bai compatible = "arm,armv8-pmuv3"; 188a05ea40eSJacky Bai interrupts = <GIC_PPI 7 189a05ea40eSJacky Bai (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_HIGH)>; 190a05ea40eSJacky Bai interrupt-affinity = <&A53_0>, <&A53_1>, <&A53_2>, <&A53_3>; 191a05ea40eSJacky Bai }; 192a05ea40eSJacky Bai 193a05ea40eSJacky Bai timer { 194a05ea40eSJacky Bai compatible = "arm,armv8-timer"; 195a05ea40eSJacky Bai interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>, /* Physical Secure */ 196a05ea40eSJacky Bai <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>, /* Physical Non-Secure */ 197a05ea40eSJacky Bai <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>, /* Virtual */ 198a05ea40eSJacky Bai <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>; /* Hypervisor */ 199a05ea40eSJacky Bai clock-frequency = <8000000>; 200a05ea40eSJacky Bai arm,no-tick-in-suspend; 201a05ea40eSJacky Bai }; 202a05ea40eSJacky Bai 203a05ea40eSJacky Bai soc { 204a05ea40eSJacky Bai compatible = "simple-bus"; 205a05ea40eSJacky Bai #address-cells = <1>; 206a05ea40eSJacky Bai #size-cells = <1>; 207a05ea40eSJacky Bai ranges = <0x0 0x0 0x0 0x3e000000>; 208a05ea40eSJacky Bai 209a05ea40eSJacky Bai aips1: bus@30000000 { 210a05ea40eSJacky Bai compatible = "fsl,aips-bus", "simple-bus"; 211a05ea40eSJacky Bai #address-cells = <1>; 212a05ea40eSJacky Bai #size-cells = <1>; 213a05ea40eSJacky Bai ranges; 214a05ea40eSJacky Bai 215a05ea40eSJacky Bai gpio1: gpio@30200000 { 216a05ea40eSJacky Bai compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio"; 217a05ea40eSJacky Bai reg = <0x30200000 0x10000>; 218a05ea40eSJacky Bai interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>, 219a05ea40eSJacky Bai <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; 220a05ea40eSJacky Bai gpio-controller; 221a05ea40eSJacky Bai #gpio-cells = <2>; 222a05ea40eSJacky Bai interrupt-controller; 223a05ea40eSJacky Bai #interrupt-cells = <2>; 224a05ea40eSJacky Bai }; 225a05ea40eSJacky Bai 226a05ea40eSJacky Bai gpio2: gpio@30210000 { 227a05ea40eSJacky Bai compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio"; 228a05ea40eSJacky Bai reg = <0x30210000 0x10000>; 229a05ea40eSJacky Bai interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>, 230a05ea40eSJacky Bai <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; 231a05ea40eSJacky Bai gpio-controller; 232a05ea40eSJacky Bai #gpio-cells = <2>; 233a05ea40eSJacky Bai interrupt-controller; 234a05ea40eSJacky Bai #interrupt-cells = <2>; 235a05ea40eSJacky Bai }; 236a05ea40eSJacky Bai 237a05ea40eSJacky Bai gpio3: gpio@30220000 { 238a05ea40eSJacky Bai compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio"; 239a05ea40eSJacky Bai reg = <0x30220000 0x10000>; 240a05ea40eSJacky Bai interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>, 241a05ea40eSJacky Bai <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>; 242a05ea40eSJacky Bai gpio-controller; 243a05ea40eSJacky Bai #gpio-cells = <2>; 244a05ea40eSJacky Bai interrupt-controller; 245a05ea40eSJacky Bai #interrupt-cells = <2>; 246a05ea40eSJacky Bai }; 247a05ea40eSJacky Bai 248a05ea40eSJacky Bai gpio4: gpio@30230000 { 249a05ea40eSJacky Bai compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio"; 250a05ea40eSJacky Bai reg = <0x30230000 0x10000>; 251a05ea40eSJacky Bai interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>, 252a05ea40eSJacky Bai <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>; 253a05ea40eSJacky Bai gpio-controller; 254a05ea40eSJacky Bai #gpio-cells = <2>; 255a05ea40eSJacky Bai interrupt-controller; 256a05ea40eSJacky Bai #interrupt-cells = <2>; 257a05ea40eSJacky Bai }; 258a05ea40eSJacky Bai 259a05ea40eSJacky Bai gpio5: gpio@30240000 { 260a05ea40eSJacky Bai compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio"; 261a05ea40eSJacky Bai reg = <0x30240000 0x10000>; 262a05ea40eSJacky Bai interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>, 263a05ea40eSJacky Bai <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; 264a05ea40eSJacky Bai gpio-controller; 265a05ea40eSJacky Bai #gpio-cells = <2>; 266a05ea40eSJacky Bai interrupt-controller; 267a05ea40eSJacky Bai #interrupt-cells = <2>; 268a05ea40eSJacky Bai }; 269a05ea40eSJacky Bai 270a05ea40eSJacky Bai wdog1: watchdog@30280000 { 271a05ea40eSJacky Bai compatible = "fsl,imx8mm-wdt", "fsl,imx21-wdt"; 272a05ea40eSJacky Bai reg = <0x30280000 0x10000>; 273a05ea40eSJacky Bai interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>; 274a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_WDOG1_ROOT>; 275a05ea40eSJacky Bai status = "disabled"; 276a05ea40eSJacky Bai }; 277a05ea40eSJacky Bai 278a05ea40eSJacky Bai wdog2: watchdog@30290000 { 279a05ea40eSJacky Bai compatible = "fsl,imx8mm-wdt", "fsl,imx21-wdt"; 280a05ea40eSJacky Bai reg = <0x30290000 0x10000>; 281a05ea40eSJacky Bai interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>; 282a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_WDOG2_ROOT>; 283a05ea40eSJacky Bai status = "disabled"; 284a05ea40eSJacky Bai }; 285a05ea40eSJacky Bai 286a05ea40eSJacky Bai wdog3: watchdog@302a0000 { 287a05ea40eSJacky Bai compatible = "fsl,imx8mm-wdt", "fsl,imx21-wdt"; 288a05ea40eSJacky Bai reg = <0x302a0000 0x10000>; 289a05ea40eSJacky Bai interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 290a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_WDOG3_ROOT>; 291a05ea40eSJacky Bai status = "disabled"; 292a05ea40eSJacky Bai }; 293a05ea40eSJacky Bai 294a05ea40eSJacky Bai sdma2: dma-controller@302c0000 { 295a05ea40eSJacky Bai compatible = "fsl,imx8mm-sdma", "fsl,imx7d-sdma"; 296a05ea40eSJacky Bai reg = <0x302c0000 0x10000>; 297a05ea40eSJacky Bai interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; 298a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_SDMA2_ROOT>, 299a05ea40eSJacky Bai <&clk IMX8MM_CLK_SDMA2_ROOT>; 300a05ea40eSJacky Bai clock-names = "ipg", "ahb"; 301a05ea40eSJacky Bai #dma-cells = <3>; 302a05ea40eSJacky Bai fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin"; 303a05ea40eSJacky Bai }; 304a05ea40eSJacky Bai 305a05ea40eSJacky Bai sdma3: dma-controller@302b0000 { 306a05ea40eSJacky Bai compatible = "fsl,imx8mm-sdma", "fsl,imx7d-sdma"; 307a05ea40eSJacky Bai reg = <0x302b0000 0x10000>; 308a05ea40eSJacky Bai interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; 309a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_SDMA3_ROOT>, 310a05ea40eSJacky Bai <&clk IMX8MM_CLK_SDMA3_ROOT>; 311a05ea40eSJacky Bai clock-names = "ipg", "ahb"; 312a05ea40eSJacky Bai #dma-cells = <3>; 313a05ea40eSJacky Bai fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin"; 314a05ea40eSJacky Bai }; 315a05ea40eSJacky Bai 316a05ea40eSJacky Bai iomuxc: pinctrl@30330000 { 317a05ea40eSJacky Bai compatible = "fsl,imx8mm-iomuxc"; 318a05ea40eSJacky Bai reg = <0x30330000 0x10000>; 319a05ea40eSJacky Bai }; 320a05ea40eSJacky Bai 321a05ea40eSJacky Bai gpr: iomuxc-gpr@30340000 { 322a05ea40eSJacky Bai compatible = "fsl,imx8mm-iomuxc-gpr", "syscon"; 323a05ea40eSJacky Bai reg = <0x30340000 0x10000>; 324a05ea40eSJacky Bai }; 325a05ea40eSJacky Bai 326a05ea40eSJacky Bai ocotp: ocotp-ctrl@30350000 { 327a05ea40eSJacky Bai compatible = "fsl,imx8mm-ocotp", "fsl,imx7d-ocotp", "syscon"; 328a05ea40eSJacky Bai reg = <0x30350000 0x10000>; 329a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_OCOTP_ROOT>; 330a05ea40eSJacky Bai /* For nvmem subnodes */ 331a05ea40eSJacky Bai #address-cells = <1>; 332a05ea40eSJacky Bai #size-cells = <1>; 333f403a26cSLeonard Crestez 334f403a26cSLeonard Crestez cpu_speed_grade: speed-grade@10 { 335f403a26cSLeonard Crestez reg = <0x10 4>; 336f403a26cSLeonard Crestez }; 337a05ea40eSJacky Bai }; 338a05ea40eSJacky Bai 339a05ea40eSJacky Bai anatop: anatop@30360000 { 340a05ea40eSJacky Bai compatible = "fsl,imx8mm-anatop", "syscon", "simple-bus"; 341a05ea40eSJacky Bai reg = <0x30360000 0x10000>; 342a05ea40eSJacky Bai }; 343a05ea40eSJacky Bai 344a05ea40eSJacky Bai snvs: snvs@30370000 { 345a05ea40eSJacky Bai compatible = "fsl,sec-v4.0-mon","syscon", "simple-mfd"; 346a05ea40eSJacky Bai reg = <0x30370000 0x10000>; 347a05ea40eSJacky Bai 348a05ea40eSJacky Bai snvs_rtc: snvs-rtc-lp { 349a05ea40eSJacky Bai compatible = "fsl,sec-v4.0-mon-rtc-lp"; 350a05ea40eSJacky Bai regmap = <&snvs>; 351a05ea40eSJacky Bai offset = <0x34>; 352a05ea40eSJacky Bai interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>, 353a05ea40eSJacky Bai <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; 354a05ea40eSJacky Bai }; 355a05ea40eSJacky Bai 356a05ea40eSJacky Bai snvs_pwrkey: snvs-powerkey { 357a05ea40eSJacky Bai compatible = "fsl,sec-v4.0-pwrkey"; 358a05ea40eSJacky Bai regmap = <&snvs>; 359a05ea40eSJacky Bai interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; 360a05ea40eSJacky Bai linux,keycode = <KEY_POWER>; 361a05ea40eSJacky Bai wakeup-source; 362a05ea40eSJacky Bai }; 363a05ea40eSJacky Bai }; 364a05ea40eSJacky Bai 365a05ea40eSJacky Bai clk: clock-controller@30380000 { 366a05ea40eSJacky Bai compatible = "fsl,imx8mm-ccm"; 367a05ea40eSJacky Bai reg = <0x30380000 0x10000>; 368a05ea40eSJacky Bai #clock-cells = <1>; 369a05ea40eSJacky Bai clocks = <&osc_32k>, <&osc_24m>, <&clk_ext1>, <&clk_ext2>, 370a05ea40eSJacky Bai <&clk_ext3>, <&clk_ext4>; 371a05ea40eSJacky Bai clock-names = "osc_32k", "osc_24m", "clk_ext1", "clk_ext2", 372a05ea40eSJacky Bai "clk_ext3", "clk_ext4"; 373a05ea40eSJacky Bai }; 374a05ea40eSJacky Bai 375a05ea40eSJacky Bai src: reset-controller@30390000 { 376a05ea40eSJacky Bai compatible = "fsl,imx8mm-src", "syscon"; 377a05ea40eSJacky Bai reg = <0x30390000 0x10000>; 378a05ea40eSJacky Bai interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; 379a05ea40eSJacky Bai #reset-cells = <1>; 380a05ea40eSJacky Bai }; 381a05ea40eSJacky Bai }; 382a05ea40eSJacky Bai 383a05ea40eSJacky Bai aips2: bus@30400000 { 384a05ea40eSJacky Bai compatible = "fsl,aips-bus", "simple-bus"; 385a05ea40eSJacky Bai #address-cells = <1>; 386a05ea40eSJacky Bai #size-cells = <1>; 387a05ea40eSJacky Bai ranges; 388a05ea40eSJacky Bai 389a05ea40eSJacky Bai pwm1: pwm@30660000 { 390a05ea40eSJacky Bai compatible = "fsl,imx8mm-pwm", "fsl,imx27-pwm"; 391a05ea40eSJacky Bai reg = <0x30660000 0x10000>; 392a05ea40eSJacky Bai interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>; 393a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_PWM1_ROOT>, 394a05ea40eSJacky Bai <&clk IMX8MM_CLK_PWM1_ROOT>; 395a05ea40eSJacky Bai clock-names = "ipg", "per"; 396a05ea40eSJacky Bai #pwm-cells = <2>; 397a05ea40eSJacky Bai status = "disabled"; 398a05ea40eSJacky Bai }; 399a05ea40eSJacky Bai 400a05ea40eSJacky Bai pwm2: pwm@30670000 { 401a05ea40eSJacky Bai compatible = "fsl,imx8mm-pwm", "fsl,imx27-pwm"; 402a05ea40eSJacky Bai reg = <0x30670000 0x10000>; 403a05ea40eSJacky Bai interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; 404a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_PWM2_ROOT>, 405a05ea40eSJacky Bai <&clk IMX8MM_CLK_PWM2_ROOT>; 406a05ea40eSJacky Bai clock-names = "ipg", "per"; 407a05ea40eSJacky Bai #pwm-cells = <2>; 408a05ea40eSJacky Bai status = "disabled"; 409a05ea40eSJacky Bai }; 410a05ea40eSJacky Bai 411a05ea40eSJacky Bai pwm3: pwm@30680000 { 412a05ea40eSJacky Bai compatible = "fsl,imx8mm-pwm", "fsl,imx27-pwm"; 413a05ea40eSJacky Bai reg = <0x30680000 0x10000>; 414a05ea40eSJacky Bai interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; 415a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_PWM3_ROOT>, 416a05ea40eSJacky Bai <&clk IMX8MM_CLK_PWM3_ROOT>; 417a05ea40eSJacky Bai clock-names = "ipg", "per"; 418a05ea40eSJacky Bai #pwm-cells = <2>; 419a05ea40eSJacky Bai status = "disabled"; 420a05ea40eSJacky Bai }; 421a05ea40eSJacky Bai 422a05ea40eSJacky Bai pwm4: pwm@30690000 { 423a05ea40eSJacky Bai compatible = "fsl,imx8mm-pwm", "fsl,imx27-pwm"; 424a05ea40eSJacky Bai reg = <0x30690000 0x10000>; 425a05ea40eSJacky Bai interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; 426a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_PWM4_ROOT>, 427a05ea40eSJacky Bai <&clk IMX8MM_CLK_PWM4_ROOT>; 428a05ea40eSJacky Bai clock-names = "ipg", "per"; 429a05ea40eSJacky Bai #pwm-cells = <2>; 430a05ea40eSJacky Bai status = "disabled"; 431a05ea40eSJacky Bai }; 432a05ea40eSJacky Bai }; 433a05ea40eSJacky Bai 434a05ea40eSJacky Bai aips3: bus@30800000 { 435a05ea40eSJacky Bai compatible = "fsl,aips-bus", "simple-bus"; 436a05ea40eSJacky Bai #address-cells = <1>; 437a05ea40eSJacky Bai #size-cells = <1>; 438a05ea40eSJacky Bai ranges; 439a05ea40eSJacky Bai 440a05ea40eSJacky Bai ecspi1: spi@30820000 { 441a05ea40eSJacky Bai compatible = "fsl,imx8mm-ecspi", "fsl,imx51-ecspi"; 442a05ea40eSJacky Bai #address-cells = <1>; 443a05ea40eSJacky Bai #size-cells = <0>; 444a05ea40eSJacky Bai reg = <0x30820000 0x10000>; 445a05ea40eSJacky Bai interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; 446a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_ECSPI1_ROOT>, 447a05ea40eSJacky Bai <&clk IMX8MM_CLK_ECSPI1_ROOT>; 448a05ea40eSJacky Bai clock-names = "ipg", "per"; 449a05ea40eSJacky Bai dmas = <&sdma1 0 7 1>, <&sdma1 1 7 2>; 450a05ea40eSJacky Bai dma-names = "rx", "tx"; 451a05ea40eSJacky Bai status = "disabled"; 452a05ea40eSJacky Bai }; 453a05ea40eSJacky Bai 454a05ea40eSJacky Bai ecspi2: spi@30830000 { 455a05ea40eSJacky Bai compatible = "fsl,imx8mm-ecspi", "fsl,imx51-ecspi"; 456a05ea40eSJacky Bai #address-cells = <1>; 457a05ea40eSJacky Bai #size-cells = <0>; 458a05ea40eSJacky Bai reg = <0x30830000 0x10000>; 459a05ea40eSJacky Bai interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; 460a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_ECSPI2_ROOT>, 461a05ea40eSJacky Bai <&clk IMX8MM_CLK_ECSPI2_ROOT>; 462a05ea40eSJacky Bai clock-names = "ipg", "per"; 463a05ea40eSJacky Bai dmas = <&sdma1 2 7 1>, <&sdma1 3 7 2>; 464a05ea40eSJacky Bai dma-names = "rx", "tx"; 465a05ea40eSJacky Bai status = "disabled"; 466a05ea40eSJacky Bai }; 467a05ea40eSJacky Bai 468a05ea40eSJacky Bai ecspi3: spi@30840000 { 469a05ea40eSJacky Bai compatible = "fsl,imx8mm-ecspi", "fsl,imx51-ecspi"; 470a05ea40eSJacky Bai #address-cells = <1>; 471a05ea40eSJacky Bai #size-cells = <0>; 472a05ea40eSJacky Bai reg = <0x30840000 0x10000>; 473a05ea40eSJacky Bai interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; 474a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_ECSPI3_ROOT>, 475a05ea40eSJacky Bai <&clk IMX8MM_CLK_ECSPI3_ROOT>; 476a05ea40eSJacky Bai clock-names = "ipg", "per"; 477a05ea40eSJacky Bai dmas = <&sdma1 4 7 1>, <&sdma1 5 7 2>; 478a05ea40eSJacky Bai dma-names = "rx", "tx"; 479a05ea40eSJacky Bai status = "disabled"; 480a05ea40eSJacky Bai }; 481a05ea40eSJacky Bai 482a05ea40eSJacky Bai uart1: serial@30860000 { 483a05ea40eSJacky Bai compatible = "fsl,imx8mm-uart", "fsl,imx6q-uart"; 484a05ea40eSJacky Bai reg = <0x30860000 0x10000>; 485a05ea40eSJacky Bai interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; 486a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_UART1_ROOT>, 487a05ea40eSJacky Bai <&clk IMX8MM_CLK_UART1_ROOT>; 488a05ea40eSJacky Bai clock-names = "ipg", "per"; 489a05ea40eSJacky Bai dmas = <&sdma1 22 4 0>, <&sdma1 23 4 0>; 490a05ea40eSJacky Bai dma-names = "rx", "tx"; 491a05ea40eSJacky Bai status = "disabled"; 492a05ea40eSJacky Bai }; 493a05ea40eSJacky Bai 494a05ea40eSJacky Bai uart3: serial@30880000 { 495a05ea40eSJacky Bai compatible = "fsl,imx8mm-uart", "fsl,imx6q-uart"; 496a05ea40eSJacky Bai reg = <0x30880000 0x10000>; 497a05ea40eSJacky Bai interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; 498a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_UART3_ROOT>, 499a05ea40eSJacky Bai <&clk IMX8MM_CLK_UART3_ROOT>; 500a05ea40eSJacky Bai clock-names = "ipg", "per"; 501a05ea40eSJacky Bai dmas = <&sdma1 26 4 0>, <&sdma1 27 4 0>; 502a05ea40eSJacky Bai dma-names = "rx", "tx"; 503a05ea40eSJacky Bai status = "disabled"; 504a05ea40eSJacky Bai }; 505a05ea40eSJacky Bai 506a05ea40eSJacky Bai uart2: serial@30890000 { 507a05ea40eSJacky Bai compatible = "fsl,imx8mm-uart", "fsl,imx6q-uart"; 508a05ea40eSJacky Bai reg = <0x30890000 0x10000>; 509a05ea40eSJacky Bai interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>; 510a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_UART2_ROOT>, 511a05ea40eSJacky Bai <&clk IMX8MM_CLK_UART2_ROOT>; 512a05ea40eSJacky Bai clock-names = "ipg", "per"; 513a05ea40eSJacky Bai status = "disabled"; 514a05ea40eSJacky Bai }; 515a05ea40eSJacky Bai 516a05ea40eSJacky Bai i2c1: i2c@30a20000 { 517a05ea40eSJacky Bai compatible = "fsl,imx8mm-i2c", "fsl,imx21-i2c"; 518a05ea40eSJacky Bai #address-cells = <1>; 519a05ea40eSJacky Bai #size-cells = <0>; 520a05ea40eSJacky Bai reg = <0x30a20000 0x10000>; 521a05ea40eSJacky Bai interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; 522a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_I2C1_ROOT>; 523a05ea40eSJacky Bai status = "disabled"; 524a05ea40eSJacky Bai }; 525a05ea40eSJacky Bai 526a05ea40eSJacky Bai i2c2: i2c@30a30000 { 527a05ea40eSJacky Bai compatible = "fsl,imx8mm-i2c", "fsl,imx21-i2c"; 528a05ea40eSJacky Bai #address-cells = <1>; 529a05ea40eSJacky Bai #size-cells = <0>; 530a05ea40eSJacky Bai reg = <0x30a30000 0x10000>; 531a05ea40eSJacky Bai interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; 532a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_I2C2_ROOT>; 533a05ea40eSJacky Bai status = "disabled"; 534a05ea40eSJacky Bai }; 535a05ea40eSJacky Bai 536a05ea40eSJacky Bai i2c3: i2c@30a40000 { 537a05ea40eSJacky Bai #address-cells = <1>; 538a05ea40eSJacky Bai #size-cells = <0>; 539a05ea40eSJacky Bai compatible = "fsl,imx8mm-i2c", "fsl,imx21-i2c"; 540a05ea40eSJacky Bai reg = <0x30a40000 0x10000>; 541a05ea40eSJacky Bai interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; 542a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_I2C3_ROOT>; 543a05ea40eSJacky Bai status = "disabled"; 544a05ea40eSJacky Bai }; 545a05ea40eSJacky Bai 546a05ea40eSJacky Bai i2c4: i2c@30a50000 { 547a05ea40eSJacky Bai compatible = "fsl,imx8mm-i2c", "fsl,imx21-i2c"; 548a05ea40eSJacky Bai #address-cells = <1>; 549a05ea40eSJacky Bai #size-cells = <0>; 550a05ea40eSJacky Bai reg = <0x30a50000 0x10000>; 551a05ea40eSJacky Bai interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; 552a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_I2C4_ROOT>; 553a05ea40eSJacky Bai status = "disabled"; 554a05ea40eSJacky Bai }; 555a05ea40eSJacky Bai 556a05ea40eSJacky Bai uart4: serial@30a60000 { 557a05ea40eSJacky Bai compatible = "fsl,imx8mm-uart", "fsl,imx6q-uart"; 558a05ea40eSJacky Bai reg = <0x30a60000 0x10000>; 559a05ea40eSJacky Bai interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; 560a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_UART4_ROOT>, 561a05ea40eSJacky Bai <&clk IMX8MM_CLK_UART4_ROOT>; 562a05ea40eSJacky Bai clock-names = "ipg", "per"; 563a05ea40eSJacky Bai dmas = <&sdma1 28 4 0>, <&sdma1 29 4 0>; 564a05ea40eSJacky Bai dma-names = "rx", "tx"; 565a05ea40eSJacky Bai status = "disabled"; 566a05ea40eSJacky Bai }; 567a05ea40eSJacky Bai 568a05ea40eSJacky Bai usdhc1: mmc@30b40000 { 569a05ea40eSJacky Bai compatible = "fsl,imx8mm-usdhc", "fsl,imx7d-usdhc"; 570a05ea40eSJacky Bai reg = <0x30b40000 0x10000>; 571a05ea40eSJacky Bai interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; 572a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_DUMMY>, 573a05ea40eSJacky Bai <&clk IMX8MM_CLK_NAND_USDHC_BUS>, 574a05ea40eSJacky Bai <&clk IMX8MM_CLK_USDHC1_ROOT>; 575a05ea40eSJacky Bai clock-names = "ipg", "ahb", "per"; 576a05ea40eSJacky Bai assigned-clocks = <&clk IMX8MM_CLK_USDHC1>; 577a05ea40eSJacky Bai assigned-clock-rates = <400000000>; 578a05ea40eSJacky Bai fsl,tuning-start-tap = <20>; 579a05ea40eSJacky Bai fsl,tuning-step= <2>; 580a05ea40eSJacky Bai bus-width = <4>; 581a05ea40eSJacky Bai status = "disabled"; 582a05ea40eSJacky Bai }; 583a05ea40eSJacky Bai 584a05ea40eSJacky Bai usdhc2: mmc@30b50000 { 585a05ea40eSJacky Bai compatible = "fsl,imx8mm-usdhc", "fsl,imx7d-usdhc"; 586a05ea40eSJacky Bai reg = <0x30b50000 0x10000>; 587a05ea40eSJacky Bai interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; 588a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_DUMMY>, 589a05ea40eSJacky Bai <&clk IMX8MM_CLK_NAND_USDHC_BUS>, 590a05ea40eSJacky Bai <&clk IMX8MM_CLK_USDHC2_ROOT>; 591a05ea40eSJacky Bai clock-names = "ipg", "ahb", "per"; 592a05ea40eSJacky Bai fsl,tuning-start-tap = <20>; 593a05ea40eSJacky Bai fsl,tuning-step= <2>; 594a05ea40eSJacky Bai bus-width = <4>; 595a05ea40eSJacky Bai status = "disabled"; 596a05ea40eSJacky Bai }; 597a05ea40eSJacky Bai 598a05ea40eSJacky Bai usdhc3: mmc@30b60000 { 599a05ea40eSJacky Bai compatible = "fsl,imx8mm-usdhc", "fsl,imx7d-usdhc"; 600a05ea40eSJacky Bai reg = <0x30b60000 0x10000>; 601a05ea40eSJacky Bai interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>; 602a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_DUMMY>, 603a05ea40eSJacky Bai <&clk IMX8MM_CLK_NAND_USDHC_BUS>, 604a05ea40eSJacky Bai <&clk IMX8MM_CLK_USDHC3_ROOT>; 605a05ea40eSJacky Bai clock-names = "ipg", "ahb", "per"; 606a05ea40eSJacky Bai assigned-clocks = <&clk IMX8MM_CLK_USDHC3_ROOT>; 607a05ea40eSJacky Bai assigned-clock-rates = <400000000>; 608a05ea40eSJacky Bai fsl,tuning-start-tap = <20>; 609a05ea40eSJacky Bai fsl,tuning-step= <2>; 610a05ea40eSJacky Bai bus-width = <4>; 611a05ea40eSJacky Bai status = "disabled"; 612a05ea40eSJacky Bai }; 613a05ea40eSJacky Bai 614a05ea40eSJacky Bai sdma1: dma-controller@30bd0000 { 615a05ea40eSJacky Bai compatible = "fsl,imx8mm-sdma", "fsl,imx7d-sdma"; 616a05ea40eSJacky Bai reg = <0x30bd0000 0x10000>; 617a05ea40eSJacky Bai interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; 618a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_SDMA1_ROOT>, 619a05ea40eSJacky Bai <&clk IMX8MM_CLK_SDMA1_ROOT>; 620a05ea40eSJacky Bai clock-names = "ipg", "ahb"; 621a05ea40eSJacky Bai #dma-cells = <3>; 622a05ea40eSJacky Bai fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin"; 623a05ea40eSJacky Bai }; 624a05ea40eSJacky Bai 625a05ea40eSJacky Bai fec1: ethernet@30be0000 { 626a05ea40eSJacky Bai compatible = "fsl,imx8mm-fec", "fsl,imx6sx-fec"; 627a05ea40eSJacky Bai reg = <0x30be0000 0x10000>; 628a05ea40eSJacky Bai interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, 629a05ea40eSJacky Bai <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>, 630a05ea40eSJacky Bai <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; 631a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_ENET1_ROOT>, 632a05ea40eSJacky Bai <&clk IMX8MM_CLK_ENET1_ROOT>, 633a05ea40eSJacky Bai <&clk IMX8MM_CLK_ENET_TIMER>, 634a05ea40eSJacky Bai <&clk IMX8MM_CLK_ENET_REF>, 635a05ea40eSJacky Bai <&clk IMX8MM_CLK_ENET_PHY_REF>; 636a05ea40eSJacky Bai clock-names = "ipg", "ahb", "ptp", 637a05ea40eSJacky Bai "enet_clk_ref", "enet_out"; 638a05ea40eSJacky Bai assigned-clocks = <&clk IMX8MM_CLK_ENET_AXI>, 639a05ea40eSJacky Bai <&clk IMX8MM_CLK_ENET_TIMER>, 640a05ea40eSJacky Bai <&clk IMX8MM_CLK_ENET_REF>, 641a05ea40eSJacky Bai <&clk IMX8MM_CLK_ENET_TIMER>; 642a05ea40eSJacky Bai assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_266M>, 643a05ea40eSJacky Bai <&clk IMX8MM_SYS_PLL2_100M>, 644a05ea40eSJacky Bai <&clk IMX8MM_SYS_PLL2_125M>; 645a05ea40eSJacky Bai assigned-clock-rates = <0>, <0>, <125000000>, <100000000>; 646a05ea40eSJacky Bai fsl,num-tx-queues = <3>; 647a05ea40eSJacky Bai fsl,num-rx-queues = <3>; 648a05ea40eSJacky Bai status = "disabled"; 649a05ea40eSJacky Bai }; 650a05ea40eSJacky Bai 651a05ea40eSJacky Bai }; 652a05ea40eSJacky Bai 653a05ea40eSJacky Bai aips4: bus@32c00000 { 654a05ea40eSJacky Bai compatible = "fsl,aips-bus", "simple-bus"; 655a05ea40eSJacky Bai #address-cells = <1>; 656a05ea40eSJacky Bai #size-cells = <1>; 657a05ea40eSJacky Bai ranges; 658a05ea40eSJacky Bai 659a05ea40eSJacky Bai usbotg1: usb@32e40000 { 660a05ea40eSJacky Bai compatible = "fsl,imx8mm-usb", "fsl,imx7d-usb"; 661a05ea40eSJacky Bai reg = <0x32e40000 0x200>; 662a05ea40eSJacky Bai interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; 663a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_USB1_CTRL_ROOT>; 664a05ea40eSJacky Bai clock-names = "usb1_ctrl_root_clk"; 665a05ea40eSJacky Bai assigned-clocks = <&clk IMX8MM_CLK_USB_BUS>, 666a05ea40eSJacky Bai <&clk IMX8MM_CLK_USB_CORE_REF>; 667a05ea40eSJacky Bai assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_500M>, 668a05ea40eSJacky Bai <&clk IMX8MM_SYS_PLL1_100M>; 669a05ea40eSJacky Bai fsl,usbphy = <&usbphynop1>; 670a05ea40eSJacky Bai fsl,usbmisc = <&usbmisc1 0>; 671a05ea40eSJacky Bai status = "disabled"; 672a05ea40eSJacky Bai }; 673a05ea40eSJacky Bai 674a05ea40eSJacky Bai usbphynop1: usbphynop1 { 675a05ea40eSJacky Bai compatible = "usb-nop-xceiv"; 676a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_USB_PHY_REF>; 677a05ea40eSJacky Bai assigned-clocks = <&clk IMX8MM_CLK_USB_PHY_REF>; 678a05ea40eSJacky Bai assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_100M>; 679a05ea40eSJacky Bai clock-names = "main_clk"; 680a05ea40eSJacky Bai }; 681a05ea40eSJacky Bai 682a05ea40eSJacky Bai usbmisc1: usbmisc@32e40200 { 683a05ea40eSJacky Bai compatible = "fsl,imx8mm-usbmisc", "fsl,imx7d-usbmisc"; 684a05ea40eSJacky Bai #index-cells = <1>; 685a05ea40eSJacky Bai reg = <0x32e40200 0x200>; 686a05ea40eSJacky Bai }; 687a05ea40eSJacky Bai 688a05ea40eSJacky Bai usbotg2: usb@32e50000 { 689a05ea40eSJacky Bai compatible = "fsl,imx8mm-usb", "fsl,imx7d-usb"; 690a05ea40eSJacky Bai reg = <0x32e50000 0x200>; 691a05ea40eSJacky Bai interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; 692a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_USB1_CTRL_ROOT>; 693a05ea40eSJacky Bai clock-names = "usb1_ctrl_root_clk"; 694a05ea40eSJacky Bai assigned-clocks = <&clk IMX8MM_CLK_USB_BUS>, 695a05ea40eSJacky Bai <&clk IMX8MM_CLK_USB_CORE_REF>; 696a05ea40eSJacky Bai assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_500M>, 697a05ea40eSJacky Bai <&clk IMX8MM_SYS_PLL1_100M>; 698a05ea40eSJacky Bai fsl,usbphy = <&usbphynop2>; 699a05ea40eSJacky Bai fsl,usbmisc = <&usbmisc2 0>; 700a05ea40eSJacky Bai status = "disabled"; 701a05ea40eSJacky Bai }; 702a05ea40eSJacky Bai 703a05ea40eSJacky Bai usbphynop2: usbphynop2 { 704a05ea40eSJacky Bai compatible = "usb-nop-xceiv"; 705a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_USB_PHY_REF>; 706a05ea40eSJacky Bai assigned-clocks = <&clk IMX8MM_CLK_USB_PHY_REF>; 707a05ea40eSJacky Bai assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_100M>; 708a05ea40eSJacky Bai clock-names = "main_clk"; 709a05ea40eSJacky Bai }; 710a05ea40eSJacky Bai 711a05ea40eSJacky Bai usbmisc2: usbmisc@32e50200 { 712a05ea40eSJacky Bai compatible = "fsl,imx8mm-usbmisc", "fsl,imx7d-usbmisc"; 713a05ea40eSJacky Bai #index-cells = <1>; 714a05ea40eSJacky Bai reg = <0x32e50200 0x200>; 715a05ea40eSJacky Bai }; 716a05ea40eSJacky Bai 717a05ea40eSJacky Bai }; 718a05ea40eSJacky Bai 719a05ea40eSJacky Bai dma_apbh: dma-controller@33000000 { 720a05ea40eSJacky Bai compatible = "fsl,imx7d-dma-apbh", "fsl,imx28-dma-apbh"; 721a05ea40eSJacky Bai reg = <0x33000000 0x2000>; 722a05ea40eSJacky Bai interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>, 723a05ea40eSJacky Bai <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>, 724a05ea40eSJacky Bai <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>, 725a05ea40eSJacky Bai <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; 726a05ea40eSJacky Bai interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3"; 727a05ea40eSJacky Bai #dma-cells = <1>; 728a05ea40eSJacky Bai dma-channels = <4>; 729a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_NAND_USDHC_BUS_RAWNAND_CLK>; 730a05ea40eSJacky Bai }; 731a05ea40eSJacky Bai 732a05ea40eSJacky Bai gpmi: nand-controller@33002000{ 733a05ea40eSJacky Bai compatible = "fsl,imx8mm-gpmi-nand", "fsl,imx7d-gpmi-nand"; 734a05ea40eSJacky Bai #address-cells = <1>; 735a05ea40eSJacky Bai #size-cells = <1>; 736a05ea40eSJacky Bai reg = <0x33002000 0x2000>, <0x33004000 0x4000>; 737a05ea40eSJacky Bai reg-names = "gpmi-nand", "bch"; 738a05ea40eSJacky Bai interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; 739a05ea40eSJacky Bai interrupt-names = "bch"; 740a05ea40eSJacky Bai clocks = <&clk IMX8MM_CLK_NAND_ROOT>, 741a05ea40eSJacky Bai <&clk IMX8MM_CLK_NAND_USDHC_BUS_RAWNAND_CLK>; 742a05ea40eSJacky Bai clock-names = "gpmi_io", "gpmi_bch_apb"; 743a05ea40eSJacky Bai dmas = <&dma_apbh 0>; 744a05ea40eSJacky Bai dma-names = "rx-tx"; 745a05ea40eSJacky Bai status = "disabled"; 746a05ea40eSJacky Bai }; 747a05ea40eSJacky Bai }; 748a05ea40eSJacky Bai}; 749