Priyanka Jain | ef76b2e | 2018-10-29 09:17:09 +0000 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR X11 |
| 2 | /* |
| 3 | * NXP lx2160a SOC common device tree source |
| 4 | * |
Gaurav Jain | 994824c | 2022-03-24 11:50:34 +0530 | [diff] [blame] | 5 | * Copyright 2018-2021 NXP |
Priyanka Jain | ef76b2e | 2018-10-29 09:17:09 +0000 | [diff] [blame] | 6 | * |
| 7 | */ |
| 8 | |
Kuldeep Singh | 6b61424 | 2019-11-06 16:38:01 +0530 | [diff] [blame] | 9 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 10 | |
Priyanka Jain | ef76b2e | 2018-10-29 09:17:09 +0000 | [diff] [blame] | 11 | / { |
| 12 | compatible = "fsl,lx2160a"; |
| 13 | interrupt-parent = <&gic>; |
| 14 | #address-cells = <2>; |
| 15 | #size-cells = <2>; |
| 16 | |
| 17 | memory@80000000 { |
| 18 | device_type = "memory"; |
| 19 | reg = <0x00000000 0x80000000 0 0x80000000>; |
| 20 | /* DRAM space - 1, size : 2 GB DRAM */ |
| 21 | }; |
| 22 | |
| 23 | sysclk: sysclk { |
| 24 | compatible = "fixed-clock"; |
| 25 | #clock-cells = <0>; |
| 26 | clock-frequency = <100000000>; |
| 27 | clock-output-names = "sysclk"; |
| 28 | }; |
| 29 | |
Gaurav Jain | 994824c | 2022-03-24 11:50:34 +0530 | [diff] [blame] | 30 | crypto: crypto@8000000 { |
| 31 | compatible = "fsl,sec-v5.0", "fsl,sec-v4.0"; |
| 32 | fsl,sec-era = <10>; |
| 33 | #address-cells = <1>; |
| 34 | #size-cells = <1>; |
| 35 | ranges = <0x0 0x00 0x8000000 0x100000>; |
| 36 | reg = <0x00 0x8000000 0x0 0x100000>; |
| 37 | interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>; |
| 38 | dma-coherent; |
| 39 | |
| 40 | sec_jr0: jr@10000 { |
| 41 | compatible = "fsl,sec-v5.0-job-ring", |
| 42 | "fsl,sec-v4.0-job-ring"; |
| 43 | reg = <0x10000 0x10000>; |
| 44 | interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>; |
| 45 | }; |
| 46 | |
| 47 | sec_jr1: jr@20000 { |
| 48 | compatible = "fsl,sec-v5.0-job-ring", |
| 49 | "fsl,sec-v4.0-job-ring"; |
| 50 | reg = <0x20000 0x10000>; |
| 51 | interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>; |
| 52 | }; |
| 53 | |
| 54 | sec_jr2: jr@30000 { |
| 55 | compatible = "fsl,sec-v5.0-job-ring", |
| 56 | "fsl,sec-v4.0-job-ring"; |
| 57 | reg = <0x30000 0x10000>; |
| 58 | interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>; |
| 59 | }; |
| 60 | |
| 61 | sec_jr3: jr@40000 { |
| 62 | compatible = "fsl,sec-v5.0-job-ring", |
| 63 | "fsl,sec-v4.0-job-ring"; |
| 64 | reg = <0x40000 0x10000>; |
| 65 | interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>; |
| 66 | }; |
| 67 | }; |
| 68 | |
Priyanka Jain | ef76b2e | 2018-10-29 09:17:09 +0000 | [diff] [blame] | 69 | clockgen: clocking@1300000 { |
| 70 | compatible = "fsl,ls2080a-clockgen"; |
| 71 | reg = <0 0x1300000 0 0xa0000>; |
| 72 | #clock-cells = <2>; |
| 73 | clocks = <&sysclk>; |
| 74 | }; |
| 75 | |
| 76 | gic: interrupt-controller@6000000 { |
| 77 | compatible = "arm,gic-v3"; |
| 78 | reg = <0x0 0x06000000 0 0x10000>, /* GIC Dist */ |
| 79 | <0x0 0x06200000 0 0x100000>; /* GICR */ |
| 80 | #interrupt-cells = <3>; |
| 81 | interrupt-controller; |
| 82 | interrupts = <1 9 0x4>; |
| 83 | }; |
| 84 | |
| 85 | timer { |
| 86 | compatible = "arm,armv8-timer"; |
| 87 | interrupts = <1 13 0x8>, /* Physical Secure PPI, active-low */ |
| 88 | <1 14 0x8>, /* Physical NS PPI, active-low */ |
| 89 | <1 11 0x8>, /* Virtual PPI, active-low */ |
| 90 | <1 10 0x8>; /* Hypervisor PPI, active-low */ |
| 91 | }; |
| 92 | |
Kuldeep Singh | 6b61424 | 2019-11-06 16:38:01 +0530 | [diff] [blame] | 93 | fspi: flexspi@20c0000 { |
| 94 | compatible = "nxp,lx2160a-fspi"; |
| 95 | #address-cells = <1>; |
| 96 | #size-cells = <0>; |
| 97 | reg = <0x0 0x20c0000 0x0 0x10000>, |
| 98 | <0x0 0x20000000 0x0 0x10000000>; |
| 99 | reg-names = "fspi_base", "fspi_mmap"; |
| 100 | clocks = <&clockgen 4 3>, <&clockgen 4 3>; |
| 101 | clock-names = "fspi_en", "fspi"; |
| 102 | interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; |
| 103 | status = "disabled"; |
| 104 | }; |
| 105 | |
Chuanhua Han | 7e56fe1 | 2019-07-10 21:00:24 +0800 | [diff] [blame] | 106 | i2c0: i2c@2000000 { |
| 107 | compatible = "fsl,vf610-i2c"; |
| 108 | #address-cells = <1>; |
| 109 | #size-cells = <0>; |
| 110 | reg = <0x0 0x2000000 0x0 0x10000>; |
| 111 | interrupts = <0 34 4>; |
| 112 | scl-gpio = <&gpio2 15 0>; |
| 113 | status = "disabled"; |
| 114 | }; |
| 115 | |
| 116 | i2c1: i2c@2010000 { |
| 117 | compatible = "fsl,vf610-i2c"; |
| 118 | #address-cells = <1>; |
| 119 | #size-cells = <0>; |
| 120 | reg = <0x0 0x2010000 0x0 0x10000>; |
| 121 | interrupts = <0 34 4>; |
| 122 | status = "disabled"; |
| 123 | }; |
| 124 | |
| 125 | i2c2: i2c@2020000 { |
| 126 | compatible = "fsl,vf610-i2c"; |
| 127 | #address-cells = <1>; |
| 128 | #size-cells = <0>; |
| 129 | reg = <0x0 0x2020000 0x0 0x10000>; |
| 130 | interrupts = <0 35 4>; |
| 131 | status = "disabled"; |
| 132 | }; |
| 133 | |
| 134 | i2c3: i2c@2030000 { |
| 135 | compatible = "fsl,vf610-i2c"; |
| 136 | #address-cells = <1>; |
| 137 | #size-cells = <0>; |
| 138 | reg = <0x0 0x2030000 0x0 0x10000>; |
| 139 | interrupts = <0 35 4>; |
| 140 | status = "disabled"; |
| 141 | }; |
| 142 | |
| 143 | i2c4: i2c@2040000 { |
| 144 | compatible = "fsl,vf610-i2c"; |
| 145 | #address-cells = <1>; |
| 146 | #size-cells = <0>; |
| 147 | reg = <0x0 0x2040000 0x0 0x10000>; |
| 148 | interrupts = <0 74 4>; |
| 149 | scl-gpio = <&gpio2 16 0>; |
| 150 | status = "disabled"; |
| 151 | }; |
| 152 | |
| 153 | i2c5: i2c@2050000 { |
| 154 | compatible = "fsl,vf610-i2c"; |
| 155 | #address-cells = <1>; |
| 156 | #size-cells = <0>; |
| 157 | reg = <0x0 0x2050000 0x0 0x10000>; |
| 158 | interrupts = <0 74 4>; |
| 159 | status = "disabled"; |
| 160 | }; |
| 161 | |
| 162 | i2c6: i2c@2060000 { |
| 163 | compatible = "fsl,vf610-i2c"; |
| 164 | #address-cells = <1>; |
| 165 | #size-cells = <0>; |
| 166 | reg = <0x0 0x2060000 0x0 0x10000>; |
| 167 | interrupts = <0 75 4>; |
| 168 | status = "disabled"; |
| 169 | }; |
| 170 | |
| 171 | i2c7: i2c@2070000 { |
| 172 | compatible = "fsl,vf610-i2c"; |
| 173 | #address-cells = <1>; |
| 174 | #size-cells = <0>; |
| 175 | reg = <0x0 0x2070000 0x0 0x10000>; |
| 176 | interrupts = <0 75 4>; |
| 177 | status = "disabled"; |
| 178 | }; |
| 179 | |
Priyanka Jain | ef76b2e | 2018-10-29 09:17:09 +0000 | [diff] [blame] | 180 | uart0: serial@21c0000 { |
| 181 | compatible = "arm,pl011"; |
| 182 | reg = <0x0 0x21c0000 0x0 0x1000>; |
| 183 | clocks = <&clockgen 4 0>; |
Vabhav Sharma | 2b1ef4c | 2019-11-26 11:30:51 +0000 | [diff] [blame] | 184 | status = "disabled"; |
Priyanka Jain | ef76b2e | 2018-10-29 09:17:09 +0000 | [diff] [blame] | 185 | }; |
| 186 | |
| 187 | uart1: serial@21d0000 { |
| 188 | compatible = "arm,pl011"; |
| 189 | reg = <0x0 0x21d0000 0x0 0x1000>; |
| 190 | clocks = <&clockgen 4 0>; |
Vabhav Sharma | 2b1ef4c | 2019-11-26 11:30:51 +0000 | [diff] [blame] | 191 | status = "disabled"; |
Priyanka Jain | ef76b2e | 2018-10-29 09:17:09 +0000 | [diff] [blame] | 192 | }; |
| 193 | |
| 194 | uart2: serial@21e0000 { |
| 195 | compatible = "arm,pl011"; |
| 196 | reg = <0x0 0x21e0000 0x0 0x1000>; |
| 197 | clocks = <&clockgen 4 0>; |
| 198 | status = "disabled"; |
| 199 | }; |
| 200 | |
| 201 | uart3: serial@21f0000 { |
| 202 | compatible = "arm,pl011"; |
| 203 | reg = <0x0 0x21f0000 0x0 0x1000>; |
| 204 | clocks = <&clockgen 4 0>; |
| 205 | status = "disabled"; |
| 206 | }; |
| 207 | |
| 208 | dspi0: dspi@2100000 { |
| 209 | compatible = "fsl,vf610-dspi"; |
| 210 | #address-cells = <1>; |
| 211 | #size-cells = <0>; |
| 212 | reg = <0x0 0x2100000 0x0 0x10000>; |
| 213 | interrupts = <0 26 0x4>; /* Level high type */ |
Michael Walle | 2de392c | 2021-10-13 18:14:18 +0200 | [diff] [blame] | 214 | spi-num-chipselects = <6>; |
Priyanka Jain | ef76b2e | 2018-10-29 09:17:09 +0000 | [diff] [blame] | 215 | }; |
| 216 | |
| 217 | dspi1: dspi@2110000 { |
| 218 | compatible = "fsl,vf610-dspi"; |
| 219 | #address-cells = <1>; |
| 220 | #size-cells = <0>; |
| 221 | reg = <0x0 0x2110000 0x0 0x10000>; |
Priyanka Jain | fd45ca0 | 2018-11-28 13:04:27 +0000 | [diff] [blame] | 222 | interrupts = <0 26 0x4>; /* Level high type */ |
Michael Walle | 2de392c | 2021-10-13 18:14:18 +0200 | [diff] [blame] | 223 | spi-num-chipselects = <6>; |
Priyanka Jain | ef76b2e | 2018-10-29 09:17:09 +0000 | [diff] [blame] | 224 | }; |
| 225 | |
| 226 | dspi2: dspi@2120000 { |
| 227 | compatible = "fsl,vf610-dspi"; |
| 228 | #address-cells = <1>; |
| 229 | #size-cells = <0>; |
| 230 | reg = <0x0 0x2120000 0x0 0x10000>; |
| 231 | interrupts = <0 241 0x4>; /* Level high type */ |
Michael Walle | 2de392c | 2021-10-13 18:14:18 +0200 | [diff] [blame] | 232 | spi-num-chipselects = <6>; |
Priyanka Jain | ef76b2e | 2018-10-29 09:17:09 +0000 | [diff] [blame] | 233 | }; |
| 234 | |
hui.song | 1c501dc | 2020-09-10 17:28:30 +0800 | [diff] [blame] | 235 | gpio0: gpio@2300000 { |
| 236 | compatible = "fsl,qoriq-gpio"; |
| 237 | reg = <0x0 0x2300000 0x0 0x10000>; |
| 238 | interrupts = <0 36 4>; |
| 239 | gpio-controller; |
| 240 | little-endian; |
| 241 | #gpio-cells = <2>; |
| 242 | interrupt-controller; |
| 243 | #interrupt-cells = <2>; |
| 244 | }; |
| 245 | |
| 246 | gpio1: gpio@2310000 { |
| 247 | compatible = "fsl,qoriq-gpio"; |
| 248 | reg = <0x0 0x2310000 0x0 0x10000>; |
| 249 | interrupts = <0 36 4>; |
| 250 | gpio-controller; |
| 251 | little-endian; |
| 252 | #gpio-cells = <2>; |
| 253 | interrupt-controller; |
| 254 | #interrupt-cells = <2>; |
| 255 | }; |
| 256 | |
Chuanhua Han | 7e56fe1 | 2019-07-10 21:00:24 +0800 | [diff] [blame] | 257 | gpio2: gpio@2320000 { |
| 258 | compatible = "fsl,qoriq-gpio"; |
| 259 | reg = <0x0 0x2320000 0x0 0x10000>; |
| 260 | interrupts = <0 37 4>; |
| 261 | gpio-controller; |
| 262 | little-endian; |
| 263 | #gpio-cells = <2>; |
| 264 | interrupt-controller; |
| 265 | #interrupt-cells = <2>; |
| 266 | }; |
| 267 | |
hui.song | 1c501dc | 2020-09-10 17:28:30 +0800 | [diff] [blame] | 268 | gpio3: gpio@2330000 { |
| 269 | compatible = "fsl,qoriq-gpio"; |
| 270 | reg = <0x0 0x2330000 0x0 0x10000>; |
| 271 | interrupts = <0 37 4>; |
| 272 | gpio-controller; |
| 273 | little-endian; |
| 274 | #gpio-cells = <2>; |
| 275 | interrupt-controller; |
| 276 | #interrupt-cells = <2>; |
| 277 | }; |
| 278 | |
Zhao Qiang | 80e9b20 | 2020-07-10 16:55:19 +0800 | [diff] [blame] | 279 | watchdog@23a0000 { |
| 280 | compatible = "arm,sbsa-gwdt"; |
| 281 | reg = <0x0 0x23a0000 0 0x1000>, |
| 282 | <0x0 0x2390000 0 0x1000>; |
| 283 | timeout-sec = <30>; |
| 284 | }; |
| 285 | |
Priyanka Jain | ef76b2e | 2018-10-29 09:17:09 +0000 | [diff] [blame] | 286 | usb0: usb3@3100000 { |
| 287 | compatible = "fsl,layerscape-dwc3"; |
| 288 | reg = <0x0 0x3100000 0x0 0x10000>; |
| 289 | interrupts = <0 80 0x4>; /* Level high type */ |
| 290 | dr_mode = "host"; |
| 291 | }; |
| 292 | |
| 293 | usb1: usb3@3110000 { |
| 294 | compatible = "fsl,layerscape-dwc3"; |
| 295 | reg = <0x0 0x3110000 0x0 0x10000>; |
| 296 | interrupts = <0 81 0x4>; /* Level high type */ |
| 297 | dr_mode = "host"; |
| 298 | }; |
Priyanka Jain | fd45ca0 | 2018-11-28 13:04:27 +0000 | [diff] [blame] | 299 | |
| 300 | esdhc0: esdhc@2140000 { |
| 301 | compatible = "fsl,esdhc"; |
| 302 | reg = <0x0 0x2140000 0x0 0x10000>; |
| 303 | interrupts = <0 28 0x4>; /* Level high type */ |
| 304 | clocks = <&clockgen 4 1>; |
| 305 | voltage-ranges = <1800 1800 3300 3300>; |
| 306 | sdhci,auto-cmd12; |
| 307 | little-endian; |
| 308 | bus-width = <4>; |
| 309 | status = "disabled"; |
| 310 | }; |
| 311 | |
| 312 | esdhc1: esdhc@2150000 { |
| 313 | compatible = "fsl,esdhc"; |
| 314 | reg = <0x0 0x2150000 0x0 0x10000>; |
| 315 | interrupts = <0 63 0x4>; /* Level high type */ |
| 316 | clocks = <&clockgen 4 1>; |
| 317 | voltage-ranges = <1800 1800 3300 3300>; |
| 318 | sdhci,auto-cmd12; |
| 319 | non-removable; |
| 320 | little-endian; |
| 321 | bus-width = <4>; |
| 322 | status = "disabled"; |
| 323 | }; |
| 324 | |
| 325 | sata0: sata@3200000 { |
| 326 | compatible = "fsl,ls2080a-ahci"; |
| 327 | reg = <0x0 0x3200000 0x0 0x10000>; |
| 328 | interrupts = <0 133 4>; |
| 329 | clocks = <&clockgen 4 3>; |
| 330 | status = "disabled"; |
| 331 | |
| 332 | }; |
| 333 | |
| 334 | sata1: sata@3210000 { |
| 335 | compatible = "fsl,ls2080a-ahci"; |
| 336 | reg = <0x0 0x3210000 0x0 0x10000>; |
| 337 | interrupts = <0 136 4>; |
| 338 | clocks = <&clockgen 4 3>; |
| 339 | status = "disabled"; |
| 340 | |
| 341 | }; |
| 342 | |
| 343 | sata2: sata@3220000 { |
| 344 | compatible = "fsl,ls2080a-ahci"; |
| 345 | reg = <0x0 0x3220000 0x0 0x10000>; |
| 346 | interrupts = <0 97 4>; |
| 347 | clocks = <&clockgen 4 3>; |
| 348 | status = "disabled"; |
| 349 | |
| 350 | }; |
| 351 | |
| 352 | sata3: sata@3230000 { |
| 353 | compatible = "fsl,ls2080a-ahci"; |
| 354 | reg = <0x0 0x3230000 0x0 0x10000>; |
| 355 | interrupts = <0 100 4>; |
| 356 | clocks = <&clockgen 4 3>; |
| 357 | status = "disabled"; |
| 358 | |
| 359 | }; |
Hou Zhiqiang | 2980746 | 2019-04-08 10:15:58 +0000 | [diff] [blame] | 360 | |
Wasim Khan | 7cbebac | 2020-12-04 20:11:53 +0530 | [diff] [blame] | 361 | pcie1: pcie@3400000 { |
Hou Zhiqiang | 2980746 | 2019-04-08 10:15:58 +0000 | [diff] [blame] | 362 | compatible = "fsl,lx2160a-pcie"; |
| 363 | reg = <0x00 0x03400000 0x0 0x80000 /* PAB registers */ |
| 364 | 0x00 0x03480000 0x0 0x40000 /* LUT registers */ |
| 365 | 0x00 0x034c0000 0x0 0x40000 /* PF control registers */ |
Wasim Khan | 49001b4 | 2020-07-09 14:21:08 +0530 | [diff] [blame] | 366 | 0x80 0x00000000 0x0 0x2000>; /* configuration space */ |
Hou Zhiqiang | 2980746 | 2019-04-08 10:15:58 +0000 | [diff] [blame] | 367 | reg-names = "ccsr", "lut", "pf_ctrl", "config"; |
| 368 | #address-cells = <3>; |
| 369 | #size-cells = <2>; |
| 370 | device_type = "pci"; |
| 371 | bus-range = <0x0 0xff>; |
Wasim Khan | 4ee5eb8 | 2020-09-23 19:34:45 +0530 | [diff] [blame] | 372 | ranges = <0x81000000 0x0 0x00000000 0x80 0x00020000 0x0 0x00010000 /* downstream I/O */ |
| 373 | 0x82000000 0x0 0x40000000 0x80 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ |
Hou Zhiqiang | 2980746 | 2019-04-08 10:15:58 +0000 | [diff] [blame] | 374 | }; |
| 375 | |
Wasim Khan | 7cbebac | 2020-12-04 20:11:53 +0530 | [diff] [blame] | 376 | pcie2: pcie@3500000 { |
Hou Zhiqiang | 2980746 | 2019-04-08 10:15:58 +0000 | [diff] [blame] | 377 | compatible = "fsl,lx2160a-pcie"; |
| 378 | reg = <0x00 0x03500000 0x0 0x80000 /* PAB registers */ |
| 379 | 0x00 0x03580000 0x0 0x40000 /* LUT registers */ |
| 380 | 0x00 0x035c0000 0x0 0x40000 /* PF control registers */ |
Wasim Khan | 49001b4 | 2020-07-09 14:21:08 +0530 | [diff] [blame] | 381 | 0x88 0x00000000 0x0 0x2000>; /* configuration space */ |
Hou Zhiqiang | 2980746 | 2019-04-08 10:15:58 +0000 | [diff] [blame] | 382 | reg-names = "ccsr", "lut", "pf_ctrl", "config"; |
| 383 | #address-cells = <3>; |
| 384 | #size-cells = <2>; |
| 385 | device_type = "pci"; |
| 386 | num-lanes = <2>; |
| 387 | bus-range = <0x0 0xff>; |
Wasim Khan | 4ee5eb8 | 2020-09-23 19:34:45 +0530 | [diff] [blame] | 388 | ranges = <0x81000000 0x0 0x00000000 0x88 0x00020000 0x0 0x00010000 /* downstream I/O */ |
| 389 | 0x82000000 0x0 0x40000000 0x88 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ |
Hou Zhiqiang | 2980746 | 2019-04-08 10:15:58 +0000 | [diff] [blame] | 390 | }; |
| 391 | |
Wasim Khan | 7cbebac | 2020-12-04 20:11:53 +0530 | [diff] [blame] | 392 | pcie3: pcie@3600000 { |
Hou Zhiqiang | 2980746 | 2019-04-08 10:15:58 +0000 | [diff] [blame] | 393 | compatible = "fsl,lx2160a-pcie"; |
| 394 | reg = <0x00 0x03600000 0x0 0x80000 /* PAB registers */ |
| 395 | 0x00 0x03680000 0x0 0x40000 /* LUT registers */ |
| 396 | 0x00 0x036c0000 0x0 0x40000 /* PF control registers */ |
Wasim Khan | 49001b4 | 2020-07-09 14:21:08 +0530 | [diff] [blame] | 397 | 0x90 0x00000000 0x0 0x2000>; /* configuration space */ |
Hou Zhiqiang | 2980746 | 2019-04-08 10:15:58 +0000 | [diff] [blame] | 398 | reg-names = "ccsr", "lut", "pf_ctrl", "config"; |
| 399 | #address-cells = <3>; |
| 400 | #size-cells = <2>; |
| 401 | device_type = "pci"; |
| 402 | bus-range = <0x0 0xff>; |
Wasim Khan | 4ee5eb8 | 2020-09-23 19:34:45 +0530 | [diff] [blame] | 403 | ranges = <0x81000000 0x0 0x00000000 0x90 0x00020000 0x0 0x00010000 /* downstream I/O */ |
| 404 | 0x82000000 0x0 0x40000000 0x90 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ |
Hou Zhiqiang | 2980746 | 2019-04-08 10:15:58 +0000 | [diff] [blame] | 405 | }; |
| 406 | |
Wasim Khan | 7cbebac | 2020-12-04 20:11:53 +0530 | [diff] [blame] | 407 | pcie4: pcie@3700000 { |
Hou Zhiqiang | 2980746 | 2019-04-08 10:15:58 +0000 | [diff] [blame] | 408 | compatible = "fsl,lx2160a-pcie"; |
| 409 | reg = <0x00 0x03700000 0x0 0x80000 /* PAB registers */ |
| 410 | 0x00 0x03780000 0x0 0x40000 /* LUT registers */ |
| 411 | 0x00 0x037c0000 0x0 0x40000 /* PF control registers */ |
Wasim Khan | 49001b4 | 2020-07-09 14:21:08 +0530 | [diff] [blame] | 412 | 0x98 0x00000000 0x0 0x2000>; /* configuration space */ |
Hou Zhiqiang | 2980746 | 2019-04-08 10:15:58 +0000 | [diff] [blame] | 413 | reg-names = "ccsr", "lut", "pf_ctrl", "config"; |
| 414 | #address-cells = <3>; |
| 415 | #size-cells = <2>; |
| 416 | device_type = "pci"; |
| 417 | bus-range = <0x0 0xff>; |
Wasim Khan | 4ee5eb8 | 2020-09-23 19:34:45 +0530 | [diff] [blame] | 418 | ranges = <0x81000000 0x0 0x00000000 0x98 0x00020000 0x0 0x00010000 /* downstream I/O */ |
| 419 | 0x82000000 0x0 0x40000000 0x98 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ |
Hou Zhiqiang | 2980746 | 2019-04-08 10:15:58 +0000 | [diff] [blame] | 420 | }; |
| 421 | |
Wasim Khan | 7cbebac | 2020-12-04 20:11:53 +0530 | [diff] [blame] | 422 | pcie5: pcie@3800000 { |
Hou Zhiqiang | 2980746 | 2019-04-08 10:15:58 +0000 | [diff] [blame] | 423 | compatible = "fsl,lx2160a-pcie"; |
| 424 | reg = <0x00 0x03800000 0x0 0x80000 /* PAB registers */ |
| 425 | 0x00 0x03880000 0x0 0x40000 /* LUT registers */ |
| 426 | 0x00 0x038c0000 0x0 0x40000 /* PF control registers */ |
Wasim Khan | 49001b4 | 2020-07-09 14:21:08 +0530 | [diff] [blame] | 427 | 0xa0 0x00000000 0x0 0x2000>; /* configuration space */ |
Hou Zhiqiang | 2980746 | 2019-04-08 10:15:58 +0000 | [diff] [blame] | 428 | reg-names = "ccsr", "lut", "pf_ctrl", "config"; |
| 429 | #address-cells = <3>; |
| 430 | #size-cells = <2>; |
| 431 | device_type = "pci"; |
| 432 | bus-range = <0x0 0xff>; |
Wasim Khan | 4ee5eb8 | 2020-09-23 19:34:45 +0530 | [diff] [blame] | 433 | ranges = <0x81000000 0x0 0x00000000 0xa0 0x00020000 0x0 0x00010000 /* downstream I/O */ |
| 434 | 0x82000000 0x0 0x40000000 0xa0 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ |
Hou Zhiqiang | 2980746 | 2019-04-08 10:15:58 +0000 | [diff] [blame] | 435 | }; |
| 436 | |
Wasim Khan | 7cbebac | 2020-12-04 20:11:53 +0530 | [diff] [blame] | 437 | pcie6: pcie@3900000 { |
Hou Zhiqiang | 2980746 | 2019-04-08 10:15:58 +0000 | [diff] [blame] | 438 | compatible = "fsl,lx2160a-pcie"; |
| 439 | reg = <0x00 0x03900000 0x0 0x80000 /* PAB registers */ |
| 440 | 0x00 0x03980000 0x0 0x40000 /* LUT registers */ |
| 441 | 0x00 0x039c0000 0x0 0x40000 /* PF control registers */ |
Wasim Khan | 49001b4 | 2020-07-09 14:21:08 +0530 | [diff] [blame] | 442 | 0xa8 0x00000000 0x0 0x2000>; /* configuration space */ |
Hou Zhiqiang | 2980746 | 2019-04-08 10:15:58 +0000 | [diff] [blame] | 443 | reg-names = "ccsr", "lut", "pf_ctrl", "config"; |
| 444 | #address-cells = <3>; |
| 445 | #size-cells = <2>; |
| 446 | device_type = "pci"; |
| 447 | bus-range = <0x0 0xff>; |
Wasim Khan | 4ee5eb8 | 2020-09-23 19:34:45 +0530 | [diff] [blame] | 448 | ranges = <0x81000000 0x0 0x00000000 0xa8 0x00020000 0x0 0x00010000 /* downstream I/O */ |
| 449 | 0x82000000 0x0 0x40000000 0xa8 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ |
Hou Zhiqiang | 2980746 | 2019-04-08 10:15:58 +0000 | [diff] [blame] | 450 | }; |
Ioana Ciornei | ee6665e | 2020-03-18 16:47:41 +0200 | [diff] [blame] | 451 | |
Ioana Ciornei | bcf6a9d | 2020-03-18 16:47:44 +0200 | [diff] [blame] | 452 | fsl_mc: fsl-mc@80c000000 { |
| 453 | compatible = "fsl,qoriq-mc", "simple-mfd"; |
| 454 | reg = <0x00000008 0x0c000000 0 0x40>, |
| 455 | <0x00000000 0x08340000 0 0x40000>; |
| 456 | #address-cells = <3>; |
| 457 | #size-cells = <1>; |
| 458 | |
| 459 | /* |
| 460 | * Region type 0x0 - MC portals |
| 461 | * Region type 0x1 - QBMAN portals |
| 462 | */ |
| 463 | ranges = <0x0 0x0 0x0 0x8 0x0c000000 0x4000000 |
| 464 | 0x1 0x0 0x0 0x8 0x18000000 0x8000000>; |
| 465 | |
| 466 | dpmacs { |
| 467 | compatible = "simple-mfd"; |
| 468 | #address-cells = <1>; |
| 469 | #size-cells = <0>; |
| 470 | |
Ioana Ciornei | 8265fc5 | 2020-04-27 15:21:12 +0300 | [diff] [blame] | 471 | dpmac1: dpmac@1 { |
| 472 | compatible = "fsl,qoriq-mc-dpmac"; |
| 473 | reg = <0x1>; |
| 474 | status = "disabled"; |
| 475 | }; |
| 476 | |
| 477 | dpmac2: dpmac@2 { |
| 478 | compatible = "fsl,qoriq-mc-dpmac"; |
| 479 | reg = <0x2>; |
| 480 | status = "disabled"; |
| 481 | }; |
| 482 | |
Ioana Ciornei | bcf6a9d | 2020-03-18 16:47:44 +0200 | [diff] [blame] | 483 | dpmac3: dpmac@3 { |
| 484 | compatible = "fsl,qoriq-mc-dpmac"; |
| 485 | reg = <0x3>; |
| 486 | status = "disabled"; |
| 487 | }; |
| 488 | |
| 489 | dpmac4: dpmac@4 { |
| 490 | compatible = "fsl,qoriq-mc-dpmac"; |
| 491 | reg = <0x4>; |
| 492 | status = "disabled"; |
| 493 | }; |
| 494 | |
Ioana Ciornei | 8265fc5 | 2020-04-27 15:21:12 +0300 | [diff] [blame] | 495 | dpmac5: dpmac@5 { |
| 496 | compatible = "fsl,qoriq-mc-dpmac"; |
| 497 | reg = <0x5>; |
| 498 | status = "disabled"; |
| 499 | }; |
| 500 | |
| 501 | dpmac6: dpmac@6 { |
| 502 | compatible = "fsl,qoriq-mc-dpmac"; |
| 503 | reg = <0x6>; |
| 504 | status = "disabled"; |
| 505 | }; |
| 506 | |
| 507 | dpmac7: dpmac@7 { |
| 508 | compatible = "fsl,qoriq-mc-dpmac"; |
| 509 | reg = <0x7>; |
| 510 | status = "disabled"; |
| 511 | }; |
| 512 | |
| 513 | dpmac8: dpmac@8 { |
| 514 | compatible = "fsl,qoriq-mc-dpmac"; |
| 515 | reg = <0x8>; |
| 516 | status = "disabled"; |
| 517 | }; |
| 518 | |
| 519 | dpmac9: dpmac@9 { |
| 520 | compatible = "fsl,qoriq-mc-dpmac"; |
| 521 | reg = <0x9>; |
| 522 | status = "disabled"; |
| 523 | }; |
| 524 | |
| 525 | dpmac10: dpmac@a { |
| 526 | compatible = "fsl,qoriq-mc-dpmac"; |
| 527 | reg = <0xa>; |
| 528 | status = "disabled"; |
| 529 | }; |
| 530 | |
| 531 | dpmac11: dpmac@b { |
| 532 | compatible = "fsl,qoriq-mc-dpmac"; |
| 533 | reg = <0xb>; |
| 534 | status = "disabled"; |
| 535 | }; |
| 536 | |
| 537 | dpmac12: dpmac@c { |
| 538 | compatible = "fsl,qoriq-mc-dpmac"; |
| 539 | reg = <0xc>; |
| 540 | status = "disabled"; |
| 541 | }; |
| 542 | |
| 543 | dpmac13: dpmac@d { |
| 544 | compatible = "fsl,qoriq-mc-dpmac"; |
| 545 | reg = <0xd>; |
| 546 | status = "disabled"; |
| 547 | }; |
| 548 | |
| 549 | dpmac14: dpmac@e { |
| 550 | compatible = "fsl,qoriq-mc-dpmac"; |
| 551 | reg = <0xe>; |
| 552 | status = "disabled"; |
| 553 | }; |
| 554 | |
| 555 | dpmac15: dpmac@f { |
| 556 | compatible = "fsl,qoriq-mc-dpmac"; |
| 557 | reg = <0xf>; |
| 558 | status = "disabled"; |
| 559 | }; |
| 560 | |
| 561 | dpmac16: dpmac@10 { |
| 562 | compatible = "fsl,qoriq-mc-dpmac"; |
| 563 | reg = <0x10>; |
| 564 | status = "disabled"; |
| 565 | }; |
| 566 | |
Ioana Ciornei | bcf6a9d | 2020-03-18 16:47:44 +0200 | [diff] [blame] | 567 | dpmac17: dpmac@11 { |
| 568 | compatible = "fsl,qoriq-mc-dpmac"; |
| 569 | reg = <0x11>; |
| 570 | status = "disabled"; |
| 571 | }; |
| 572 | |
| 573 | dpmac18: dpmac@12 { |
| 574 | compatible = "fsl,qoriq-mc-dpmac"; |
| 575 | reg = <0x12>; |
| 576 | status = "disabled"; |
| 577 | }; |
| 578 | }; |
| 579 | }; |
| 580 | |
Ioana Ciornei | ee6665e | 2020-03-18 16:47:41 +0200 | [diff] [blame] | 581 | /* WRIOP0: 0x8b8_0000, E-MDIO1: 0x1_6000 */ |
| 582 | emdio1: mdio@8b96000 { |
| 583 | compatible = "fsl,ls-mdio"; |
| 584 | reg = <0x0 0x8b96000 0x0 0x1000>; |
| 585 | interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>; |
| 586 | #address-cells = <1>; |
| 587 | #size-cells = <0>; |
| 588 | status = "disabled"; |
| 589 | }; |
| 590 | |
| 591 | /* WRIOP0: 0x8b8_0000, E-MDIO2: 0x1_7000 */ |
| 592 | emdio2: mdio@8b97000 { |
| 593 | compatible = "fsl,ls-mdio"; |
| 594 | reg = <0x0 0x8b97000 0x0 0x1000>; |
| 595 | interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>; |
| 596 | #address-cells = <1>; |
| 597 | #size-cells = <0>; |
| 598 | status = "disabled"; |
| 599 | }; |
Ilias Apalodimas | 86fe6da | 2020-05-17 22:25:49 +0300 | [diff] [blame] | 600 | firmware { |
| 601 | optee { |
| 602 | compatible = "linaro,optee-tz"; |
| 603 | method = "smc"; |
| 604 | }; |
| 605 | }; |
Priyanka Jain | ef76b2e | 2018-10-29 09:17:09 +0000 | [diff] [blame] | 606 | }; |