Tom Rini | 8b0c8a1 | 2018-05-06 18:27:01 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR X11 |
Mingkai Hu | d239651 | 2016-09-07 18:47:28 +0800 | [diff] [blame] | 2 | /* |
| 3 | * Device Tree Include file for Freescale Layerscape-1046A family SoC. |
| 4 | * |
| 5 | * Copyright (C) 2016, Freescale Semiconductor |
| 6 | * |
| 7 | * Mingkai Hu <mingkai.hu@nxp.com> |
Mingkai Hu | d239651 | 2016-09-07 18:47:28 +0800 | [diff] [blame] | 8 | */ |
| 9 | |
| 10 | /include/ "skeleton64.dtsi" |
| 11 | |
| 12 | / { |
| 13 | compatible = "fsl,ls1046a"; |
| 14 | interrupt-parent = <&gic>; |
| 15 | |
| 16 | sysclk: sysclk { |
| 17 | compatible = "fixed-clock"; |
| 18 | #clock-cells = <0>; |
| 19 | clock-frequency = <100000000>; |
| 20 | clock-output-names = "sysclk"; |
| 21 | }; |
| 22 | |
| 23 | gic: interrupt-controller@1400000 { |
| 24 | compatible = "arm,gic-400"; |
| 25 | #interrupt-cells = <3>; |
| 26 | interrupt-controller; |
| 27 | reg = <0x0 0x1410000 0 0x10000>, /* GICD */ |
| 28 | <0x0 0x1420000 0 0x10000>, /* GICC */ |
| 29 | <0x0 0x1440000 0 0x20000>, /* GICH */ |
| 30 | <0x0 0x1460000 0 0x20000>; /* GICV */ |
| 31 | interrupts = <1 9 0xf08>; |
| 32 | }; |
| 33 | |
Madalin Bucur | 2297a29 | 2020-04-23 16:25:15 +0300 | [diff] [blame] | 34 | soc: soc { |
Mingkai Hu | d239651 | 2016-09-07 18:47:28 +0800 | [diff] [blame] | 35 | compatible = "simple-bus"; |
| 36 | #address-cells = <2>; |
| 37 | #size-cells = <2>; |
| 38 | ranges; |
| 39 | |
| 40 | clockgen: clocking@1ee1000 { |
| 41 | compatible = "fsl,ls1046a-clockgen"; |
| 42 | reg = <0x0 0x1ee1000 0x0 0x1000>; |
| 43 | #clock-cells = <2>; |
| 44 | clocks = <&sysclk>; |
| 45 | }; |
| 46 | |
| 47 | dspi0: dspi@2100000 { |
| 48 | compatible = "fsl,vf610-dspi"; |
| 49 | #address-cells = <1>; |
| 50 | #size-cells = <0>; |
| 51 | reg = <0x0 0x2100000 0x0 0x10000>; |
| 52 | interrupts = <0 64 0x4>; |
| 53 | clock-names = "dspi"; |
| 54 | clocks = <&clockgen 4 0>; |
| 55 | num-cs = <6>; |
| 56 | big-endian; |
| 57 | status = "disabled"; |
| 58 | }; |
| 59 | |
| 60 | dspi1: dspi@2110000 { |
| 61 | compatible = "fsl,vf610-dspi"; |
| 62 | #address-cells = <1>; |
| 63 | #size-cells = <0>; |
| 64 | reg = <0x0 0x2110000 0x0 0x10000>; |
| 65 | interrupts = <0 65 0x4>; |
| 66 | clock-names = "dspi"; |
| 67 | clocks = <&clockgen 4 0>; |
| 68 | num-cs = <6>; |
| 69 | big-endian; |
| 70 | status = "disabled"; |
| 71 | }; |
| 72 | |
Yinbo Zhu | 5969ae5 | 2018-09-25 14:47:11 +0800 | [diff] [blame] | 73 | esdhc: esdhc@1560000 { |
| 74 | compatible = "fsl,esdhc"; |
| 75 | reg = <0x0 0x1560000 0x0 0x10000>; |
| 76 | interrupts = <0 62 0x4>; |
| 77 | big-endian; |
| 78 | bus-width = <4>; |
| 79 | }; |
| 80 | |
Mingkai Hu | d239651 | 2016-09-07 18:47:28 +0800 | [diff] [blame] | 81 | ifc: ifc@1530000 { |
| 82 | compatible = "fsl,ifc", "simple-bus"; |
| 83 | reg = <0x0 0x1530000 0x0 0x10000>; |
| 84 | interrupts = <0 43 0x4>; |
| 85 | }; |
| 86 | |
| 87 | i2c0: i2c@2180000 { |
| 88 | compatible = "fsl,vf610-i2c"; |
| 89 | #address-cells = <1>; |
| 90 | #size-cells = <0>; |
| 91 | reg = <0x0 0x2180000 0x0 0x10000>; |
| 92 | interrupts = <0 56 0x4>; |
| 93 | clock-names = "i2c"; |
| 94 | clocks = <&clockgen 4 0>; |
| 95 | status = "disabled"; |
| 96 | }; |
| 97 | |
| 98 | i2c1: i2c@2190000 { |
| 99 | compatible = "fsl,vf610-i2c"; |
| 100 | #address-cells = <1>; |
| 101 | #size-cells = <0>; |
| 102 | reg = <0x0 0x2190000 0x0 0x10000>; |
| 103 | interrupts = <0 57 0x4>; |
| 104 | clock-names = "i2c"; |
| 105 | clocks = <&clockgen 4 0>; |
| 106 | status = "disabled"; |
| 107 | }; |
| 108 | |
| 109 | i2c2: i2c@21a0000 { |
| 110 | compatible = "fsl,vf610-i2c"; |
| 111 | #address-cells = <1>; |
| 112 | #size-cells = <0>; |
| 113 | reg = <0x0 0x21a0000 0x0 0x10000>; |
| 114 | interrupts = <0 58 0x4>; |
| 115 | clock-names = "i2c"; |
| 116 | clocks = <&clockgen 4 0>; |
| 117 | status = "disabled"; |
| 118 | }; |
| 119 | |
| 120 | i2c3: i2c@21b0000 { |
| 121 | compatible = "fsl,vf610-i2c"; |
| 122 | #address-cells = <1>; |
| 123 | #size-cells = <0>; |
| 124 | reg = <0x0 0x21b0000 0x0 0x10000>; |
| 125 | interrupts = <0 59 0x4>; |
| 126 | clock-names = "i2c"; |
| 127 | clocks = <&clockgen 4 0>; |
| 128 | status = "disabled"; |
| 129 | }; |
| 130 | |
| 131 | duart0: serial@21c0500 { |
| 132 | compatible = "fsl,ns16550", "ns16550a"; |
| 133 | reg = <0x00 0x21c0500 0x0 0x100>; |
| 134 | interrupts = <0 54 0x4>; |
| 135 | clocks = <&clockgen 4 0>; |
| 136 | }; |
| 137 | |
| 138 | duart1: serial@21c0600 { |
| 139 | compatible = "fsl,ns16550", "ns16550a"; |
| 140 | reg = <0x00 0x21c0600 0x0 0x100>; |
| 141 | interrupts = <0 54 0x4>; |
| 142 | clocks = <&clockgen 4 0>; |
| 143 | }; |
| 144 | |
| 145 | duart2: serial@21d0500 { |
| 146 | compatible = "fsl,ns16550", "ns16550a"; |
| 147 | reg = <0x0 0x21d0500 0x0 0x100>; |
| 148 | interrupts = <0 55 0x4>; |
| 149 | clocks = <&clockgen 4 0>; |
| 150 | }; |
| 151 | |
| 152 | duart3: serial@21d0600 { |
| 153 | compatible = "fsl,ns16550", "ns16550a"; |
| 154 | reg = <0x0 0x21d0600 0x0 0x100>; |
| 155 | interrupts = <0 55 0x4>; |
| 156 | clocks = <&clockgen 4 0>; |
| 157 | }; |
| 158 | |
Shaohui Xie | 56007a0 | 2016-10-28 14:24:02 +0800 | [diff] [blame] | 159 | lpuart0: serial@2950000 { |
| 160 | compatible = "fsl,ls1021a-lpuart"; |
| 161 | reg = <0x0 0x2950000 0x0 0x1000>; |
| 162 | interrupts = <0 48 0x4>; |
| 163 | clocks = <&clockgen 4 0>; |
| 164 | clock-names = "ipg"; |
| 165 | status = "disabled"; |
| 166 | }; |
| 167 | |
| 168 | lpuart1: serial@2960000 { |
| 169 | compatible = "fsl,ls1021a-lpuart"; |
| 170 | reg = <0x0 0x2960000 0x0 0x1000>; |
| 171 | interrupts = <0 49 0x4>; |
| 172 | clocks = <&clockgen 4 1>; |
| 173 | clock-names = "ipg"; |
| 174 | status = "disabled"; |
| 175 | }; |
| 176 | |
| 177 | lpuart2: serial@2970000 { |
| 178 | compatible = "fsl,ls1021a-lpuart"; |
| 179 | reg = <0x0 0x2970000 0x0 0x1000>; |
| 180 | interrupts = <0 50 0x4>; |
| 181 | clocks = <&clockgen 4 1>; |
| 182 | clock-names = "ipg"; |
| 183 | status = "disabled"; |
| 184 | }; |
| 185 | |
| 186 | lpuart3: serial@2980000 { |
| 187 | compatible = "fsl,ls1021a-lpuart"; |
| 188 | reg = <0x0 0x2980000 0x0 0x1000>; |
| 189 | interrupts = <0 51 0x4>; |
| 190 | clocks = <&clockgen 4 1>; |
| 191 | clock-names = "ipg"; |
| 192 | status = "disabled"; |
| 193 | }; |
| 194 | |
| 195 | lpuart4: serial@2990000 { |
| 196 | compatible = "fsl,ls1021a-lpuart"; |
| 197 | reg = <0x0 0x2990000 0x0 0x1000>; |
| 198 | interrupts = <0 52 0x4>; |
| 199 | clocks = <&clockgen 4 1>; |
| 200 | clock-names = "ipg"; |
| 201 | status = "disabled"; |
| 202 | }; |
| 203 | |
| 204 | lpuart5: serial@29a0000 { |
| 205 | compatible = "fsl,ls1021a-lpuart"; |
| 206 | reg = <0x0 0x29a0000 0x0 0x1000>; |
| 207 | interrupts = <0 53 0x4>; |
| 208 | clocks = <&clockgen 4 1>; |
| 209 | clock-names = "ipg"; |
| 210 | status = "disabled"; |
| 211 | }; |
| 212 | |
Mingkai Hu | d239651 | 2016-09-07 18:47:28 +0800 | [diff] [blame] | 213 | qspi: quadspi@1550000 { |
Kuldeep Singh | 4c38087 | 2019-12-12 11:49:24 +0530 | [diff] [blame] | 214 | compatible = "fsl,ls1021a-qspi"; |
Mingkai Hu | d239651 | 2016-09-07 18:47:28 +0800 | [diff] [blame] | 215 | #address-cells = <1>; |
| 216 | #size-cells = <0>; |
| 217 | reg = <0x0 0x1550000 0x0 0x10000>, |
| 218 | <0x0 0x40000000 0x0 0x10000000>; |
| 219 | reg-names = "QuadSPI", "QuadSPI-memory"; |
Mingkai Hu | d239651 | 2016-09-07 18:47:28 +0800 | [diff] [blame] | 220 | status = "disabled"; |
| 221 | }; |
Minghuan Lian | 720d845 | 2016-12-13 14:54:14 +0800 | [diff] [blame] | 222 | |
Tang Yuantian | 955adaf | 2017-01-20 17:12:48 +0800 | [diff] [blame] | 223 | usb0: usb@2f00000 { |
| 224 | compatible = "fsl,layerscape-dwc3"; |
| 225 | reg = <0x0 0x2f00000 0x0 0x10000>; |
| 226 | interrupts = <0 60 4>; |
| 227 | dr_mode = "host"; |
| 228 | }; |
| 229 | |
| 230 | usb1: usb@3000000 { |
| 231 | compatible = "fsl,layerscape-dwc3"; |
| 232 | reg = <0x0 0x3000000 0x0 0x10000>; |
| 233 | interrupts = <0 61 4>; |
| 234 | dr_mode = "host"; |
| 235 | }; |
| 236 | |
| 237 | usb2: usb@3100000 { |
| 238 | compatible = "fsl,layerscape-dwc3"; |
| 239 | reg = <0x0 0x3100000 0x0 0x10000>; |
| 240 | interrupts = <0 63 4>; |
| 241 | dr_mode = "host"; |
| 242 | }; |
| 243 | |
Wasim Khan | 57643d0 | 2020-09-28 16:26:07 +0530 | [diff] [blame] | 244 | pcie1: pcie@3400000 { |
Minghuan Lian | 720d845 | 2016-12-13 14:54:14 +0800 | [diff] [blame] | 245 | compatible = "fsl,ls-pcie", "snps,dw-pcie"; |
| 246 | reg = <0x00 0x03400000 0x0 0x80000 /* dbi registers */ |
| 247 | 0x00 0x03480000 0x0 0x40000 /* lut registers */ |
| 248 | 0x00 0x034c0000 0x0 0x40000 /* pf controls registers */ |
| 249 | 0x40 0x00000000 0x0 0x20000>; /* configuration space */ |
| 250 | reg-names = "dbi", "lut", "ctrl", "config"; |
| 251 | big-endian; |
| 252 | #address-cells = <3>; |
| 253 | #size-cells = <2>; |
| 254 | device_type = "pci"; |
| 255 | bus-range = <0x0 0xff>; |
| 256 | ranges = <0x81000000 0x0 0x00000000 0x40 0x00020000 0x0 0x00010000 /* downstream I/O */ |
| 257 | 0x82000000 0x0 0x40000000 0x40 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ |
| 258 | }; |
| 259 | |
Wasim Khan | 57643d0 | 2020-09-28 16:26:07 +0530 | [diff] [blame] | 260 | pcie_ep1: pcie_ep@3400000 { |
Xiaowei Bao | 925a2b5 | 2020-07-09 23:31:35 +0800 | [diff] [blame] | 261 | compatible = "fsl,ls-pcie-ep"; |
| 262 | reg = <0x00 0x03400000 0x0 0x80000 |
| 263 | 0x00 0x034c0000 0x0 0x40000 |
| 264 | 0x40 0x00000000 0x8 0x00000000>; |
| 265 | reg-names = "regs", "ctrl", "addr_space"; |
| 266 | num-ib-windows = <6>; |
| 267 | num-ob-windows = <8>; |
| 268 | big-endian; |
| 269 | }; |
| 270 | |
Wasim Khan | 57643d0 | 2020-09-28 16:26:07 +0530 | [diff] [blame] | 271 | pcie2: pcie@3500000 { |
Minghuan Lian | 720d845 | 2016-12-13 14:54:14 +0800 | [diff] [blame] | 272 | compatible = "fsl,ls-pcie", "snps,dw-pcie"; |
| 273 | reg = <0x00 0x03500000 0x0 0x80000 /* dbi registers */ |
| 274 | 0x00 0x03580000 0x0 0x40000 /* lut registers */ |
| 275 | 0x00 0x035c0000 0x0 0x40000 /* pf controls registers */ |
| 276 | 0x48 0x00000000 0x0 0x20000>; /* configuration space */ |
| 277 | reg-names = "dbi", "lut", "ctrl", "config"; |
| 278 | big-endian; |
| 279 | #address-cells = <3>; |
| 280 | #size-cells = <2>; |
| 281 | device_type = "pci"; |
| 282 | num-lanes = <2>; |
| 283 | bus-range = <0x0 0xff>; |
| 284 | ranges = <0x81000000 0x0 0x00000000 0x48 0x00020000 0x0 0x00010000 /* downstream I/O */ |
| 285 | 0x82000000 0x0 0x40000000 0x48 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ |
| 286 | }; |
| 287 | |
Wasim Khan | 57643d0 | 2020-09-28 16:26:07 +0530 | [diff] [blame] | 288 | pcie_ep2: pcie_ep@3500000 { |
Xiaowei Bao | 925a2b5 | 2020-07-09 23:31:35 +0800 | [diff] [blame] | 289 | compatible = "fsl,ls-pcie-ep"; |
| 290 | reg = <0x00 0x03500000 0x0 0x80000 |
| 291 | 0x00 0x035c0000 0x0 0x40000 |
| 292 | 0x48 0x00000000 0x8 0x00000000>; |
| 293 | reg-names = "regs", "ctrl", "addr_space"; |
| 294 | num-ib-windows = <6>; |
| 295 | num-ob-windows = <8>; |
| 296 | big-endian; |
| 297 | }; |
| 298 | |
Wasim Khan | 57643d0 | 2020-09-28 16:26:07 +0530 | [diff] [blame] | 299 | pcie3: pcie@3600000 { |
Minghuan Lian | 720d845 | 2016-12-13 14:54:14 +0800 | [diff] [blame] | 300 | compatible = "fsl,ls-pcie", "snps,dw-pcie"; |
| 301 | reg = <0x00 0x03600000 0x0 0x80000 /* dbi registers */ |
| 302 | 0x00 0x03680000 0x0 0x40000 /* lut registers */ |
| 303 | 0x00 0x036c0000 0x0 0x40000 /* pf controls registers */ |
| 304 | 0x50 0x00000000 0x0 0x20000>; /* configuration space */ |
| 305 | reg-names = "dbi", "lut", "ctrl", "config"; |
| 306 | big-endian; |
| 307 | #address-cells = <3>; |
| 308 | #size-cells = <2>; |
| 309 | device_type = "pci"; |
| 310 | bus-range = <0x0 0xff>; |
| 311 | ranges = <0x81000000 0x0 0x00000000 0x50 0x00020000 0x0 0x00010000 /* downstream I/O */ |
| 312 | 0x82000000 0x0 0x40000000 0x50 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ |
| 313 | }; |
Peng Ma | a31ad2f | 2018-10-11 10:34:20 +0000 | [diff] [blame] | 314 | |
Wasim Khan | 57643d0 | 2020-09-28 16:26:07 +0530 | [diff] [blame] | 315 | pcie_ep3: pcie_ep@3600000 { |
Xiaowei Bao | 925a2b5 | 2020-07-09 23:31:35 +0800 | [diff] [blame] | 316 | compatible = "fsl,ls-pcie-ep"; |
| 317 | reg = <0x00 0x03600000 0x0 0x80000 |
| 318 | 0x00 0x036c0000 0x0 0x40000 |
| 319 | 0x50 0x00000000 0x8 0x00000000>; |
| 320 | reg-names = "regs", "ctrl", "addr_space"; |
| 321 | num-ib-windows = <6>; |
| 322 | num-ob-windows = <8>; |
| 323 | big-endian; |
| 324 | }; |
| 325 | |
Peng Ma | a31ad2f | 2018-10-11 10:34:20 +0000 | [diff] [blame] | 326 | sata: sata@3200000 { |
| 327 | compatible = "fsl,ls1046a-ahci"; |
Peng Ma | e70d362 | 2019-04-17 10:10:49 +0000 | [diff] [blame] | 328 | reg = <0x0 0x3200000 0x0 0x10000 /* ccsr sata base */ |
| 329 | 0x0 0x20140520 0x0 0x4>; /* ecc sata addr*/ |
| 330 | reg-names = "sata-base", "ecc-addr"; |
Peng Ma | a31ad2f | 2018-10-11 10:34:20 +0000 | [diff] [blame] | 331 | interrupts = <0 69 4>; |
| 332 | clocks = <&clockgen 4 1>; |
| 333 | status = "disabled"; |
| 334 | }; |
Mingkai Hu | d239651 | 2016-09-07 18:47:28 +0800 | [diff] [blame] | 335 | }; |
| 336 | }; |