Tom Rini | 8b0c8a1 | 2018-05-06 18:27:01 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR X11 |
Gong Qianyu | 5e84779 | 2015-11-11 17:58:36 +0800 | [diff] [blame] | 2 | /* |
Wasim Khan | 05ee388 | 2020-09-28 16:26:11 +0530 | [diff] [blame] | 3 | * Device Tree Include file for NXP Layerscape-1043A family SoC. |
Gong Qianyu | 5e84779 | 2015-11-11 17:58:36 +0800 | [diff] [blame] | 4 | * |
Gaurav Jain | 994824c | 2022-03-24 11:50:34 +0530 | [diff] [blame] | 5 | * Copyright 2020-2021 NXP |
Gong Qianyu | 5e84779 | 2015-11-11 17:58:36 +0800 | [diff] [blame] | 6 | * Copyright (C) 2014-2015, Freescale Semiconductor |
| 7 | * |
| 8 | * Mingkai Hu <Mingkai.hu@freescale.com> |
Gong Qianyu | 5e84779 | 2015-11-11 17:58:36 +0800 | [diff] [blame] | 9 | */ |
| 10 | |
| 11 | /include/ "skeleton64.dtsi" |
| 12 | |
| 13 | / { |
| 14 | compatible = "fsl,ls1043a"; |
| 15 | interrupt-parent = <&gic>; |
Gong Qianyu | 5e84779 | 2015-11-11 17:58:36 +0800 | [diff] [blame] | 16 | |
| 17 | sysclk: sysclk { |
| 18 | compatible = "fixed-clock"; |
| 19 | #clock-cells = <0>; |
| 20 | clock-frequency = <100000000>; |
| 21 | clock-output-names = "sysclk"; |
| 22 | }; |
| 23 | |
| 24 | gic: interrupt-controller@1400000 { |
| 25 | compatible = "arm,gic-400"; |
| 26 | #interrupt-cells = <3>; |
| 27 | interrupt-controller; |
| 28 | reg = <0x0 0x1401000 0 0x1000>, /* GICD */ |
| 29 | <0x0 0x1402000 0 0x2000>, /* GICC */ |
| 30 | <0x0 0x1404000 0 0x2000>, /* GICH */ |
| 31 | <0x0 0x1406000 0 0x2000>; /* GICV */ |
| 32 | interrupts = <1 9 0xf08>; |
| 33 | }; |
| 34 | |
Madalin Bucur | d0d3e5e | 2020-04-23 16:25:13 +0300 | [diff] [blame] | 35 | soc: soc { |
Gong Qianyu | 5e84779 | 2015-11-11 17:58:36 +0800 | [diff] [blame] | 36 | compatible = "simple-bus"; |
| 37 | #address-cells = <2>; |
| 38 | #size-cells = <2>; |
| 39 | ranges; |
| 40 | |
| 41 | clockgen: clocking@1ee1000 { |
| 42 | compatible = "fsl,ls1043a-clockgen"; |
| 43 | reg = <0x0 0x1ee1000 0x0 0x1000>; |
| 44 | #clock-cells = <2>; |
| 45 | clocks = <&sysclk>; |
| 46 | }; |
| 47 | |
Gong Qianyu | 8a43f13 | 2015-11-11 17:58:39 +0800 | [diff] [blame] | 48 | dspi0: dspi@2100000 { |
| 49 | compatible = "fsl,vf610-dspi"; |
| 50 | #address-cells = <1>; |
| 51 | #size-cells = <0>; |
| 52 | reg = <0x0 0x2100000 0x0 0x10000>; |
| 53 | interrupts = <0 64 0x4>; |
| 54 | clock-names = "dspi"; |
| 55 | clocks = <&clockgen 4 0>; |
Michael Walle | 2de392c | 2021-10-13 18:14:18 +0200 | [diff] [blame] | 56 | spi-num-chipselects = <6>; |
Gong Qianyu | 8a43f13 | 2015-11-11 17:58:39 +0800 | [diff] [blame] | 57 | big-endian; |
| 58 | status = "disabled"; |
| 59 | }; |
| 60 | |
| 61 | dspi1: dspi@2110000 { |
| 62 | compatible = "fsl,vf610-dspi"; |
| 63 | #address-cells = <1>; |
| 64 | #size-cells = <0>; |
| 65 | reg = <0x0 0x2110000 0x0 0x10000>; |
| 66 | interrupts = <0 65 0x4>; |
| 67 | clock-names = "dspi"; |
| 68 | clocks = <&clockgen 4 0>; |
Michael Walle | 2de392c | 2021-10-13 18:14:18 +0200 | [diff] [blame] | 69 | spi-num-chipselects = <6>; |
Gong Qianyu | 8a43f13 | 2015-11-11 17:58:39 +0800 | [diff] [blame] | 70 | big-endian; |
| 71 | status = "disabled"; |
| 72 | }; |
| 73 | |
Yinbo Zhu | c106af6 | 2018-09-25 14:47:10 +0800 | [diff] [blame] | 74 | esdhc: esdhc@1560000 { |
| 75 | compatible = "fsl,esdhc"; |
| 76 | reg = <0x0 0x1560000 0x0 0x10000>; |
| 77 | interrupts = <0 62 0x4>; |
| 78 | big-endian; |
| 79 | bus-width = <4>; |
| 80 | }; |
| 81 | |
Biwen Li | 5c281f8 | 2021-02-05 19:01:51 +0800 | [diff] [blame] | 82 | gpio0: gpio@2300000 { |
| 83 | compatible = "fsl,ls1043a-gpio", "fsl,qoriq-gpio"; |
| 84 | reg = <0x0 0x2300000 0x0 0x10000>; |
| 85 | interrupts = <0 66 0x4>; |
| 86 | gpio-controller; |
| 87 | #gpio-cells = <2>; |
| 88 | interrupt-controller; |
| 89 | #interrupt-cells = <2>; |
| 90 | }; |
| 91 | |
| 92 | gpio1: gpio@2310000 { |
| 93 | compatible = "fsl,ls1043a-gpio", "fsl,qoriq-gpio"; |
| 94 | reg = <0x0 0x2310000 0x0 0x10000>; |
| 95 | interrupts = <0 67 0x4>; |
| 96 | gpio-controller; |
| 97 | #gpio-cells = <2>; |
| 98 | interrupt-controller; |
| 99 | #interrupt-cells = <2>; |
| 100 | }; |
| 101 | |
| 102 | gpio2: gpio@2320000 { |
| 103 | compatible = "fsl,ls1043a-gpio", "fsl,qoriq-gpio"; |
| 104 | reg = <0x0 0x2320000 0x0 0x10000>; |
| 105 | interrupts = <0 68 0x4>; |
| 106 | gpio-controller; |
| 107 | #gpio-cells = <2>; |
| 108 | interrupt-controller; |
| 109 | #interrupt-cells = <2>; |
| 110 | }; |
| 111 | |
| 112 | gpio3: gpio@2330000 { |
| 113 | compatible = "fsl,ls1043a-gpio", "fsl,qoriq-gpio"; |
| 114 | reg = <0x0 0x2330000 0x0 0x10000>; |
| 115 | interrupts = <0 134 0x4>; |
| 116 | gpio-controller; |
| 117 | #gpio-cells = <2>; |
| 118 | interrupt-controller; |
| 119 | #interrupt-cells = <2>; |
| 120 | }; |
| 121 | |
Gong Qianyu | 5e84779 | 2015-11-11 17:58:36 +0800 | [diff] [blame] | 122 | ifc: ifc@1530000 { |
| 123 | compatible = "fsl,ifc", "simple-bus"; |
| 124 | reg = <0x0 0x1530000 0x0 0x10000>; |
| 125 | interrupts = <0 43 0x4>; |
| 126 | }; |
| 127 | |
Gaurav Jain | 994824c | 2022-03-24 11:50:34 +0530 | [diff] [blame] | 128 | crypto: crypto@1700000 { |
| 129 | compatible = "fsl,sec-v5.4", "fsl,sec-v5.0", |
| 130 | "fsl,sec-v4.0"; |
| 131 | fsl,sec-era = <3>; |
| 132 | #address-cells = <1>; |
| 133 | #size-cells = <1>; |
| 134 | ranges = <0x0 0x00 0x1700000 0x100000>; |
| 135 | reg = <0x00 0x1700000 0x0 0x100000>; |
| 136 | interrupts = <0 75 0x4>; |
| 137 | |
| 138 | sec_jr0: jr@10000 { |
| 139 | compatible = "fsl,sec-v5.4-job-ring", |
| 140 | "fsl,sec-v5.0-job-ring", |
| 141 | "fsl,sec-v4.0-job-ring"; |
| 142 | reg = <0x10000 0x10000>; |
| 143 | interrupts = <0 71 0x4>; |
| 144 | }; |
| 145 | |
| 146 | sec_jr1: jr@20000 { |
| 147 | compatible = "fsl,sec-v5.4-job-ring", |
| 148 | "fsl,sec-v5.0-job-ring", |
| 149 | "fsl,sec-v4.0-job-ring"; |
| 150 | reg = <0x20000 0x10000>; |
| 151 | interrupts = <0 72 0x4>; |
| 152 | }; |
| 153 | |
| 154 | sec_jr2: jr@30000 { |
| 155 | compatible = "fsl,sec-v5.4-job-ring", |
| 156 | "fsl,sec-v5.0-job-ring", |
| 157 | "fsl,sec-v4.0-job-ring"; |
| 158 | reg = <0x30000 0x10000>; |
| 159 | interrupts = <0 73 0x4>; |
| 160 | }; |
| 161 | |
| 162 | sec_jr3: jr@40000 { |
| 163 | compatible = "fsl,sec-v5.4-job-ring", |
| 164 | "fsl,sec-v5.0-job-ring", |
| 165 | "fsl,sec-v4.0-job-ring"; |
| 166 | reg = <0x40000 0x10000>; |
| 167 | interrupts = <0 74 0x4>; |
| 168 | }; |
| 169 | }; |
| 170 | |
Gong Qianyu | 5e84779 | 2015-11-11 17:58:36 +0800 | [diff] [blame] | 171 | i2c0: i2c@2180000 { |
| 172 | compatible = "fsl,vf610-i2c"; |
| 173 | #address-cells = <1>; |
| 174 | #size-cells = <0>; |
| 175 | reg = <0x0 0x2180000 0x0 0x10000>; |
| 176 | interrupts = <0 56 0x4>; |
| 177 | clock-names = "i2c"; |
| 178 | clocks = <&clockgen 4 0>; |
| 179 | status = "disabled"; |
| 180 | }; |
| 181 | |
| 182 | i2c1: i2c@2190000 { |
| 183 | compatible = "fsl,vf610-i2c"; |
| 184 | #address-cells = <1>; |
| 185 | #size-cells = <0>; |
| 186 | reg = <0x0 0x2190000 0x0 0x10000>; |
| 187 | interrupts = <0 57 0x4>; |
| 188 | clock-names = "i2c"; |
| 189 | clocks = <&clockgen 4 0>; |
| 190 | status = "disabled"; |
| 191 | }; |
| 192 | |
| 193 | i2c2: i2c@21a0000 { |
| 194 | compatible = "fsl,vf610-i2c"; |
| 195 | #address-cells = <1>; |
| 196 | #size-cells = <0>; |
| 197 | reg = <0x0 0x21a0000 0x0 0x10000>; |
| 198 | interrupts = <0 58 0x4>; |
| 199 | clock-names = "i2c"; |
| 200 | clocks = <&clockgen 4 0>; |
| 201 | status = "disabled"; |
| 202 | }; |
| 203 | |
| 204 | i2c3: i2c@21b0000 { |
| 205 | compatible = "fsl,vf610-i2c"; |
| 206 | #address-cells = <1>; |
| 207 | #size-cells = <0>; |
| 208 | reg = <0x0 0x21b0000 0x0 0x10000>; |
| 209 | interrupts = <0 59 0x4>; |
| 210 | clock-names = "i2c"; |
| 211 | clocks = <&clockgen 4 0>; |
| 212 | status = "disabled"; |
| 213 | }; |
| 214 | |
| 215 | duart0: serial@21c0500 { |
| 216 | compatible = "fsl,ns16550", "ns16550a"; |
| 217 | reg = <0x00 0x21c0500 0x0 0x100>; |
| 218 | interrupts = <0 54 0x4>; |
| 219 | clocks = <&clockgen 4 0>; |
| 220 | }; |
| 221 | |
| 222 | duart1: serial@21c0600 { |
| 223 | compatible = "fsl,ns16550", "ns16550a"; |
| 224 | reg = <0x00 0x21c0600 0x0 0x100>; |
| 225 | interrupts = <0 54 0x4>; |
| 226 | clocks = <&clockgen 4 0>; |
| 227 | }; |
| 228 | |
| 229 | duart2: serial@21d0500 { |
| 230 | compatible = "fsl,ns16550", "ns16550a"; |
| 231 | reg = <0x0 0x21d0500 0x0 0x100>; |
| 232 | interrupts = <0 55 0x4>; |
| 233 | clocks = <&clockgen 4 0>; |
| 234 | }; |
| 235 | |
| 236 | duart3: serial@21d0600 { |
| 237 | compatible = "fsl,ns16550", "ns16550a"; |
| 238 | reg = <0x0 0x21d0600 0x0 0x100>; |
| 239 | interrupts = <0 55 0x4>; |
| 240 | clocks = <&clockgen 4 0>; |
| 241 | }; |
Wenbin Song | 7e6b49e | 2016-01-21 17:14:55 +0800 | [diff] [blame] | 242 | |
| 243 | lpuart0: serial@2950000 { |
| 244 | compatible = "fsl,ls1021a-lpuart"; |
| 245 | reg = <0x0 0x2950000 0x0 0x1000>; |
| 246 | interrupts = <0 48 0x4>; |
| 247 | clocks = <&sysclk>; |
| 248 | clock-names = "ipg"; |
| 249 | status = "disabled"; |
| 250 | }; |
| 251 | |
| 252 | lpuart1: serial@2960000 { |
| 253 | compatible = "fsl,ls1021a-lpuart"; |
| 254 | reg = <0x0 0x2960000 0x0 0x1000>; |
| 255 | interrupts = <0 49 0x4>; |
| 256 | clocks = <&sysclk>; |
| 257 | clock-names = "ipg"; |
| 258 | status = "disabled"; |
| 259 | }; |
| 260 | |
| 261 | lpuart2: serial@2970000 { |
| 262 | compatible = "fsl,ls1021a-lpuart"; |
| 263 | reg = <0x0 0x2970000 0x0 0x1000>; |
| 264 | interrupts = <0 50 0x4>; |
| 265 | clock-names = "ipg"; |
| 266 | clocks = <&sysclk>; |
| 267 | status = "disabled"; |
| 268 | }; |
| 269 | |
| 270 | lpuart3: serial@2980000 { |
| 271 | compatible = "fsl,ls1021a-lpuart"; |
| 272 | reg = <0x0 0x2980000 0x0 0x1000>; |
| 273 | interrupts = <0 51 0x4>; |
| 274 | clocks = <&sysclk>; |
| 275 | clock-names = "ipg"; |
| 276 | status = "disabled"; |
| 277 | }; |
| 278 | |
| 279 | lpuart4: serial@2990000 { |
| 280 | compatible = "fsl,ls1021a-lpuart"; |
| 281 | reg = <0x0 0x2990000 0x0 0x1000>; |
| 282 | interrupts = <0 52 0x4>; |
| 283 | clocks = <&sysclk>; |
| 284 | clock-names = "ipg"; |
| 285 | status = "disabled"; |
| 286 | }; |
| 287 | |
| 288 | lpuart5: serial@29a0000 { |
| 289 | compatible = "fsl,ls1021a-lpuart"; |
| 290 | reg = <0x0 0x29a0000 0x0 0x1000>; |
| 291 | interrupts = <0 53 0x4>; |
| 292 | clocks = <&sysclk>; |
| 293 | clock-names = "ipg"; |
| 294 | status = "disabled"; |
| 295 | }; |
Gong Qianyu | 760df89 | 2016-01-25 15:16:06 +0800 | [diff] [blame] | 296 | qspi: quadspi@1550000 { |
Kuldeep Singh | 4c38087 | 2019-12-12 11:49:24 +0530 | [diff] [blame] | 297 | compatible = "fsl,ls1021a-qspi"; |
Gong Qianyu | 760df89 | 2016-01-25 15:16:06 +0800 | [diff] [blame] | 298 | #address-cells = <1>; |
| 299 | #size-cells = <0>; |
Yuan Yao | 1a414ae | 2016-03-15 14:36:44 +0800 | [diff] [blame] | 300 | reg = <0x0 0x1550000 0x0 0x10000>, |
Kuldeep Singh | 4c38087 | 2019-12-12 11:49:24 +0530 | [diff] [blame] | 301 | <0x0 0x40000000 0x0 0x1000000>; |
Yuan Yao | 1a414ae | 2016-03-15 14:36:44 +0800 | [diff] [blame] | 302 | reg-names = "QuadSPI", "QuadSPI-memory"; |
Gong Qianyu | 760df89 | 2016-01-25 15:16:06 +0800 | [diff] [blame] | 303 | status = "disabled"; |
| 304 | }; |
Sriram Dash | 0b7a1fc | 2016-09-30 11:06:27 +0530 | [diff] [blame] | 305 | |
| 306 | usb0: usb3@2f00000 { |
| 307 | compatible = "fsl,layerscape-dwc3"; |
| 308 | reg = <0x0 0x2f00000 0x0 0x10000>; |
| 309 | interrupts = <0 60 0x4>; |
| 310 | dr_mode = "host"; |
| 311 | }; |
| 312 | |
| 313 | usb1: usb3@3000000 { |
| 314 | compatible = "fsl,layerscape-dwc3"; |
| 315 | reg = <0x0 0x3000000 0x0 0x10000>; |
| 316 | interrupts = <0 61 0x4>; |
| 317 | dr_mode = "host"; |
| 318 | }; |
| 319 | |
| 320 | usb2: usb3@3100000 { |
| 321 | compatible = "fsl,layerscape-dwc3"; |
| 322 | reg = <0x0 0x3100000 0x0 0x10000>; |
| 323 | interrupts = <0 63 0x4>; |
| 324 | dr_mode = "host"; |
| 325 | }; |
Minghuan Lian | 64d156b | 2016-12-13 14:54:13 +0800 | [diff] [blame] | 326 | |
Wasim Khan | 05ee388 | 2020-09-28 16:26:11 +0530 | [diff] [blame] | 327 | pcie1: pcie@3400000 { |
Minghuan Lian | 64d156b | 2016-12-13 14:54:13 +0800 | [diff] [blame] | 328 | compatible = "fsl,ls-pcie", "snps,dw-pcie"; |
| 329 | reg = <0x00 0x03400000 0x0 0x10000 /* dbi registers */ |
| 330 | 0x00 0x03410000 0x0 0x10000 /* lut registers */ |
| 331 | 0x40 0x00000000 0x0 0x20000>; /* configuration space */ |
| 332 | reg-names = "dbi", "lut", "config"; |
| 333 | big-endian; |
| 334 | #address-cells = <3>; |
| 335 | #size-cells = <2>; |
| 336 | device_type = "pci"; |
| 337 | bus-range = <0x0 0xff>; |
| 338 | ranges = <0x81000000 0x0 0x00000000 0x40 0x00020000 0x0 0x00010000 /* downstream I/O */ |
| 339 | 0x82000000 0x0 0x40000000 0x40 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ |
| 340 | }; |
| 341 | |
Wasim Khan | 05ee388 | 2020-09-28 16:26:11 +0530 | [diff] [blame] | 342 | pcie2: pcie@3500000 { |
Minghuan Lian | 64d156b | 2016-12-13 14:54:13 +0800 | [diff] [blame] | 343 | compatible = "fsl,ls-pcie", "snps,dw-pcie"; |
| 344 | reg = <0x00 0x03500000 0x0 0x10000 /* dbi registers */ |
| 345 | 0x00 0x03510000 0x0 0x10000 /* lut registers */ |
| 346 | 0x48 0x00000000 0x0 0x20000>; /* configuration space */ |
| 347 | reg-names = "dbi", "lut", "config"; |
| 348 | big-endian; |
| 349 | #address-cells = <3>; |
| 350 | #size-cells = <2>; |
| 351 | device_type = "pci"; |
| 352 | num-lanes = <2>; |
| 353 | bus-range = <0x0 0xff>; |
| 354 | ranges = <0x81000000 0x0 0x00000000 0x48 0x00020000 0x0 0x00010000 /* downstream I/O */ |
| 355 | 0x82000000 0x0 0x40000000 0x48 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ |
| 356 | }; |
| 357 | |
Wasim Khan | 05ee388 | 2020-09-28 16:26:11 +0530 | [diff] [blame] | 358 | pcie3: pcie@3600000 { |
Minghuan Lian | 64d156b | 2016-12-13 14:54:13 +0800 | [diff] [blame] | 359 | compatible = "fsl,ls-pcie", "snps,dw-pcie"; |
| 360 | reg = <0x00 0x03600000 0x0 0x10000 /* dbi registers */ |
| 361 | 0x00 0x03610000 0x0 0x10000 /* lut registers */ |
| 362 | 0x50 0x00000000 0x0 0x20000>; /* configuration space */ |
| 363 | reg-names = "dbi", "lut", "config"; |
| 364 | big-endian; |
| 365 | #address-cells = <3>; |
| 366 | #size-cells = <2>; |
| 367 | device_type = "pci"; |
| 368 | bus-range = <0x0 0xff>; |
| 369 | ranges = <0x81000000 0x0 0x00000000 0x50 0x00020000 0x0 0x00010000 /* downstream I/O */ |
| 370 | 0x82000000 0x0 0x40000000 0x50 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ |
| 371 | }; |
Peng Ma | d2c851b | 2018-08-01 11:35:14 +0800 | [diff] [blame] | 372 | |
| 373 | sata: sata@3200000 { |
| 374 | compatible = "fsl,ls1043a-ahci"; |
Peng Ma | e70d362 | 2019-04-17 10:10:49 +0000 | [diff] [blame] | 375 | reg = <0x0 0x3200000 0x0 0x10000 /* ccsr sata base */ |
| 376 | 0x0 0x20140520 0x0 0x4>; /* ecc sata addr*/ |
Michael Walle | 0234b5f | 2021-10-13 18:14:20 +0200 | [diff] [blame] | 377 | reg-names = "ahci", "sata-ecc"; |
Peng Ma | d2c851b | 2018-08-01 11:35:14 +0800 | [diff] [blame] | 378 | interrupts = <0 69 4>; |
| 379 | clocks = <&clockgen 4 0>; |
| 380 | status = "disabled"; |
| 381 | }; |
Gong Qianyu | 5e84779 | 2015-11-11 17:58:36 +0800 | [diff] [blame] | 382 | }; |
| 383 | }; |