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