Tom Rini | 8b0c8a1 | 2018-05-06 18:27:01 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR X11 |
Haikun Wang | 09d1cfb | 2015-06-26 19:48:36 +0800 | [diff] [blame] | 2 | /* |
Wasim Khan | 83800c3 | 2020-09-28 16:26:08 +0530 | [diff] [blame] | 3 | * NXP ls2080a SOC common device tree source |
Haikun Wang | 09d1cfb | 2015-06-26 19:48:36 +0800 | [diff] [blame] | 4 | * |
Biwen Li | 8703562 | 2021-02-05 19:01:54 +0800 | [diff] [blame] | 5 | * Copyright 2020-2021 NXP |
Haikun Wang | 09d1cfb | 2015-06-26 19:48:36 +0800 | [diff] [blame] | 6 | * Copyright 2013-2015 Freescale Semiconductor, Inc. |
Haikun Wang | 09d1cfb | 2015-06-26 19:48:36 +0800 | [diff] [blame] | 7 | */ |
| 8 | |
| 9 | / { |
Prabhakar Kushwaha | 122bcfd | 2015-11-09 16:42:07 +0530 | [diff] [blame] | 10 | compatible = "fsl,ls2080a"; |
Haikun Wang | 09d1cfb | 2015-06-26 19:48:36 +0800 | [diff] [blame] | 11 | interrupt-parent = <&gic>; |
| 12 | #address-cells = <2>; |
| 13 | #size-cells = <2>; |
| 14 | |
Haikun Wang | 09d1cfb | 2015-06-26 19:48:36 +0800 | [diff] [blame] | 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 | |
| 38 | serial0: serial@21c0500 { |
| 39 | device_type = "serial"; |
| 40 | compatible = "fsl,ns16550", "ns16550a"; |
| 41 | reg = <0x0 0x21c0500 0x0 0x100>; |
| 42 | clock-frequency = <0>; /* Updated by bootloader */ |
| 43 | interrupts = <0 32 0x1>; /* edge triggered */ |
| 44 | }; |
| 45 | |
| 46 | serial1: serial@21c0600 { |
| 47 | device_type = "serial"; |
| 48 | compatible = "fsl,ns16550", "ns16550a"; |
| 49 | reg = <0x0 0x21c0600 0x0 0x100>; |
| 50 | clock-frequency = <0>; /* Updated by bootloader */ |
| 51 | interrupts = <0 32 0x1>; /* edge triggered */ |
| 52 | }; |
| 53 | |
chuanhua han | 20fd96c | 2019-07-22 16:36:45 +0800 | [diff] [blame] | 54 | i2c0: i2c@2000000 { |
| 55 | status = "disabled"; |
| 56 | compatible = "fsl,vf610-i2c"; |
| 57 | #address-cells = <1>; |
| 58 | #size-cells = <0>; |
| 59 | reg = <0x0 0x2000000 0x0 0x10000>; |
| 60 | interrupts = <0 34 0x4>; /* Level high type */ |
| 61 | }; |
| 62 | |
| 63 | i2c1: i2c@2010000 { |
| 64 | status = "disabled"; |
| 65 | compatible = "fsl,vf610-i2c"; |
| 66 | #address-cells = <1>; |
| 67 | #size-cells = <0>; |
| 68 | reg = <0x0 0x2010000 0x0 0x10000>; |
| 69 | interrupts = <0 34 0x4>; /* Level high type */ |
| 70 | }; |
| 71 | |
| 72 | i2c2: i2c@2020000 { |
| 73 | status = "disabled"; |
| 74 | compatible = "fsl,vf610-i2c"; |
| 75 | #address-cells = <1>; |
| 76 | #size-cells = <0>; |
| 77 | reg = <0x0 0x2020000 0x0 0x10000>; |
| 78 | interrupts = <0 35 0x4>; /* Level high type */ |
| 79 | }; |
| 80 | |
| 81 | i2c3: i2c@2030000 { |
| 82 | status = "disabled"; |
| 83 | compatible = "fsl,vf610-i2c"; |
| 84 | #address-cells = <1>; |
| 85 | #size-cells = <0>; |
| 86 | reg = <0x0 0x2030000 0x0 0x10000>; |
| 87 | interrupts = <0 35 0x4>; /* Level high type */ |
| 88 | }; |
| 89 | |
Haikun Wang | 4d513af | 2015-06-26 19:48:45 +0800 | [diff] [blame] | 90 | dspi: dspi@2100000 { |
| 91 | compatible = "fsl,vf610-dspi"; |
| 92 | #address-cells = <1>; |
| 93 | #size-cells = <0>; |
| 94 | reg = <0x0 0x2100000 0x0 0x10000>; |
| 95 | interrupts = <0 26 0x4>; /* Level high type */ |
| 96 | num-cs = <6>; |
| 97 | }; |
Yuan Yao | b42bbc2 | 2016-06-08 18:24:56 +0800 | [diff] [blame] | 98 | |
| 99 | qspi: quadspi@1550000 { |
Kuldeep Singh | 4c38087 | 2019-12-12 11:49:24 +0530 | [diff] [blame] | 100 | compatible = "fsl,ls2080a-qspi"; |
Yuan Yao | b42bbc2 | 2016-06-08 18:24:56 +0800 | [diff] [blame] | 101 | #address-cells = <1>; |
| 102 | #size-cells = <0>; |
| 103 | reg = <0x0 0x20c0000 0x0 0x10000>, |
| 104 | <0x0 0x20000000 0x0 0x10000000>; |
| 105 | reg-names = "QuadSPI", "QuadSPI-memory"; |
Kuldeep Singh | 4c38087 | 2019-12-12 11:49:24 +0530 | [diff] [blame] | 106 | status = "disabled"; |
Yuan Yao | b42bbc2 | 2016-06-08 18:24:56 +0800 | [diff] [blame] | 107 | }; |
Sriram Dash | 66e6ed7 | 2016-10-07 14:07:36 +0530 | [diff] [blame] | 108 | |
Yinbo Zhu | e1be104 | 2018-09-25 14:47:08 +0800 | [diff] [blame] | 109 | esdhc: esdhc@0 { |
| 110 | compatible = "fsl,esdhc"; |
| 111 | reg = <0x0 0x2140000 0x0 0x10000>; |
| 112 | interrupts = <0 28 0x4>; /* Level high type */ |
| 113 | little-endian; |
| 114 | bus-width = <4>; |
| 115 | }; |
| 116 | |
Biwen Li | 8703562 | 2021-02-05 19:01:54 +0800 | [diff] [blame] | 117 | gpio0: gpio@2300000 { |
| 118 | compatible = "fsl,ls2080a-gpio", "fsl,qoriq-gpio"; |
| 119 | reg = <0x0 0x2300000 0x0 0x10000>; |
| 120 | interrupts = <0 36 0x4>; /* Level high type */ |
| 121 | gpio-controller; |
| 122 | little-endian; |
| 123 | #gpio-cells = <2>; |
| 124 | interrupt-controller; |
| 125 | #interrupt-cells = <2>; |
| 126 | }; |
| 127 | |
| 128 | gpio1: gpio@2310000 { |
| 129 | compatible = "fsl,ls2080a-gpio", "fsl,qoriq-gpio"; |
| 130 | reg = <0x0 0x2310000 0x0 0x10000>; |
| 131 | interrupts = <0 36 0x4>; /* Level high type */ |
| 132 | gpio-controller; |
| 133 | little-endian; |
| 134 | #gpio-cells = <2>; |
| 135 | interrupt-controller; |
| 136 | #interrupt-cells = <2>; |
| 137 | }; |
| 138 | |
| 139 | gpio2: gpio@2320000 { |
| 140 | compatible = "fsl,ls2080a-gpio", "fsl,qoriq-gpio"; |
| 141 | reg = <0x0 0x2320000 0x0 0x10000>; |
| 142 | interrupts = <0 37 0x4>; /* Level high type */ |
| 143 | gpio-controller; |
| 144 | little-endian; |
| 145 | #gpio-cells = <2>; |
| 146 | interrupt-controller; |
| 147 | #interrupt-cells = <2>; |
| 148 | }; |
| 149 | |
| 150 | gpio3: gpio@2330000 { |
| 151 | compatible = "fsl,ls2080a-gpio", "fsl,qoriq-gpio"; |
| 152 | reg = <0x0 0x2330000 0x0 0x10000>; |
| 153 | interrupts = <0 37 0x4>; /* Level high type */ |
| 154 | gpio-controller; |
| 155 | little-endian; |
| 156 | #gpio-cells = <2>; |
| 157 | interrupt-controller; |
| 158 | #interrupt-cells = <2>; |
| 159 | }; |
| 160 | |
Sriram Dash | 66e6ed7 | 2016-10-07 14:07:36 +0530 | [diff] [blame] | 161 | usb0: usb3@3100000 { |
| 162 | compatible = "fsl,layerscape-dwc3"; |
| 163 | reg = <0x0 0x3100000 0x0 0x10000>; |
| 164 | interrupts = <0 80 0x4>; /* Level high type */ |
| 165 | dr_mode = "host"; |
| 166 | }; |
| 167 | |
| 168 | usb1: usb3@3110000 { |
| 169 | compatible = "fsl,layerscape-dwc3"; |
| 170 | reg = <0x0 0x3110000 0x0 0x10000>; |
| 171 | interrupts = <0 81 0x4>; /* Level high type */ |
| 172 | dr_mode = "host"; |
| 173 | }; |
Minghuan Lian | e20065d | 2016-12-13 14:54:15 +0800 | [diff] [blame] | 174 | |
Wasim Khan | 83800c3 | 2020-09-28 16:26:08 +0530 | [diff] [blame] | 175 | pcie1: pcie@3400000 { |
Minghuan Lian | e20065d | 2016-12-13 14:54:15 +0800 | [diff] [blame] | 176 | compatible = "fsl,ls-pcie", "snps,dw-pcie"; |
| 177 | reg = <0x00 0x03400000 0x0 0x80000 /* dbi registers */ |
| 178 | 0x00 0x03480000 0x0 0x80000 /* lut registers */ |
| 179 | 0x10 0x00000000 0x0 0x20000>; /* configuration space */ |
| 180 | reg-names = "dbi", "lut", "config"; |
| 181 | #address-cells = <3>; |
| 182 | #size-cells = <2>; |
| 183 | device_type = "pci"; |
| 184 | num-lanes = <4>; |
| 185 | bus-range = <0x0 0xff>; |
| 186 | ranges = <0x81000000 0x0 0x00000000 0x10 0x00020000 0x0 0x00010000 /* downstream I/O */ |
| 187 | 0x82000000 0x0 0x40000000 0x10 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ |
| 188 | }; |
| 189 | |
Wasim Khan | 83800c3 | 2020-09-28 16:26:08 +0530 | [diff] [blame] | 190 | pcie2: pcie@3500000 { |
Minghuan Lian | e20065d | 2016-12-13 14:54:15 +0800 | [diff] [blame] | 191 | compatible = "fsl,ls-pcie", "snps,dw-pcie"; |
| 192 | reg = <0x00 0x03500000 0x0 0x80000 /* dbi registers */ |
| 193 | 0x00 0x03580000 0x0 0x80000 /* lut registers */ |
| 194 | 0x12 0x00000000 0x0 0x20000>; /* configuration space */ |
| 195 | reg-names = "dbi", "lut", "config"; |
| 196 | #address-cells = <3>; |
| 197 | #size-cells = <2>; |
| 198 | device_type = "pci"; |
| 199 | num-lanes = <4>; |
| 200 | bus-range = <0x0 0xff>; |
| 201 | ranges = <0x81000000 0x0 0x00000000 0x12 0x00020000 0x0 0x00010000 /* downstream I/O */ |
| 202 | 0x82000000 0x0 0x40000000 0x12 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ |
| 203 | }; |
| 204 | |
Wasim Khan | 83800c3 | 2020-09-28 16:26:08 +0530 | [diff] [blame] | 205 | pcie3: pcie@3600000 { |
Minghuan Lian | e20065d | 2016-12-13 14:54:15 +0800 | [diff] [blame] | 206 | compatible = "fsl,ls-pcie", "snps,dw-pcie"; |
| 207 | reg = <0x00 0x03600000 0x0 0x80000 /* dbi registers */ |
| 208 | 0x00 0x03680000 0x0 0x80000 /* lut registers */ |
| 209 | 0x14 0x00000000 0x0 0x20000>; /* configuration space */ |
| 210 | reg-names = "dbi", "lut", "config"; |
| 211 | #address-cells = <3>; |
| 212 | #size-cells = <2>; |
| 213 | device_type = "pci"; |
| 214 | num-lanes = <8>; |
| 215 | bus-range = <0x0 0xff>; |
| 216 | ranges = <0x81000000 0x0 0x00000000 0x14 0x00020000 0x0 0x00010000 /* downstream I/O */ |
| 217 | 0x82000000 0x0 0x40000000 0x14 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ |
| 218 | }; |
| 219 | |
Wasim Khan | 83800c3 | 2020-09-28 16:26:08 +0530 | [diff] [blame] | 220 | pcie4: pcie@3700000 { |
Minghuan Lian | e20065d | 2016-12-13 14:54:15 +0800 | [diff] [blame] | 221 | compatible = "fsl,ls-pcie", "snps,dw-pcie"; |
| 222 | reg = <0x00 0x03700000 0x0 0x80000 /* dbi registers */ |
| 223 | 0x00 0x03780000 0x0 0x80000 /* lut registers */ |
| 224 | 0x16 0x00000000 0x0 0x20000>; /* configuration space */ |
| 225 | reg-names = "dbi", "lut", "config"; |
| 226 | #address-cells = <3>; |
| 227 | #size-cells = <2>; |
| 228 | device_type = "pci"; |
| 229 | num-lanes = <4>; |
| 230 | bus-range = <0x0 0xff>; |
| 231 | ranges = <0x81000000 0x0 0x00000000 0x16 0x00020000 0x0 0x00010000 /* downstream I/O */ |
| 232 | 0x82000000 0x0 0x40000000 0x16 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ |
| 233 | }; |
Peng Ma | 520d49a | 2018-10-22 10:43:21 +0800 | [diff] [blame] | 234 | |
| 235 | sata: sata@3200000 { |
| 236 | compatible = "fsl,ls2080a-ahci"; |
| 237 | reg = <0x0 0x3200000 0x0 0x10000>; |
| 238 | interrupts = <0 133 0x4>; /* Level high type */ |
| 239 | status = "disabled"; |
| 240 | }; |
| 241 | |
Ioana Ciornei | cdc42a3 | 2020-03-18 16:47:45 +0200 | [diff] [blame] | 242 | fsl_mc: fsl-mc@80c000000 { |
| 243 | compatible = "fsl,qoriq-mc", "simple-mfd"; |
| 244 | reg = <0x00000008 0x0c000000 0 0x40>, /* MC portal base */ |
| 245 | <0x00000000 0x08340000 0 0x40000>; /* MC control reg */ |
| 246 | #address-cells = <3>; |
| 247 | #size-cells = <1>; |
| 248 | |
| 249 | /* |
| 250 | * Region type 0x0 - MC portals |
| 251 | * Region type 0x1 - QBMAN portals |
| 252 | */ |
| 253 | ranges = <0x0 0x0 0x0 0x8 0x0c000000 0x4000000 |
| 254 | 0x1 0x0 0x0 0x8 0x18000000 0x8000000>; |
| 255 | |
| 256 | dpmacs { |
| 257 | compatible = "simple-mfd"; |
| 258 | #address-cells = <1>; |
| 259 | #size-cells = <0>; |
| 260 | |
| 261 | dpmac1: dpmac@1 { |
| 262 | compatible = "fsl,qoriq-mc-dpmac"; |
| 263 | reg = <0x1>; |
| 264 | status = "disabled"; |
| 265 | }; |
| 266 | |
| 267 | dpmac2: dpmac@2 { |
| 268 | compatible = "fsl,qoriq-mc-dpmac"; |
| 269 | reg = <0x2>; |
| 270 | status = "disabled"; |
| 271 | }; |
| 272 | |
| 273 | dpmac3: dpmac@3 { |
| 274 | compatible = "fsl,qoriq-mc-dpmac"; |
| 275 | reg = <0x3>; |
| 276 | status = "disabled"; |
| 277 | }; |
| 278 | |
| 279 | dpmac4: dpmac@4 { |
| 280 | compatible = "fsl,qoriq-mc-dpmac"; |
| 281 | reg = <0x4>; |
| 282 | status = "disabled"; |
| 283 | }; |
| 284 | |
| 285 | dpmac5: dpmac@5 { |
| 286 | compatible = "fsl,qoriq-mc-dpmac"; |
| 287 | reg = <0x5>; |
| 288 | status = "disabled"; |
| 289 | }; |
| 290 | |
| 291 | dpmac6: dpmac@6 { |
| 292 | compatible = "fsl,qoriq-mc-dpmac"; |
| 293 | reg = <0x6>; |
| 294 | status = "disabled"; |
| 295 | }; |
| 296 | |
| 297 | dpmac7: dpmac@7 { |
| 298 | compatible = "fsl,qoriq-mc-dpmac"; |
| 299 | reg = <0x7>; |
| 300 | status = "disabled"; |
| 301 | }; |
| 302 | |
| 303 | dpmac8: dpmac@8 { |
| 304 | compatible = "fsl,qoriq-mc-dpmac"; |
| 305 | reg = <0x8>; |
| 306 | status = "disabled"; |
| 307 | }; |
| 308 | }; |
| 309 | }; |
| 310 | |
Ioana Ciornei | 0546389 | 2020-03-18 16:47:42 +0200 | [diff] [blame] | 311 | emdio1: mdio@8B96000 { |
| 312 | compatible = "fsl,ls-mdio"; |
| 313 | reg = <0x0 0x8B96000 0x0 0x1000>; |
| 314 | #address-cells = <1>; |
| 315 | #size-cells = <0>; |
| 316 | status = "disabled"; |
| 317 | }; |
| 318 | |
| 319 | emdio2: mdio@8B97000 { |
| 320 | compatible = "fsl,ls-mdio"; |
| 321 | reg = <0x0 0x8B97000 0x0 0x1000>; |
| 322 | #address-cells = <1>; |
| 323 | #size-cells = <0>; |
| 324 | status = "disabled"; |
| 325 | }; |
Haikun Wang | 09d1cfb | 2015-06-26 19:48:36 +0800 | [diff] [blame] | 326 | }; |