Peng Fan | d11b157 | 2019-03-05 02:32:25 +0000 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
Gaurav Jain | b91e58b | 2022-03-24 11:50:32 +0530 | [diff] [blame] | 3 | * Copyright 2018, 2021 NXP |
Peng Fan | d11b157 | 2019-03-05 02:32:25 +0000 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 7 | #include "fsl-imx8-ca53.dtsi" |
| 8 | #include <dt-bindings/clock/imx8qm-clock.h> |
| 9 | #include <dt-bindings/input/input.h> |
| 10 | #include <dt-bindings/soc/imx_rsrc.h> |
| 11 | #include <dt-bindings/soc/imx8_pd.h> |
| 12 | #include <dt-bindings/pinctrl/pads-imx8qm.h> |
| 13 | #include <dt-bindings/gpio/gpio.h> |
| 14 | |
| 15 | / { |
| 16 | compatible = "fsl,imx8qm"; |
| 17 | interrupt-parent = <&gic>; |
| 18 | #address-cells = <2>; |
| 19 | #size-cells = <2>; |
| 20 | |
| 21 | aliases { |
| 22 | ethernet0 = &fec1; |
| 23 | ethernet1 = &fec2; |
Ye Li | 1866d9a | 2020-06-09 20:28:03 -0700 | [diff] [blame] | 24 | gpio0 = &gpio0; |
| 25 | gpio1 = &gpio1; |
| 26 | gpio2 = &gpio2; |
| 27 | gpio3 = &gpio3; |
| 28 | gpio4 = &gpio4; |
| 29 | gpio5 = &gpio5; |
| 30 | gpio6 = &gpio6; |
| 31 | gpio7 = &gpio7; |
Peng Fan | d11b157 | 2019-03-05 02:32:25 +0000 | [diff] [blame] | 32 | serial0 = &lpuart0; |
Marcel Ziswiler | ac9c3ef | 2019-05-31 19:00:15 +0300 | [diff] [blame] | 33 | serial1 = &lpuart1; |
| 34 | serial2 = &lpuart2; |
| 35 | serial3 = &lpuart3; |
| 36 | serial4 = &lpuart4; |
Peng Fan | d11b157 | 2019-03-05 02:32:25 +0000 | [diff] [blame] | 37 | mmc0 = &usdhc1; |
| 38 | mmc1 = &usdhc2; |
| 39 | mmc2 = &usdhc3; |
Marcel Ziswiler | b492ee3 | 2019-05-31 19:00:16 +0300 | [diff] [blame] | 40 | i2c0 = &i2c0; |
| 41 | i2c1 = &i2c1; |
| 42 | i2c2 = &i2c2; |
| 43 | i2c3 = &i2c3; |
| 44 | i2c4 = &i2c4; |
Peng Fan | d11b157 | 2019-03-05 02:32:25 +0000 | [diff] [blame] | 45 | }; |
| 46 | |
| 47 | memory@80000000 { |
| 48 | device_type = "memory"; |
| 49 | reg = <0x00000000 0x80000000 0 0x40000000>; |
| 50 | /* DRAM space - 1, size : 1 GB DRAM */ |
| 51 | }; |
| 52 | |
| 53 | gic: interrupt-controller@51a00000 { |
| 54 | compatible = "arm,gic-v3"; |
| 55 | reg = <0x0 0x51a00000 0 0x10000>, /* GIC Dist */ |
| 56 | <0x0 0x51b00000 0 0xC0000>, /* GICR */ |
| 57 | <0x0 0x52000000 0 0x2000>, /* GICC */ |
| 58 | <0x0 0x52010000 0 0x1000>, /* GICH */ |
| 59 | <0x0 0x52020000 0 0x20000>; /* GICV */ |
| 60 | #interrupt-cells = <3>; |
| 61 | interrupt-controller; |
| 62 | interrupts = <GIC_PPI 9 |
| 63 | (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_HIGH)>; |
| 64 | interrupt-parent = <&gic>; |
| 65 | }; |
| 66 | |
| 67 | mu: mu@5d1c0000 { |
| 68 | compatible = "fsl,imx8-mu"; |
| 69 | reg = <0x0 0x5d1c0000 0x0 0x10000>; |
| 70 | interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>; |
| 71 | interrupt-parent = <&gic>; |
| 72 | fsl,scu_ap_mu_id = <0>; |
| 73 | status = "okay"; |
| 74 | |
| 75 | clk: clk { |
| 76 | compatible = "fsl,imx8qm-clk"; |
| 77 | #clock-cells = <1>; |
| 78 | }; |
| 79 | |
| 80 | iomuxc: iomuxc { |
| 81 | compatible = "fsl,imx8qm-iomuxc"; |
| 82 | }; |
| 83 | }; |
| 84 | |
| 85 | imx8qm-pm { |
| 86 | compatible = "simple-bus"; |
| 87 | #address-cells = <1>; |
| 88 | #size-cells = <0>; |
| 89 | |
| 90 | pd_lsio: PD_LSIO { |
| 91 | compatible = "nxp,imx8-pd"; |
Leonard Crestez | 797be1b | 2020-05-04 21:16:54 +0800 | [diff] [blame] | 92 | reg = <SC_R_NONE>; |
Peng Fan | d11b157 | 2019-03-05 02:32:25 +0000 | [diff] [blame] | 93 | #power-domain-cells = <0>; |
| 94 | #address-cells = <1>; |
| 95 | #size-cells = <0>; |
| 96 | |
| 97 | pd_lsio_gpio0: PD_LSIO_GPIO_0 { |
| 98 | reg = <SC_R_GPIO_0>; |
| 99 | #power-domain-cells = <0>; |
| 100 | power-domains = <&pd_lsio>; |
| 101 | }; |
| 102 | pd_lsio_gpio1: PD_LSIO_GPIO_1 { |
| 103 | reg = <SC_R_GPIO_1>; |
| 104 | #power-domain-cells = <0>; |
| 105 | power-domains = <&pd_lsio>; |
| 106 | }; |
| 107 | pd_lsio_gpio2: PD_LSIO_GPIO_2 { |
| 108 | reg = <SC_R_GPIO_2>; |
| 109 | #power-domain-cells = <0>; |
| 110 | power-domains = <&pd_lsio>; |
| 111 | }; |
| 112 | pd_lsio_gpio3: PD_LSIO_GPIO_3 { |
| 113 | reg = <SC_R_GPIO_3>; |
| 114 | #power-domain-cells = <0>; |
| 115 | power-domains = <&pd_lsio>; |
| 116 | }; |
| 117 | pd_lsio_gpio4: PD_LSIO_GPIO_4 { |
| 118 | reg = <SC_R_GPIO_4>; |
| 119 | #power-domain-cells = <0>; |
| 120 | power-domains = <&pd_lsio>; |
| 121 | }; |
| 122 | pd_lsio_gpio5: PD_LSIO_GPIO_5{ |
| 123 | reg = <SC_R_GPIO_5>; |
| 124 | #power-domain-cells = <0>; |
| 125 | power-domains = <&pd_lsio>; |
| 126 | }; |
| 127 | pd_lsio_gpio6:PD_LSIO_GPIO_6 { |
| 128 | reg = <SC_R_GPIO_6>; |
| 129 | #power-domain-cells = <0>; |
| 130 | power-domains = <&pd_lsio>; |
| 131 | }; |
| 132 | pd_lsio_gpio7: PD_LSIO_GPIO_7 { |
| 133 | reg = <SC_R_GPIO_7>; |
| 134 | #power-domain-cells = <0>; |
| 135 | power-domains = <&pd_lsio>; |
| 136 | }; |
| 137 | }; |
| 138 | |
| 139 | pd_conn: PD_CONN { |
| 140 | compatible = "nxp,imx8-pd"; |
Leonard Crestez | 797be1b | 2020-05-04 21:16:54 +0800 | [diff] [blame] | 141 | reg = <SC_R_NONE>; |
Peng Fan | d11b157 | 2019-03-05 02:32:25 +0000 | [diff] [blame] | 142 | #power-domain-cells = <0>; |
| 143 | #address-cells = <1>; |
| 144 | #size-cells = <0>; |
| 145 | |
| 146 | pd_conn_sdch0: PD_CONN_SDHC_0 { |
| 147 | reg = <SC_R_SDHC_0>; |
| 148 | #power-domain-cells = <0>; |
| 149 | power-domains = <&pd_conn>; |
| 150 | }; |
| 151 | pd_conn_sdch1: PD_CONN_SDHC_1 { |
| 152 | reg = <SC_R_SDHC_1>; |
| 153 | #power-domain-cells = <0>; |
| 154 | power-domains = <&pd_conn>; |
| 155 | }; |
| 156 | pd_conn_sdch2: PD_CONN_SDHC_2 { |
| 157 | reg = <SC_R_SDHC_2>; |
| 158 | #power-domain-cells = <0>; |
| 159 | power-domains = <&pd_conn>; |
| 160 | }; |
| 161 | pd_conn_enet0: PD_CONN_ENET_0 { |
| 162 | reg = <SC_R_ENET_0>; |
| 163 | #power-domain-cells = <0>; |
| 164 | power-domains = <&pd_conn>; |
| 165 | wakeup-irq = <258>; |
| 166 | }; |
| 167 | pd_conn_enet1: PD_CONN_ENET_1 { |
| 168 | reg = <SC_R_ENET_1>; |
| 169 | #power-domain-cells = <0>; |
| 170 | power-domains = <&pd_conn>; |
| 171 | fsl,wakeup_irq = <262>; |
| 172 | }; |
| 173 | }; |
| 174 | |
| 175 | pd_dma: PD_DMA { |
| 176 | compatible = "nxp,imx8-pd"; |
Leonard Crestez | 797be1b | 2020-05-04 21:16:54 +0800 | [diff] [blame] | 177 | reg = <SC_R_NONE>; |
Peng Fan | d11b157 | 2019-03-05 02:32:25 +0000 | [diff] [blame] | 178 | #power-domain-cells = <0>; |
| 179 | #address-cells = <1>; |
| 180 | #size-cells = <0>; |
| 181 | |
| 182 | pd_dma_lpi2c0: PD_DMA_I2C_0 { |
| 183 | reg = <SC_R_I2C_0>; |
| 184 | #power-domain-cells = <0>; |
| 185 | power-domains = <&pd_dma>; |
| 186 | }; |
| 187 | pd_dma_lpi2c1: PD_DMA_I2C_1 { |
| 188 | reg = <SC_R_I2C_1>; |
| 189 | #power-domain-cells = <0>; |
| 190 | power-domains = <&pd_dma>; |
| 191 | }; |
| 192 | pd_dma_lpi2c2:PD_DMA_I2C_2 { |
| 193 | reg = <SC_R_I2C_2>; |
| 194 | #power-domain-cells = <0>; |
| 195 | power-domains = <&pd_dma>; |
| 196 | }; |
| 197 | pd_dma_lpi2c3: PD_DMA_I2C_3 { |
| 198 | reg = <SC_R_I2C_3>; |
| 199 | #power-domain-cells = <0>; |
| 200 | power-domains = <&pd_dma>; |
| 201 | }; |
| 202 | pd_dma_lpi2c4: PD_DMA_I2C_4 { |
| 203 | reg = <SC_R_I2C_4>; |
| 204 | #power-domain-cells = <0>; |
| 205 | power-domains = <&pd_dma>; |
| 206 | }; |
| 207 | pd_dma_lpuart0: PD_DMA_UART0 { |
| 208 | reg = <SC_R_UART_0>; |
| 209 | #power-domain-cells = <0>; |
| 210 | power-domains = <&pd_dma>; |
| 211 | wakeup-irq = <345>; |
| 212 | }; |
Marcel Ziswiler | ac9c3ef | 2019-05-31 19:00:15 +0300 | [diff] [blame] | 213 | pd_dma_lpuart1: PD_DMA_UART1 { |
| 214 | reg = <SC_R_UART_1>; |
| 215 | #power-domain-cells = <0>; |
| 216 | power-domains = <&pd_dma>; |
| 217 | wakeup-irq = <346>; |
| 218 | }; |
| 219 | pd_dma_lpuart2: PD_DMA_UART2 { |
| 220 | reg = <SC_R_UART_2>; |
| 221 | #power-domain-cells = <0>; |
| 222 | power-domains = <&pd_dma>; |
| 223 | wakeup-irq = <347>; |
| 224 | }; |
| 225 | pd_dma_lpuart3: PD_DMA_UART3 { |
| 226 | reg = <SC_R_UART_3>; |
| 227 | #power-domain-cells = <0>; |
| 228 | power-domains = <&pd_dma>; |
| 229 | wakeup-irq = <348>; |
| 230 | }; |
| 231 | pd_dma_lpuart4: PD_DMA_UART4 { |
| 232 | reg = <SC_R_UART_4>; |
| 233 | #power-domain-cells = <0>; |
| 234 | power-domains = <&pd_dma>; |
| 235 | wakeup-irq = <349>; |
| 236 | }; |
Peng Fan | d11b157 | 2019-03-05 02:32:25 +0000 | [diff] [blame] | 237 | }; |
Gaurav Jain | b91e58b | 2022-03-24 11:50:32 +0530 | [diff] [blame] | 238 | |
| 239 | pd_caam: PD_CAAM { |
| 240 | compatible = "nxp,imx8-pd"; |
| 241 | reg = <SC_R_NONE>; |
| 242 | #power-domain-cells = <0>; |
| 243 | #address-cells = <1>; |
| 244 | #size-cells = <0>; |
| 245 | |
| 246 | pd_caam_jr1: PD_CAAM_JR1 { |
| 247 | reg = <SC_R_CAAM_JR1>; |
| 248 | #power-domain-cells = <0>; |
| 249 | power-domains = <&pd_caam>; |
| 250 | }; |
| 251 | pd_caam_jr2: PD_CAAM_JR2 { |
| 252 | reg = <SC_R_CAAM_JR2>; |
| 253 | #power-domain-cells = <0>; |
| 254 | power-domains = <&pd_caam>; |
| 255 | }; |
| 256 | pd_caam_jr3: PD_CAAM_JR3 { |
| 257 | reg = <SC_R_CAAM_JR3>; |
| 258 | #power-domain-cells = <0>; |
| 259 | power-domains = <&pd_caam>; |
| 260 | }; |
| 261 | }; |
Peng Fan | d11b157 | 2019-03-05 02:32:25 +0000 | [diff] [blame] | 262 | }; |
| 263 | |
Marcel Ziswiler | b492ee3 | 2019-05-31 19:00:16 +0300 | [diff] [blame] | 264 | i2c0: i2c@5a800000 { |
| 265 | compatible = "fsl,imx8qm-lpi2c", "fsl,imx7ulp-lpi2c"; |
| 266 | reg = <0x0 0x5a800000 0x0 0x4000>; |
| 267 | interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>; |
| 268 | interrupt-parent = <&gic>; |
| 269 | clocks = <&clk IMX8QM_I2C0_CLK>, |
| 270 | <&clk IMX8QM_I2C0_IPG_CLK>; |
| 271 | clock-names = "per", "ipg"; |
| 272 | assigned-clocks = <&clk IMX8QM_I2C0_CLK>; |
| 273 | assigned-clock-rates = <24000000>; |
| 274 | power-domains = <&pd_dma_lpi2c0>; |
| 275 | status = "disabled"; |
| 276 | }; |
| 277 | |
| 278 | i2c1: i2c@5a810000 { |
| 279 | compatible = "fsl,imx8qm-lpi2c", "fsl,imx7ulp-lpi2c"; |
| 280 | reg = <0x0 0x5a810000 0x0 0x4000>; |
| 281 | interrupts = <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>; |
| 282 | interrupt-parent = <&gic>; |
| 283 | clocks = <&clk IMX8QM_I2C1_CLK>, |
| 284 | <&clk IMX8QM_I2C1_IPG_CLK>; |
| 285 | clock-names = "per", "ipg"; |
| 286 | assigned-clocks = <&clk IMX8QM_I2C1_CLK>; |
| 287 | assigned-clock-rates = <24000000>; |
| 288 | power-domains = <&pd_dma_lpi2c1>; |
| 289 | status = "disabled"; |
| 290 | }; |
| 291 | |
| 292 | i2c2: i2c@5a820000 { |
| 293 | compatible = "fsl,imx8qm-lpi2c", "fsl,imx7ulp-lpi2c"; |
| 294 | reg = <0x0 0x5a820000 0x0 0x4000>; |
| 295 | interrupts = <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>; |
| 296 | interrupt-parent = <&gic>; |
| 297 | clocks = <&clk IMX8QM_I2C2_CLK>, |
| 298 | <&clk IMX8QM_I2C2_IPG_CLK>; |
| 299 | clock-names = "per", "ipg"; |
| 300 | assigned-clocks = <&clk IMX8QM_I2C2_CLK>; |
| 301 | assigned-clock-rates = <24000000>; |
| 302 | power-domains = <&pd_dma_lpi2c2>; |
| 303 | status = "disabled"; |
| 304 | }; |
| 305 | |
| 306 | i2c3: i2c@5a830000 { |
| 307 | compatible = "fsl,imx8qm-lpi2c", "fsl,imx7ulp-lpi2c"; |
| 308 | reg = <0x0 0x5a830000 0x0 0x4000>; |
| 309 | interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>; |
| 310 | interrupt-parent = <&gic>; |
| 311 | clocks = <&clk IMX8QM_I2C3_CLK>, |
| 312 | <&clk IMX8QM_I2C3_IPG_CLK>; |
| 313 | clock-names = "per", "ipg"; |
| 314 | assigned-clocks = <&clk IMX8QM_I2C3_CLK>; |
| 315 | assigned-clock-rates = <24000000>; |
| 316 | power-domains = <&pd_dma_lpi2c3>; |
| 317 | status = "disabled"; |
| 318 | }; |
| 319 | |
| 320 | i2c4: i2c@5a840000 { |
| 321 | compatible = "fsl,imx8qm-lpi2c", "fsl,imx7ulp-lpi2c"; |
| 322 | reg = <0x0 0x5a840000 0x0 0x4000>; |
| 323 | interrupts = <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>; |
| 324 | interrupt-parent = <&gic>; |
| 325 | clocks = <&clk IMX8QM_I2C4_CLK>, |
| 326 | <&clk IMX8QM_I2C4_IPG_CLK>; |
| 327 | clock-names = "per", "ipg"; |
| 328 | assigned-clocks = <&clk IMX8QM_I2C4_CLK>; |
| 329 | assigned-clock-rates = <24000000>; |
| 330 | power-domains = <&pd_dma_lpi2c4>; |
| 331 | status = "disabled"; |
| 332 | }; |
| 333 | |
Peng Fan | d11b157 | 2019-03-05 02:32:25 +0000 | [diff] [blame] | 334 | gpio0: gpio@5d080000 { |
| 335 | compatible = "fsl,imx8qm-gpio", "fsl,imx35-gpio"; |
| 336 | reg = <0x0 0x5d080000 0x0 0x10000>; |
| 337 | interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>; |
| 338 | gpio-controller; |
| 339 | #gpio-cells = <2>; |
| 340 | power-domains = <&pd_lsio_gpio0>; |
| 341 | interrupt-controller; |
| 342 | #interrupt-cells = <2>; |
| 343 | }; |
| 344 | |
| 345 | gpio1: gpio@5d090000 { |
| 346 | compatible = "fsl,imx8qm-gpio", "fsl,imx35-gpio"; |
| 347 | reg = <0x0 0x5d090000 0x0 0x10000>; |
| 348 | interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>; |
| 349 | gpio-controller; |
| 350 | #gpio-cells = <2>; |
| 351 | power-domains = <&pd_lsio_gpio1>; |
| 352 | interrupt-controller; |
| 353 | #interrupt-cells = <2>; |
| 354 | }; |
| 355 | |
| 356 | gpio2: gpio@5d0a0000 { |
| 357 | compatible = "fsl,imx8qm-gpio", "fsl,imx35-gpio"; |
| 358 | reg = <0x0 0x5d0a0000 0x0 0x10000>; |
| 359 | interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>; |
| 360 | gpio-controller; |
| 361 | #gpio-cells = <2>; |
| 362 | power-domains = <&pd_lsio_gpio2>; |
| 363 | interrupt-controller; |
| 364 | #interrupt-cells = <2>; |
| 365 | }; |
| 366 | |
| 367 | gpio3: gpio@5d0b0000 { |
| 368 | compatible = "fsl,imx8qm-gpio", "fsl,imx35-gpio"; |
| 369 | reg = <0x0 0x5d0b0000 0x0 0x10000>; |
| 370 | interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>; |
| 371 | gpio-controller; |
| 372 | #gpio-cells = <2>; |
| 373 | power-domains = <&pd_lsio_gpio3>; |
| 374 | interrupt-controller; |
| 375 | #interrupt-cells = <2>; |
| 376 | }; |
| 377 | |
| 378 | gpio4: gpio@5d0c0000 { |
| 379 | compatible = "fsl,imx8qm-gpio", "fsl,imx35-gpio"; |
| 380 | reg = <0x0 0x5d0c0000 0x0 0x10000>; |
| 381 | interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>; |
| 382 | gpio-controller; |
| 383 | #gpio-cells = <2>; |
| 384 | power-domains = <&pd_lsio_gpio4>; |
| 385 | interrupt-controller; |
| 386 | #interrupt-cells = <2>; |
| 387 | }; |
| 388 | |
| 389 | gpio5: gpio@5d0d0000 { |
| 390 | compatible = "fsl,imx8qm-gpio", "fsl,imx35-gpio"; |
| 391 | reg = <0x0 0x5d0d0000 0x0 0x10000>; |
| 392 | interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>; |
| 393 | gpio-controller; |
| 394 | #gpio-cells = <2>; |
| 395 | power-domains = <&pd_lsio_gpio5>; |
| 396 | interrupt-controller; |
| 397 | #interrupt-cells = <2>; |
| 398 | }; |
| 399 | |
| 400 | gpio6: gpio@5d0e0000 { |
| 401 | compatible = "fsl,imx8qm-gpio", "fsl,imx35-gpio"; |
| 402 | reg = <0x0 0x5d0e0000 0x0 0x10000>; |
| 403 | interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>; |
| 404 | gpio-controller; |
| 405 | #gpio-cells = <2>; |
| 406 | power-domains = <&pd_lsio_gpio6>; |
| 407 | interrupt-controller; |
| 408 | #interrupt-cells = <2>; |
| 409 | }; |
| 410 | |
| 411 | gpio7: gpio@5d0f0000 { |
| 412 | compatible = "fsl,imx8qm-gpio", "fsl,imx35-gpio"; |
| 413 | reg = <0x0 0x5d0f0000 0x0 0x10000>; |
| 414 | interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>; |
| 415 | gpio-controller; |
| 416 | #gpio-cells = <2>; |
| 417 | power-domains = <&pd_lsio_gpio7>; |
| 418 | interrupt-controller; |
| 419 | #interrupt-cells = <2>; |
| 420 | }; |
| 421 | |
| 422 | lpuart0: serial@5a060000 { |
| 423 | compatible = "fsl,imx8qm-lpuart"; |
| 424 | reg = <0x0 0x5a060000 0x0 0x1000>; |
| 425 | interrupts = <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>; |
| 426 | clocks = <&clk IMX8QM_UART0_CLK>, |
| 427 | <&clk IMX8QM_UART0_IPG_CLK>; |
| 428 | clock-names = "per", "ipg"; |
| 429 | assigned-clocks = <&clk IMX8QM_UART0_CLK>; |
| 430 | assigned-clock-rates = <80000000>; |
| 431 | power-domains = <&pd_dma_lpuart0>; |
| 432 | status = "disabled"; |
| 433 | }; |
| 434 | |
Marcel Ziswiler | ac9c3ef | 2019-05-31 19:00:15 +0300 | [diff] [blame] | 435 | lpuart1: serial@5a070000 { |
| 436 | compatible = "fsl,imx8qm-lpuart"; |
| 437 | reg = <0x0 0x5a070000 0x0 0x1000>; |
| 438 | interrupts = <GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH>; |
| 439 | clocks = <&clk IMX8QM_UART1_CLK>, |
| 440 | <&clk IMX8QM_UART1_IPG_CLK>; |
| 441 | clock-names = "per", "ipg"; |
| 442 | assigned-clocks = <&clk IMX8QM_UART1_CLK>; |
| 443 | assigned-clock-rates = <80000000>; |
| 444 | power-domains = <&pd_dma_lpuart1>; |
| 445 | status = "disabled"; |
| 446 | }; |
| 447 | |
| 448 | lpuart2: serial@5a080000 { |
| 449 | compatible = "fsl,imx8qm-lpuart"; |
| 450 | reg = <0x0 0x5a080000 0x0 0x1000>; |
| 451 | interrupts = <GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH>; |
| 452 | clocks = <&clk IMX8QM_UART2_CLK>, |
| 453 | <&clk IMX8QM_UART2_IPG_CLK>; |
| 454 | clock-names = "per", "ipg"; |
| 455 | assigned-clocks = <&clk IMX8QM_UART2_CLK>; |
| 456 | assigned-clock-rates = <80000000>; |
| 457 | power-domains = <&pd_dma_lpuart2>; |
| 458 | status = "disabled"; |
| 459 | }; |
| 460 | |
| 461 | lpuart3: serial@5a090000 { |
| 462 | compatible = "fsl,imx8qm-lpuart"; |
| 463 | reg = <0x0 0x5a090000 0x0 0x1000>; |
| 464 | interrupts = <GIC_SPI 348 IRQ_TYPE_LEVEL_HIGH>; |
| 465 | clocks = <&clk IMX8QM_UART3_CLK>, |
| 466 | <&clk IMX8QM_UART3_IPG_CLK>; |
| 467 | clock-names = "per", "ipg"; |
| 468 | assigned-clocks = <&clk IMX8QM_UART3_CLK>; |
| 469 | assigned-clock-rates = <80000000>; |
| 470 | power-domains = <&pd_dma_lpuart3>; |
| 471 | status = "disabled"; |
| 472 | }; |
| 473 | |
| 474 | lpuart4: serial@5a0a0000 { |
| 475 | compatible = "fsl,imx8qm-lpuart"; |
| 476 | reg = <0x0 0x5a0a0000 0x0 0x1000>; |
| 477 | interrupts = <GIC_SPI 349 IRQ_TYPE_LEVEL_HIGH>; |
| 478 | clocks = <&clk IMX8QM_UART4_CLK>, |
| 479 | <&clk IMX8QM_UART4_IPG_CLK>; |
| 480 | clock-names = "per", "ipg"; |
| 481 | assigned-clocks = <&clk IMX8QM_UART4_CLK>; |
| 482 | assigned-clock-rates = <80000000>; |
| 483 | power-domains = <&pd_dma_lpuart4>; |
| 484 | status = "disabled"; |
| 485 | }; |
| 486 | |
Peng Fan | d11b157 | 2019-03-05 02:32:25 +0000 | [diff] [blame] | 487 | usdhc1: usdhc@5b010000 { |
| 488 | compatible = "fsl,imx8qm-usdhc", "fsl,imx6sl-usdhc"; |
| 489 | interrupt-parent = <&gic>; |
| 490 | interrupts = <GIC_SPI 232 IRQ_TYPE_LEVEL_HIGH>; |
| 491 | reg = <0x0 0x5b010000 0x0 0x10000>; |
| 492 | clocks = <&clk IMX8QM_SDHC0_IPG_CLK>, |
| 493 | <&clk IMX8QM_SDHC0_CLK>, |
| 494 | <&clk IMX8QM_CLK_DUMMY>; |
| 495 | clock-names = "ipg", "per", "ahb"; |
| 496 | assigned-clocks = <&clk IMX8QM_SDHC0_DIV>; |
| 497 | assigned-clock-rates = <400000000>; |
| 498 | power-domains = <&pd_conn_sdch0>; |
| 499 | fsl,tuning-start-tap = <20>; |
| 500 | fsl,tuning-step= <2>; |
| 501 | status = "disabled"; |
| 502 | }; |
| 503 | |
| 504 | usdhc2: usdhc@5b020000 { |
| 505 | compatible = "fsl,imx8qm-usdhc", "fsl,imx6sl-usdhc"; |
| 506 | interrupt-parent = <&gic>; |
| 507 | interrupts = <GIC_SPI 233 IRQ_TYPE_LEVEL_HIGH>; |
| 508 | reg = <0x0 0x5b020000 0x0 0x10000>; |
| 509 | clocks = <&clk IMX8QM_SDHC1_IPG_CLK>, |
| 510 | <&clk IMX8QM_SDHC1_CLK>, |
| 511 | <&clk IMX8QM_CLK_DUMMY>; |
| 512 | clock-names = "ipg", "per", "ahb"; |
| 513 | assigned-clocks = <&clk IMX8QM_SDHC1_DIV>; |
| 514 | assigned-clock-rates = <200000000>; |
| 515 | power-domains = <&pd_conn_sdch1>; |
| 516 | fsl,tuning-start-tap = <20>; |
| 517 | fsl,tuning-step= <2>; |
| 518 | status = "disabled"; |
| 519 | }; |
| 520 | |
| 521 | usdhc3: usdhc@5b030000 { |
| 522 | compatible = "fsl,imx8qm-usdhc", "fsl,imx6sl-usdhc"; |
| 523 | interrupt-parent = <&gic>; |
| 524 | interrupts = <GIC_SPI 234 IRQ_TYPE_LEVEL_HIGH>; |
| 525 | reg = <0x0 0x5b030000 0x0 0x10000>; |
| 526 | clocks = <&clk IMX8QM_SDHC2_IPG_CLK>, |
| 527 | <&clk IMX8QM_SDHC2_CLK>, |
| 528 | <&clk IMX8QM_CLK_DUMMY>; |
| 529 | clock-names = "ipg", "per", "ahb"; |
| 530 | assigned-clocks = <&clk IMX8QM_SDHC2_DIV>; |
| 531 | assigned-clock-rates = <200000000>; |
| 532 | power-domains = <&pd_conn_sdch2>; |
| 533 | status = "disabled"; |
| 534 | }; |
| 535 | |
| 536 | fec1: ethernet@5b040000 { |
| 537 | compatible = "fsl,imx8qm-fec", "fsl,imx7d-fec"; |
| 538 | reg = <0x0 0x5b040000 0x0 0x10000>; |
| 539 | interrupts = <GIC_SPI 258 IRQ_TYPE_LEVEL_HIGH>, |
| 540 | <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>, |
| 541 | <GIC_SPI 257 IRQ_TYPE_LEVEL_HIGH>, |
| 542 | <GIC_SPI 259 IRQ_TYPE_LEVEL_HIGH>; |
| 543 | clocks = <&clk IMX8QM_ENET0_IPG_CLK>, |
| 544 | <&clk IMX8QM_ENET0_AHB_CLK>, |
| 545 | <&clk IMX8QM_ENET0_RGMII_TX_CLK>, |
| 546 | <&clk IMX8QM_ENET0_PTP_CLK>, |
| 547 | <&clk IMX8QM_ENET0_TX_CLK>; |
| 548 | clock-names = "ipg", "ahb", "enet_clk_ref", "ptp", |
| 549 | "enet_2x_txclk"; |
| 550 | assigned-clocks = <&clk IMX8QM_ENET0_ROOT_DIV>, |
| 551 | <&clk IMX8QM_ENET0_REF_DIV>; |
| 552 | assigned-clock-rates = <250000000>, <125000000>; |
| 553 | fsl,num-tx-queues=<3>; |
| 554 | fsl,num-rx-queues=<3>; |
| 555 | fsl,wakeup_irq = <0>; |
| 556 | power-domains = <&pd_conn_enet0>; |
| 557 | status = "disabled"; |
| 558 | }; |
| 559 | |
| 560 | fec2: ethernet@5b050000 { |
| 561 | compatible = "fsl,imx8qm-fec", "fsl,imx7d-fec"; |
| 562 | reg = <0x0 0x5b050000 0x0 0x10000>; |
| 563 | interrupts = <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>, |
| 564 | <GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH>, |
| 565 | <GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>, |
| 566 | <GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>; |
| 567 | clocks = <&clk IMX8QM_ENET1_IPG_CLK>, |
| 568 | <&clk IMX8QM_ENET1_AHB_CLK>, |
| 569 | <&clk IMX8QM_ENET1_RGMII_TX_CLK>, |
| 570 | <&clk IMX8QM_ENET1_PTP_CLK>, |
| 571 | <&clk IMX8QM_ENET1_TX_CLK>; |
| 572 | clock-names = "ipg", "ahb", "enet_clk_ref", "ptp", |
| 573 | "enet_2x_txclk"; |
| 574 | assigned-clocks = <&clk IMX8QM_ENET1_ROOT_DIV>, |
| 575 | <&clk IMX8QM_ENET1_REF_DIV>; |
| 576 | assigned-clock-rates = <250000000>, <125000000>; |
| 577 | fsl,num-tx-queues=<3>; |
| 578 | fsl,num-rx-queues=<3>; |
| 579 | fsl,wakeup_irq = <0>; |
| 580 | power-domains = <&pd_conn_enet1>; |
| 581 | status = "disabled"; |
| 582 | }; |
Gaurav Jain | b91e58b | 2022-03-24 11:50:32 +0530 | [diff] [blame] | 583 | |
| 584 | crypto: caam@0x31400000 { |
| 585 | compatible = "fsl,sec-v4.0"; |
| 586 | reg = <0 0x31400000 0 0x400000>; |
| 587 | interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>; |
| 588 | #address-cells = <1>; |
| 589 | #size-cells = <1>; |
| 590 | ranges = <0 0 0x31400000 0x400000>; |
| 591 | fsl,first-jr-index = <2>; |
| 592 | fsl,sec-era = <9>; |
| 593 | |
| 594 | sec_jr1: jr1@0x20000 { |
| 595 | compatible = "fsl,sec-v4.0-job-ring"; |
| 596 | reg = <0x20000 0x1000>; |
| 597 | interrupts = <GIC_SPI 452 IRQ_TYPE_LEVEL_HIGH>; |
| 598 | power-domains = <&pd_caam_jr1>; |
| 599 | status = "disabled"; |
| 600 | }; |
| 601 | |
| 602 | sec_jr2: jr2@30000 { |
| 603 | compatible = "fsl,sec-v4.0-job-ring"; |
| 604 | reg = <0x30000 0x1000>; |
| 605 | interrupts = <GIC_SPI 453 IRQ_TYPE_LEVEL_HIGH>; |
| 606 | power-domains = <&pd_caam_jr2>; |
| 607 | status = "okay"; |
| 608 | }; |
| 609 | |
| 610 | sec_jr3: jr3@40000 { |
| 611 | compatible = "fsl,sec-v4.0-job-ring"; |
| 612 | reg = <0x40000 0x1000>; |
| 613 | interrupts = <GIC_SPI 454 IRQ_TYPE_LEVEL_HIGH>; |
| 614 | power-domains = <&pd_caam_jr3>; |
| 615 | status = "okay"; |
| 616 | }; |
| 617 | }; |
Peng Fan | d11b157 | 2019-03-05 02:32:25 +0000 | [diff] [blame] | 618 | }; |
| 619 | |
| 620 | &A53_0 { |
| 621 | clocks = <&clk IMX8QM_A53_DIV>; |
| 622 | }; |