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