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 | |
Ioana Ciornei | f86ce81 | 2023-03-15 13:04:11 +0200 | [diff] [blame] | 162 | duart1: serial@21c0600 { |
Ioana Ciornei | 006bd1b | 2023-03-15 13:04:10 +0200 | [diff] [blame] | 163 | compatible = "fsl,ns16550", "ns16550a"; |
| 164 | reg = <0x0 0x21c0600 0x0 0x100>; |
Ioana Ciornei | f86ce81 | 2023-03-15 13:04:11 +0200 | [diff] [blame] | 165 | clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL |
| 166 | QORIQ_CLK_PLL_DIV(4)>; |
| 167 | interrupts = <0 32 IRQ_TYPE_LEVEL_HIGH>; |
| 168 | status = "disabled"; |
Ioana Ciornei | 006bd1b | 2023-03-15 13:04:10 +0200 | [diff] [blame] | 169 | }; |
Mathew McBride | f6b411d | 2023-04-12 07:38:18 +0000 | [diff] [blame] | 170 | |
Mathew McBride | 6ba7e72 | 2023-04-12 07:38:22 +0000 | [diff] [blame] | 171 | gpio0: gpio@2300000 { |
| 172 | compatible = "fsl,ls1088a-gpio", "fsl,qoriq-gpio"; |
| 173 | reg = <0x0 0x2300000 0x0 0x10000>; |
| 174 | interrupts = <0 36 IRQ_TYPE_LEVEL_HIGH>; |
| 175 | little-endian; |
| 176 | gpio-controller; |
| 177 | #gpio-cells = <2>; |
| 178 | interrupt-controller; |
| 179 | #interrupt-cells = <2>; |
| 180 | }; |
| 181 | |
| 182 | gpio1: gpio@2310000 { |
| 183 | compatible = "fsl,ls1088a-gpio", "fsl,qoriq-gpio"; |
| 184 | reg = <0x0 0x2310000 0x0 0x10000>; |
| 185 | interrupts = <0 36 IRQ_TYPE_LEVEL_HIGH>; |
| 186 | little-endian; |
| 187 | gpio-controller; |
| 188 | #gpio-cells = <2>; |
| 189 | interrupt-controller; |
| 190 | #interrupt-cells = <2>; |
| 191 | }; |
| 192 | |
| 193 | gpio2: gpio@2320000 { |
| 194 | compatible = "fsl,ls1088a-gpio", "fsl,qoriq-gpio"; |
| 195 | reg = <0x0 0x2320000 0x0 0x10000>; |
| 196 | interrupts = <0 37 IRQ_TYPE_LEVEL_HIGH>; |
| 197 | little-endian; |
| 198 | gpio-controller; |
| 199 | #gpio-cells = <2>; |
| 200 | interrupt-controller; |
| 201 | #interrupt-cells = <2>; |
| 202 | }; |
| 203 | |
| 204 | gpio3: gpio@2330000 { |
| 205 | compatible = "fsl,ls1088a-gpio", "fsl,qoriq-gpio"; |
| 206 | reg = <0x0 0x2330000 0x0 0x10000>; |
| 207 | interrupts = <0 37 IRQ_TYPE_LEVEL_HIGH>; |
| 208 | little-endian; |
| 209 | gpio-controller; |
| 210 | #gpio-cells = <2>; |
| 211 | interrupt-controller; |
| 212 | #interrupt-cells = <2>; |
| 213 | }; |
| 214 | |
Mathew McBride | 585a10f | 2023-04-12 07:38:23 +0000 | [diff] [blame] | 215 | i2c0: i2c@2000000 { |
| 216 | compatible = "fsl,vf610-i2c"; |
| 217 | #address-cells = <1>; |
| 218 | #size-cells = <0>; |
| 219 | reg = <0x0 0x2000000 0x0 0x10000>; |
| 220 | interrupts = <0 34 IRQ_TYPE_LEVEL_HIGH>; |
| 221 | clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL |
| 222 | QORIQ_CLK_PLL_DIV(8)>; |
| 223 | status = "disabled"; |
| 224 | }; |
| 225 | |
| 226 | i2c1: i2c@2010000 { |
| 227 | compatible = "fsl,vf610-i2c"; |
| 228 | #address-cells = <1>; |
| 229 | #size-cells = <0>; |
| 230 | reg = <0x0 0x2010000 0x0 0x10000>; |
| 231 | interrupts = <0 34 IRQ_TYPE_LEVEL_HIGH>; |
| 232 | clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL |
| 233 | QORIQ_CLK_PLL_DIV(8)>; |
| 234 | status = "disabled"; |
| 235 | }; |
| 236 | |
| 237 | i2c2: i2c@2020000 { |
| 238 | compatible = "fsl,vf610-i2c"; |
| 239 | #address-cells = <1>; |
| 240 | #size-cells = <0>; |
| 241 | reg = <0x0 0x2020000 0x0 0x10000>; |
| 242 | interrupts = <0 35 IRQ_TYPE_LEVEL_HIGH>; |
| 243 | clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL |
| 244 | QORIQ_CLK_PLL_DIV(8)>; |
| 245 | status = "disabled"; |
| 246 | }; |
| 247 | |
| 248 | i2c3: i2c@2030000 { |
| 249 | compatible = "fsl,vf610-i2c"; |
| 250 | #address-cells = <1>; |
| 251 | #size-cells = <0>; |
| 252 | reg = <0x0 0x2030000 0x0 0x10000>; |
| 253 | interrupts = <0 35 IRQ_TYPE_LEVEL_HIGH>; |
| 254 | clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL |
| 255 | QORIQ_CLK_PLL_DIV(8)>; |
| 256 | status = "disabled"; |
| 257 | }; |
| 258 | |
Mathew McBride | ba550f2 | 2023-04-12 07:38:24 +0000 | [diff] [blame] | 259 | usb0: usb@3100000 { |
| 260 | compatible = "snps,dwc3"; |
| 261 | reg = <0x0 0x3100000 0x0 0x10000>; |
| 262 | interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>; |
| 263 | dr_mode = "host"; |
| 264 | snps,quirk-frame-length-adjustment = <0x20>; |
| 265 | snps,dis_rxdet_inp3_quirk; |
| 266 | snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>; |
| 267 | status = "disabled"; |
| 268 | }; |
| 269 | |
| 270 | usb1: usb@3110000 { |
| 271 | compatible = "snps,dwc3"; |
| 272 | reg = <0x0 0x3110000 0x0 0x10000>; |
| 273 | interrupts = <0 81 IRQ_TYPE_LEVEL_HIGH>; |
| 274 | dr_mode = "host"; |
| 275 | snps,quirk-frame-length-adjustment = <0x20>; |
| 276 | snps,dis_rxdet_inp3_quirk; |
| 277 | snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>; |
| 278 | status = "disabled"; |
| 279 | }; |
| 280 | |
Mathew McBride | cb6a659 | 2023-04-12 07:38:19 +0000 | [diff] [blame] | 281 | pcie1: pcie@3400000 { |
| 282 | compatible = "fsl,ls1088a-pcie"; |
| 283 | reg = <0x00 0x03400000 0x0 0x00100000>, /* controller registers */ |
| 284 | <0x20 0x00000000 0x0 0x00002000>; /* configuration space */ |
| 285 | reg-names = "regs", "config"; |
| 286 | interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>; /* aer interrupt */ |
| 287 | interrupt-names = "aer"; |
| 288 | #address-cells = <3>; |
| 289 | #size-cells = <2>; |
| 290 | device_type = "pci"; |
| 291 | dma-coherent; |
| 292 | num-viewport = <256>; |
| 293 | bus-range = <0x0 0xff>; |
| 294 | ranges = <0x81000000 0x0 0x00000000 0x20 0x00010000 0x0 0x00010000 /* downstream I/O */ |
| 295 | 0x82000000 0x0 0x40000000 0x20 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ |
| 296 | msi-parent = <&its>; |
| 297 | #interrupt-cells = <1>; |
| 298 | interrupt-map-mask = <0 0 0 7>; |
| 299 | interrupt-map = <0000 0 0 1 &gic 0 0 0 109 IRQ_TYPE_LEVEL_HIGH>, |
| 300 | <0000 0 0 2 &gic 0 0 0 110 IRQ_TYPE_LEVEL_HIGH>, |
| 301 | <0000 0 0 3 &gic 0 0 0 111 IRQ_TYPE_LEVEL_HIGH>, |
| 302 | <0000 0 0 4 &gic 0 0 0 112 IRQ_TYPE_LEVEL_HIGH>; |
| 303 | iommu-map = <0 &smmu 0 1>; /* Fixed-up by bootloader */ |
Mathew McBride | 510b988 | 2023-04-12 07:38:20 +0000 | [diff] [blame] | 304 | status = "disabled"; |
Mathew McBride | cb6a659 | 2023-04-12 07:38:19 +0000 | [diff] [blame] | 305 | }; |
| 306 | |
| 307 | pcie_ep1: pcie-ep@3400000 { |
| 308 | compatible = "fsl,ls1088a-pcie-ep", "fsl,ls-pcie-ep"; |
| 309 | reg = <0x00 0x03400000 0x0 0x00100000>, |
| 310 | <0x20 0x00000000 0x8 0x00000000>; |
| 311 | reg-names = "regs", "addr_space"; |
| 312 | num-ib-windows = <24>; |
| 313 | num-ob-windows = <256>; |
| 314 | max-functions = /bits/ 8 <2>; |
| 315 | status = "disabled"; |
| 316 | }; |
| 317 | |
| 318 | pcie2: pcie@3500000 { |
| 319 | compatible = "fsl,ls1088a-pcie"; |
| 320 | reg = <0x00 0x03500000 0x0 0x00100000>, /* controller registers */ |
| 321 | <0x28 0x00000000 0x0 0x00002000>; /* configuration space */ |
| 322 | reg-names = "regs", "config"; |
| 323 | interrupts = <0 113 IRQ_TYPE_LEVEL_HIGH>; /* aer interrupt */ |
| 324 | interrupt-names = "aer"; |
| 325 | #address-cells = <3>; |
| 326 | #size-cells = <2>; |
| 327 | device_type = "pci"; |
| 328 | dma-coherent; |
| 329 | num-viewport = <6>; |
| 330 | bus-range = <0x0 0xff>; |
| 331 | ranges = <0x81000000 0x0 0x00000000 0x28 0x00010000 0x0 0x00010000 /* downstream I/O */ |
| 332 | 0x82000000 0x0 0x40000000 0x28 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ |
| 333 | msi-parent = <&its>; |
| 334 | #interrupt-cells = <1>; |
| 335 | interrupt-map-mask = <0 0 0 7>; |
| 336 | interrupt-map = <0000 0 0 1 &gic 0 0 0 114 IRQ_TYPE_LEVEL_HIGH>, |
| 337 | <0000 0 0 2 &gic 0 0 0 115 IRQ_TYPE_LEVEL_HIGH>, |
| 338 | <0000 0 0 3 &gic 0 0 0 116 IRQ_TYPE_LEVEL_HIGH>, |
| 339 | <0000 0 0 4 &gic 0 0 0 117 IRQ_TYPE_LEVEL_HIGH>; |
| 340 | iommu-map = <0 &smmu 0 1>; /* Fixed-up by bootloader */ |
Mathew McBride | 510b988 | 2023-04-12 07:38:20 +0000 | [diff] [blame] | 341 | status = "disabled"; |
Mathew McBride | cb6a659 | 2023-04-12 07:38:19 +0000 | [diff] [blame] | 342 | }; |
| 343 | |
| 344 | pcie_ep2: pcie-ep@3500000 { |
| 345 | compatible = "fsl,ls1088a-pcie-ep", "fsl,ls-pcie-ep"; |
| 346 | reg = <0x00 0x03500000 0x0 0x00100000>, |
| 347 | <0x28 0x00000000 0x8 0x00000000>; |
| 348 | reg-names = "regs", "addr_space"; |
| 349 | num-ib-windows = <6>; |
| 350 | num-ob-windows = <6>; |
| 351 | status = "disabled"; |
| 352 | }; |
| 353 | |
| 354 | pcie3: pcie@3600000 { |
| 355 | compatible = "fsl,ls1088a-pcie"; |
| 356 | reg = <0x00 0x03600000 0x0 0x00100000>, /* controller registers */ |
| 357 | <0x30 0x00000000 0x0 0x00002000>; /* configuration space */ |
| 358 | reg-names = "regs", "config"; |
| 359 | interrupts = <0 118 IRQ_TYPE_LEVEL_HIGH>; /* aer interrupt */ |
| 360 | interrupt-names = "aer"; |
| 361 | #address-cells = <3>; |
| 362 | #size-cells = <2>; |
| 363 | device_type = "pci"; |
| 364 | dma-coherent; |
| 365 | num-viewport = <6>; |
| 366 | bus-range = <0x0 0xff>; |
| 367 | ranges = <0x81000000 0x0 0x00000000 0x30 0x00010000 0x0 0x00010000 /* downstream I/O */ |
| 368 | 0x82000000 0x0 0x40000000 0x30 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ |
| 369 | msi-parent = <&its>; |
| 370 | #interrupt-cells = <1>; |
| 371 | interrupt-map-mask = <0 0 0 7>; |
| 372 | interrupt-map = <0000 0 0 1 &gic 0 0 0 119 IRQ_TYPE_LEVEL_HIGH>, |
| 373 | <0000 0 0 2 &gic 0 0 0 120 IRQ_TYPE_LEVEL_HIGH>, |
| 374 | <0000 0 0 3 &gic 0 0 0 121 IRQ_TYPE_LEVEL_HIGH>, |
| 375 | <0000 0 0 4 &gic 0 0 0 122 IRQ_TYPE_LEVEL_HIGH>; |
| 376 | iommu-map = <0 &smmu 0 1>; /* Fixed-up by bootloader */ |
Mathew McBride | 510b988 | 2023-04-12 07:38:20 +0000 | [diff] [blame] | 377 | status = "disabled"; |
Mathew McBride | cb6a659 | 2023-04-12 07:38:19 +0000 | [diff] [blame] | 378 | }; |
| 379 | |
| 380 | pcie_ep3: pcie-ep@3600000 { |
| 381 | compatible = "fsl,ls1088a-pcie-ep", "fsl,ls-pcie-ep"; |
| 382 | reg = <0x00 0x03600000 0x0 0x00100000>, |
| 383 | <0x30 0x00000000 0x8 0x00000000>; |
| 384 | reg-names = "regs", "addr_space"; |
| 385 | num-ib-windows = <6>; |
| 386 | num-ob-windows = <6>; |
| 387 | status = "disabled"; |
| 388 | }; |
| 389 | |
Mathew McBride | f6b411d | 2023-04-12 07:38:18 +0000 | [diff] [blame] | 390 | smmu: iommu@5000000 { |
| 391 | compatible = "arm,mmu-500"; |
| 392 | reg = <0 0x5000000 0 0x800000>; |
| 393 | #iommu-cells = <1>; |
| 394 | stream-match-mask = <0x7C00>; |
| 395 | dma-coherent; |
| 396 | #global-interrupts = <12>; |
| 397 | // global secure fault |
| 398 | interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>, |
| 399 | // combined secure |
| 400 | <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>, |
| 401 | // global non-secure fault |
| 402 | <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>, |
| 403 | // combined non-secure |
| 404 | <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>, |
| 405 | // performance counter interrupts 0-7 |
| 406 | <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>, |
| 407 | <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>, |
| 408 | <GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>, |
| 409 | <GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>, |
| 410 | <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>, |
| 411 | <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>, |
| 412 | <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>, |
| 413 | <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>, |
| 414 | // per context interrupt, 64 interrupts |
| 415 | <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>, |
| 416 | <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>, |
| 417 | <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>, |
| 418 | <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>, |
| 419 | <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>, |
| 420 | <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>, |
| 421 | <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>, |
| 422 | <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>, |
| 423 | <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>, |
| 424 | <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>, |
| 425 | <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>, |
| 426 | <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>, |
| 427 | <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>, |
| 428 | <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>, |
| 429 | <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>, |
| 430 | <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>, |
| 431 | <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>, |
| 432 | <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>, |
| 433 | <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>, |
| 434 | <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>, |
| 435 | <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>, |
| 436 | <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>, |
| 437 | <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>, |
| 438 | <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>, |
| 439 | <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>, |
| 440 | <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>, |
| 441 | <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>, |
| 442 | <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>, |
| 443 | <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>, |
| 444 | <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>, |
| 445 | <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>, |
| 446 | <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>, |
| 447 | <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>, |
| 448 | <GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>, |
| 449 | <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>, |
| 450 | <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>, |
| 451 | <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>, |
| 452 | <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>, |
| 453 | <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>, |
| 454 | <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>, |
| 455 | <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>, |
| 456 | <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>, |
| 457 | <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>, |
| 458 | <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>, |
| 459 | <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>, |
| 460 | <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>, |
| 461 | <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>, |
| 462 | <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>, |
| 463 | <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>, |
| 464 | <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>, |
| 465 | <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>, |
| 466 | <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>, |
| 467 | <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>, |
| 468 | <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>, |
| 469 | <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>, |
| 470 | <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>, |
| 471 | <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>, |
| 472 | <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>, |
| 473 | <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>, |
| 474 | <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>, |
| 475 | <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>, |
| 476 | <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>, |
| 477 | <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>, |
| 478 | <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>; |
| 479 | }; |
Mathew McBride | 2f8f873 | 2023-04-12 07:38:25 +0000 | [diff] [blame] | 480 | |
| 481 | emdio1: mdio@8b96000 { |
| 482 | compatible = "fsl,fman-memac-mdio"; |
| 483 | reg = <0x0 0x8b96000 0x0 0x1000>; |
| 484 | little-endian; |
| 485 | #address-cells = <1>; |
| 486 | #size-cells = <0>; |
| 487 | clock-frequency = <2500000>; |
| 488 | clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL |
| 489 | QORIQ_CLK_PLL_DIV(1)>; |
| 490 | status = "disabled"; |
| 491 | }; |
| 492 | |
| 493 | emdio2: mdio@8b97000 { |
| 494 | compatible = "fsl,fman-memac-mdio"; |
| 495 | reg = <0x0 0x8b97000 0x0 0x1000>; |
| 496 | little-endian; |
| 497 | #address-cells = <1>; |
| 498 | #size-cells = <0>; |
| 499 | clock-frequency = <2500000>; |
| 500 | clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL |
| 501 | QORIQ_CLK_PLL_DIV(1)>; |
| 502 | status = "disabled"; |
| 503 | }; |
| 504 | |
| 505 | pcs_mdio1: mdio@8c07000 { |
| 506 | compatible = "fsl,fman-memac-mdio"; |
| 507 | reg = <0x0 0x8c07000 0x0 0x1000>; |
| 508 | little-endian; |
| 509 | #address-cells = <1>; |
| 510 | #size-cells = <0>; |
| 511 | status = "disabled"; |
| 512 | |
| 513 | pcs1: ethernet-phy@0 { |
| 514 | reg = <0>; |
| 515 | }; |
| 516 | }; |
| 517 | |
| 518 | pcs_mdio2: mdio@8c0b000 { |
| 519 | compatible = "fsl,fman-memac-mdio"; |
| 520 | reg = <0x0 0x8c0b000 0x0 0x1000>; |
| 521 | little-endian; |
| 522 | #address-cells = <1>; |
| 523 | #size-cells = <0>; |
| 524 | status = "disabled"; |
| 525 | |
| 526 | pcs2: ethernet-phy@0 { |
| 527 | reg = <0>; |
| 528 | }; |
| 529 | }; |
| 530 | |
| 531 | pcs_mdio3: mdio@8c0f000 { |
| 532 | compatible = "fsl,fman-memac-mdio"; |
| 533 | reg = <0x0 0x8c0f000 0x0 0x1000>; |
| 534 | little-endian; |
| 535 | #address-cells = <1>; |
| 536 | #size-cells = <0>; |
| 537 | status = "disabled"; |
| 538 | |
| 539 | pcs3_0: ethernet-phy@0 { |
| 540 | reg = <0>; |
| 541 | }; |
| 542 | |
| 543 | pcs3_1: ethernet-phy@1 { |
| 544 | reg = <1>; |
| 545 | }; |
| 546 | |
| 547 | pcs3_2: ethernet-phy@2 { |
| 548 | reg = <2>; |
| 549 | }; |
| 550 | |
| 551 | pcs3_3: ethernet-phy@3 { |
| 552 | reg = <3>; |
| 553 | }; |
| 554 | }; |
| 555 | |
| 556 | pcs_mdio7: mdio@8c1f000 { |
| 557 | compatible = "fsl,fman-memac-mdio"; |
| 558 | reg = <0x0 0x8c1f000 0x0 0x1000>; |
| 559 | little-endian; |
| 560 | #address-cells = <1>; |
| 561 | #size-cells = <0>; |
| 562 | status = "disabled"; |
| 563 | |
| 564 | pcs7_0: ethernet-phy@0 { |
| 565 | reg = <0>; |
| 566 | }; |
| 567 | |
| 568 | pcs7_1: ethernet-phy@1 { |
| 569 | reg = <1>; |
| 570 | }; |
| 571 | |
| 572 | pcs7_2: ethernet-phy@2 { |
| 573 | reg = <2>; |
| 574 | }; |
| 575 | |
| 576 | pcs7_3: ethernet-phy@3 { |
| 577 | reg = <3>; |
| 578 | }; |
| 579 | }; |
Mathew McBride | fe2de5e | 2023-04-12 07:38:26 +0000 | [diff] [blame^] | 580 | |
| 581 | fsl_mc: fsl-mc@80c000000 { |
| 582 | compatible = "fsl,qoriq-mc"; |
| 583 | reg = <0x00000008 0x0c000000 0 0x40>, /* MC portal base */ |
| 584 | <0x00000000 0x08340000 0 0x40000>; /* MC control reg */ |
| 585 | msi-parent = <&its>; |
| 586 | iommu-map = <0 &smmu 0 0>; /* This is fixed-up by u-boot */ |
| 587 | dma-coherent; |
| 588 | #address-cells = <3>; |
| 589 | #size-cells = <1>; |
| 590 | |
| 591 | /* |
| 592 | * Region type 0x0 - MC portals |
| 593 | * Region type 0x1 - QBMAN portals |
| 594 | */ |
| 595 | ranges = <0x0 0x0 0x0 0x8 0x0c000000 0x4000000 |
| 596 | 0x1 0x0 0x0 0x8 0x18000000 0x8000000>; |
| 597 | |
| 598 | dpmacs { |
| 599 | #address-cells = <1>; |
| 600 | #size-cells = <0>; |
| 601 | |
| 602 | dpmac1: ethernet@1 { |
| 603 | compatible = "fsl,qoriq-mc-dpmac"; |
| 604 | reg = <1>; |
| 605 | }; |
| 606 | |
| 607 | dpmac2: ethernet@2 { |
| 608 | compatible = "fsl,qoriq-mc-dpmac"; |
| 609 | reg = <2>; |
| 610 | }; |
| 611 | |
| 612 | dpmac3: ethernet@3 { |
| 613 | compatible = "fsl,qoriq-mc-dpmac"; |
| 614 | reg = <3>; |
| 615 | }; |
| 616 | |
| 617 | dpmac4: ethernet@4 { |
| 618 | compatible = "fsl,qoriq-mc-dpmac"; |
| 619 | reg = <4>; |
| 620 | }; |
| 621 | |
| 622 | dpmac5: ethernet@5 { |
| 623 | compatible = "fsl,qoriq-mc-dpmac"; |
| 624 | reg = <5>; |
| 625 | }; |
| 626 | |
| 627 | dpmac6: ethernet@6 { |
| 628 | compatible = "fsl,qoriq-mc-dpmac"; |
| 629 | reg = <6>; |
| 630 | }; |
| 631 | |
| 632 | dpmac7: ethernet@7 { |
| 633 | compatible = "fsl,qoriq-mc-dpmac"; |
| 634 | reg = <7>; |
| 635 | }; |
| 636 | |
| 637 | dpmac8: ethernet@8 { |
| 638 | compatible = "fsl,qoriq-mc-dpmac"; |
| 639 | reg = <8>; |
| 640 | }; |
| 641 | |
| 642 | dpmac9: ethernet@9 { |
| 643 | compatible = "fsl,qoriq-mc-dpmac"; |
| 644 | reg = <9>; |
| 645 | }; |
| 646 | |
| 647 | dpmac10: ethernet@a { |
| 648 | compatible = "fsl,qoriq-mc-dpmac"; |
| 649 | reg = <0xa>; |
| 650 | }; |
| 651 | }; |
| 652 | }; |
Ioana Ciornei | 923de4e | 2023-03-15 13:04:09 +0200 | [diff] [blame] | 653 | }; |
| 654 | |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 655 | dspi: dspi@2100000 { |
| 656 | compatible = "fsl,vf610-dspi"; |
| 657 | #address-cells = <1>; |
| 658 | #size-cells = <0>; |
| 659 | reg = <0x0 0x2100000 0x0 0x10000>; |
| 660 | interrupts = <0 26 0x4>; /* Level high type */ |
Michael Walle | 2de392c | 2021-10-13 18:14:18 +0200 | [diff] [blame] | 661 | spi-num-chipselects = <6>; |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 662 | }; |
| 663 | |
| 664 | qspi: quadspi@1550000 { |
Kuldeep Singh | 4c38087 | 2019-12-12 11:49:24 +0530 | [diff] [blame] | 665 | compatible = "fsl,ls1088a-qspi"; |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 666 | #address-cells = <1>; |
| 667 | #size-cells = <0>; |
| 668 | reg = <0x0 0x20c0000 0x0 0x10000>, |
| 669 | <0x0 0x20000000 0x0 0x10000000>; |
| 670 | reg-names = "QuadSPI", "QuadSPI-memory"; |
Kuldeep Singh | 46d908b | 2021-10-01 16:24:24 +0530 | [diff] [blame] | 671 | status = "disabled"; |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 672 | }; |
Yinbo Zhu | 26caa0e | 2018-09-25 14:47:09 +0800 | [diff] [blame] | 673 | |
| 674 | esdhc: esdhc@2140000 { |
| 675 | compatible = "fsl,esdhc"; |
| 676 | reg = <0x0 0x2140000 0x0 0x10000>; |
| 677 | interrupts = <0 28 0x4>; /* Level high type */ |
| 678 | little-endian; |
| 679 | bus-width = <4>; |
| 680 | }; |
| 681 | |
Ashish Kumar | 55fd8b9 | 2018-02-19 14:16:58 +0530 | [diff] [blame] | 682 | ifc: ifc@1530000 { |
| 683 | compatible = "fsl,ifc", "simple-bus"; |
| 684 | reg = <0x0 0x2240000 0x0 0x20000>; |
| 685 | interrupts = <0 21 0x4>; /* Level high type */ |
| 686 | }; |
Hou Zhiqiang | 6ae9a8c | 2017-09-04 10:47:53 +0800 | [diff] [blame] | 687 | |
Gaurav Jain | 994824c | 2022-03-24 11:50:34 +0530 | [diff] [blame] | 688 | crypto: crypto@8000000 { |
| 689 | compatible = "fsl,sec-v5.0", "fsl,sec-v4.0"; |
| 690 | fsl,sec-era = <8>; |
| 691 | #address-cells = <1>; |
| 692 | #size-cells = <1>; |
| 693 | ranges = <0x0 0x00 0x8000000 0x100000>; |
| 694 | reg = <0x00 0x8000000 0x0 0x100000>; |
| 695 | interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>; |
| 696 | dma-coherent; |
| 697 | |
| 698 | sec_jr0: jr@10000 { |
| 699 | compatible = "fsl,sec-v5.0-job-ring", |
| 700 | "fsl,sec-v4.0-job-ring"; |
| 701 | reg = <0x10000 0x10000>; |
| 702 | interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>; |
| 703 | }; |
| 704 | |
| 705 | sec_jr1: jr@20000 { |
| 706 | compatible = "fsl,sec-v5.0-job-ring", |
| 707 | "fsl,sec-v4.0-job-ring"; |
| 708 | reg = <0x20000 0x10000>; |
| 709 | interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>; |
| 710 | }; |
| 711 | |
| 712 | sec_jr2: jr@30000 { |
| 713 | compatible = "fsl,sec-v5.0-job-ring", |
| 714 | "fsl,sec-v4.0-job-ring"; |
| 715 | reg = <0x30000 0x10000>; |
| 716 | interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>; |
| 717 | }; |
| 718 | |
| 719 | sec_jr3: jr@40000 { |
| 720 | compatible = "fsl,sec-v5.0-job-ring", |
| 721 | "fsl,sec-v4.0-job-ring"; |
| 722 | reg = <0x40000 0x10000>; |
| 723 | interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>; |
| 724 | }; |
| 725 | }; |
| 726 | |
Peng Ma | 47ab834 | 2018-10-22 10:39:50 +0800 | [diff] [blame] | 727 | sata: sata@3200000 { |
| 728 | compatible = "fsl,ls1088a-ahci"; |
Peng Ma | e70d362 | 2019-04-17 10:10:49 +0000 | [diff] [blame] | 729 | reg = <0x0 0x3200000 0x0 0x10000 /* ccsr sata base */ |
| 730 | 0x7 0x100520 0x0 0x4>; /* ecc sata addr*/ |
Michael Walle | 0234b5f | 2021-10-13 18:14:20 +0200 | [diff] [blame] | 731 | reg-names = "ahci", "sata-ecc"; |
Peng Ma | 47ab834 | 2018-10-22 10:39:50 +0800 | [diff] [blame] | 732 | interrupts = <0 133 4>; |
| 733 | status = "disabled"; |
| 734 | }; |
| 735 | |
Mathew McBride | 505ca5d | 2019-10-18 14:27:53 +1100 | [diff] [blame] | 736 | psci { |
| 737 | compatible = "arm,psci-0.2"; |
| 738 | method = "smc"; |
| 739 | }; |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 740 | }; |