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