Tom Rini | 8b0c8a1 | 2018-05-06 18:27:01 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR X11 |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 2 | /* |
| 3 | * NXP ls1088a SOC common device tree source |
| 4 | * |
Ioana Ciornei | f86ce81 | 2023-03-15 13:04:11 +0200 | [diff] [blame] | 5 | * Copyright 2017, 2020-2021, 2023 NXP |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 6 | */ |
| 7 | |
Ioana Ciornei | f86ce81 | 2023-03-15 13:04:11 +0200 | [diff] [blame] | 8 | #include <dt-bindings/clock/fsl,qoriq-clockgen.h> |
Biwen Li | 0f42d06 | 2021-02-05 19:01:53 +0800 | [diff] [blame] | 9 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 10 | / { |
| 11 | compatible = "fsl,ls1088a"; |
| 12 | interrupt-parent = <&gic>; |
| 13 | #address-cells = <2>; |
| 14 | #size-cells = <2>; |
| 15 | |
Mathew McBride | 28bb934 | 2023-04-12 07:38:21 +0000 | [diff] [blame] | 16 | cpus { |
| 17 | #address-cells = <1>; |
| 18 | #size-cells = <0>; |
| 19 | |
| 20 | /* We have 2 clusters having 4 Cortex-A53 cores each */ |
| 21 | cpu0: cpu@0 { |
| 22 | device_type = "cpu"; |
| 23 | compatible = "arm,cortex-a53"; |
| 24 | reg = <0x0>; |
| 25 | clocks = <&clockgen QORIQ_CLK_CMUX 0>; |
| 26 | cpu-idle-states = <&CPU_PH20>; |
| 27 | #cooling-cells = <2>; |
| 28 | }; |
| 29 | |
| 30 | cpu1: cpu@1 { |
| 31 | device_type = "cpu"; |
| 32 | compatible = "arm,cortex-a53"; |
| 33 | reg = <0x1>; |
| 34 | clocks = <&clockgen QORIQ_CLK_CMUX 0>; |
| 35 | cpu-idle-states = <&CPU_PH20>; |
| 36 | #cooling-cells = <2>; |
| 37 | }; |
| 38 | |
| 39 | cpu2: cpu@2 { |
| 40 | device_type = "cpu"; |
| 41 | compatible = "arm,cortex-a53"; |
| 42 | reg = <0x2>; |
| 43 | clocks = <&clockgen QORIQ_CLK_CMUX 0>; |
| 44 | cpu-idle-states = <&CPU_PH20>; |
| 45 | #cooling-cells = <2>; |
| 46 | }; |
| 47 | |
| 48 | cpu3: cpu@3 { |
| 49 | device_type = "cpu"; |
| 50 | compatible = "arm,cortex-a53"; |
| 51 | reg = <0x3>; |
| 52 | clocks = <&clockgen QORIQ_CLK_CMUX 0>; |
| 53 | cpu-idle-states = <&CPU_PH20>; |
| 54 | #cooling-cells = <2>; |
| 55 | }; |
| 56 | |
| 57 | cpu4: cpu@100 { |
| 58 | device_type = "cpu"; |
| 59 | compatible = "arm,cortex-a53"; |
| 60 | reg = <0x100>; |
| 61 | clocks = <&clockgen QORIQ_CLK_CMUX 1>; |
| 62 | cpu-idle-states = <&CPU_PH20>; |
| 63 | #cooling-cells = <2>; |
| 64 | }; |
| 65 | |
| 66 | cpu5: cpu@101 { |
| 67 | device_type = "cpu"; |
| 68 | compatible = "arm,cortex-a53"; |
| 69 | reg = <0x101>; |
| 70 | clocks = <&clockgen QORIQ_CLK_CMUX 1>; |
| 71 | cpu-idle-states = <&CPU_PH20>; |
| 72 | #cooling-cells = <2>; |
| 73 | }; |
| 74 | |
| 75 | cpu6: cpu@102 { |
| 76 | device_type = "cpu"; |
| 77 | compatible = "arm,cortex-a53"; |
| 78 | reg = <0x102>; |
| 79 | clocks = <&clockgen QORIQ_CLK_CMUX 1>; |
| 80 | cpu-idle-states = <&CPU_PH20>; |
| 81 | #cooling-cells = <2>; |
| 82 | }; |
| 83 | |
| 84 | cpu7: cpu@103 { |
| 85 | device_type = "cpu"; |
| 86 | compatible = "arm,cortex-a53"; |
| 87 | reg = <0x103>; |
| 88 | clocks = <&clockgen QORIQ_CLK_CMUX 1>; |
| 89 | cpu-idle-states = <&CPU_PH20>; |
| 90 | #cooling-cells = <2>; |
| 91 | }; |
| 92 | |
| 93 | CPU_PH20: cpu-ph20 { |
| 94 | compatible = "arm,idle-state"; |
| 95 | idle-state-name = "PH20"; |
| 96 | arm,psci-suspend-param = <0x0>; |
| 97 | entry-latency-us = <1000>; |
| 98 | exit-latency-us = <1000>; |
| 99 | min-residency-us = <3000>; |
| 100 | }; |
| 101 | }; |
| 102 | |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 103 | gic: interrupt-controller@6000000 { |
| 104 | compatible = "arm,gic-v3"; |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 105 | #interrupt-cells = <3>; |
| 106 | interrupt-controller; |
Mathew McBride | f6b411d | 2023-04-12 07:38:18 +0000 | [diff] [blame] | 107 | reg = <0x0 0x06000000 0 0x10000>, /* GIC Dist */ |
| 108 | <0x0 0x06100000 0 0x100000>, /* GICR(RD_base+SGI_base)*/ |
| 109 | <0x0 0x0c0c0000 0 0x2000>, /* GICC */ |
| 110 | <0x0 0x0c0d0000 0 0x1000>, /* GICH */ |
| 111 | <0x0 0x0c0e0000 0 0x20000>; /* GICV */ |
| 112 | interrupts = <1 9 IRQ_TYPE_LEVEL_HIGH>; |
| 113 | #address-cells = <2>; |
| 114 | #size-cells = <2>; |
| 115 | ranges; |
| 116 | |
| 117 | its: gic-its@6020000 { |
| 118 | compatible = "arm,gic-v3-its"; |
| 119 | msi-controller; |
| 120 | reg = <0x0 0x6020000 0 0x20000>; |
| 121 | }; |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 122 | }; |
| 123 | |
| 124 | timer { |
| 125 | compatible = "arm,armv8-timer"; |
| 126 | interrupts = <1 13 0x8>, /* Physical Secure PPI, active-low */ |
| 127 | <1 14 0x8>, /* Physical Non-Secure PPI, active-low */ |
| 128 | <1 11 0x8>, /* Virtual PPI, active-low */ |
| 129 | <1 10 0x8>; /* Hypervisor PPI, active-low */ |
| 130 | }; |
| 131 | |
Ioana Ciornei | f86ce81 | 2023-03-15 13:04:11 +0200 | [diff] [blame] | 132 | sysclk: sysclk { |
| 133 | compatible = "fixed-clock"; |
| 134 | #clock-cells = <0>; |
| 135 | clock-frequency = <100000000>; |
| 136 | clock-output-names = "sysclk"; |
| 137 | }; |
| 138 | |
Ioana Ciornei | 923de4e | 2023-03-15 13:04:09 +0200 | [diff] [blame] | 139 | soc { |
| 140 | compatible = "simple-bus"; |
| 141 | #address-cells = <2>; |
| 142 | #size-cells = <2>; |
| 143 | ranges; |
| 144 | dma-ranges = <0x0 0x0 0x0 0x0 0x10000 0x00000000>; |
| 145 | |
Ioana Ciornei | f86ce81 | 2023-03-15 13:04:11 +0200 | [diff] [blame] | 146 | clockgen: clocking@1300000 { |
| 147 | compatible = "fsl,ls1088a-clockgen"; |
| 148 | reg = <0 0x1300000 0 0xa0000>; |
| 149 | #clock-cells = <2>; |
| 150 | clocks = <&sysclk>; |
| 151 | }; |
| 152 | |
| 153 | duart0: serial@21c0500 { |
Ioana Ciornei | 006bd1b | 2023-03-15 13:04:10 +0200 | [diff] [blame] | 154 | compatible = "fsl,ns16550", "ns16550a"; |
| 155 | reg = <0x0 0x21c0500 0x0 0x100>; |
Ioana Ciornei | f86ce81 | 2023-03-15 13:04:11 +0200 | [diff] [blame] | 156 | clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL |
| 157 | QORIQ_CLK_PLL_DIV(4)>; |
| 158 | interrupts = <0 32 IRQ_TYPE_LEVEL_HIGH>; |
| 159 | status = "disabled"; |
Ioana Ciornei | 006bd1b | 2023-03-15 13:04:10 +0200 | [diff] [blame] | 160 | }; |
| 161 | |
Mathew McBride | f647bed | 2023-04-12 07:38:27 +0000 | [diff] [blame^] | 162 | dspi: spi@2100000 { |
| 163 | compatible = "fsl,ls1088a-dspi", |
| 164 | "fsl,ls1021a-v1.0-dspi"; |
| 165 | #address-cells = <1>; |
| 166 | #size-cells = <0>; |
| 167 | reg = <0x0 0x2100000 0x0 0x10000>; |
| 168 | interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; |
| 169 | clock-names = "dspi"; |
| 170 | clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL |
| 171 | QORIQ_CLK_PLL_DIV(2)>; |
| 172 | spi-num-chipselects = <6>; |
| 173 | status = "disabled"; |
| 174 | }; |
| 175 | |
Ioana Ciornei | f86ce81 | 2023-03-15 13:04:11 +0200 | [diff] [blame] | 176 | duart1: serial@21c0600 { |
Ioana Ciornei | 006bd1b | 2023-03-15 13:04:10 +0200 | [diff] [blame] | 177 | compatible = "fsl,ns16550", "ns16550a"; |
| 178 | reg = <0x0 0x21c0600 0x0 0x100>; |
Ioana Ciornei | f86ce81 | 2023-03-15 13:04:11 +0200 | [diff] [blame] | 179 | clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL |
| 180 | QORIQ_CLK_PLL_DIV(4)>; |
| 181 | interrupts = <0 32 IRQ_TYPE_LEVEL_HIGH>; |
| 182 | status = "disabled"; |
Ioana Ciornei | 006bd1b | 2023-03-15 13:04:10 +0200 | [diff] [blame] | 183 | }; |
Mathew McBride | f6b411d | 2023-04-12 07:38:18 +0000 | [diff] [blame] | 184 | |
Mathew McBride | 6ba7e72 | 2023-04-12 07:38:22 +0000 | [diff] [blame] | 185 | gpio0: gpio@2300000 { |
| 186 | compatible = "fsl,ls1088a-gpio", "fsl,qoriq-gpio"; |
| 187 | reg = <0x0 0x2300000 0x0 0x10000>; |
| 188 | interrupts = <0 36 IRQ_TYPE_LEVEL_HIGH>; |
| 189 | little-endian; |
| 190 | gpio-controller; |
| 191 | #gpio-cells = <2>; |
| 192 | interrupt-controller; |
| 193 | #interrupt-cells = <2>; |
| 194 | }; |
| 195 | |
| 196 | gpio1: gpio@2310000 { |
| 197 | compatible = "fsl,ls1088a-gpio", "fsl,qoriq-gpio"; |
| 198 | reg = <0x0 0x2310000 0x0 0x10000>; |
| 199 | interrupts = <0 36 IRQ_TYPE_LEVEL_HIGH>; |
| 200 | little-endian; |
| 201 | gpio-controller; |
| 202 | #gpio-cells = <2>; |
| 203 | interrupt-controller; |
| 204 | #interrupt-cells = <2>; |
| 205 | }; |
| 206 | |
| 207 | gpio2: gpio@2320000 { |
| 208 | compatible = "fsl,ls1088a-gpio", "fsl,qoriq-gpio"; |
| 209 | reg = <0x0 0x2320000 0x0 0x10000>; |
| 210 | interrupts = <0 37 IRQ_TYPE_LEVEL_HIGH>; |
| 211 | little-endian; |
| 212 | gpio-controller; |
| 213 | #gpio-cells = <2>; |
| 214 | interrupt-controller; |
| 215 | #interrupt-cells = <2>; |
| 216 | }; |
| 217 | |
| 218 | gpio3: gpio@2330000 { |
| 219 | compatible = "fsl,ls1088a-gpio", "fsl,qoriq-gpio"; |
| 220 | reg = <0x0 0x2330000 0x0 0x10000>; |
| 221 | interrupts = <0 37 IRQ_TYPE_LEVEL_HIGH>; |
| 222 | little-endian; |
| 223 | gpio-controller; |
| 224 | #gpio-cells = <2>; |
| 225 | interrupt-controller; |
| 226 | #interrupt-cells = <2>; |
| 227 | }; |
| 228 | |
Mathew McBride | f647bed | 2023-04-12 07:38:27 +0000 | [diff] [blame^] | 229 | ifc: memory-controller@2240000 { |
| 230 | compatible = "fsl,ifc"; |
| 231 | reg = <0x0 0x2240000 0x0 0x20000>; |
| 232 | interrupts = <0 21 IRQ_TYPE_LEVEL_HIGH>; |
| 233 | little-endian; |
| 234 | #address-cells = <2>; |
| 235 | #size-cells = <1>; |
| 236 | status = "disabled"; |
| 237 | }; |
| 238 | |
Mathew McBride | 585a10f | 2023-04-12 07:38:23 +0000 | [diff] [blame] | 239 | i2c0: i2c@2000000 { |
| 240 | compatible = "fsl,vf610-i2c"; |
| 241 | #address-cells = <1>; |
| 242 | #size-cells = <0>; |
| 243 | reg = <0x0 0x2000000 0x0 0x10000>; |
| 244 | interrupts = <0 34 IRQ_TYPE_LEVEL_HIGH>; |
| 245 | clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL |
| 246 | QORIQ_CLK_PLL_DIV(8)>; |
| 247 | status = "disabled"; |
| 248 | }; |
| 249 | |
| 250 | i2c1: i2c@2010000 { |
| 251 | compatible = "fsl,vf610-i2c"; |
| 252 | #address-cells = <1>; |
| 253 | #size-cells = <0>; |
| 254 | reg = <0x0 0x2010000 0x0 0x10000>; |
| 255 | interrupts = <0 34 IRQ_TYPE_LEVEL_HIGH>; |
| 256 | clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL |
| 257 | QORIQ_CLK_PLL_DIV(8)>; |
| 258 | status = "disabled"; |
| 259 | }; |
| 260 | |
| 261 | i2c2: i2c@2020000 { |
| 262 | compatible = "fsl,vf610-i2c"; |
| 263 | #address-cells = <1>; |
| 264 | #size-cells = <0>; |
| 265 | reg = <0x0 0x2020000 0x0 0x10000>; |
| 266 | interrupts = <0 35 IRQ_TYPE_LEVEL_HIGH>; |
| 267 | clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL |
| 268 | QORIQ_CLK_PLL_DIV(8)>; |
| 269 | status = "disabled"; |
| 270 | }; |
| 271 | |
| 272 | i2c3: i2c@2030000 { |
| 273 | compatible = "fsl,vf610-i2c"; |
| 274 | #address-cells = <1>; |
| 275 | #size-cells = <0>; |
| 276 | reg = <0x0 0x2030000 0x0 0x10000>; |
| 277 | interrupts = <0 35 IRQ_TYPE_LEVEL_HIGH>; |
| 278 | clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL |
| 279 | QORIQ_CLK_PLL_DIV(8)>; |
| 280 | status = "disabled"; |
| 281 | }; |
| 282 | |
Mathew McBride | f647bed | 2023-04-12 07:38:27 +0000 | [diff] [blame^] | 283 | qspi: spi@20c0000 { |
| 284 | compatible = "fsl,ls2080a-qspi"; |
| 285 | #address-cells = <1>; |
| 286 | #size-cells = <0>; |
| 287 | reg = <0x0 0x20c0000 0x0 0x10000>, |
| 288 | <0x0 0x20000000 0x0 0x10000000>; |
| 289 | reg-names = "QuadSPI", "QuadSPI-memory"; |
| 290 | interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; |
| 291 | clock-names = "qspi_en", "qspi"; |
| 292 | clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL |
| 293 | QORIQ_CLK_PLL_DIV(4)>, |
| 294 | <&clockgen QORIQ_CLK_PLATFORM_PLL |
| 295 | QORIQ_CLK_PLL_DIV(4)>; |
| 296 | status = "disabled"; |
| 297 | }; |
| 298 | |
| 299 | esdhc: esdhc@2140000 { |
| 300 | compatible = "fsl,ls1088a-esdhc", "fsl,esdhc"; |
| 301 | reg = <0x0 0x2140000 0x0 0x10000>; |
| 302 | interrupts = <0 28 0x4>; /* Level high type */ |
| 303 | clock-frequency = <0>; |
| 304 | clocks = <&clockgen QORIQ_CLK_HWACCEL 1>; |
| 305 | voltage-ranges = <1800 1800 3300 3300>; |
| 306 | sdhci,auto-cmd12; |
| 307 | little-endian; |
| 308 | bus-width = <4>; |
| 309 | status = "disabled"; |
| 310 | }; |
| 311 | |
Mathew McBride | ba550f2 | 2023-04-12 07:38:24 +0000 | [diff] [blame] | 312 | usb0: usb@3100000 { |
| 313 | compatible = "snps,dwc3"; |
| 314 | reg = <0x0 0x3100000 0x0 0x10000>; |
| 315 | interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>; |
| 316 | dr_mode = "host"; |
| 317 | snps,quirk-frame-length-adjustment = <0x20>; |
| 318 | snps,dis_rxdet_inp3_quirk; |
| 319 | snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>; |
| 320 | status = "disabled"; |
| 321 | }; |
| 322 | |
| 323 | usb1: usb@3110000 { |
| 324 | compatible = "snps,dwc3"; |
| 325 | reg = <0x0 0x3110000 0x0 0x10000>; |
| 326 | interrupts = <0 81 IRQ_TYPE_LEVEL_HIGH>; |
| 327 | dr_mode = "host"; |
| 328 | snps,quirk-frame-length-adjustment = <0x20>; |
| 329 | snps,dis_rxdet_inp3_quirk; |
| 330 | snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>; |
| 331 | status = "disabled"; |
| 332 | }; |
| 333 | |
Mathew McBride | f647bed | 2023-04-12 07:38:27 +0000 | [diff] [blame^] | 334 | sata: sata@3200000 { |
| 335 | compatible = "fsl,ls1088a-ahci"; |
| 336 | reg = <0x0 0x3200000 0x0 0x10000>, |
| 337 | <0x7 0x100520 0x0 0x4>; |
| 338 | reg-names = "ahci", "sata-ecc"; |
| 339 | interrupts = <0 133 IRQ_TYPE_LEVEL_HIGH>; |
| 340 | clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL |
| 341 | QORIQ_CLK_PLL_DIV(4)>; |
| 342 | dma-coherent; |
| 343 | status = "disabled"; |
| 344 | }; |
| 345 | |
| 346 | crypto: crypto@8000000 { |
| 347 | compatible = "fsl,sec-v5.0", "fsl,sec-v4.0"; |
| 348 | fsl,sec-era = <8>; |
| 349 | #address-cells = <1>; |
| 350 | #size-cells = <1>; |
| 351 | ranges = <0x0 0x00 0x8000000 0x100000>; |
| 352 | reg = <0x00 0x8000000 0x0 0x100000>; |
| 353 | interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>; |
| 354 | dma-coherent; |
| 355 | |
| 356 | sec_jr0: jr@10000 { |
| 357 | compatible = "fsl,sec-v5.0-job-ring", |
| 358 | "fsl,sec-v4.0-job-ring"; |
| 359 | reg = <0x10000 0x10000>; |
| 360 | interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>; |
| 361 | }; |
| 362 | |
| 363 | sec_jr1: jr@20000 { |
| 364 | compatible = "fsl,sec-v5.0-job-ring", |
| 365 | "fsl,sec-v4.0-job-ring"; |
| 366 | reg = <0x20000 0x10000>; |
| 367 | interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>; |
| 368 | }; |
| 369 | |
| 370 | sec_jr2: jr@30000 { |
| 371 | compatible = "fsl,sec-v5.0-job-ring", |
| 372 | "fsl,sec-v4.0-job-ring"; |
| 373 | reg = <0x30000 0x10000>; |
| 374 | interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>; |
| 375 | }; |
| 376 | |
| 377 | sec_jr3: jr@40000 { |
| 378 | compatible = "fsl,sec-v5.0-job-ring", |
| 379 | "fsl,sec-v4.0-job-ring"; |
| 380 | reg = <0x40000 0x10000>; |
| 381 | interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>; |
| 382 | }; |
| 383 | }; |
| 384 | |
Mathew McBride | cb6a659 | 2023-04-12 07:38:19 +0000 | [diff] [blame] | 385 | pcie1: pcie@3400000 { |
| 386 | compatible = "fsl,ls1088a-pcie"; |
| 387 | reg = <0x00 0x03400000 0x0 0x00100000>, /* controller registers */ |
| 388 | <0x20 0x00000000 0x0 0x00002000>; /* configuration space */ |
| 389 | reg-names = "regs", "config"; |
| 390 | interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>; /* aer interrupt */ |
| 391 | interrupt-names = "aer"; |
| 392 | #address-cells = <3>; |
| 393 | #size-cells = <2>; |
| 394 | device_type = "pci"; |
| 395 | dma-coherent; |
| 396 | num-viewport = <256>; |
| 397 | bus-range = <0x0 0xff>; |
| 398 | ranges = <0x81000000 0x0 0x00000000 0x20 0x00010000 0x0 0x00010000 /* downstream I/O */ |
| 399 | 0x82000000 0x0 0x40000000 0x20 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ |
| 400 | msi-parent = <&its>; |
| 401 | #interrupt-cells = <1>; |
| 402 | interrupt-map-mask = <0 0 0 7>; |
| 403 | interrupt-map = <0000 0 0 1 &gic 0 0 0 109 IRQ_TYPE_LEVEL_HIGH>, |
| 404 | <0000 0 0 2 &gic 0 0 0 110 IRQ_TYPE_LEVEL_HIGH>, |
| 405 | <0000 0 0 3 &gic 0 0 0 111 IRQ_TYPE_LEVEL_HIGH>, |
| 406 | <0000 0 0 4 &gic 0 0 0 112 IRQ_TYPE_LEVEL_HIGH>; |
| 407 | iommu-map = <0 &smmu 0 1>; /* Fixed-up by bootloader */ |
Mathew McBride | 510b988 | 2023-04-12 07:38:20 +0000 | [diff] [blame] | 408 | status = "disabled"; |
Mathew McBride | cb6a659 | 2023-04-12 07:38:19 +0000 | [diff] [blame] | 409 | }; |
| 410 | |
| 411 | pcie_ep1: pcie-ep@3400000 { |
| 412 | compatible = "fsl,ls1088a-pcie-ep", "fsl,ls-pcie-ep"; |
| 413 | reg = <0x00 0x03400000 0x0 0x00100000>, |
| 414 | <0x20 0x00000000 0x8 0x00000000>; |
| 415 | reg-names = "regs", "addr_space"; |
| 416 | num-ib-windows = <24>; |
| 417 | num-ob-windows = <256>; |
| 418 | max-functions = /bits/ 8 <2>; |
| 419 | status = "disabled"; |
| 420 | }; |
| 421 | |
| 422 | pcie2: pcie@3500000 { |
| 423 | compatible = "fsl,ls1088a-pcie"; |
| 424 | reg = <0x00 0x03500000 0x0 0x00100000>, /* controller registers */ |
| 425 | <0x28 0x00000000 0x0 0x00002000>; /* configuration space */ |
| 426 | reg-names = "regs", "config"; |
| 427 | interrupts = <0 113 IRQ_TYPE_LEVEL_HIGH>; /* aer interrupt */ |
| 428 | interrupt-names = "aer"; |
| 429 | #address-cells = <3>; |
| 430 | #size-cells = <2>; |
| 431 | device_type = "pci"; |
| 432 | dma-coherent; |
| 433 | num-viewport = <6>; |
| 434 | bus-range = <0x0 0xff>; |
| 435 | ranges = <0x81000000 0x0 0x00000000 0x28 0x00010000 0x0 0x00010000 /* downstream I/O */ |
| 436 | 0x82000000 0x0 0x40000000 0x28 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ |
| 437 | msi-parent = <&its>; |
| 438 | #interrupt-cells = <1>; |
| 439 | interrupt-map-mask = <0 0 0 7>; |
| 440 | interrupt-map = <0000 0 0 1 &gic 0 0 0 114 IRQ_TYPE_LEVEL_HIGH>, |
| 441 | <0000 0 0 2 &gic 0 0 0 115 IRQ_TYPE_LEVEL_HIGH>, |
| 442 | <0000 0 0 3 &gic 0 0 0 116 IRQ_TYPE_LEVEL_HIGH>, |
| 443 | <0000 0 0 4 &gic 0 0 0 117 IRQ_TYPE_LEVEL_HIGH>; |
| 444 | iommu-map = <0 &smmu 0 1>; /* Fixed-up by bootloader */ |
Mathew McBride | 510b988 | 2023-04-12 07:38:20 +0000 | [diff] [blame] | 445 | status = "disabled"; |
Mathew McBride | cb6a659 | 2023-04-12 07:38:19 +0000 | [diff] [blame] | 446 | }; |
| 447 | |
| 448 | pcie_ep2: pcie-ep@3500000 { |
| 449 | compatible = "fsl,ls1088a-pcie-ep", "fsl,ls-pcie-ep"; |
| 450 | reg = <0x00 0x03500000 0x0 0x00100000>, |
| 451 | <0x28 0x00000000 0x8 0x00000000>; |
| 452 | reg-names = "regs", "addr_space"; |
| 453 | num-ib-windows = <6>; |
| 454 | num-ob-windows = <6>; |
| 455 | status = "disabled"; |
| 456 | }; |
| 457 | |
| 458 | pcie3: pcie@3600000 { |
| 459 | compatible = "fsl,ls1088a-pcie"; |
| 460 | reg = <0x00 0x03600000 0x0 0x00100000>, /* controller registers */ |
| 461 | <0x30 0x00000000 0x0 0x00002000>; /* configuration space */ |
| 462 | reg-names = "regs", "config"; |
| 463 | interrupts = <0 118 IRQ_TYPE_LEVEL_HIGH>; /* aer interrupt */ |
| 464 | interrupt-names = "aer"; |
| 465 | #address-cells = <3>; |
| 466 | #size-cells = <2>; |
| 467 | device_type = "pci"; |
| 468 | dma-coherent; |
| 469 | num-viewport = <6>; |
| 470 | bus-range = <0x0 0xff>; |
| 471 | ranges = <0x81000000 0x0 0x00000000 0x30 0x00010000 0x0 0x00010000 /* downstream I/O */ |
| 472 | 0x82000000 0x0 0x40000000 0x30 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ |
| 473 | msi-parent = <&its>; |
| 474 | #interrupt-cells = <1>; |
| 475 | interrupt-map-mask = <0 0 0 7>; |
| 476 | interrupt-map = <0000 0 0 1 &gic 0 0 0 119 IRQ_TYPE_LEVEL_HIGH>, |
| 477 | <0000 0 0 2 &gic 0 0 0 120 IRQ_TYPE_LEVEL_HIGH>, |
| 478 | <0000 0 0 3 &gic 0 0 0 121 IRQ_TYPE_LEVEL_HIGH>, |
| 479 | <0000 0 0 4 &gic 0 0 0 122 IRQ_TYPE_LEVEL_HIGH>; |
| 480 | iommu-map = <0 &smmu 0 1>; /* Fixed-up by bootloader */ |
Mathew McBride | 510b988 | 2023-04-12 07:38:20 +0000 | [diff] [blame] | 481 | status = "disabled"; |
Mathew McBride | cb6a659 | 2023-04-12 07:38:19 +0000 | [diff] [blame] | 482 | }; |
| 483 | |
| 484 | pcie_ep3: pcie-ep@3600000 { |
| 485 | compatible = "fsl,ls1088a-pcie-ep", "fsl,ls-pcie-ep"; |
| 486 | reg = <0x00 0x03600000 0x0 0x00100000>, |
| 487 | <0x30 0x00000000 0x8 0x00000000>; |
| 488 | reg-names = "regs", "addr_space"; |
| 489 | num-ib-windows = <6>; |
| 490 | num-ob-windows = <6>; |
| 491 | status = "disabled"; |
| 492 | }; |
| 493 | |
Mathew McBride | f6b411d | 2023-04-12 07:38:18 +0000 | [diff] [blame] | 494 | smmu: iommu@5000000 { |
| 495 | compatible = "arm,mmu-500"; |
| 496 | reg = <0 0x5000000 0 0x800000>; |
| 497 | #iommu-cells = <1>; |
| 498 | stream-match-mask = <0x7C00>; |
| 499 | dma-coherent; |
| 500 | #global-interrupts = <12>; |
| 501 | // global secure fault |
| 502 | interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>, |
| 503 | // combined secure |
| 504 | <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>, |
| 505 | // global non-secure fault |
| 506 | <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>, |
| 507 | // combined non-secure |
| 508 | <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>, |
| 509 | // performance counter interrupts 0-7 |
| 510 | <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>, |
| 511 | <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>, |
| 512 | <GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>, |
| 513 | <GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>, |
| 514 | <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>, |
| 515 | <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>, |
| 516 | <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>, |
| 517 | <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>, |
| 518 | // per context interrupt, 64 interrupts |
| 519 | <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>, |
| 520 | <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>, |
| 521 | <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>, |
| 522 | <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>, |
| 523 | <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>, |
| 524 | <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>, |
| 525 | <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>, |
| 526 | <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>, |
| 527 | <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>, |
| 528 | <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>, |
| 529 | <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>, |
| 530 | <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>, |
| 531 | <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>, |
| 532 | <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>, |
| 533 | <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>, |
| 534 | <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>, |
| 535 | <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>, |
| 536 | <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>, |
| 537 | <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>, |
| 538 | <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>, |
| 539 | <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>, |
| 540 | <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>, |
| 541 | <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>, |
| 542 | <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>, |
| 543 | <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>, |
| 544 | <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>, |
| 545 | <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>, |
| 546 | <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>, |
| 547 | <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>, |
| 548 | <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>, |
| 549 | <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>, |
| 550 | <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>, |
| 551 | <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>, |
| 552 | <GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>, |
| 553 | <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>, |
| 554 | <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>, |
| 555 | <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>, |
| 556 | <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>, |
| 557 | <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>, |
| 558 | <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>, |
| 559 | <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>, |
| 560 | <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>, |
| 561 | <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>, |
| 562 | <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>, |
| 563 | <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>, |
| 564 | <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>, |
| 565 | <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>, |
| 566 | <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>, |
| 567 | <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>, |
| 568 | <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>, |
| 569 | <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>, |
| 570 | <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>, |
| 571 | <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>, |
| 572 | <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>, |
| 573 | <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>, |
| 574 | <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>, |
| 575 | <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>, |
| 576 | <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>, |
| 577 | <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>, |
| 578 | <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>, |
| 579 | <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>, |
| 580 | <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>, |
| 581 | <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>, |
| 582 | <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>; |
| 583 | }; |
Mathew McBride | 2f8f873 | 2023-04-12 07:38:25 +0000 | [diff] [blame] | 584 | |
| 585 | emdio1: mdio@8b96000 { |
| 586 | compatible = "fsl,fman-memac-mdio"; |
| 587 | reg = <0x0 0x8b96000 0x0 0x1000>; |
| 588 | little-endian; |
| 589 | #address-cells = <1>; |
| 590 | #size-cells = <0>; |
| 591 | clock-frequency = <2500000>; |
| 592 | clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL |
| 593 | QORIQ_CLK_PLL_DIV(1)>; |
| 594 | status = "disabled"; |
| 595 | }; |
| 596 | |
| 597 | emdio2: mdio@8b97000 { |
| 598 | compatible = "fsl,fman-memac-mdio"; |
| 599 | reg = <0x0 0x8b97000 0x0 0x1000>; |
| 600 | little-endian; |
| 601 | #address-cells = <1>; |
| 602 | #size-cells = <0>; |
| 603 | clock-frequency = <2500000>; |
| 604 | clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL |
| 605 | QORIQ_CLK_PLL_DIV(1)>; |
| 606 | status = "disabled"; |
| 607 | }; |
| 608 | |
| 609 | pcs_mdio1: mdio@8c07000 { |
| 610 | compatible = "fsl,fman-memac-mdio"; |
| 611 | reg = <0x0 0x8c07000 0x0 0x1000>; |
| 612 | little-endian; |
| 613 | #address-cells = <1>; |
| 614 | #size-cells = <0>; |
| 615 | status = "disabled"; |
| 616 | |
| 617 | pcs1: ethernet-phy@0 { |
| 618 | reg = <0>; |
| 619 | }; |
| 620 | }; |
| 621 | |
| 622 | pcs_mdio2: mdio@8c0b000 { |
| 623 | compatible = "fsl,fman-memac-mdio"; |
| 624 | reg = <0x0 0x8c0b000 0x0 0x1000>; |
| 625 | little-endian; |
| 626 | #address-cells = <1>; |
| 627 | #size-cells = <0>; |
| 628 | status = "disabled"; |
| 629 | |
| 630 | pcs2: ethernet-phy@0 { |
| 631 | reg = <0>; |
| 632 | }; |
| 633 | }; |
| 634 | |
| 635 | pcs_mdio3: mdio@8c0f000 { |
| 636 | compatible = "fsl,fman-memac-mdio"; |
| 637 | reg = <0x0 0x8c0f000 0x0 0x1000>; |
| 638 | little-endian; |
| 639 | #address-cells = <1>; |
| 640 | #size-cells = <0>; |
| 641 | status = "disabled"; |
| 642 | |
| 643 | pcs3_0: ethernet-phy@0 { |
| 644 | reg = <0>; |
| 645 | }; |
| 646 | |
| 647 | pcs3_1: ethernet-phy@1 { |
| 648 | reg = <1>; |
| 649 | }; |
| 650 | |
| 651 | pcs3_2: ethernet-phy@2 { |
| 652 | reg = <2>; |
| 653 | }; |
| 654 | |
| 655 | pcs3_3: ethernet-phy@3 { |
| 656 | reg = <3>; |
| 657 | }; |
| 658 | }; |
| 659 | |
| 660 | pcs_mdio7: mdio@8c1f000 { |
| 661 | compatible = "fsl,fman-memac-mdio"; |
| 662 | reg = <0x0 0x8c1f000 0x0 0x1000>; |
| 663 | little-endian; |
| 664 | #address-cells = <1>; |
| 665 | #size-cells = <0>; |
| 666 | status = "disabled"; |
| 667 | |
| 668 | pcs7_0: ethernet-phy@0 { |
| 669 | reg = <0>; |
| 670 | }; |
| 671 | |
| 672 | pcs7_1: ethernet-phy@1 { |
| 673 | reg = <1>; |
| 674 | }; |
| 675 | |
| 676 | pcs7_2: ethernet-phy@2 { |
| 677 | reg = <2>; |
| 678 | }; |
| 679 | |
| 680 | pcs7_3: ethernet-phy@3 { |
| 681 | reg = <3>; |
| 682 | }; |
| 683 | }; |
Mathew McBride | fe2de5e | 2023-04-12 07:38:26 +0000 | [diff] [blame] | 684 | |
| 685 | fsl_mc: fsl-mc@80c000000 { |
| 686 | compatible = "fsl,qoriq-mc"; |
| 687 | reg = <0x00000008 0x0c000000 0 0x40>, /* MC portal base */ |
| 688 | <0x00000000 0x08340000 0 0x40000>; /* MC control reg */ |
| 689 | msi-parent = <&its>; |
| 690 | iommu-map = <0 &smmu 0 0>; /* This is fixed-up by u-boot */ |
| 691 | dma-coherent; |
| 692 | #address-cells = <3>; |
| 693 | #size-cells = <1>; |
| 694 | |
| 695 | /* |
| 696 | * Region type 0x0 - MC portals |
| 697 | * Region type 0x1 - QBMAN portals |
| 698 | */ |
| 699 | ranges = <0x0 0x0 0x0 0x8 0x0c000000 0x4000000 |
| 700 | 0x1 0x0 0x0 0x8 0x18000000 0x8000000>; |
| 701 | |
| 702 | dpmacs { |
| 703 | #address-cells = <1>; |
| 704 | #size-cells = <0>; |
| 705 | |
| 706 | dpmac1: ethernet@1 { |
| 707 | compatible = "fsl,qoriq-mc-dpmac"; |
| 708 | reg = <1>; |
| 709 | }; |
| 710 | |
| 711 | dpmac2: ethernet@2 { |
| 712 | compatible = "fsl,qoriq-mc-dpmac"; |
| 713 | reg = <2>; |
| 714 | }; |
| 715 | |
| 716 | dpmac3: ethernet@3 { |
| 717 | compatible = "fsl,qoriq-mc-dpmac"; |
| 718 | reg = <3>; |
| 719 | }; |
| 720 | |
| 721 | dpmac4: ethernet@4 { |
| 722 | compatible = "fsl,qoriq-mc-dpmac"; |
| 723 | reg = <4>; |
| 724 | }; |
| 725 | |
| 726 | dpmac5: ethernet@5 { |
| 727 | compatible = "fsl,qoriq-mc-dpmac"; |
| 728 | reg = <5>; |
| 729 | }; |
| 730 | |
| 731 | dpmac6: ethernet@6 { |
| 732 | compatible = "fsl,qoriq-mc-dpmac"; |
| 733 | reg = <6>; |
| 734 | }; |
| 735 | |
| 736 | dpmac7: ethernet@7 { |
| 737 | compatible = "fsl,qoriq-mc-dpmac"; |
| 738 | reg = <7>; |
| 739 | }; |
| 740 | |
| 741 | dpmac8: ethernet@8 { |
| 742 | compatible = "fsl,qoriq-mc-dpmac"; |
| 743 | reg = <8>; |
| 744 | }; |
| 745 | |
| 746 | dpmac9: ethernet@9 { |
| 747 | compatible = "fsl,qoriq-mc-dpmac"; |
| 748 | reg = <9>; |
| 749 | }; |
| 750 | |
| 751 | dpmac10: ethernet@a { |
| 752 | compatible = "fsl,qoriq-mc-dpmac"; |
| 753 | reg = <0xa>; |
| 754 | }; |
| 755 | }; |
| 756 | }; |
Ioana Ciornei | 923de4e | 2023-03-15 13:04:09 +0200 | [diff] [blame] | 757 | }; |
| 758 | |
Mathew McBride | 505ca5d | 2019-10-18 14:27:53 +1100 | [diff] [blame] | 759 | psci { |
| 760 | compatible = "arm,psci-0.2"; |
| 761 | method = "smc"; |
| 762 | }; |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 763 | }; |