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 | }; |
Ioana Ciornei | 923de4e | 2023-03-15 13:04:09 +0200 | [diff] [blame] | 480 | }; |
| 481 | |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 482 | dspi: dspi@2100000 { |
| 483 | compatible = "fsl,vf610-dspi"; |
| 484 | #address-cells = <1>; |
| 485 | #size-cells = <0>; |
| 486 | reg = <0x0 0x2100000 0x0 0x10000>; |
| 487 | interrupts = <0 26 0x4>; /* Level high type */ |
Michael Walle | 2de392c | 2021-10-13 18:14:18 +0200 | [diff] [blame] | 488 | spi-num-chipselects = <6>; |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 489 | }; |
| 490 | |
| 491 | qspi: quadspi@1550000 { |
Kuldeep Singh | 4c38087 | 2019-12-12 11:49:24 +0530 | [diff] [blame] | 492 | compatible = "fsl,ls1088a-qspi"; |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 493 | #address-cells = <1>; |
| 494 | #size-cells = <0>; |
| 495 | reg = <0x0 0x20c0000 0x0 0x10000>, |
| 496 | <0x0 0x20000000 0x0 0x10000000>; |
| 497 | reg-names = "QuadSPI", "QuadSPI-memory"; |
Kuldeep Singh | 46d908b | 2021-10-01 16:24:24 +0530 | [diff] [blame] | 498 | status = "disabled"; |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 499 | }; |
Yinbo Zhu | 26caa0e | 2018-09-25 14:47:09 +0800 | [diff] [blame] | 500 | |
| 501 | esdhc: esdhc@2140000 { |
| 502 | compatible = "fsl,esdhc"; |
| 503 | reg = <0x0 0x2140000 0x0 0x10000>; |
| 504 | interrupts = <0 28 0x4>; /* Level high type */ |
| 505 | little-endian; |
| 506 | bus-width = <4>; |
| 507 | }; |
| 508 | |
Ashish Kumar | 55fd8b9 | 2018-02-19 14:16:58 +0530 | [diff] [blame] | 509 | ifc: ifc@1530000 { |
| 510 | compatible = "fsl,ifc", "simple-bus"; |
| 511 | reg = <0x0 0x2240000 0x0 0x20000>; |
| 512 | interrupts = <0 21 0x4>; /* Level high type */ |
| 513 | }; |
Hou Zhiqiang | 6ae9a8c | 2017-09-04 10:47:53 +0800 | [diff] [blame] | 514 | |
Gaurav Jain | 994824c | 2022-03-24 11:50:34 +0530 | [diff] [blame] | 515 | crypto: crypto@8000000 { |
| 516 | compatible = "fsl,sec-v5.0", "fsl,sec-v4.0"; |
| 517 | fsl,sec-era = <8>; |
| 518 | #address-cells = <1>; |
| 519 | #size-cells = <1>; |
| 520 | ranges = <0x0 0x00 0x8000000 0x100000>; |
| 521 | reg = <0x00 0x8000000 0x0 0x100000>; |
| 522 | interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>; |
| 523 | dma-coherent; |
| 524 | |
| 525 | sec_jr0: jr@10000 { |
| 526 | compatible = "fsl,sec-v5.0-job-ring", |
| 527 | "fsl,sec-v4.0-job-ring"; |
| 528 | reg = <0x10000 0x10000>; |
| 529 | interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>; |
| 530 | }; |
| 531 | |
| 532 | sec_jr1: jr@20000 { |
| 533 | compatible = "fsl,sec-v5.0-job-ring", |
| 534 | "fsl,sec-v4.0-job-ring"; |
| 535 | reg = <0x20000 0x10000>; |
| 536 | interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>; |
| 537 | }; |
| 538 | |
| 539 | sec_jr2: jr@30000 { |
| 540 | compatible = "fsl,sec-v5.0-job-ring", |
| 541 | "fsl,sec-v4.0-job-ring"; |
| 542 | reg = <0x30000 0x10000>; |
| 543 | interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>; |
| 544 | }; |
| 545 | |
| 546 | sec_jr3: jr@40000 { |
| 547 | compatible = "fsl,sec-v5.0-job-ring", |
| 548 | "fsl,sec-v4.0-job-ring"; |
| 549 | reg = <0x40000 0x10000>; |
| 550 | interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>; |
| 551 | }; |
| 552 | }; |
| 553 | |
Peng Ma | 47ab834 | 2018-10-22 10:39:50 +0800 | [diff] [blame] | 554 | sata: sata@3200000 { |
| 555 | compatible = "fsl,ls1088a-ahci"; |
Peng Ma | e70d362 | 2019-04-17 10:10:49 +0000 | [diff] [blame] | 556 | reg = <0x0 0x3200000 0x0 0x10000 /* ccsr sata base */ |
| 557 | 0x7 0x100520 0x0 0x4>; /* ecc sata addr*/ |
Michael Walle | 0234b5f | 2021-10-13 18:14:20 +0200 | [diff] [blame] | 558 | reg-names = "ahci", "sata-ecc"; |
Peng Ma | 47ab834 | 2018-10-22 10:39:50 +0800 | [diff] [blame] | 559 | interrupts = <0 133 4>; |
| 560 | status = "disabled"; |
| 561 | }; |
| 562 | |
Mathew McBride | 505ca5d | 2019-10-18 14:27:53 +1100 | [diff] [blame] | 563 | psci { |
| 564 | compatible = "arm,psci-0.2"; |
| 565 | method = "smc"; |
| 566 | }; |
| 567 | |
Ioana Ciornei | e62ae82 | 2020-03-18 16:47:46 +0200 | [diff] [blame] | 568 | fsl_mc: fsl-mc@80c000000 { |
| 569 | compatible = "fsl,qoriq-mc", "simple-mfd"; |
| 570 | reg = <0x00000008 0x0c000000 0 0x40>, /* MC portal base */ |
| 571 | <0x00000000 0x08340000 0 0x40000>; /* MC control reg */ |
| 572 | #address-cells = <3>; |
| 573 | #size-cells = <1>; |
| 574 | |
| 575 | /* |
| 576 | * Region type 0x0 - MC portals |
| 577 | * Region type 0x1 - QBMAN portals |
| 578 | */ |
| 579 | ranges = <0x0 0x0 0x0 0x8 0x0c000000 0x4000000 |
| 580 | 0x1 0x0 0x0 0x8 0x18000000 0x8000000>; |
| 581 | |
| 582 | dpmacs { |
| 583 | compatible = "simple-mfd"; |
| 584 | #address-cells = <1>; |
| 585 | #size-cells = <0>; |
| 586 | |
| 587 | dpmac1: dpmac@1 { |
| 588 | compatible = "fsl,qoriq-mc-dpmac"; |
| 589 | reg = <0x1>; |
| 590 | status = "disabled"; |
| 591 | }; |
| 592 | |
| 593 | dpmac2: dpmac@2 { |
| 594 | compatible = "fsl,qoriq-mc-dpmac"; |
| 595 | reg = <0x2>; |
| 596 | status = "disabled"; |
| 597 | }; |
| 598 | |
| 599 | dpmac3: dpmac@3 { |
| 600 | compatible = "fsl,qoriq-mc-dpmac"; |
| 601 | reg = <0x3>; |
| 602 | status = "disabled"; |
| 603 | }; |
| 604 | |
| 605 | dpmac4: dpmac@4 { |
| 606 | compatible = "fsl,qoriq-mc-dpmac"; |
| 607 | reg = <0x4>; |
| 608 | status = "disabled"; |
| 609 | }; |
| 610 | |
| 611 | dpmac5: dpmac@5 { |
| 612 | compatible = "fsl,qoriq-mc-dpmac"; |
| 613 | reg = <0x5>; |
| 614 | status = "disabled"; |
| 615 | }; |
| 616 | |
| 617 | dpmac6: dpmac@6 { |
| 618 | compatible = "fsl,qoriq-mc-dpmac"; |
| 619 | reg = <0x6>; |
| 620 | status = "disabled"; |
| 621 | }; |
| 622 | |
| 623 | dpmac7: dpmac@7 { |
| 624 | compatible = "fsl,qoriq-mc-dpmac"; |
| 625 | reg = <0x7>; |
| 626 | status = "disabled"; |
| 627 | }; |
| 628 | |
| 629 | dpmac8: dpmac@8 { |
| 630 | compatible = "fsl,qoriq-mc-dpmac"; |
| 631 | reg = <0x8>; |
| 632 | status = "disabled"; |
| 633 | }; |
| 634 | |
| 635 | dpmac9: dpmac@9 { |
| 636 | compatible = "fsl,qoriq-mc-dpmac"; |
| 637 | reg = <0x9>; |
| 638 | status = "disabled"; |
| 639 | }; |
| 640 | |
| 641 | dpmac10: dpmac@a { |
| 642 | compatible = "fsl,qoriq-mc-dpmac"; |
| 643 | reg = <0xa>; |
| 644 | status = "disabled"; |
| 645 | }; |
| 646 | }; |
| 647 | }; |
| 648 | |
Ioana Ciornei | df3b8c5 | 2020-03-18 16:47:43 +0200 | [diff] [blame] | 649 | emdio1: mdio@8B96000 { |
| 650 | compatible = "fsl,ls-mdio"; |
| 651 | reg = <0x0 0x8B96000 0x0 0x1000>; |
| 652 | #address-cells = <1>; |
| 653 | #size-cells = <0>; |
| 654 | status = "disabled"; |
| 655 | }; |
| 656 | |
| 657 | emdio2: mdio@8B97000 { |
| 658 | compatible = "fsl,ls-mdio"; |
| 659 | reg = <0x0 0x8B97000 0x0 0x1000>; |
| 660 | #address-cells = <1>; |
| 661 | #size-cells = <0>; |
| 662 | status = "disabled"; |
| 663 | }; |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 664 | }; |