1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Copyright 2019 NXP 3 * Copyright 2019 NXP 4 */ 4 */ 5 5 6 #include <dt-bindings/clock/imx8mm-clock.h> 6 #include <dt-bindings/clock/imx8mm-clock.h> 7 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/interrupt-controller/arm 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/power/imx8mm-power.h> 10 #include <dt-bindings/power/imx8mm-power.h> 11 #include <dt-bindings/reset/imx8mq-reset.h> 11 #include <dt-bindings/reset/imx8mq-reset.h> 12 #include <dt-bindings/thermal/thermal.h> 12 #include <dt-bindings/thermal/thermal.h> 13 13 14 #include "imx8mm-pinfunc.h" 14 #include "imx8mm-pinfunc.h" 15 15 16 / { 16 / { 17 interrupt-parent = <&gic>; 17 interrupt-parent = <&gic>; 18 #address-cells = <2>; 18 #address-cells = <2>; 19 #size-cells = <2>; 19 #size-cells = <2>; 20 20 21 aliases { 21 aliases { 22 ethernet0 = &fec1; 22 ethernet0 = &fec1; 23 gpio0 = &gpio1; 23 gpio0 = &gpio1; 24 gpio1 = &gpio2; 24 gpio1 = &gpio2; 25 gpio2 = &gpio3; 25 gpio2 = &gpio3; 26 gpio3 = &gpio4; 26 gpio3 = &gpio4; 27 gpio4 = &gpio5; 27 gpio4 = &gpio5; 28 i2c0 = &i2c1; 28 i2c0 = &i2c1; 29 i2c1 = &i2c2; 29 i2c1 = &i2c2; 30 i2c2 = &i2c3; 30 i2c2 = &i2c3; 31 i2c3 = &i2c4; 31 i2c3 = &i2c4; 32 mmc0 = &usdhc1; 32 mmc0 = &usdhc1; 33 mmc1 = &usdhc2; 33 mmc1 = &usdhc2; 34 mmc2 = &usdhc3; 34 mmc2 = &usdhc3; 35 serial0 = &uart1; 35 serial0 = &uart1; 36 serial1 = &uart2; 36 serial1 = &uart2; 37 serial2 = &uart3; 37 serial2 = &uart3; 38 serial3 = &uart4; 38 serial3 = &uart4; 39 spi0 = &ecspi1; 39 spi0 = &ecspi1; 40 spi1 = &ecspi2; 40 spi1 = &ecspi2; 41 spi2 = &ecspi3; 41 spi2 = &ecspi3; 42 }; 42 }; 43 43 44 cpus { 44 cpus { 45 #address-cells = <1>; 45 #address-cells = <1>; 46 #size-cells = <0>; 46 #size-cells = <0>; 47 47 48 idle-states { 48 idle-states { 49 entry-method = "psci"; 49 entry-method = "psci"; 50 50 51 cpu_pd_wait: cpu-pd-wa 51 cpu_pd_wait: cpu-pd-wait { 52 compatible = " 52 compatible = "arm,idle-state"; 53 arm,psci-suspe 53 arm,psci-suspend-param = <0x0010033>; 54 local-timer-st 54 local-timer-stop; 55 entry-latency- 55 entry-latency-us = <1000>; 56 exit-latency-u 56 exit-latency-us = <700>; 57 min-residency- 57 min-residency-us = <2700>; 58 }; 58 }; 59 }; 59 }; 60 60 61 A53_0: cpu@0 { 61 A53_0: cpu@0 { 62 device_type = "cpu"; 62 device_type = "cpu"; 63 compatible = "arm,cort 63 compatible = "arm,cortex-a53"; 64 reg = <0x0>; 64 reg = <0x0>; 65 clock-latency = <61036 65 clock-latency = <61036>; /* two CLK32 periods */ 66 clocks = <&clk IMX8MM_ 66 clocks = <&clk IMX8MM_CLK_ARM>; 67 enable-method = "psci" 67 enable-method = "psci"; 68 i-cache-size = <0x8000 68 i-cache-size = <0x8000>; 69 i-cache-line-size = <6 69 i-cache-line-size = <64>; 70 i-cache-sets = <256>; 70 i-cache-sets = <256>; 71 d-cache-size = <0x8000 71 d-cache-size = <0x8000>; 72 d-cache-line-size = <6 72 d-cache-line-size = <64>; 73 d-cache-sets = <128>; 73 d-cache-sets = <128>; 74 next-level-cache = <&A 74 next-level-cache = <&A53_L2>; 75 operating-points-v2 = 75 operating-points-v2 = <&a53_opp_table>; 76 nvmem-cells = <&cpu_sp 76 nvmem-cells = <&cpu_speed_grade>; 77 nvmem-cell-names = "sp 77 nvmem-cell-names = "speed_grade"; 78 cpu-idle-states = <&cp 78 cpu-idle-states = <&cpu_pd_wait>; 79 #cooling-cells = <2>; 79 #cooling-cells = <2>; 80 }; 80 }; 81 81 82 A53_1: cpu@1 { 82 A53_1: cpu@1 { 83 device_type = "cpu"; 83 device_type = "cpu"; 84 compatible = "arm,cort 84 compatible = "arm,cortex-a53"; 85 reg = <0x1>; 85 reg = <0x1>; 86 clock-latency = <61036 86 clock-latency = <61036>; /* two CLK32 periods */ 87 clocks = <&clk IMX8MM_ 87 clocks = <&clk IMX8MM_CLK_ARM>; 88 enable-method = "psci" 88 enable-method = "psci"; 89 i-cache-size = <0x8000 89 i-cache-size = <0x8000>; 90 i-cache-line-size = <6 90 i-cache-line-size = <64>; 91 i-cache-sets = <256>; 91 i-cache-sets = <256>; 92 d-cache-size = <0x8000 92 d-cache-size = <0x8000>; 93 d-cache-line-size = <6 93 d-cache-line-size = <64>; 94 d-cache-sets = <128>; 94 d-cache-sets = <128>; 95 next-level-cache = <&A 95 next-level-cache = <&A53_L2>; 96 operating-points-v2 = 96 operating-points-v2 = <&a53_opp_table>; 97 cpu-idle-states = <&cp 97 cpu-idle-states = <&cpu_pd_wait>; 98 #cooling-cells = <2>; 98 #cooling-cells = <2>; 99 }; 99 }; 100 100 101 A53_2: cpu@2 { 101 A53_2: cpu@2 { 102 device_type = "cpu"; 102 device_type = "cpu"; 103 compatible = "arm,cort 103 compatible = "arm,cortex-a53"; 104 reg = <0x2>; 104 reg = <0x2>; 105 clock-latency = <61036 105 clock-latency = <61036>; /* two CLK32 periods */ 106 clocks = <&clk IMX8MM_ 106 clocks = <&clk IMX8MM_CLK_ARM>; 107 enable-method = "psci" 107 enable-method = "psci"; 108 i-cache-size = <0x8000 108 i-cache-size = <0x8000>; 109 i-cache-line-size = <6 109 i-cache-line-size = <64>; 110 i-cache-sets = <256>; 110 i-cache-sets = <256>; 111 d-cache-size = <0x8000 111 d-cache-size = <0x8000>; 112 d-cache-line-size = <6 112 d-cache-line-size = <64>; 113 d-cache-sets = <128>; 113 d-cache-sets = <128>; 114 next-level-cache = <&A 114 next-level-cache = <&A53_L2>; 115 operating-points-v2 = 115 operating-points-v2 = <&a53_opp_table>; 116 cpu-idle-states = <&cp 116 cpu-idle-states = <&cpu_pd_wait>; 117 #cooling-cells = <2>; 117 #cooling-cells = <2>; 118 }; 118 }; 119 119 120 A53_3: cpu@3 { 120 A53_3: cpu@3 { 121 device_type = "cpu"; 121 device_type = "cpu"; 122 compatible = "arm,cort 122 compatible = "arm,cortex-a53"; 123 reg = <0x3>; 123 reg = <0x3>; 124 clock-latency = <61036 124 clock-latency = <61036>; /* two CLK32 periods */ 125 clocks = <&clk IMX8MM_ 125 clocks = <&clk IMX8MM_CLK_ARM>; 126 enable-method = "psci" 126 enable-method = "psci"; 127 i-cache-size = <0x8000 127 i-cache-size = <0x8000>; 128 i-cache-line-size = <6 128 i-cache-line-size = <64>; 129 i-cache-sets = <256>; 129 i-cache-sets = <256>; 130 d-cache-size = <0x8000 130 d-cache-size = <0x8000>; 131 d-cache-line-size = <6 131 d-cache-line-size = <64>; 132 d-cache-sets = <128>; 132 d-cache-sets = <128>; 133 next-level-cache = <&A 133 next-level-cache = <&A53_L2>; 134 operating-points-v2 = 134 operating-points-v2 = <&a53_opp_table>; 135 cpu-idle-states = <&cp 135 cpu-idle-states = <&cpu_pd_wait>; 136 #cooling-cells = <2>; 136 #cooling-cells = <2>; 137 }; 137 }; 138 138 139 A53_L2: l2-cache0 { 139 A53_L2: l2-cache0 { 140 compatible = "cache"; 140 compatible = "cache"; 141 cache-level = <2>; 141 cache-level = <2>; 142 cache-unified; 142 cache-unified; 143 cache-size = <0x80000> 143 cache-size = <0x80000>; 144 cache-line-size = <64> 144 cache-line-size = <64>; 145 cache-sets = <512>; 145 cache-sets = <512>; 146 }; 146 }; 147 }; 147 }; 148 148 149 a53_opp_table: opp-table { 149 a53_opp_table: opp-table { 150 compatible = "operating-points 150 compatible = "operating-points-v2"; 151 opp-shared; 151 opp-shared; 152 152 153 opp-1200000000 { 153 opp-1200000000 { 154 opp-hz = /bits/ 64 <12 154 opp-hz = /bits/ 64 <1200000000>; 155 opp-microvolt = <85000 155 opp-microvolt = <850000>; 156 opp-supported-hw = <0x 156 opp-supported-hw = <0xe>, <0x7>; 157 clock-latency-ns = <15 157 clock-latency-ns = <150000>; 158 opp-suspend; 158 opp-suspend; 159 }; 159 }; 160 160 161 opp-1600000000 { 161 opp-1600000000 { 162 opp-hz = /bits/ 64 <16 162 opp-hz = /bits/ 64 <1600000000>; 163 opp-microvolt = <95000 163 opp-microvolt = <950000>; 164 opp-supported-hw = <0x 164 opp-supported-hw = <0xc>, <0x7>; 165 clock-latency-ns = <15 165 clock-latency-ns = <150000>; 166 opp-suspend; 166 opp-suspend; 167 }; 167 }; 168 168 169 opp-1800000000 { 169 opp-1800000000 { 170 opp-hz = /bits/ 64 <18 170 opp-hz = /bits/ 64 <1800000000>; 171 opp-microvolt = <10000 171 opp-microvolt = <1000000>; 172 opp-supported-hw = <0x 172 opp-supported-hw = <0x8>, <0x3>; 173 clock-latency-ns = <15 173 clock-latency-ns = <150000>; 174 opp-suspend; 174 opp-suspend; 175 }; 175 }; 176 }; 176 }; 177 177 178 osc_32k: clock-osc-32k { 178 osc_32k: clock-osc-32k { 179 compatible = "fixed-clock"; 179 compatible = "fixed-clock"; 180 #clock-cells = <0>; 180 #clock-cells = <0>; 181 clock-frequency = <32768>; 181 clock-frequency = <32768>; 182 clock-output-names = "osc_32k" 182 clock-output-names = "osc_32k"; 183 }; 183 }; 184 184 185 osc_24m: clock-osc-24m { 185 osc_24m: clock-osc-24m { 186 compatible = "fixed-clock"; 186 compatible = "fixed-clock"; 187 #clock-cells = <0>; 187 #clock-cells = <0>; 188 clock-frequency = <24000000>; 188 clock-frequency = <24000000>; 189 clock-output-names = "osc_24m" 189 clock-output-names = "osc_24m"; 190 }; 190 }; 191 191 192 clk_ext1: clock-ext1 { 192 clk_ext1: clock-ext1 { 193 compatible = "fixed-clock"; 193 compatible = "fixed-clock"; 194 #clock-cells = <0>; 194 #clock-cells = <0>; 195 clock-frequency = <133000000>; 195 clock-frequency = <133000000>; 196 clock-output-names = "clk_ext1 196 clock-output-names = "clk_ext1"; 197 }; 197 }; 198 198 199 clk_ext2: clock-ext2 { 199 clk_ext2: clock-ext2 { 200 compatible = "fixed-clock"; 200 compatible = "fixed-clock"; 201 #clock-cells = <0>; 201 #clock-cells = <0>; 202 clock-frequency = <133000000>; 202 clock-frequency = <133000000>; 203 clock-output-names = "clk_ext2 203 clock-output-names = "clk_ext2"; 204 }; 204 }; 205 205 206 clk_ext3: clock-ext3 { 206 clk_ext3: clock-ext3 { 207 compatible = "fixed-clock"; 207 compatible = "fixed-clock"; 208 #clock-cells = <0>; 208 #clock-cells = <0>; 209 clock-frequency = <133000000>; 209 clock-frequency = <133000000>; 210 clock-output-names = "clk_ext3 210 clock-output-names = "clk_ext3"; 211 }; 211 }; 212 212 213 clk_ext4: clock-ext4 { 213 clk_ext4: clock-ext4 { 214 compatible = "fixed-clock"; 214 compatible = "fixed-clock"; 215 #clock-cells = <0>; 215 #clock-cells = <0>; 216 clock-frequency = <133000000>; 216 clock-frequency = <133000000>; 217 clock-output-names = "clk_ext4 217 clock-output-names = "clk_ext4"; 218 }; 218 }; 219 219 220 psci { 220 psci { 221 compatible = "arm,psci-1.0"; 221 compatible = "arm,psci-1.0"; 222 method = "smc"; 222 method = "smc"; 223 }; 223 }; 224 224 225 pmu { 225 pmu { 226 compatible = "arm,cortex-a53-p 226 compatible = "arm,cortex-a53-pmu"; 227 interrupts = <GIC_PPI 7 227 interrupts = <GIC_PPI 7 228 (GIC_CPU_MASK_SIM 228 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; 229 }; 229 }; 230 230 231 timer { 231 timer { 232 compatible = "arm,armv8-timer" 232 compatible = "arm,armv8-timer"; 233 interrupts = <GIC_PPI 13 (GIC_ 233 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, /* Physical Secure */ 234 <GIC_PPI 14 (GIC_ 234 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, /* Physical Non-Secure */ 235 <GIC_PPI 11 (GIC_ 235 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, /* Virtual */ 236 <GIC_PPI 10 (GIC_ 236 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; /* Hypervisor */ 237 clock-frequency = <8000000>; 237 clock-frequency = <8000000>; 238 arm,no-tick-in-suspend; 238 arm,no-tick-in-suspend; 239 }; 239 }; 240 240 241 thermal-zones { 241 thermal-zones { 242 cpu-thermal { 242 cpu-thermal { 243 polling-delay-passive 243 polling-delay-passive = <250>; 244 polling-delay = <2000> 244 polling-delay = <2000>; 245 thermal-sensors = <&tm 245 thermal-sensors = <&tmu>; 246 trips { 246 trips { 247 cpu_alert0: tr 247 cpu_alert0: trip0 { 248 temper 248 temperature = <85000>; 249 hyster 249 hysteresis = <2000>; 250 type = 250 type = "passive"; 251 }; 251 }; 252 252 253 cpu_crit0: tri 253 cpu_crit0: trip1 { 254 temper 254 temperature = <95000>; 255 hyster 255 hysteresis = <2000>; 256 type = 256 type = "critical"; 257 }; 257 }; 258 }; 258 }; 259 259 260 cooling-maps { 260 cooling-maps { 261 map0 { 261 map0 { 262 trip = 262 trip = <&cpu_alert0>; 263 coolin 263 cooling-device = 264 264 <&A53_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 265 265 <&A53_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 266 266 <&A53_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 267 267 <&A53_3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 268 }; 268 }; 269 }; 269 }; 270 }; 270 }; 271 }; 271 }; 272 272 273 usbphynop1: usbphynop1 { 273 usbphynop1: usbphynop1 { 274 #phy-cells = <0>; 274 #phy-cells = <0>; 275 compatible = "usb-nop-xceiv"; 275 compatible = "usb-nop-xceiv"; 276 clocks = <&clk IMX8MM_CLK_USB_ 276 clocks = <&clk IMX8MM_CLK_USB_PHY_REF>; 277 assigned-clocks = <&clk IMX8MM 277 assigned-clocks = <&clk IMX8MM_CLK_USB_PHY_REF>; 278 assigned-clock-parents = <&clk 278 assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_100M>; 279 clock-names = "main_clk"; 279 clock-names = "main_clk"; 280 power-domains = <&pgc_otg1>; 280 power-domains = <&pgc_otg1>; 281 }; 281 }; 282 282 283 usbphynop2: usbphynop2 { 283 usbphynop2: usbphynop2 { 284 #phy-cells = <0>; 284 #phy-cells = <0>; 285 compatible = "usb-nop-xceiv"; 285 compatible = "usb-nop-xceiv"; 286 clocks = <&clk IMX8MM_CLK_USB_ 286 clocks = <&clk IMX8MM_CLK_USB_PHY_REF>; 287 assigned-clocks = <&clk IMX8MM 287 assigned-clocks = <&clk IMX8MM_CLK_USB_PHY_REF>; 288 assigned-clock-parents = <&clk 288 assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_100M>; 289 clock-names = "main_clk"; 289 clock-names = "main_clk"; 290 power-domains = <&pgc_otg2>; 290 power-domains = <&pgc_otg2>; 291 }; 291 }; 292 292 293 soc: soc@0 { 293 soc: soc@0 { 294 compatible = "fsl,imx8mm-soc", 294 compatible = "fsl,imx8mm-soc", "simple-bus"; 295 #address-cells = <1>; 295 #address-cells = <1>; 296 #size-cells = <1>; 296 #size-cells = <1>; 297 ranges = <0x0 0x0 0x0 0x3e0000 297 ranges = <0x0 0x0 0x0 0x3e000000>; 298 dma-ranges = <0x40000000 0x0 0 298 dma-ranges = <0x40000000 0x0 0x40000000 0xc0000000>; 299 nvmem-cells = <&imx8mm_uid>; 299 nvmem-cells = <&imx8mm_uid>; 300 nvmem-cell-names = "soc_unique 300 nvmem-cell-names = "soc_unique_id"; 301 301 302 aips1: bus@30000000 { 302 aips1: bus@30000000 { 303 compatible = "fsl,aips 303 compatible = "fsl,aips-bus", "simple-bus"; 304 reg = <0x30000000 0x40 304 reg = <0x30000000 0x400000>; 305 #address-cells = <1>; 305 #address-cells = <1>; 306 #size-cells = <1>; 306 #size-cells = <1>; 307 ranges = <0x30000000 0 307 ranges = <0x30000000 0x30000000 0x400000>; 308 308 309 spba2: spba-bus@300000 309 spba2: spba-bus@30000000 { 310 compatible = " 310 compatible = "fsl,spba-bus", "simple-bus"; 311 #address-cells 311 #address-cells = <1>; 312 #size-cells = 312 #size-cells = <1>; 313 reg = <0x30000 313 reg = <0x30000000 0x100000>; 314 ranges; 314 ranges; 315 315 316 sai1: sai@3001 316 sai1: sai@30010000 { 317 #sound 317 #sound-dai-cells = <0>; 318 compat 318 compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 319 reg = 319 reg = <0x30010000 0x10000>; 320 interr 320 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>; 321 clocks 321 clocks = <&clk IMX8MM_CLK_SAI1_IPG>, 322 322 <&clk IMX8MM_CLK_SAI1_ROOT>, 323 323 <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>; 324 clock- 324 clock-names = "bus", "mclk1", "mclk2", "mclk3"; 325 dmas = 325 dmas = <&sdma2 0 2 0>, <&sdma2 1 2 0>; 326 dma-na 326 dma-names = "rx", "tx"; 327 status 327 status = "disabled"; 328 }; 328 }; 329 329 330 sai2: sai@3002 330 sai2: sai@30020000 { 331 #sound 331 #sound-dai-cells = <0>; 332 compat 332 compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 333 reg = 333 reg = <0x30020000 0x10000>; 334 interr 334 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; 335 clocks 335 clocks = <&clk IMX8MM_CLK_SAI2_IPG>, 336 336 <&clk IMX8MM_CLK_SAI2_ROOT>, 337 337 <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>; 338 clock- 338 clock-names = "bus", "mclk1", "mclk2", "mclk3"; 339 dmas = 339 dmas = <&sdma2 2 2 0>, <&sdma2 3 2 0>; 340 dma-na 340 dma-names = "rx", "tx"; 341 status 341 status = "disabled"; 342 }; 342 }; 343 343 344 sai3: sai@3003 344 sai3: sai@30030000 { 345 #sound 345 #sound-dai-cells = <0>; 346 compat 346 compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 347 reg = 347 reg = <0x30030000 0x10000>; 348 interr 348 interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>; 349 clocks 349 clocks = <&clk IMX8MM_CLK_SAI3_IPG>, 350 350 <&clk IMX8MM_CLK_SAI3_ROOT>, 351 351 <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>; 352 clock- 352 clock-names = "bus", "mclk1", "mclk2", "mclk3"; 353 dmas = 353 dmas = <&sdma2 4 2 0>, <&sdma2 5 2 0>; 354 dma-na 354 dma-names = "rx", "tx"; 355 status 355 status = "disabled"; 356 }; 356 }; 357 357 358 sai5: sai@3005 358 sai5: sai@30050000 { 359 #sound 359 #sound-dai-cells = <0>; 360 compat 360 compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 361 reg = 361 reg = <0x30050000 0x10000>; 362 interr 362 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>; 363 clocks 363 clocks = <&clk IMX8MM_CLK_SAI5_IPG>, 364 364 <&clk IMX8MM_CLK_SAI5_ROOT>, 365 365 <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>; 366 clock- 366 clock-names = "bus", "mclk1", "mclk2", "mclk3"; 367 dmas = 367 dmas = <&sdma2 8 2 0>, <&sdma2 9 2 0>; 368 dma-na 368 dma-names = "rx", "tx"; 369 status 369 status = "disabled"; 370 }; 370 }; 371 371 372 sai6: sai@3006 372 sai6: sai@30060000 { 373 #sound 373 #sound-dai-cells = <0>; 374 compat 374 compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; 375 reg = 375 reg = <0x30060000 0x10000>; 376 interr 376 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>; 377 clocks 377 clocks = <&clk IMX8MM_CLK_SAI6_IPG>, 378 378 <&clk IMX8MM_CLK_SAI6_ROOT>, 379 379 <&clk IMX8MM_CLK_DUMMY>, <&clk IMX8MM_CLK_DUMMY>; 380 clock- 380 clock-names = "bus", "mclk1", "mclk2", "mclk3"; 381 dmas = 381 dmas = <&sdma2 10 2 0>, <&sdma2 11 2 0>; 382 dma-na 382 dma-names = "rx", "tx"; 383 status 383 status = "disabled"; 384 }; 384 }; 385 385 386 micfil: audio- 386 micfil: audio-controller@30080000 { 387 compat 387 compatible = "fsl,imx8mm-micfil"; 388 reg = 388 reg = <0x30080000 0x10000>; 389 interr 389 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>, 390 390 <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>, 391 391 <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>, 392 392 <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>; 393 clocks 393 clocks = <&clk IMX8MM_CLK_PDM_IPG>, 394 394 <&clk IMX8MM_CLK_PDM_ROOT>, 395 395 <&clk IMX8MM_AUDIO_PLL1_OUT>, 396 396 <&clk IMX8MM_AUDIO_PLL2_OUT>, 397 397 <&clk IMX8MM_CLK_EXT3>; 398 clock- 398 clock-names = "ipg_clk", "ipg_clk_app", 399 399 "pll8k", "pll11k", "clkext3"; 400 dmas = 400 dmas = <&sdma2 24 25 0x80000000>; 401 dma-na 401 dma-names = "rx"; 402 #sound 402 #sound-dai-cells = <0>; 403 status 403 status = "disabled"; 404 }; 404 }; 405 405 406 spdif1: spdif@ 406 spdif1: spdif@30090000 { 407 compat 407 compatible = "fsl,imx35-spdif"; 408 reg = 408 reg = <0x30090000 0x10000>; 409 interr 409 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; 410 clocks 410 clocks = <&clk IMX8MM_CLK_AUDIO_AHB>, /* core */ 411 411 <&clk IMX8MM_CLK_24M>, /* rxtx0 */ 412 412 <&clk IMX8MM_CLK_SPDIF1>, /* rxtx1 */ 413 413 <&clk IMX8MM_CLK_DUMMY>, /* rxtx2 */ 414 414 <&clk IMX8MM_CLK_DUMMY>, /* rxtx3 */ 415 415 <&clk IMX8MM_CLK_DUMMY>, /* rxtx4 */ 416 416 <&clk IMX8MM_CLK_AUDIO_AHB>, /* rxtx5 */ 417 417 <&clk IMX8MM_CLK_DUMMY>, /* rxtx6 */ 418 418 <&clk IMX8MM_CLK_DUMMY>, /* rxtx7 */ 419 419 <&clk IMX8MM_CLK_DUMMY>; /* spba */ 420 clock- 420 clock-names = "core", "rxtx0", 421 421 "rxtx1", "rxtx2", 422 422 "rxtx3", "rxtx4", 423 423 "rxtx5", "rxtx6", 424 424 "rxtx7", "spba"; 425 dmas = 425 dmas = <&sdma2 28 18 0>, <&sdma2 29 18 0>; 426 dma-na 426 dma-names = "rx", "tx"; 427 status 427 status = "disabled"; 428 }; 428 }; 429 }; 429 }; 430 430 431 gpio1: gpio@30200000 { 431 gpio1: gpio@30200000 { 432 compatible = " 432 compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio"; 433 reg = <0x30200 433 reg = <0x30200000 0x10000>; 434 interrupts = < 434 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>, 435 < 435 <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>; 436 clocks = <&clk 436 clocks = <&clk IMX8MM_CLK_GPIO1_ROOT>; 437 gpio-controlle 437 gpio-controller; 438 #gpio-cells = 438 #gpio-cells = <2>; 439 interrupt-cont 439 interrupt-controller; 440 #interrupt-cel 440 #interrupt-cells = <2>; 441 gpio-ranges = 441 gpio-ranges = <&iomuxc 0 10 30>; 442 }; 442 }; 443 443 444 gpio2: gpio@30210000 { 444 gpio2: gpio@30210000 { 445 compatible = " 445 compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio"; 446 reg = <0x30210 446 reg = <0x30210000 0x10000>; 447 interrupts = < 447 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>, 448 < 448 <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; 449 clocks = <&clk 449 clocks = <&clk IMX8MM_CLK_GPIO2_ROOT>; 450 gpio-controlle 450 gpio-controller; 451 #gpio-cells = 451 #gpio-cells = <2>; 452 interrupt-cont 452 interrupt-controller; 453 #interrupt-cel 453 #interrupt-cells = <2>; 454 gpio-ranges = 454 gpio-ranges = <&iomuxc 0 40 21>; 455 }; 455 }; 456 456 457 gpio3: gpio@30220000 { 457 gpio3: gpio@30220000 { 458 compatible = " 458 compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio"; 459 reg = <0x30220 459 reg = <0x30220000 0x10000>; 460 interrupts = < 460 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>, 461 < 461 <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>; 462 clocks = <&clk 462 clocks = <&clk IMX8MM_CLK_GPIO3_ROOT>; 463 gpio-controlle 463 gpio-controller; 464 #gpio-cells = 464 #gpio-cells = <2>; 465 interrupt-cont 465 interrupt-controller; 466 #interrupt-cel 466 #interrupt-cells = <2>; 467 gpio-ranges = 467 gpio-ranges = <&iomuxc 0 61 26>; 468 }; 468 }; 469 469 470 gpio4: gpio@30230000 { 470 gpio4: gpio@30230000 { 471 compatible = " 471 compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio"; 472 reg = <0x30230 472 reg = <0x30230000 0x10000>; 473 interrupts = < 473 interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>, 474 < 474 <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>; 475 clocks = <&clk 475 clocks = <&clk IMX8MM_CLK_GPIO4_ROOT>; 476 gpio-controlle 476 gpio-controller; 477 #gpio-cells = 477 #gpio-cells = <2>; 478 interrupt-cont 478 interrupt-controller; 479 #interrupt-cel 479 #interrupt-cells = <2>; 480 gpio-ranges = 480 gpio-ranges = <&iomuxc 0 87 32>; 481 }; 481 }; 482 482 483 gpio5: gpio@30240000 { 483 gpio5: gpio@30240000 { 484 compatible = " 484 compatible = "fsl,imx8mm-gpio", "fsl,imx35-gpio"; 485 reg = <0x30240 485 reg = <0x30240000 0x10000>; 486 interrupts = < 486 interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>, 487 < 487 <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; 488 clocks = <&clk 488 clocks = <&clk IMX8MM_CLK_GPIO5_ROOT>; 489 gpio-controlle 489 gpio-controller; 490 #gpio-cells = 490 #gpio-cells = <2>; 491 interrupt-cont 491 interrupt-controller; 492 #interrupt-cel 492 #interrupt-cells = <2>; 493 gpio-ranges = 493 gpio-ranges = <&iomuxc 0 119 30>; 494 }; 494 }; 495 495 496 tmu: tmu@30260000 { 496 tmu: tmu@30260000 { 497 compatible = " 497 compatible = "fsl,imx8mm-tmu"; 498 reg = <0x30260 498 reg = <0x30260000 0x10000>; 499 clocks = <&clk 499 clocks = <&clk IMX8MM_CLK_TMU_ROOT>; 500 nvmem-cells = 500 nvmem-cells = <&tmu_calib>; 501 nvmem-cell-nam 501 nvmem-cell-names = "calib"; 502 #thermal-senso 502 #thermal-sensor-cells = <0>; 503 }; 503 }; 504 504 505 wdog1: watchdog@302800 505 wdog1: watchdog@30280000 { 506 compatible = " 506 compatible = "fsl,imx8mm-wdt", "fsl,imx21-wdt"; 507 reg = <0x30280 507 reg = <0x30280000 0x10000>; 508 interrupts = < 508 interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>; 509 clocks = <&clk 509 clocks = <&clk IMX8MM_CLK_WDOG1_ROOT>; 510 status = "disa 510 status = "disabled"; 511 }; 511 }; 512 512 513 wdog2: watchdog@302900 513 wdog2: watchdog@30290000 { 514 compatible = " 514 compatible = "fsl,imx8mm-wdt", "fsl,imx21-wdt"; 515 reg = <0x30290 515 reg = <0x30290000 0x10000>; 516 interrupts = < 516 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>; 517 clocks = <&clk 517 clocks = <&clk IMX8MM_CLK_WDOG2_ROOT>; 518 status = "disa 518 status = "disabled"; 519 }; 519 }; 520 520 521 wdog3: watchdog@302a00 521 wdog3: watchdog@302a0000 { 522 compatible = " 522 compatible = "fsl,imx8mm-wdt", "fsl,imx21-wdt"; 523 reg = <0x302a0 523 reg = <0x302a0000 0x10000>; 524 interrupts = < 524 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 525 clocks = <&clk 525 clocks = <&clk IMX8MM_CLK_WDOG3_ROOT>; 526 status = "disa 526 status = "disabled"; 527 }; 527 }; 528 528 529 sdma2: dma-controller@ 529 sdma2: dma-controller@302c0000 { 530 compatible = " 530 compatible = "fsl,imx8mm-sdma", "fsl,imx8mq-sdma"; 531 reg = <0x302c0 531 reg = <0x302c0000 0x10000>; 532 interrupts = < 532 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; 533 clocks = <&clk 533 clocks = <&clk IMX8MM_CLK_SDMA2_ROOT>, 534 <&clk 534 <&clk IMX8MM_CLK_SDMA2_ROOT>; 535 clock-names = 535 clock-names = "ipg", "ahb"; 536 #dma-cells = < 536 #dma-cells = <3>; 537 fsl,sdma-ram-s 537 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin"; 538 }; 538 }; 539 539 540 sdma3: dma-controller@ 540 sdma3: dma-controller@302b0000 { 541 compatible = " 541 compatible = "fsl,imx8mm-sdma", "fsl,imx8mq-sdma"; 542 reg = <0x302b0 542 reg = <0x302b0000 0x10000>; 543 interrupts = < 543 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; 544 clocks = <&clk 544 clocks = <&clk IMX8MM_CLK_SDMA3_ROOT>, 545 <&clk IMX8MM_ 545 <&clk IMX8MM_CLK_SDMA3_ROOT>; 546 clock-names = 546 clock-names = "ipg", "ahb"; 547 #dma-cells = < 547 #dma-cells = <3>; 548 fsl,sdma-ram-s 548 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin"; 549 }; 549 }; 550 550 551 iomuxc: pinctrl@303300 551 iomuxc: pinctrl@30330000 { 552 compatible = " 552 compatible = "fsl,imx8mm-iomuxc"; 553 reg = <0x30330 553 reg = <0x30330000 0x10000>; 554 }; 554 }; 555 555 556 gpr: syscon@30340000 { 556 gpr: syscon@30340000 { 557 compatible = " 557 compatible = "fsl,imx8mm-iomuxc-gpr", "syscon"; 558 reg = <0x30340 558 reg = <0x30340000 0x10000>; 559 }; 559 }; 560 560 561 ocotp: efuse@30350000 561 ocotp: efuse@30350000 { 562 compatible = " 562 compatible = "fsl,imx8mm-ocotp", "syscon"; 563 reg = <0x30350 563 reg = <0x30350000 0x10000>; 564 clocks = <&clk 564 clocks = <&clk IMX8MM_CLK_OCOTP_ROOT>; 565 /* For nvmem s 565 /* For nvmem subnodes */ 566 #address-cells 566 #address-cells = <1>; 567 #size-cells = 567 #size-cells = <1>; 568 568 569 /* 569 /* 570 * The registe 570 * The register address below maps to the MX8M 571 * Fusemap Des 571 * Fusemap Description Table entries this way. 572 * Assuming 572 * Assuming 573 * reg = <AD 573 * reg = <ADDR SIZE>; 574 * then 574 * then 575 * Fuse Addr 575 * Fuse Address = (ADDR * 4) + 0x400 576 * Note that i 576 * Note that if SIZE is greater than 4, then 577 * each subseq 577 * each subsequent fuse is located at offset 578 * +0x10 in Fu 578 * +0x10 in Fusemap Description Table (e.g. 579 * reg = <0x4 579 * reg = <0x4 0x8> describes fuses 0x410 and 580 * 0x420). 580 * 0x420). 581 */ 581 */ 582 imx8mm_uid: un 582 imx8mm_uid: unique-id@4 { /* 0x410-0x420 */ 583 reg = 583 reg = <0x4 0x8>; 584 }; 584 }; 585 585 586 cpu_speed_grad 586 cpu_speed_grade: speed-grade@10 { /* 0x440 */ 587 reg = 587 reg = <0x10 4>; 588 }; 588 }; 589 589 590 tmu_calib: cal 590 tmu_calib: calib@3c { /* 0x4f0 */ 591 reg = 591 reg = <0x3c 4>; 592 }; 592 }; 593 593 594 fec_mac_addres 594 fec_mac_address: mac-address@90 { /* 0x640 */ 595 reg = 595 reg = <0x90 6>; 596 }; 596 }; 597 }; 597 }; 598 598 599 anatop: clock-controll 599 anatop: clock-controller@30360000 { 600 compatible = " 600 compatible = "fsl,imx8mm-anatop"; 601 reg = <0x30360 601 reg = <0x30360000 0x10000>; 602 #clock-cells = 602 #clock-cells = <1>; 603 }; 603 }; 604 604 605 snvs: snvs@30370000 { 605 snvs: snvs@30370000 { 606 compatible = " 606 compatible = "fsl,sec-v4.0-mon","syscon", "simple-mfd"; 607 reg = <0x30370 607 reg = <0x30370000 0x10000>; 608 608 609 snvs_rtc: snvs 609 snvs_rtc: snvs-rtc-lp { 610 compat 610 compatible = "fsl,sec-v4.0-mon-rtc-lp"; 611 regmap 611 regmap = <&snvs>; 612 offset 612 offset = <0x34>; 613 interr 613 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>, 614 614 <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; 615 clocks 615 clocks = <&clk IMX8MM_CLK_SNVS_ROOT>; 616 clock- 616 clock-names = "snvs-rtc"; 617 }; 617 }; 618 618 619 snvs_pwrkey: s 619 snvs_pwrkey: snvs-powerkey { 620 compat 620 compatible = "fsl,sec-v4.0-pwrkey"; 621 regmap 621 regmap = <&snvs>; 622 interr 622 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; 623 clocks 623 clocks = <&clk IMX8MM_CLK_SNVS_ROOT>; 624 clock- 624 clock-names = "snvs-pwrkey"; 625 linux, 625 linux,keycode = <KEY_POWER>; 626 wakeup 626 wakeup-source; 627 status 627 status = "disabled"; 628 }; 628 }; 629 629 630 snvs_lpgpr: sn 630 snvs_lpgpr: snvs-lpgpr { 631 compat 631 compatible = "fsl,imx8mm-snvs-lpgpr", 632 632 "fsl,imx7d-snvs-lpgpr"; 633 }; 633 }; 634 }; 634 }; 635 635 636 clk: clock-controller@ 636 clk: clock-controller@30380000 { 637 compatible = " 637 compatible = "fsl,imx8mm-ccm"; 638 reg = <0x30380 638 reg = <0x30380000 0x10000>; 639 interrupts = < 639 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>, 640 < 640 <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; 641 #clock-cells = 641 #clock-cells = <1>; 642 clocks = <&osc 642 clocks = <&osc_32k>, <&osc_24m>, <&clk_ext1>, <&clk_ext2>, 643 <&clk 643 <&clk_ext3>, <&clk_ext4>; 644 clock-names = 644 clock-names = "osc_32k", "osc_24m", "clk_ext1", "clk_ext2", 645 645 "clk_ext3", "clk_ext4"; 646 assigned-clock 646 assigned-clocks = <&clk IMX8MM_CLK_A53_SRC>, 647 647 <&clk IMX8MM_CLK_A53_CORE>, 648 648 <&clk IMX8MM_CLK_NOC>, 649 649 <&clk IMX8MM_CLK_AUDIO_AHB>, 650 650 <&clk IMX8MM_CLK_IPG_AUDIO_ROOT>, 651 651 <&clk IMX8MM_SYS_PLL3>, 652 652 <&clk IMX8MM_AUDIO_PLL1>; 653 assigned-clock 653 assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_800M>, 654 654 <&clk IMX8MM_ARM_PLL_OUT>, 655 655 <&clk IMX8MM_SYS_PLL3_OUT>, 656 656 <&clk IMX8MM_SYS_PLL1_800M>; 657 assigned-clock 657 assigned-clock-rates = <0>, <0>, <0>, 658 658 <400000000>, 659 659 <400000000>, 660 660 <750000000>, 661 661 <393216000>; 662 }; 662 }; 663 663 664 src: reset-controller@ 664 src: reset-controller@30390000 { 665 compatible = " 665 compatible = "fsl,imx8mm-src", "fsl,imx8mq-src", "syscon"; 666 reg = <0x30390 666 reg = <0x30390000 0x10000>; 667 interrupts = < 667 interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; 668 #reset-cells = 668 #reset-cells = <1>; 669 }; 669 }; 670 670 671 gpc: gpc@303a0000 { 671 gpc: gpc@303a0000 { 672 compatible = " 672 compatible = "fsl,imx8mm-gpc"; 673 reg = <0x303a0 673 reg = <0x303a0000 0x10000>; 674 interrupts = < 674 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>; 675 interrupt-pare 675 interrupt-parent = <&gic>; 676 interrupt-cont 676 interrupt-controller; 677 #interrupt-cel 677 #interrupt-cells = <3>; 678 678 679 pgc { 679 pgc { 680 #addre 680 #address-cells = <1>; 681 #size- 681 #size-cells = <0>; 682 682 683 pgc_hs 683 pgc_hsiomix: power-domain@0 { 684 684 #power-domain-cells = <0>; 685 685 reg = <IMX8MM_POWER_DOMAIN_HSIOMIX>; 686 686 clocks = <&clk IMX8MM_CLK_USB_BUS>; 687 687 assigned-clocks = <&clk IMX8MM_CLK_USB_BUS>; 688 688 assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_500M>; 689 }; 689 }; 690 690 691 pgc_pc 691 pgc_pcie: power-domain@1 { 692 692 #power-domain-cells = <0>; 693 693 reg = <IMX8MM_POWER_DOMAIN_PCIE>; 694 694 power-domains = <&pgc_hsiomix>; 695 695 clocks = <&clk IMX8MM_CLK_PCIE1_ROOT>; 696 }; 696 }; 697 697 698 pgc_ot 698 pgc_otg1: power-domain@2 { 699 699 #power-domain-cells = <0>; 700 700 reg = <IMX8MM_POWER_DOMAIN_OTG1>; 701 }; 701 }; 702 702 703 pgc_ot 703 pgc_otg2: power-domain@3 { 704 704 #power-domain-cells = <0>; 705 705 reg = <IMX8MM_POWER_DOMAIN_OTG2>; 706 }; 706 }; 707 707 708 pgc_gp 708 pgc_gpumix: power-domain@4 { 709 709 #power-domain-cells = <0>; 710 710 reg = <IMX8MM_POWER_DOMAIN_GPUMIX>; 711 711 clocks = <&clk IMX8MM_CLK_GPU_BUS_ROOT>, 712 712 <&clk IMX8MM_CLK_GPU_AHB>; 713 713 assigned-clocks = <&clk IMX8MM_CLK_GPU_AXI>, 714 714 <&clk IMX8MM_CLK_GPU_AHB>; 715 715 assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_800M>, 716 716 <&clk IMX8MM_SYS_PLL1_800M>; 717 717 assigned-clock-rates = <800000000>, <400000000>; 718 }; 718 }; 719 719 720 pgc_gp 720 pgc_gpu: power-domain@5 { 721 721 #power-domain-cells = <0>; 722 722 reg = <IMX8MM_POWER_DOMAIN_GPU>; 723 723 clocks = <&clk IMX8MM_CLK_GPU_AHB>, 724 724 <&clk IMX8MM_CLK_GPU_BUS_ROOT>, 725 725 <&clk IMX8MM_CLK_GPU2D_ROOT>, 726 726 <&clk IMX8MM_CLK_GPU3D_ROOT>; 727 727 resets = <&src IMX8MQ_RESET_GPU_RESET>; 728 728 power-domains = <&pgc_gpumix>; 729 }; 729 }; 730 730 731 pgc_vp 731 pgc_vpumix: power-domain@6 { 732 732 #power-domain-cells = <0>; 733 733 reg = <IMX8MM_POWER_DOMAIN_VPUMIX>; 734 734 clocks = <&clk IMX8MM_CLK_VPU_DEC_ROOT>; 735 735 assigned-clocks = <&clk IMX8MM_CLK_VPU_BUS>; 736 736 assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_800M>; 737 }; 737 }; 738 738 739 pgc_vp 739 pgc_vpu_g1: power-domain@7 { 740 740 #power-domain-cells = <0>; 741 741 reg = <IMX8MM_POWER_DOMAIN_VPUG1>; 742 }; 742 }; 743 743 744 pgc_vp 744 pgc_vpu_g2: power-domain@8 { 745 745 #power-domain-cells = <0>; 746 746 reg = <IMX8MM_POWER_DOMAIN_VPUG2>; 747 }; 747 }; 748 748 749 pgc_vp 749 pgc_vpu_h1: power-domain@9 { 750 750 #power-domain-cells = <0>; 751 751 reg = <IMX8MM_POWER_DOMAIN_VPUH1>; 752 }; 752 }; 753 753 754 pgc_di 754 pgc_dispmix: power-domain@10 { 755 755 #power-domain-cells = <0>; 756 756 reg = <IMX8MM_POWER_DOMAIN_DISPMIX>; 757 757 clocks = <&clk IMX8MM_CLK_DISP_APB_ROOT>, 758 758 <&clk IMX8MM_CLK_DISP_AXI_ROOT>; 759 759 assigned-clocks = <&clk IMX8MM_CLK_DISP_AXI>, 760 760 <&clk IMX8MM_CLK_DISP_APB>; 761 761 assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_1000M>, 762 762 <&clk IMX8MM_SYS_PLL1_800M>; 763 763 assigned-clock-rates = <500000000>, <200000000>; 764 }; 764 }; 765 765 766 pgc_mi 766 pgc_mipi: power-domain@11 { 767 767 #power-domain-cells = <0>; 768 768 reg = <IMX8MM_POWER_DOMAIN_MIPI>; 769 }; 769 }; 770 }; 770 }; 771 }; 771 }; 772 }; 772 }; 773 773 774 aips2: bus@30400000 { 774 aips2: bus@30400000 { 775 compatible = "fsl,aips 775 compatible = "fsl,aips-bus", "simple-bus"; 776 reg = <0x30400000 0x40 776 reg = <0x30400000 0x400000>; 777 #address-cells = <1>; 777 #address-cells = <1>; 778 #size-cells = <1>; 778 #size-cells = <1>; 779 ranges = <0x30400000 0 779 ranges = <0x30400000 0x30400000 0x400000>; 780 780 781 pwm1: pwm@30660000 { 781 pwm1: pwm@30660000 { 782 compatible = " 782 compatible = "fsl,imx8mm-pwm", "fsl,imx27-pwm"; 783 reg = <0x30660 783 reg = <0x30660000 0x10000>; 784 interrupts = < 784 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>; 785 clocks = <&clk 785 clocks = <&clk IMX8MM_CLK_PWM1_ROOT>, 786 <&clk 786 <&clk IMX8MM_CLK_PWM1_ROOT>; 787 clock-names = 787 clock-names = "ipg", "per"; 788 #pwm-cells = < 788 #pwm-cells = <3>; 789 status = "disa 789 status = "disabled"; 790 }; 790 }; 791 791 792 pwm2: pwm@30670000 { 792 pwm2: pwm@30670000 { 793 compatible = " 793 compatible = "fsl,imx8mm-pwm", "fsl,imx27-pwm"; 794 reg = <0x30670 794 reg = <0x30670000 0x10000>; 795 interrupts = < 795 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; 796 clocks = <&clk 796 clocks = <&clk IMX8MM_CLK_PWM2_ROOT>, 797 <&clk 797 <&clk IMX8MM_CLK_PWM2_ROOT>; 798 clock-names = 798 clock-names = "ipg", "per"; 799 #pwm-cells = < 799 #pwm-cells = <3>; 800 status = "disa 800 status = "disabled"; 801 }; 801 }; 802 802 803 pwm3: pwm@30680000 { 803 pwm3: pwm@30680000 { 804 compatible = " 804 compatible = "fsl,imx8mm-pwm", "fsl,imx27-pwm"; 805 reg = <0x30680 805 reg = <0x30680000 0x10000>; 806 interrupts = < 806 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; 807 clocks = <&clk 807 clocks = <&clk IMX8MM_CLK_PWM3_ROOT>, 808 <&clk 808 <&clk IMX8MM_CLK_PWM3_ROOT>; 809 clock-names = 809 clock-names = "ipg", "per"; 810 #pwm-cells = < 810 #pwm-cells = <3>; 811 status = "disa 811 status = "disabled"; 812 }; 812 }; 813 813 814 pwm4: pwm@30690000 { 814 pwm4: pwm@30690000 { 815 compatible = " 815 compatible = "fsl,imx8mm-pwm", "fsl,imx27-pwm"; 816 reg = <0x30690 816 reg = <0x30690000 0x10000>; 817 interrupts = < 817 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; 818 clocks = <&clk 818 clocks = <&clk IMX8MM_CLK_PWM4_ROOT>, 819 <&clk 819 <&clk IMX8MM_CLK_PWM4_ROOT>; 820 clock-names = 820 clock-names = "ipg", "per"; 821 #pwm-cells = < 821 #pwm-cells = <3>; 822 status = "disa 822 status = "disabled"; 823 }; 823 }; 824 824 825 system_counter: timer@ 825 system_counter: timer@306a0000 { 826 compatible = " 826 compatible = "nxp,sysctr-timer"; 827 reg = <0x306a0 827 reg = <0x306a0000 0x20000>; 828 interrupts = < 828 interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>; 829 clocks = <&osc 829 clocks = <&osc_24m>; 830 clock-names = 830 clock-names = "per"; 831 }; 831 }; 832 }; 832 }; 833 833 834 aips3: bus@30800000 { 834 aips3: bus@30800000 { 835 compatible = "fsl,aips 835 compatible = "fsl,aips-bus", "simple-bus"; 836 reg = <0x30800000 0x40 836 reg = <0x30800000 0x400000>; 837 #address-cells = <1>; 837 #address-cells = <1>; 838 #size-cells = <1>; 838 #size-cells = <1>; 839 ranges = <0x30800000 0 839 ranges = <0x30800000 0x30800000 0x400000>, 840 <0x8000000 0x 840 <0x8000000 0x8000000 0x10000000>; 841 841 842 spba1: spba-bus@308000 842 spba1: spba-bus@30800000 { 843 compatible = " 843 compatible = "fsl,spba-bus", "simple-bus"; 844 #address-cells 844 #address-cells = <1>; 845 #size-cells = 845 #size-cells = <1>; 846 reg = <0x30800 846 reg = <0x30800000 0x100000>; 847 ranges; 847 ranges; 848 848 849 ecspi1: spi@30 849 ecspi1: spi@30820000 { 850 compat 850 compatible = "fsl,imx8mm-ecspi", "fsl,imx51-ecspi"; 851 #addre 851 #address-cells = <1>; 852 #size- 852 #size-cells = <0>; 853 reg = 853 reg = <0x30820000 0x10000>; 854 interr 854 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; 855 clocks 855 clocks = <&clk IMX8MM_CLK_ECSPI1_ROOT>, 856 856 <&clk IMX8MM_CLK_ECSPI1_ROOT>; 857 clock- 857 clock-names = "ipg", "per"; 858 dmas = 858 dmas = <&sdma1 0 7 1>, <&sdma1 1 7 2>; 859 dma-na 859 dma-names = "rx", "tx"; 860 status 860 status = "disabled"; 861 }; 861 }; 862 862 863 ecspi2: spi@30 863 ecspi2: spi@30830000 { 864 compat 864 compatible = "fsl,imx8mm-ecspi", "fsl,imx51-ecspi"; 865 #addre 865 #address-cells = <1>; 866 #size- 866 #size-cells = <0>; 867 reg = 867 reg = <0x30830000 0x10000>; 868 interr 868 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; 869 clocks 869 clocks = <&clk IMX8MM_CLK_ECSPI2_ROOT>, 870 870 <&clk IMX8MM_CLK_ECSPI2_ROOT>; 871 clock- 871 clock-names = "ipg", "per"; 872 dmas = 872 dmas = <&sdma1 2 7 1>, <&sdma1 3 7 2>; 873 dma-na 873 dma-names = "rx", "tx"; 874 status 874 status = "disabled"; 875 }; 875 }; 876 876 877 ecspi3: spi@30 877 ecspi3: spi@30840000 { 878 compat 878 compatible = "fsl,imx8mm-ecspi", "fsl,imx51-ecspi"; 879 #addre 879 #address-cells = <1>; 880 #size- 880 #size-cells = <0>; 881 reg = 881 reg = <0x30840000 0x10000>; 882 interr 882 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; 883 clocks 883 clocks = <&clk IMX8MM_CLK_ECSPI3_ROOT>, 884 884 <&clk IMX8MM_CLK_ECSPI3_ROOT>; 885 clock- 885 clock-names = "ipg", "per"; 886 dmas = 886 dmas = <&sdma1 4 7 1>, <&sdma1 5 7 2>; 887 dma-na 887 dma-names = "rx", "tx"; 888 status 888 status = "disabled"; 889 }; 889 }; 890 890 891 uart1: serial@ 891 uart1: serial@30860000 { 892 compat 892 compatible = "fsl,imx8mm-uart", "fsl,imx6q-uart"; 893 reg = 893 reg = <0x30860000 0x10000>; 894 interr 894 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; 895 clocks 895 clocks = <&clk IMX8MM_CLK_UART1_ROOT>, 896 896 <&clk IMX8MM_CLK_UART1_ROOT>; 897 clock- 897 clock-names = "ipg", "per"; 898 dmas = 898 dmas = <&sdma1 22 4 0>, <&sdma1 23 4 0>; 899 dma-na 899 dma-names = "rx", "tx"; 900 status 900 status = "disabled"; 901 }; 901 }; 902 902 903 uart3: serial@ 903 uart3: serial@30880000 { 904 compat 904 compatible = "fsl,imx8mm-uart", "fsl,imx6q-uart"; 905 reg = 905 reg = <0x30880000 0x10000>; 906 interr 906 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; 907 clocks 907 clocks = <&clk IMX8MM_CLK_UART3_ROOT>, 908 908 <&clk IMX8MM_CLK_UART3_ROOT>; 909 clock- 909 clock-names = "ipg", "per"; 910 dmas = 910 dmas = <&sdma1 26 4 0>, <&sdma1 27 4 0>; 911 dma-na 911 dma-names = "rx", "tx"; 912 status 912 status = "disabled"; 913 }; 913 }; 914 914 915 uart2: serial@ 915 uart2: serial@30890000 { 916 compat 916 compatible = "fsl,imx8mm-uart", "fsl,imx6q-uart"; 917 reg = 917 reg = <0x30890000 0x10000>; 918 interr 918 interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>; 919 clocks 919 clocks = <&clk IMX8MM_CLK_UART2_ROOT>, 920 920 <&clk IMX8MM_CLK_UART2_ROOT>; 921 clock- 921 clock-names = "ipg", "per"; 922 status 922 status = "disabled"; 923 }; 923 }; 924 }; 924 }; 925 925 926 crypto: crypto@3090000 926 crypto: crypto@30900000 { 927 compatible = " 927 compatible = "fsl,sec-v4.0"; 928 #address-cells 928 #address-cells = <1>; 929 #size-cells = 929 #size-cells = <1>; 930 reg = <0x30900 930 reg = <0x30900000 0x40000>; 931 ranges = <0 0x 931 ranges = <0 0x30900000 0x40000>; 932 interrupts = < 932 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>; 933 clocks = <&clk 933 clocks = <&clk IMX8MM_CLK_AHB>, 934 <&clk 934 <&clk IMX8MM_CLK_IPG_ROOT>; 935 clock-names = 935 clock-names = "aclk", "ipg"; 936 936 937 sec_jr0: jr@10 937 sec_jr0: jr@1000 { 938 compat 938 compatible = "fsl,sec-v4.0-job-ring"; 939 reg = 939 reg = <0x1000 0x1000>; 940 interr 940 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>; 941 status 941 status = "disabled"; 942 }; 942 }; 943 943 944 sec_jr1: jr@20 944 sec_jr1: jr@2000 { 945 compat 945 compatible = "fsl,sec-v4.0-job-ring"; 946 reg = 946 reg = <0x2000 0x1000>; 947 interr 947 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>; 948 }; 948 }; 949 949 950 sec_jr2: jr@30 950 sec_jr2: jr@3000 { 951 compat 951 compatible = "fsl,sec-v4.0-job-ring"; 952 reg = 952 reg = <0x3000 0x1000>; 953 interr 953 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>; 954 }; 954 }; 955 }; 955 }; 956 956 957 i2c1: i2c@30a20000 { 957 i2c1: i2c@30a20000 { 958 compatible = " 958 compatible = "fsl,imx8mm-i2c", "fsl,imx21-i2c"; 959 #address-cells 959 #address-cells = <1>; 960 #size-cells = 960 #size-cells = <0>; 961 reg = <0x30a20 961 reg = <0x30a20000 0x10000>; 962 interrupts = < 962 interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; 963 clocks = <&clk 963 clocks = <&clk IMX8MM_CLK_I2C1_ROOT>; 964 status = "disa 964 status = "disabled"; 965 }; 965 }; 966 966 967 i2c2: i2c@30a30000 { 967 i2c2: i2c@30a30000 { 968 compatible = " 968 compatible = "fsl,imx8mm-i2c", "fsl,imx21-i2c"; 969 #address-cells 969 #address-cells = <1>; 970 #size-cells = 970 #size-cells = <0>; 971 reg = <0x30a30 971 reg = <0x30a30000 0x10000>; 972 interrupts = < 972 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; 973 clocks = <&clk 973 clocks = <&clk IMX8MM_CLK_I2C2_ROOT>; 974 status = "disa 974 status = "disabled"; 975 }; 975 }; 976 976 977 i2c3: i2c@30a40000 { 977 i2c3: i2c@30a40000 { 978 #address-cells 978 #address-cells = <1>; 979 #size-cells = 979 #size-cells = <0>; 980 compatible = " 980 compatible = "fsl,imx8mm-i2c", "fsl,imx21-i2c"; 981 reg = <0x30a40 981 reg = <0x30a40000 0x10000>; 982 interrupts = < 982 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; 983 clocks = <&clk 983 clocks = <&clk IMX8MM_CLK_I2C3_ROOT>; 984 status = "disa 984 status = "disabled"; 985 }; 985 }; 986 986 987 i2c4: i2c@30a50000 { 987 i2c4: i2c@30a50000 { 988 compatible = " 988 compatible = "fsl,imx8mm-i2c", "fsl,imx21-i2c"; 989 #address-cells 989 #address-cells = <1>; 990 #size-cells = 990 #size-cells = <0>; 991 reg = <0x30a50 991 reg = <0x30a50000 0x10000>; 992 interrupts = < 992 interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; 993 clocks = <&clk 993 clocks = <&clk IMX8MM_CLK_I2C4_ROOT>; 994 status = "disa 994 status = "disabled"; 995 }; 995 }; 996 996 997 uart4: serial@30a60000 997 uart4: serial@30a60000 { 998 compatible = " 998 compatible = "fsl,imx8mm-uart", "fsl,imx6q-uart"; 999 reg = <0x30a60 999 reg = <0x30a60000 0x10000>; 1000 interrupts = 1000 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; 1001 clocks = <&cl 1001 clocks = <&clk IMX8MM_CLK_UART4_ROOT>, 1002 <&cl 1002 <&clk IMX8MM_CLK_UART4_ROOT>; 1003 clock-names = 1003 clock-names = "ipg", "per"; 1004 dmas = <&sdma 1004 dmas = <&sdma1 28 4 0>, <&sdma1 29 4 0>; 1005 dma-names = " 1005 dma-names = "rx", "tx"; 1006 status = "dis 1006 status = "disabled"; 1007 }; 1007 }; 1008 1008 1009 mu: mailbox@30aa0000 1009 mu: mailbox@30aa0000 { 1010 compatible = 1010 compatible = "fsl,imx8mm-mu", "fsl,imx6sx-mu"; 1011 reg = <0x30aa 1011 reg = <0x30aa0000 0x10000>; 1012 interrupts = 1012 interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>; 1013 clocks = <&cl 1013 clocks = <&clk IMX8MM_CLK_MU_ROOT>; 1014 #mbox-cells = 1014 #mbox-cells = <2>; 1015 }; 1015 }; 1016 1016 1017 usdhc1: mmc@30b40000 1017 usdhc1: mmc@30b40000 { 1018 compatible = 1018 compatible = "fsl,imx8mm-usdhc", "fsl,imx7d-usdhc"; 1019 reg = <0x30b4 1019 reg = <0x30b40000 0x10000>; 1020 interrupts = 1020 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; 1021 clocks = <&cl 1021 clocks = <&clk IMX8MM_CLK_IPG_ROOT>, 1022 <&cl 1022 <&clk IMX8MM_CLK_NAND_USDHC_BUS>, 1023 <&cl 1023 <&clk IMX8MM_CLK_USDHC1_ROOT>; 1024 clock-names = 1024 clock-names = "ipg", "ahb", "per"; 1025 fsl,tuning-st 1025 fsl,tuning-start-tap = <20>; 1026 fsl,tuning-st 1026 fsl,tuning-step = <2>; 1027 bus-width = < 1027 bus-width = <4>; 1028 status = "dis 1028 status = "disabled"; 1029 }; 1029 }; 1030 1030 1031 usdhc2: mmc@30b50000 1031 usdhc2: mmc@30b50000 { 1032 compatible = 1032 compatible = "fsl,imx8mm-usdhc", "fsl,imx7d-usdhc"; 1033 reg = <0x30b5 1033 reg = <0x30b50000 0x10000>; 1034 interrupts = 1034 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; 1035 clocks = <&cl 1035 clocks = <&clk IMX8MM_CLK_IPG_ROOT>, 1036 <&cl 1036 <&clk IMX8MM_CLK_NAND_USDHC_BUS>, 1037 <&cl 1037 <&clk IMX8MM_CLK_USDHC2_ROOT>; 1038 clock-names = 1038 clock-names = "ipg", "ahb", "per"; 1039 fsl,tuning-st 1039 fsl,tuning-start-tap = <20>; 1040 fsl,tuning-st 1040 fsl,tuning-step = <2>; 1041 bus-width = < 1041 bus-width = <4>; 1042 status = "dis 1042 status = "disabled"; 1043 }; 1043 }; 1044 1044 1045 usdhc3: mmc@30b60000 1045 usdhc3: mmc@30b60000 { 1046 compatible = 1046 compatible = "fsl,imx8mm-usdhc", "fsl,imx7d-usdhc"; 1047 reg = <0x30b6 1047 reg = <0x30b60000 0x10000>; 1048 interrupts = 1048 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>; 1049 clocks = <&cl 1049 clocks = <&clk IMX8MM_CLK_IPG_ROOT>, 1050 <&cl 1050 <&clk IMX8MM_CLK_NAND_USDHC_BUS>, 1051 <&cl 1051 <&clk IMX8MM_CLK_USDHC3_ROOT>; 1052 clock-names = 1052 clock-names = "ipg", "ahb", "per"; 1053 fsl,tuning-st 1053 fsl,tuning-start-tap = <20>; 1054 fsl,tuning-st 1054 fsl,tuning-step = <2>; 1055 bus-width = < 1055 bus-width = <4>; 1056 status = "dis 1056 status = "disabled"; 1057 }; 1057 }; 1058 1058 1059 flexspi: spi@30bb0000 1059 flexspi: spi@30bb0000 { 1060 #address-cell 1060 #address-cells = <1>; 1061 #size-cells = 1061 #size-cells = <0>; 1062 compatible = 1062 compatible = "nxp,imx8mm-fspi"; 1063 reg = <0x30bb 1063 reg = <0x30bb0000 0x10000>, <0x8000000 0x10000000>; 1064 reg-names = " 1064 reg-names = "fspi_base", "fspi_mmap"; 1065 interrupts = 1065 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>; 1066 clocks = <&cl 1066 clocks = <&clk IMX8MM_CLK_QSPI_ROOT>, 1067 <&cl 1067 <&clk IMX8MM_CLK_QSPI_ROOT>; 1068 clock-names = 1068 clock-names = "fspi_en", "fspi"; 1069 status = "dis 1069 status = "disabled"; 1070 }; 1070 }; 1071 1071 1072 sdma1: dma-controller 1072 sdma1: dma-controller@30bd0000 { 1073 compatible = 1073 compatible = "fsl,imx8mm-sdma", "fsl,imx8mq-sdma"; 1074 reg = <0x30bd 1074 reg = <0x30bd0000 0x10000>; 1075 interrupts = 1075 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; 1076 clocks = <&cl 1076 clocks = <&clk IMX8MM_CLK_SDMA1_ROOT>, 1077 <&cl 1077 <&clk IMX8MM_CLK_AHB>; 1078 clock-names = 1078 clock-names = "ipg", "ahb"; 1079 #dma-cells = 1079 #dma-cells = <3>; 1080 fsl,sdma-ram- 1080 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin"; 1081 }; 1081 }; 1082 1082 1083 fec1: ethernet@30be00 1083 fec1: ethernet@30be0000 { 1084 compatible = 1084 compatible = "fsl,imx8mm-fec", "fsl,imx8mq-fec", "fsl,imx6sx-fec"; 1085 reg = <0x30be 1085 reg = <0x30be0000 0x10000>; 1086 interrupts = 1086 interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, 1087 1087 <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>, 1088 1088 <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>, 1089 1089 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>; 1090 clocks = <&cl 1090 clocks = <&clk IMX8MM_CLK_ENET1_ROOT>, 1091 <&cl 1091 <&clk IMX8MM_CLK_ENET1_ROOT>, 1092 <&cl 1092 <&clk IMX8MM_CLK_ENET_TIMER>, 1093 <&cl 1093 <&clk IMX8MM_CLK_ENET_REF>, 1094 <&cl 1094 <&clk IMX8MM_CLK_ENET_PHY_REF>; 1095 clock-names = 1095 clock-names = "ipg", "ahb", "ptp", 1096 1096 "enet_clk_ref", "enet_out"; 1097 assigned-cloc 1097 assigned-clocks = <&clk IMX8MM_CLK_ENET_AXI>, 1098 1098 <&clk IMX8MM_CLK_ENET_TIMER>, 1099 1099 <&clk IMX8MM_CLK_ENET_REF>, 1100 1100 <&clk IMX8MM_CLK_ENET_PHY_REF>; 1101 assigned-cloc 1101 assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_266M>, 1102 1102 <&clk IMX8MM_SYS_PLL2_100M>, 1103 1103 <&clk IMX8MM_SYS_PLL2_125M>, 1104 1104 <&clk IMX8MM_SYS_PLL2_50M>; 1105 assigned-cloc 1105 assigned-clock-rates = <0>, <100000000>, <125000000>, <0>; 1106 fsl,num-tx-qu 1106 fsl,num-tx-queues = <3>; 1107 fsl,num-rx-qu 1107 fsl,num-rx-queues = <3>; 1108 nvmem-cells = 1108 nvmem-cells = <&fec_mac_address>; 1109 nvmem-cell-na 1109 nvmem-cell-names = "mac-address"; 1110 fsl,stop-mode 1110 fsl,stop-mode = <&gpr 0x10 3>; 1111 status = "dis 1111 status = "disabled"; 1112 }; 1112 }; 1113 1113 1114 }; 1114 }; 1115 1115 1116 aips4: bus@32c00000 { 1116 aips4: bus@32c00000 { 1117 compatible = "fsl,aip 1117 compatible = "fsl,aips-bus", "simple-bus"; 1118 reg = <0x32c00000 0x4 1118 reg = <0x32c00000 0x400000>; 1119 #address-cells = <1>; 1119 #address-cells = <1>; 1120 #size-cells = <1>; 1120 #size-cells = <1>; 1121 ranges = <0x32c00000 1121 ranges = <0x32c00000 0x32c00000 0x400000>; 1122 1122 1123 lcdif: lcdif@32e00000 1123 lcdif: lcdif@32e00000 { 1124 compatible = 1124 compatible = "fsl,imx8mm-lcdif", "fsl,imx6sx-lcdif"; 1125 reg = <0x32e0 1125 reg = <0x32e00000 0x10000>; 1126 clocks = <&cl 1126 clocks = <&clk IMX8MM_CLK_LCDIF_PIXEL>, 1127 <&cl 1127 <&clk IMX8MM_CLK_DISP_APB_ROOT>, 1128 <&cl 1128 <&clk IMX8MM_CLK_DISP_AXI_ROOT>; 1129 clock-names = 1129 clock-names = "pix", "axi", "disp_axi"; 1130 assigned-cloc 1130 assigned-clocks = <&clk IMX8MM_CLK_LCDIF_PIXEL>, 1131 1131 <&clk IMX8MM_CLK_DISP_AXI>, 1132 1132 <&clk IMX8MM_CLK_DISP_APB>; 1133 assigned-cloc 1133 assigned-clock-parents = <&clk IMX8MM_VIDEO_PLL1_OUT>, 1134 1134 <&clk IMX8MM_SYS_PLL2_1000M>, 1135 1135 <&clk IMX8MM_SYS_PLL1_800M>; 1136 assigned-cloc 1136 assigned-clock-rates = <24000000>, <500000000>, <200000000>; 1137 interrupts = 1137 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; 1138 power-domains 1138 power-domains = <&disp_blk_ctrl IMX8MM_DISPBLK_PD_LCDIF>; 1139 status = "dis 1139 status = "disabled"; 1140 1140 1141 port { 1141 port { 1142 lcdif 1142 lcdif_to_dsim: endpoint { 1143 1143 remote-endpoint = <&dsim_from_lcdif>; 1144 }; 1144 }; 1145 }; 1145 }; 1146 }; 1146 }; 1147 1147 1148 mipi_dsi: dsi@32e1000 1148 mipi_dsi: dsi@32e10000 { 1149 compatible = 1149 compatible = "fsl,imx8mm-mipi-dsim"; 1150 reg = <0x32e1 1150 reg = <0x32e10000 0x400>; 1151 clocks = <&cl 1151 clocks = <&clk IMX8MM_CLK_DSI_CORE>, 1152 <&cl 1152 <&clk IMX8MM_CLK_DSI_PHY_REF>; 1153 clock-names = 1153 clock-names = "bus_clk", "sclk_mipi"; 1154 assigned-cloc 1154 assigned-clocks = <&clk IMX8MM_CLK_DSI_CORE>; 1155 assigned-cloc 1155 assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_266M>; 1156 interrupts = 1156 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>; 1157 power-domains 1157 power-domains = <&disp_blk_ctrl IMX8MM_DISPBLK_PD_MIPI_DSI>; 1158 status = "dis 1158 status = "disabled"; 1159 1159 1160 ports { 1160 ports { 1161 #addr 1161 #address-cells = <1>; 1162 #size 1162 #size-cells = <0>; 1163 1163 1164 port@ 1164 port@0 { 1165 1165 reg = <0>; 1166 1166 1167 1167 dsim_from_lcdif: endpoint { 1168 1168 remote-endpoint = <&lcdif_to_dsim>; 1169 1169 }; 1170 }; 1170 }; 1171 1171 1172 port@ 1172 port@1 { 1173 1173 reg = <1>; 1174 1174 1175 1175 mipi_dsi_out: endpoint { 1176 1176 }; 1177 }; 1177 }; 1178 }; 1178 }; 1179 }; 1179 }; 1180 1180 1181 csi: csi@32e20000 { 1181 csi: csi@32e20000 { 1182 compatible = 1182 compatible = "fsl,imx8mm-csi", "fsl,imx7-csi"; 1183 reg = <0x32e2 1183 reg = <0x32e20000 0x1000>; 1184 interrupts = 1184 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; 1185 clocks = <&cl 1185 clocks = <&clk IMX8MM_CLK_CSI1_ROOT>; 1186 clock-names = 1186 clock-names = "mclk"; 1187 power-domains 1187 power-domains = <&disp_blk_ctrl IMX8MM_DISPBLK_PD_CSI_BRIDGE>; 1188 status = "dis 1188 status = "disabled"; 1189 1189 1190 port { 1190 port { 1191 csi_i 1191 csi_in: endpoint { 1192 1192 remote-endpoint = <&imx8mm_mipi_csi_out>; 1193 }; 1193 }; 1194 }; 1194 }; 1195 }; 1195 }; 1196 1196 1197 disp_blk_ctrl: blk-ct 1197 disp_blk_ctrl: blk-ctrl@32e28000 { 1198 compatible = 1198 compatible = "fsl,imx8mm-disp-blk-ctrl", "syscon"; 1199 reg = <0x32e2 1199 reg = <0x32e28000 0x100>; 1200 power-domains 1200 power-domains = <&pgc_dispmix>, <&pgc_dispmix>, 1201 1201 <&pgc_dispmix>, <&pgc_mipi>, 1202 1202 <&pgc_mipi>; 1203 power-domain- 1203 power-domain-names = "bus", "csi-bridge", 1204 1204 "lcdif", "mipi-dsi", 1205 1205 "mipi-csi"; 1206 clocks = <&cl 1206 clocks = <&clk IMX8MM_CLK_DISP_AXI_ROOT>, 1207 <&cl 1207 <&clk IMX8MM_CLK_DISP_APB_ROOT>, 1208 <&cl 1208 <&clk IMX8MM_CLK_CSI1_ROOT>, 1209 <&cl 1209 <&clk IMX8MM_CLK_DISP_AXI_ROOT>, 1210 <&cl 1210 <&clk IMX8MM_CLK_DISP_APB_ROOT>, 1211 <&cl 1211 <&clk IMX8MM_CLK_DISP_ROOT>, 1212 <&cl 1212 <&clk IMX8MM_CLK_DSI_CORE>, 1213 <&cl 1213 <&clk IMX8MM_CLK_DSI_PHY_REF>, 1214 <&cl 1214 <&clk IMX8MM_CLK_CSI1_CORE>, 1215 <&cl 1215 <&clk IMX8MM_CLK_CSI1_PHY_REF>; 1216 clock-names = 1216 clock-names = "csi-bridge-axi","csi-bridge-apb", 1217 1217 "csi-bridge-core", "lcdif-axi", 1218 1218 "lcdif-apb", "lcdif-pix", 1219 1219 "dsi-pclk", "dsi-ref", 1220 1220 "csi-aclk", "csi-pclk"; 1221 #power-domain 1221 #power-domain-cells = <1>; 1222 }; 1222 }; 1223 1223 1224 mipi_csi: mipi-csi@32 1224 mipi_csi: mipi-csi@32e30000 { 1225 compatible = 1225 compatible = "fsl,imx8mm-mipi-csi2"; 1226 reg = <0x32e3 1226 reg = <0x32e30000 0x1000>; 1227 interrupts = 1227 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>; 1228 assigned-cloc 1228 assigned-clocks = <&clk IMX8MM_CLK_CSI1_CORE>; 1229 assigned-cloc 1229 assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_1000M>; 1230 1230 1231 clock-frequen 1231 clock-frequency = <333000000>; 1232 clocks = <&cl 1232 clocks = <&clk IMX8MM_CLK_DISP_APB_ROOT>, 1233 <&cl 1233 <&clk IMX8MM_CLK_CSI1_ROOT>, 1234 <&cl 1234 <&clk IMX8MM_CLK_CSI1_PHY_REF>, 1235 <&cl 1235 <&clk IMX8MM_CLK_DISP_AXI_ROOT>; 1236 clock-names = 1236 clock-names = "pclk", "wrap", "phy", "axi"; 1237 power-domains 1237 power-domains = <&disp_blk_ctrl IMX8MM_DISPBLK_PD_MIPI_CSI>; 1238 status = "dis 1238 status = "disabled"; 1239 1239 1240 ports { 1240 ports { 1241 #addr 1241 #address-cells = <1>; 1242 #size 1242 #size-cells = <0>; 1243 1243 1244 port@ 1244 port@0 { 1245 1245 reg = <0>; 1246 }; 1246 }; 1247 1247 1248 port@ 1248 port@1 { 1249 1249 reg = <1>; 1250 1250 1251 1251 imx8mm_mipi_csi_out: endpoint { 1252 1252 remote-endpoint = <&csi_in>; 1253 1253 }; 1254 }; 1254 }; 1255 }; 1255 }; 1256 }; 1256 }; 1257 1257 1258 usbotg1: usb@32e40000 1258 usbotg1: usb@32e40000 { 1259 compatible = 1259 compatible = "fsl,imx8mm-usb", "fsl,imx7d-usb", "fsl,imx27-usb"; 1260 reg = <0x32e4 1260 reg = <0x32e40000 0x200>; 1261 interrupts = 1261 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; 1262 clocks = <&cl 1262 clocks = <&clk IMX8MM_CLK_USB1_CTRL_ROOT>; 1263 assigned-cloc 1263 assigned-clocks = <&clk IMX8MM_CLK_USB_BUS>; 1264 assigned-cloc 1264 assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_500M>; 1265 phys = <&usbp 1265 phys = <&usbphynop1>; 1266 fsl,usbmisc = 1266 fsl,usbmisc = <&usbmisc1 0>; 1267 power-domains 1267 power-domains = <&pgc_hsiomix>; 1268 status = "dis 1268 status = "disabled"; 1269 }; 1269 }; 1270 1270 1271 usbmisc1: usbmisc@32e 1271 usbmisc1: usbmisc@32e40200 { 1272 compatible = 1272 compatible = "fsl,imx8mm-usbmisc", "fsl,imx7d-usbmisc", 1273 1273 "fsl,imx6q-usbmisc"; 1274 #index-cells 1274 #index-cells = <1>; 1275 reg = <0x32e4 1275 reg = <0x32e40200 0x200>; 1276 }; 1276 }; 1277 1277 1278 usbotg2: usb@32e50000 1278 usbotg2: usb@32e50000 { 1279 compatible = 1279 compatible = "fsl,imx8mm-usb", "fsl,imx7d-usb", "fsl,imx27-usb"; 1280 reg = <0x32e5 1280 reg = <0x32e50000 0x200>; 1281 interrupts = 1281 interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; 1282 clocks = <&cl 1282 clocks = <&clk IMX8MM_CLK_USB1_CTRL_ROOT>; 1283 assigned-cloc 1283 assigned-clocks = <&clk IMX8MM_CLK_USB_BUS>; 1284 assigned-cloc 1284 assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_500M>; 1285 phys = <&usbp 1285 phys = <&usbphynop2>; 1286 fsl,usbmisc = 1286 fsl,usbmisc = <&usbmisc2 0>; 1287 power-domains 1287 power-domains = <&pgc_hsiomix>; 1288 status = "dis 1288 status = "disabled"; 1289 }; 1289 }; 1290 1290 1291 usbmisc2: usbmisc@32e 1291 usbmisc2: usbmisc@32e50200 { 1292 compatible = 1292 compatible = "fsl,imx8mm-usbmisc", "fsl,imx7d-usbmisc", 1293 1293 "fsl,imx6q-usbmisc"; 1294 #index-cells 1294 #index-cells = <1>; 1295 reg = <0x32e5 1295 reg = <0x32e50200 0x200>; 1296 }; 1296 }; 1297 1297 1298 pcie_phy: pcie-phy@32 1298 pcie_phy: pcie-phy@32f00000 { 1299 compatible = 1299 compatible = "fsl,imx8mm-pcie-phy"; 1300 reg = <0x32f0 1300 reg = <0x32f00000 0x10000>; 1301 clocks = <&cl 1301 clocks = <&clk IMX8MM_CLK_PCIE1_PHY>; 1302 clock-names = 1302 clock-names = "ref"; 1303 assigned-cloc 1303 assigned-clocks = <&clk IMX8MM_CLK_PCIE1_PHY>; 1304 assigned-cloc 1304 assigned-clock-rates = <100000000>; 1305 assigned-cloc 1305 assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_100M>; 1306 resets = <&sr 1306 resets = <&src IMX8MQ_RESET_PCIEPHY>; 1307 reset-names = 1307 reset-names = "pciephy"; 1308 #phy-cells = 1308 #phy-cells = <0>; 1309 status = "dis 1309 status = "disabled"; 1310 }; 1310 }; 1311 }; 1311 }; 1312 1312 1313 dma_apbh: dma-controller@3300 1313 dma_apbh: dma-controller@33000000 { 1314 compatible = "fsl,imx 1314 compatible = "fsl,imx7d-dma-apbh", "fsl,imx28-dma-apbh"; 1315 reg = <0x33000000 0x2 1315 reg = <0x33000000 0x2000>; 1316 interrupts = <GIC_SPI 1316 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>, 1317 <GIC_SPI 1317 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>, 1318 <GIC_SPI 1318 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>, 1319 <GIC_SPI 1319 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; 1320 #dma-cells = <1>; 1320 #dma-cells = <1>; 1321 dma-channels = <4>; 1321 dma-channels = <4>; 1322 clocks = <&clk IMX8MM 1322 clocks = <&clk IMX8MM_CLK_NAND_USDHC_BUS_RAWNAND_CLK>; 1323 }; 1323 }; 1324 1324 1325 gpmi: nand-controller@3300200 1325 gpmi: nand-controller@33002000 { 1326 compatible = "fsl,imx 1326 compatible = "fsl,imx8mm-gpmi-nand", "fsl,imx7d-gpmi-nand"; 1327 #address-cells = <1>; 1327 #address-cells = <1>; 1328 #size-cells = <0>; 1328 #size-cells = <0>; 1329 reg = <0x33002000 0x2 1329 reg = <0x33002000 0x2000>, <0x33004000 0x4000>; 1330 reg-names = "gpmi-nan 1330 reg-names = "gpmi-nand", "bch"; 1331 interrupts = <GIC_SPI 1331 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; 1332 interrupt-names = "bc 1332 interrupt-names = "bch"; 1333 clocks = <&clk IMX8MM 1333 clocks = <&clk IMX8MM_CLK_NAND_ROOT>, 1334 <&clk IMX8MM 1334 <&clk IMX8MM_CLK_NAND_USDHC_BUS_RAWNAND_CLK>; 1335 clock-names = "gpmi_i 1335 clock-names = "gpmi_io", "gpmi_bch_apb"; 1336 dmas = <&dma_apbh 0>; 1336 dmas = <&dma_apbh 0>; 1337 dma-names = "rx-tx"; 1337 dma-names = "rx-tx"; 1338 status = "disabled"; 1338 status = "disabled"; 1339 }; 1339 }; 1340 1340 1341 pcie0: pcie@33800000 { 1341 pcie0: pcie@33800000 { 1342 compatible = "fsl,imx 1342 compatible = "fsl,imx8mm-pcie"; 1343 reg = <0x33800000 0x4 1343 reg = <0x33800000 0x400000>, <0x1ff00000 0x80000>; 1344 reg-names = "dbi", "c 1344 reg-names = "dbi", "config"; 1345 #address-cells = <3>; 1345 #address-cells = <3>; 1346 #size-cells = <2>; 1346 #size-cells = <2>; 1347 device_type = "pci"; 1347 device_type = "pci"; 1348 bus-range = <0x00 0xf 1348 bus-range = <0x00 0xff>; 1349 ranges = <0x81000000 1349 ranges = <0x81000000 0 0x00000000 0x1ff80000 0 0x00010000>, /* downstream I/O 64KB */ 1350 <0x82000000 1350 <0x82000000 0 0x18000000 0x18000000 0 0x07f00000>; /* non-prefetchable memory */ 1351 num-lanes = <1>; 1351 num-lanes = <1>; 1352 num-viewport = <4>; 1352 num-viewport = <4>; 1353 interrupts = <GIC_SPI 1353 interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>; 1354 interrupt-names = "ms 1354 interrupt-names = "msi"; 1355 #interrupt-cells = <1 1355 #interrupt-cells = <1>; 1356 interrupt-map-mask = 1356 interrupt-map-mask = <0 0 0 0x7>; 1357 interrupt-map = <0 0 1357 interrupt-map = <0 0 0 1 &gic GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>, 1358 <0 0 1358 <0 0 0 2 &gic GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>, 1359 <0 0 1359 <0 0 0 3 &gic GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, 1360 <0 0 1360 <0 0 0 4 &gic GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>; 1361 fsl,max-link-speed = 1361 fsl,max-link-speed = <2>; 1362 linux,pci-domain = <0 1362 linux,pci-domain = <0>; 1363 clocks = <&clk IMX8MM 1363 clocks = <&clk IMX8MM_CLK_PCIE1_ROOT>, 1364 <&clk IMX8MM 1364 <&clk IMX8MM_CLK_PCIE1_PHY>, 1365 <&clk IMX8MM 1365 <&clk IMX8MM_CLK_PCIE1_AUX>; 1366 clock-names = "pcie", 1366 clock-names = "pcie", "pcie_bus", "pcie_aux"; 1367 power-domains = <&pgc 1367 power-domains = <&pgc_pcie>; 1368 resets = <&src IMX8MQ 1368 resets = <&src IMX8MQ_RESET_PCIE_CTRL_APPS_EN>, 1369 <&src IMX8MQ 1369 <&src IMX8MQ_RESET_PCIE_CTRL_APPS_TURNOFF>; 1370 reset-names = "apps", 1370 reset-names = "apps", "turnoff"; 1371 phys = <&pcie_phy>; 1371 phys = <&pcie_phy>; 1372 phy-names = "pcie-phy 1372 phy-names = "pcie-phy"; 1373 status = "disabled"; 1373 status = "disabled"; 1374 }; 1374 }; 1375 1375 1376 pcie0_ep: pcie-ep@33800000 { 1376 pcie0_ep: pcie-ep@33800000 { 1377 compatible = "fsl,imx 1377 compatible = "fsl,imx8mm-pcie-ep"; 1378 reg = <0x33800000 0x4 1378 reg = <0x33800000 0x400000>, 1379 <0x18000000 0x8 1379 <0x18000000 0x8000000>; 1380 reg-names = "dbi", "a 1380 reg-names = "dbi", "addr_space"; 1381 num-lanes = <1>; 1381 num-lanes = <1>; 1382 interrupts = <GIC_SPI 1382 interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>; 1383 interrupt-names = "dm 1383 interrupt-names = "dma"; 1384 fsl,max-link-speed = 1384 fsl,max-link-speed = <2>; 1385 clocks = <&clk IMX8MM 1385 clocks = <&clk IMX8MM_CLK_PCIE1_ROOT>, 1386 <&clk IMX8MM 1386 <&clk IMX8MM_CLK_PCIE1_PHY>, 1387 <&clk IMX8MM 1387 <&clk IMX8MM_CLK_PCIE1_AUX>; 1388 clock-names = "pcie", 1388 clock-names = "pcie", "pcie_bus", "pcie_aux"; 1389 power-domains = <&pgc 1389 power-domains = <&pgc_pcie>; 1390 resets = <&src IMX8MQ 1390 resets = <&src IMX8MQ_RESET_PCIE_CTRL_APPS_EN>, 1391 <&src IMX8MQ 1391 <&src IMX8MQ_RESET_PCIE_CTRL_APPS_TURNOFF>; 1392 reset-names = "apps", 1392 reset-names = "apps", "turnoff"; 1393 phys = <&pcie_phy>; 1393 phys = <&pcie_phy>; 1394 phy-names = "pcie-phy 1394 phy-names = "pcie-phy"; 1395 num-ib-windows = <4>; 1395 num-ib-windows = <4>; 1396 num-ob-windows = <4>; 1396 num-ob-windows = <4>; 1397 status = "disabled"; 1397 status = "disabled"; 1398 }; 1398 }; 1399 1399 1400 gpu_3d: gpu@38000000 { 1400 gpu_3d: gpu@38000000 { 1401 compatible = "vivante 1401 compatible = "vivante,gc"; 1402 reg = <0x38000000 0x8 1402 reg = <0x38000000 0x8000>; 1403 interrupts = <GIC_SPI 1403 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; 1404 clocks = <&clk IMX8MM 1404 clocks = <&clk IMX8MM_CLK_GPU_AHB>, 1405 <&clk IMX8MM 1405 <&clk IMX8MM_CLK_GPU_BUS_ROOT>, 1406 <&clk IMX8MM 1406 <&clk IMX8MM_CLK_GPU3D_ROOT>, 1407 <&clk IMX8MM 1407 <&clk IMX8MM_CLK_GPU3D_ROOT>; 1408 clock-names = "reg", 1408 clock-names = "reg", "bus", "core", "shader"; 1409 assigned-clocks = <&c 1409 assigned-clocks = <&clk IMX8MM_CLK_GPU3D_CORE>, 1410 <&c 1410 <&clk IMX8MM_GPU_PLL_OUT>; 1411 assigned-clock-parent 1411 assigned-clock-parents = <&clk IMX8MM_GPU_PLL_OUT>; 1412 assigned-clock-rates 1412 assigned-clock-rates = <0>, <800000000>; 1413 power-domains = <&pgc 1413 power-domains = <&pgc_gpu>; 1414 }; 1414 }; 1415 1415 1416 gpu_2d: gpu@38008000 { 1416 gpu_2d: gpu@38008000 { 1417 compatible = "vivante 1417 compatible = "vivante,gc"; 1418 reg = <0x38008000 0x8 1418 reg = <0x38008000 0x8000>; 1419 interrupts = <GIC_SPI 1419 interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; 1420 clocks = <&clk IMX8MM 1420 clocks = <&clk IMX8MM_CLK_GPU_AHB>, 1421 <&clk IMX8MM 1421 <&clk IMX8MM_CLK_GPU_BUS_ROOT>, 1422 <&clk IMX8MM 1422 <&clk IMX8MM_CLK_GPU2D_ROOT>; 1423 clock-names = "reg", 1423 clock-names = "reg", "bus", "core"; 1424 assigned-clocks = <&c 1424 assigned-clocks = <&clk IMX8MM_CLK_GPU2D_CORE>, 1425 <&c 1425 <&clk IMX8MM_GPU_PLL_OUT>; 1426 assigned-clock-parent 1426 assigned-clock-parents = <&clk IMX8MM_GPU_PLL_OUT>; 1427 assigned-clock-rates 1427 assigned-clock-rates = <0>, <800000000>; 1428 power-domains = <&pgc 1428 power-domains = <&pgc_gpu>; 1429 }; 1429 }; 1430 1430 1431 vpu_g1: video-codec@38300000 1431 vpu_g1: video-codec@38300000 { 1432 compatible = "nxp,imx 1432 compatible = "nxp,imx8mm-vpu-g1"; 1433 reg = <0x38300000 0x1 1433 reg = <0x38300000 0x10000>; 1434 interrupts = <GIC_SPI 1434 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; 1435 clocks = <&clk IMX8MM 1435 clocks = <&clk IMX8MM_CLK_VPU_G1_ROOT>; 1436 power-domains = <&vpu 1436 power-domains = <&vpu_blk_ctrl IMX8MM_VPUBLK_PD_G1>; 1437 }; 1437 }; 1438 1438 1439 vpu_g2: video-codec@38310000 1439 vpu_g2: video-codec@38310000 { 1440 compatible = "nxp,imx 1440 compatible = "nxp,imx8mq-vpu-g2"; 1441 reg = <0x38310000 0x1 1441 reg = <0x38310000 0x10000>; 1442 interrupts = <GIC_SPI 1442 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; 1443 clocks = <&clk IMX8MM 1443 clocks = <&clk IMX8MM_CLK_VPU_G2_ROOT>; 1444 power-domains = <&vpu 1444 power-domains = <&vpu_blk_ctrl IMX8MM_VPUBLK_PD_G2>; 1445 }; 1445 }; 1446 1446 1447 vpu_blk_ctrl: blk-ctrl@383300 1447 vpu_blk_ctrl: blk-ctrl@38330000 { 1448 compatible = "fsl,imx 1448 compatible = "fsl,imx8mm-vpu-blk-ctrl", "syscon"; 1449 reg = <0x38330000 0x1 1449 reg = <0x38330000 0x100>; 1450 power-domains = <&pgc 1450 power-domains = <&pgc_vpumix>, <&pgc_vpu_g1>, 1451 <&pgc 1451 <&pgc_vpu_g2>, <&pgc_vpu_h1>; 1452 power-domain-names = 1452 power-domain-names = "bus", "g1", "g2", "h1"; 1453 clocks = <&clk IMX8MM 1453 clocks = <&clk IMX8MM_CLK_VPU_G1_ROOT>, 1454 <&clk IMX8MM 1454 <&clk IMX8MM_CLK_VPU_G2_ROOT>, 1455 <&clk IMX8MM 1455 <&clk IMX8MM_CLK_VPU_H1_ROOT>; 1456 clock-names = "g1", " 1456 clock-names = "g1", "g2", "h1"; 1457 assigned-clocks = <&c 1457 assigned-clocks = <&clk IMX8MM_CLK_VPU_G1>, 1458 <&c 1458 <&clk IMX8MM_CLK_VPU_G2>; 1459 assigned-clock-parent 1459 assigned-clock-parents = <&clk IMX8MM_VPU_PLL_OUT>, 1460 1460 <&clk IMX8MM_VPU_PLL_OUT>; 1461 assigned-clock-rates 1461 assigned-clock-rates = <600000000>, 1462 1462 <600000000>; 1463 #power-domain-cells = 1463 #power-domain-cells = <1>; 1464 }; 1464 }; 1465 1465 1466 gic: interrupt-controller@388 1466 gic: interrupt-controller@38800000 { 1467 compatible = "arm,gic 1467 compatible = "arm,gic-v3"; 1468 reg = <0x38800000 0x1 1468 reg = <0x38800000 0x10000>, /* GIC Dist */ 1469 <0x38880000 0xc 1469 <0x38880000 0xc0000>; /* GICR (RD_base + SGI_base) */ 1470 #interrupt-cells = <3 1470 #interrupt-cells = <3>; 1471 interrupt-controller; 1471 interrupt-controller; 1472 interrupts = <GIC_PPI 1472 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; 1473 }; 1473 }; 1474 1474 1475 ddrc: memory-controller@3d400 1475 ddrc: memory-controller@3d400000 { 1476 compatible = "fsl,imx 1476 compatible = "fsl,imx8mm-ddrc", "fsl,imx8m-ddrc"; 1477 reg = <0x3d400000 0x4 1477 reg = <0x3d400000 0x400000>; 1478 clock-names = "core", 1478 clock-names = "core", "pll", "alt", "apb"; 1479 clocks = <&clk IMX8MM 1479 clocks = <&clk IMX8MM_CLK_DRAM_CORE>, 1480 <&clk IMX8MM 1480 <&clk IMX8MM_DRAM_PLL>, 1481 <&clk IMX8MM 1481 <&clk IMX8MM_CLK_DRAM_ALT>, 1482 <&clk IMX8MM 1482 <&clk IMX8MM_CLK_DRAM_APB>; 1483 }; 1483 }; 1484 1484 1485 ddr-pmu@3d800000 { 1485 ddr-pmu@3d800000 { 1486 compatible = "fsl,imx 1486 compatible = "fsl,imx8mm-ddr-pmu", "fsl,imx8m-ddr-pmu"; 1487 reg = <0x3d800000 0x4 1487 reg = <0x3d800000 0x400000>; 1488 interrupts = <GIC_SPI 1488 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>; 1489 }; 1489 }; 1490 }; 1490 }; 1491 }; 1491 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.