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