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 | * |
Biwen Li | 0f42d06 | 2021-02-05 19:01:53 +0800 | [diff] [blame] | 5 | * Copyright 2017, 2020-2021 NXP |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 6 | */ |
| 7 | |
Biwen Li | 0f42d06 | 2021-02-05 19:01:53 +0800 | [diff] [blame] | 8 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 9 | / { |
| 10 | compatible = "fsl,ls1088a"; |
| 11 | interrupt-parent = <&gic>; |
| 12 | #address-cells = <2>; |
| 13 | #size-cells = <2>; |
| 14 | |
| 15 | memory@80000000 { |
| 16 | device_type = "memory"; |
| 17 | reg = <0x00000000 0x80000000 0 0x80000000>; |
| 18 | /* DRAM space - 1, size : 2 GB DRAM */ |
| 19 | }; |
| 20 | |
| 21 | gic: interrupt-controller@6000000 { |
| 22 | compatible = "arm,gic-v3"; |
| 23 | reg = <0x0 0x06000000 0 0x10000>, /* GIC Dist */ |
| 24 | <0x0 0x06100000 0 0x100000>; /* GICR (RD_base + SGI_base) */ |
| 25 | #interrupt-cells = <3>; |
| 26 | interrupt-controller; |
| 27 | interrupts = <1 9 0x4>; |
| 28 | }; |
| 29 | |
| 30 | timer { |
| 31 | compatible = "arm,armv8-timer"; |
| 32 | interrupts = <1 13 0x8>, /* Physical Secure PPI, active-low */ |
| 33 | <1 14 0x8>, /* Physical Non-Secure PPI, active-low */ |
| 34 | <1 11 0x8>, /* Virtual PPI, active-low */ |
| 35 | <1 10 0x8>; /* Hypervisor PPI, active-low */ |
| 36 | }; |
| 37 | |
Ioana Ciornei | 923de4e | 2023-03-15 13:04:09 +0200 | [diff] [blame] | 38 | soc { |
| 39 | compatible = "simple-bus"; |
| 40 | #address-cells = <2>; |
| 41 | #size-cells = <2>; |
| 42 | ranges; |
| 43 | dma-ranges = <0x0 0x0 0x0 0x0 0x10000 0x00000000>; |
| 44 | |
Ioana Ciornei | 006bd1b | 2023-03-15 13:04:10 +0200 | [diff] [blame^] | 45 | serial0: serial@21c0500 { |
| 46 | device_type = "serial"; |
| 47 | compatible = "fsl,ns16550", "ns16550a"; |
| 48 | reg = <0x0 0x21c0500 0x0 0x100>; |
| 49 | clock-frequency = <0>; /* Updated by bootloader */ |
| 50 | interrupts = <0 32 0x1>; /* edge triggered */ |
| 51 | }; |
| 52 | |
| 53 | serial1: serial@21c0600 { |
| 54 | device_type = "serial"; |
| 55 | compatible = "fsl,ns16550", "ns16550a"; |
| 56 | reg = <0x0 0x21c0600 0x0 0x100>; |
| 57 | clock-frequency = <0>; /* Updated by bootloader */ |
| 58 | interrupts = <0 32 0x1>; /* edge triggered */ |
| 59 | }; |
Ioana Ciornei | 923de4e | 2023-03-15 13:04:09 +0200 | [diff] [blame] | 60 | }; |
| 61 | |
Chuanhua Han | 2f2767b | 2019-07-23 18:43:14 +0800 | [diff] [blame] | 62 | i2c0: i2c@2000000 { |
| 63 | compatible = "fsl,vf610-i2c"; |
| 64 | #address-cells = <1>; |
| 65 | #size-cells = <0>; |
| 66 | reg = <0x0 0x2000000 0x0 0x10000>; |
| 67 | interrupts = <0 34 4>; |
| 68 | }; |
| 69 | |
| 70 | i2c1: i2c@2010000 { |
| 71 | compatible = "fsl,vf610-i2c"; |
| 72 | #address-cells = <1>; |
| 73 | #size-cells = <0>; |
| 74 | reg = <0x0 0x2010000 0x0 0x10000>; |
| 75 | interrupts = <0 34 4>; |
| 76 | }; |
| 77 | |
| 78 | i2c2: i2c@2020000 { |
| 79 | compatible = "fsl,vf610-i2c"; |
| 80 | #address-cells = <1>; |
| 81 | #size-cells = <0>; |
| 82 | reg = <0x0 0x2020000 0x0 0x10000>; |
| 83 | interrupts = <0 35 4>; |
| 84 | }; |
| 85 | |
| 86 | i2c3: i2c@2030000 { |
| 87 | compatible = "fsl,vf610-i2c"; |
| 88 | #address-cells = <1>; |
| 89 | #size-cells = <0>; |
| 90 | reg = <0x0 0x2030000 0x0 0x10000>; |
| 91 | interrupts = <0 35 4>; |
| 92 | }; |
| 93 | |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 94 | dspi: dspi@2100000 { |
| 95 | compatible = "fsl,vf610-dspi"; |
| 96 | #address-cells = <1>; |
| 97 | #size-cells = <0>; |
| 98 | reg = <0x0 0x2100000 0x0 0x10000>; |
| 99 | interrupts = <0 26 0x4>; /* Level high type */ |
Michael Walle | 2de392c | 2021-10-13 18:14:18 +0200 | [diff] [blame] | 100 | spi-num-chipselects = <6>; |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 101 | }; |
| 102 | |
| 103 | qspi: quadspi@1550000 { |
Kuldeep Singh | 4c38087 | 2019-12-12 11:49:24 +0530 | [diff] [blame] | 104 | compatible = "fsl,ls1088a-qspi"; |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 105 | #address-cells = <1>; |
| 106 | #size-cells = <0>; |
| 107 | reg = <0x0 0x20c0000 0x0 0x10000>, |
| 108 | <0x0 0x20000000 0x0 0x10000000>; |
| 109 | reg-names = "QuadSPI", "QuadSPI-memory"; |
Kuldeep Singh | 46d908b | 2021-10-01 16:24:24 +0530 | [diff] [blame] | 110 | status = "disabled"; |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 111 | }; |
Yinbo Zhu | 26caa0e | 2018-09-25 14:47:09 +0800 | [diff] [blame] | 112 | |
| 113 | esdhc: esdhc@2140000 { |
| 114 | compatible = "fsl,esdhc"; |
| 115 | reg = <0x0 0x2140000 0x0 0x10000>; |
| 116 | interrupts = <0 28 0x4>; /* Level high type */ |
| 117 | little-endian; |
| 118 | bus-width = <4>; |
| 119 | }; |
| 120 | |
Biwen Li | 0f42d06 | 2021-02-05 19:01:53 +0800 | [diff] [blame] | 121 | gpio0: gpio@2300000 { |
| 122 | compatible = "fsl,ls1088a-gpio", "fsl,qoriq-gpio"; |
| 123 | reg = <0x0 0x2300000 0x0 0x10000>; |
| 124 | interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; |
| 125 | little-endian; |
| 126 | gpio-controller; |
| 127 | #gpio-cells = <2>; |
| 128 | interrupt-controller; |
| 129 | #interrupt-cells = <2>; |
| 130 | }; |
| 131 | |
| 132 | gpio1: gpio@2310000 { |
| 133 | compatible = "fsl,ls1088a-gpio", "fsl,qoriq-gpio"; |
| 134 | reg = <0x0 0x2310000 0x0 0x10000>; |
| 135 | interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; |
| 136 | little-endian; |
| 137 | gpio-controller; |
| 138 | #gpio-cells = <2>; |
| 139 | interrupt-controller; |
| 140 | #interrupt-cells = <2>; |
| 141 | }; |
| 142 | |
| 143 | gpio2: gpio@2320000 { |
| 144 | compatible = "fsl,ls1088a-gpio", "fsl,qoriq-gpio"; |
| 145 | reg = <0x0 0x2320000 0x0 0x10000>; |
| 146 | interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; |
| 147 | little-endian; |
| 148 | gpio-controller; |
| 149 | #gpio-cells = <2>; |
| 150 | interrupt-controller; |
| 151 | #interrupt-cells = <2>; |
| 152 | }; |
| 153 | |
| 154 | gpio3: gpio@2330000 { |
| 155 | compatible = "fsl,ls1088a-gpio", "fsl,qoriq-gpio"; |
| 156 | reg = <0x0 0x2330000 0x0 0x10000>; |
| 157 | interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; |
| 158 | little-endian; |
| 159 | gpio-controller; |
| 160 | #gpio-cells = <2>; |
| 161 | interrupt-controller; |
| 162 | #interrupt-cells = <2>; |
| 163 | }; |
| 164 | |
Ashish Kumar | 55fd8b9 | 2018-02-19 14:16:58 +0530 | [diff] [blame] | 165 | ifc: ifc@1530000 { |
| 166 | compatible = "fsl,ifc", "simple-bus"; |
| 167 | reg = <0x0 0x2240000 0x0 0x20000>; |
| 168 | interrupts = <0 21 0x4>; /* Level high type */ |
| 169 | }; |
Hou Zhiqiang | 6ae9a8c | 2017-09-04 10:47:53 +0800 | [diff] [blame] | 170 | |
Ran Wang | 9a43a6c | 2017-10-23 10:09:24 +0800 | [diff] [blame] | 171 | usb0: usb3@3100000 { |
| 172 | compatible = "fsl,layerscape-dwc3"; |
| 173 | reg = <0x0 0x3100000 0x0 0x10000>; |
| 174 | interrupts = <0 80 0x4>; /* Level high type */ |
| 175 | dr_mode = "host"; |
| 176 | }; |
| 177 | |
| 178 | usb1: usb3@3110000 { |
| 179 | compatible = "fsl,layerscape-dwc3"; |
| 180 | reg = <0x0 0x3110000 0x0 0x10000>; |
| 181 | interrupts = <0 81 0x4>; /* Level high type */ |
| 182 | dr_mode = "host"; |
| 183 | }; |
| 184 | |
Gaurav Jain | 994824c | 2022-03-24 11:50:34 +0530 | [diff] [blame] | 185 | crypto: crypto@8000000 { |
| 186 | compatible = "fsl,sec-v5.0", "fsl,sec-v4.0"; |
| 187 | fsl,sec-era = <8>; |
| 188 | #address-cells = <1>; |
| 189 | #size-cells = <1>; |
| 190 | ranges = <0x0 0x00 0x8000000 0x100000>; |
| 191 | reg = <0x00 0x8000000 0x0 0x100000>; |
| 192 | interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>; |
| 193 | dma-coherent; |
| 194 | |
| 195 | sec_jr0: jr@10000 { |
| 196 | compatible = "fsl,sec-v5.0-job-ring", |
| 197 | "fsl,sec-v4.0-job-ring"; |
| 198 | reg = <0x10000 0x10000>; |
| 199 | interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>; |
| 200 | }; |
| 201 | |
| 202 | sec_jr1: jr@20000 { |
| 203 | compatible = "fsl,sec-v5.0-job-ring", |
| 204 | "fsl,sec-v4.0-job-ring"; |
| 205 | reg = <0x20000 0x10000>; |
| 206 | interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>; |
| 207 | }; |
| 208 | |
| 209 | sec_jr2: jr@30000 { |
| 210 | compatible = "fsl,sec-v5.0-job-ring", |
| 211 | "fsl,sec-v4.0-job-ring"; |
| 212 | reg = <0x30000 0x10000>; |
| 213 | interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>; |
| 214 | }; |
| 215 | |
| 216 | sec_jr3: jr@40000 { |
| 217 | compatible = "fsl,sec-v5.0-job-ring", |
| 218 | "fsl,sec-v4.0-job-ring"; |
| 219 | reg = <0x40000 0x10000>; |
| 220 | interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>; |
| 221 | }; |
| 222 | }; |
| 223 | |
Wasim Khan | 5c1ac22 | 2020-09-28 16:26:09 +0530 | [diff] [blame] | 224 | pcie1: pcie@3400000 { |
Hou Zhiqiang | 6ae9a8c | 2017-09-04 10:47:53 +0800 | [diff] [blame] | 225 | compatible = "fsl,ls-pcie", "snps,dw-pcie"; |
| 226 | reg = <0x00 0x03400000 0x0 0x80000 /* dbi registers */ |
| 227 | 0x00 0x03480000 0x0 0x80000 /* lut registers */ |
| 228 | 0x00 0x034c0000 0x0 0x40000 /* pf controls registers */ |
| 229 | 0x20 0x00000000 0x0 0x20000>; /* configuration space */ |
| 230 | reg-names = "dbi", "lut", "ctrl", "config"; |
| 231 | #address-cells = <3>; |
| 232 | #size-cells = <2>; |
| 233 | device_type = "pci"; |
| 234 | num-lanes = <4>; |
| 235 | bus-range = <0x0 0xff>; |
| 236 | ranges = <0x81000000 0x0 0x00000000 0x20 0x00020000 0x0 0x00010000 /* downstream I/O */ |
| 237 | 0x82000000 0x0 0x40000000 0x20 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ |
| 238 | }; |
| 239 | |
Wasim Khan | 5c1ac22 | 2020-09-28 16:26:09 +0530 | [diff] [blame] | 240 | pcie2: pcie@3500000 { |
Hou Zhiqiang | 6ae9a8c | 2017-09-04 10:47:53 +0800 | [diff] [blame] | 241 | compatible = "fsl,ls-pcie", "snps,dw-pcie"; |
| 242 | reg = <0x00 0x03500000 0x0 0x80000 /* dbi registers */ |
| 243 | 0x00 0x03580000 0x0 0x80000 /* lut registers */ |
| 244 | 0x00 0x035c0000 0x0 0x40000 /* pf controls registers */ |
| 245 | 0x28 0x00000000 0x0 0x20000>; /* configuration space */ |
| 246 | reg-names = "dbi", "lut", "ctrl", "config"; |
| 247 | #address-cells = <3>; |
| 248 | #size-cells = <2>; |
| 249 | device_type = "pci"; |
| 250 | num-lanes = <4>; |
| 251 | bus-range = <0x0 0xff>; |
| 252 | ranges = <0x81000000 0x0 0x00000000 0x28 0x00020000 0x0 0x00010000 /* downstream I/O */ |
| 253 | 0x82000000 0x0 0x40000000 0x28 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ |
| 254 | }; |
| 255 | |
Wasim Khan | 5c1ac22 | 2020-09-28 16:26:09 +0530 | [diff] [blame] | 256 | pcie3: pcie@3600000 { |
Hou Zhiqiang | 6ae9a8c | 2017-09-04 10:47:53 +0800 | [diff] [blame] | 257 | compatible = "fsl,ls-pcie", "snps,dw-pcie"; |
| 258 | reg = <0x00 0x03600000 0x0 0x80000 /* dbi registers */ |
| 259 | 0x00 0x03680000 0x0 0x80000 /* lut registers */ |
| 260 | 0x00 0x036c0000 0x0 0x40000 /* pf controls registers */ |
| 261 | 0x30 0x00000000 0x0 0x20000>; /* configuration space */ |
| 262 | reg-names = "dbi", "lut", "ctrl", "config"; |
| 263 | #address-cells = <3>; |
| 264 | #size-cells = <2>; |
| 265 | device_type = "pci"; |
| 266 | num-lanes = <8>; |
| 267 | bus-range = <0x0 0xff>; |
| 268 | ranges = <0x81000000 0x0 0x00000000 0x30 0x00020000 0x0 0x00010000 /* downstream I/O */ |
| 269 | 0x82000000 0x0 0x40000000 0x30 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ |
| 270 | }; |
Peng Ma | 47ab834 | 2018-10-22 10:39:50 +0800 | [diff] [blame] | 271 | |
| 272 | sata: sata@3200000 { |
| 273 | compatible = "fsl,ls1088a-ahci"; |
Peng Ma | e70d362 | 2019-04-17 10:10:49 +0000 | [diff] [blame] | 274 | reg = <0x0 0x3200000 0x0 0x10000 /* ccsr sata base */ |
| 275 | 0x7 0x100520 0x0 0x4>; /* ecc sata addr*/ |
Michael Walle | 0234b5f | 2021-10-13 18:14:20 +0200 | [diff] [blame] | 276 | reg-names = "ahci", "sata-ecc"; |
Peng Ma | 47ab834 | 2018-10-22 10:39:50 +0800 | [diff] [blame] | 277 | interrupts = <0 133 4>; |
| 278 | status = "disabled"; |
| 279 | }; |
| 280 | |
Mathew McBride | 505ca5d | 2019-10-18 14:27:53 +1100 | [diff] [blame] | 281 | psci { |
| 282 | compatible = "arm,psci-0.2"; |
| 283 | method = "smc"; |
| 284 | }; |
| 285 | |
Ioana Ciornei | e62ae82 | 2020-03-18 16:47:46 +0200 | [diff] [blame] | 286 | fsl_mc: fsl-mc@80c000000 { |
| 287 | compatible = "fsl,qoriq-mc", "simple-mfd"; |
| 288 | reg = <0x00000008 0x0c000000 0 0x40>, /* MC portal base */ |
| 289 | <0x00000000 0x08340000 0 0x40000>; /* MC control reg */ |
| 290 | #address-cells = <3>; |
| 291 | #size-cells = <1>; |
| 292 | |
| 293 | /* |
| 294 | * Region type 0x0 - MC portals |
| 295 | * Region type 0x1 - QBMAN portals |
| 296 | */ |
| 297 | ranges = <0x0 0x0 0x0 0x8 0x0c000000 0x4000000 |
| 298 | 0x1 0x0 0x0 0x8 0x18000000 0x8000000>; |
| 299 | |
| 300 | dpmacs { |
| 301 | compatible = "simple-mfd"; |
| 302 | #address-cells = <1>; |
| 303 | #size-cells = <0>; |
| 304 | |
| 305 | dpmac1: dpmac@1 { |
| 306 | compatible = "fsl,qoriq-mc-dpmac"; |
| 307 | reg = <0x1>; |
| 308 | status = "disabled"; |
| 309 | }; |
| 310 | |
| 311 | dpmac2: dpmac@2 { |
| 312 | compatible = "fsl,qoriq-mc-dpmac"; |
| 313 | reg = <0x2>; |
| 314 | status = "disabled"; |
| 315 | }; |
| 316 | |
| 317 | dpmac3: dpmac@3 { |
| 318 | compatible = "fsl,qoriq-mc-dpmac"; |
| 319 | reg = <0x3>; |
| 320 | status = "disabled"; |
| 321 | }; |
| 322 | |
| 323 | dpmac4: dpmac@4 { |
| 324 | compatible = "fsl,qoriq-mc-dpmac"; |
| 325 | reg = <0x4>; |
| 326 | status = "disabled"; |
| 327 | }; |
| 328 | |
| 329 | dpmac5: dpmac@5 { |
| 330 | compatible = "fsl,qoriq-mc-dpmac"; |
| 331 | reg = <0x5>; |
| 332 | status = "disabled"; |
| 333 | }; |
| 334 | |
| 335 | dpmac6: dpmac@6 { |
| 336 | compatible = "fsl,qoriq-mc-dpmac"; |
| 337 | reg = <0x6>; |
| 338 | status = "disabled"; |
| 339 | }; |
| 340 | |
| 341 | dpmac7: dpmac@7 { |
| 342 | compatible = "fsl,qoriq-mc-dpmac"; |
| 343 | reg = <0x7>; |
| 344 | status = "disabled"; |
| 345 | }; |
| 346 | |
| 347 | dpmac8: dpmac@8 { |
| 348 | compatible = "fsl,qoriq-mc-dpmac"; |
| 349 | reg = <0x8>; |
| 350 | status = "disabled"; |
| 351 | }; |
| 352 | |
| 353 | dpmac9: dpmac@9 { |
| 354 | compatible = "fsl,qoriq-mc-dpmac"; |
| 355 | reg = <0x9>; |
| 356 | status = "disabled"; |
| 357 | }; |
| 358 | |
| 359 | dpmac10: dpmac@a { |
| 360 | compatible = "fsl,qoriq-mc-dpmac"; |
| 361 | reg = <0xa>; |
| 362 | status = "disabled"; |
| 363 | }; |
| 364 | }; |
| 365 | }; |
| 366 | |
Ioana Ciornei | df3b8c5 | 2020-03-18 16:47:43 +0200 | [diff] [blame] | 367 | emdio1: mdio@8B96000 { |
| 368 | compatible = "fsl,ls-mdio"; |
| 369 | reg = <0x0 0x8B96000 0x0 0x1000>; |
| 370 | #address-cells = <1>; |
| 371 | #size-cells = <0>; |
| 372 | status = "disabled"; |
| 373 | }; |
| 374 | |
| 375 | emdio2: mdio@8B97000 { |
| 376 | compatible = "fsl,ls-mdio"; |
| 377 | reg = <0x0 0x8B97000 0x0 0x1000>; |
| 378 | #address-cells = <1>; |
| 379 | #size-cells = <0>; |
| 380 | status = "disabled"; |
| 381 | }; |
Ashish Kumar | b25faa2 | 2017-08-31 16:12:53 +0530 | [diff] [blame] | 382 | }; |