Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 2 | /* |
| 3 | * Freescale ls1021a SOC common device tree source |
| 4 | * |
| 5 | * Copyright 2013-2015 Freescale Semiconductor, Inc. |
Gaurav Jain | 994824c | 2022-03-24 11:50:34 +0530 | [diff] [blame] | 6 | * Copyright 2021 NXP |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 7 | */ |
| 8 | |
haikun | b9fe9e2 | 2015-03-24 21:16:31 +0800 | [diff] [blame] | 9 | #include "skeleton.dtsi" |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 10 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 11 | |
| 12 | / { |
| 13 | compatible = "fsl,ls1021a"; |
| 14 | interrupt-parent = <&gic>; |
| 15 | |
| 16 | aliases { |
| 17 | serial0 = &lpuart0; |
| 18 | serial1 = &lpuart1; |
| 19 | serial2 = &lpuart2; |
| 20 | serial3 = &lpuart3; |
| 21 | serial4 = &lpuart4; |
| 22 | serial5 = &lpuart5; |
| 23 | sysclk = &sysclk; |
| 24 | }; |
| 25 | |
| 26 | cpus { |
| 27 | #address-cells = <1>; |
| 28 | #size-cells = <0>; |
| 29 | |
| 30 | cpu@f00 { |
| 31 | compatible = "arm,cortex-a7"; |
| 32 | device_type = "cpu"; |
| 33 | reg = <0xf00>; |
| 34 | clocks = <&cluster1_clk>; |
| 35 | }; |
| 36 | |
| 37 | cpu@f01 { |
| 38 | compatible = "arm,cortex-a7"; |
| 39 | device_type = "cpu"; |
| 40 | reg = <0xf01>; |
| 41 | clocks = <&cluster1_clk>; |
| 42 | }; |
| 43 | }; |
| 44 | |
| 45 | timer { |
| 46 | compatible = "arm,armv7-timer"; |
| 47 | interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>, |
| 48 | <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>, |
| 49 | <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>, |
| 50 | <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>; |
| 51 | }; |
| 52 | |
| 53 | pmu { |
| 54 | compatible = "arm,cortex-a7-pmu"; |
| 55 | interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>, |
| 56 | <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>; |
| 57 | }; |
| 58 | |
| 59 | soc { |
| 60 | compatible = "simple-bus"; |
haikun | b9fe9e2 | 2015-03-24 21:16:31 +0800 | [diff] [blame] | 61 | #address-cells = <1>; |
| 62 | #size-cells = <1>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 63 | device_type = "soc"; |
| 64 | interrupt-parent = <&gic>; |
| 65 | ranges; |
| 66 | |
| 67 | gic: interrupt-controller@1400000 { |
| 68 | compatible = "arm,cortex-a7-gic"; |
| 69 | #interrupt-cells = <3>; |
| 70 | interrupt-controller; |
haikun | b9fe9e2 | 2015-03-24 21:16:31 +0800 | [diff] [blame] | 71 | reg = <0x1401000 0x1000>, |
| 72 | <0x1402000 0x1000>, |
| 73 | <0x1404000 0x2000>, |
| 74 | <0x1406000 0x2000>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 75 | interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>; |
| 76 | |
| 77 | }; |
| 78 | |
| 79 | ifc: ifc@1530000 { |
| 80 | compatible = "fsl,ifc", "simple-bus"; |
haikun | b9fe9e2 | 2015-03-24 21:16:31 +0800 | [diff] [blame] | 81 | reg = <0x1530000 0x10000>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 82 | interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>; |
| 83 | }; |
| 84 | |
| 85 | dcfg: dcfg@1ee0000 { |
| 86 | compatible = "fsl,ls1021a-dcfg", "syscon"; |
haikun | b9fe9e2 | 2015-03-24 21:16:31 +0800 | [diff] [blame] | 87 | reg = <0x1ee0000 0x10000>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 88 | big-endian; |
| 89 | }; |
| 90 | |
| 91 | esdhc: esdhc@1560000 { |
| 92 | compatible = "fsl,esdhc"; |
haikun | b9fe9e2 | 2015-03-24 21:16:31 +0800 | [diff] [blame] | 93 | reg = <0x1560000 0x10000>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 94 | interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>; |
| 95 | clock-frequency = <0>; |
| 96 | voltage-ranges = <1800 1800 3300 3300>; |
| 97 | sdhci,auto-cmd12; |
| 98 | big-endian; |
| 99 | bus-width = <4>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 100 | }; |
| 101 | |
Biwen Li | 073e23e | 2021-02-05 19:01:48 +0800 | [diff] [blame] | 102 | gpio0: gpio@2300000 { |
| 103 | compatible = "fsl,ls1021a-gpio", "fsl,qoriq-gpio"; |
Lasse Klok Mikkelsen | ababfda | 2021-06-08 08:39:12 +0200 | [diff] [blame] | 104 | reg = <0x2300000 0x10000>; |
Biwen Li | 073e23e | 2021-02-05 19:01:48 +0800 | [diff] [blame] | 105 | interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>; |
| 106 | gpio-controller; |
| 107 | #gpio-cells = <2>; |
| 108 | interrupt-controller; |
| 109 | #interrupt-cells = <2>; |
| 110 | }; |
| 111 | |
| 112 | gpio1: gpio@2310000 { |
| 113 | compatible = "fsl,ls1021a-gpio", "fsl,qoriq-gpio"; |
Lasse Klok Mikkelsen | ababfda | 2021-06-08 08:39:12 +0200 | [diff] [blame] | 114 | reg = <0x2310000 0x10000>; |
Biwen Li | 073e23e | 2021-02-05 19:01:48 +0800 | [diff] [blame] | 115 | interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; |
| 116 | gpio-controller; |
| 117 | #gpio-cells = <2>; |
| 118 | interrupt-controller; |
| 119 | #interrupt-cells = <2>; |
| 120 | }; |
| 121 | |
| 122 | gpio2: gpio@2320000 { |
| 123 | compatible = "fsl,ls1021a-gpio", "fsl,qoriq-gpio"; |
Lasse Klok Mikkelsen | ababfda | 2021-06-08 08:39:12 +0200 | [diff] [blame] | 124 | reg = <0x2320000 0x10000>; |
Biwen Li | 073e23e | 2021-02-05 19:01:48 +0800 | [diff] [blame] | 125 | interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>; |
| 126 | gpio-controller; |
| 127 | #gpio-cells = <2>; |
| 128 | interrupt-controller; |
| 129 | #interrupt-cells = <2>; |
| 130 | }; |
| 131 | |
| 132 | gpio3: gpio@2330000 { |
| 133 | compatible = "fsl,ls1021a-gpio", "fsl,qoriq-gpio"; |
Lasse Klok Mikkelsen | ababfda | 2021-06-08 08:39:12 +0200 | [diff] [blame] | 134 | reg = <0x2330000 0x10000>; |
Biwen Li | 073e23e | 2021-02-05 19:01:48 +0800 | [diff] [blame] | 135 | interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>; |
| 136 | gpio-controller; |
| 137 | #gpio-cells = <2>; |
| 138 | interrupt-controller; |
| 139 | #interrupt-cells = <2>; |
| 140 | }; |
| 141 | |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 142 | scfg: scfg@1570000 { |
| 143 | compatible = "fsl,ls1021a-scfg", "syscon"; |
haikun | b9fe9e2 | 2015-03-24 21:16:31 +0800 | [diff] [blame] | 144 | reg = <0x1570000 0x10000>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 145 | big-endian; |
| 146 | }; |
| 147 | |
Gaurav Jain | 994824c | 2022-03-24 11:50:34 +0530 | [diff] [blame] | 148 | crypto: crypto@1700000 { |
| 149 | compatible = "fsl,sec-v5.0", "fsl,sec-v4.0"; |
| 150 | fsl,sec-era = <7>; |
| 151 | #address-cells = <1>; |
| 152 | #size-cells = <1>; |
| 153 | reg = <0x1700000 0x100000>; |
| 154 | ranges = <0x0 0x1700000 0x100000>; |
| 155 | interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>; |
| 156 | |
| 157 | sec_jr0: jr@10000 { |
| 158 | compatible = "fsl,sec-v5.0-job-ring", |
| 159 | "fsl,sec-v4.0-job-ring"; |
| 160 | reg = <0x10000 0x10000>; |
| 161 | interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; |
| 162 | }; |
| 163 | |
| 164 | sec_jr1: jr@20000 { |
| 165 | compatible = "fsl,sec-v5.0-job-ring", |
| 166 | "fsl,sec-v4.0-job-ring"; |
| 167 | reg = <0x20000 0x10000>; |
| 168 | interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>; |
| 169 | }; |
| 170 | |
| 171 | sec_jr2: jr@30000 { |
| 172 | compatible = "fsl,sec-v5.0-job-ring", |
| 173 | "fsl,sec-v4.0-job-ring"; |
| 174 | reg = <0x30000 0x10000>; |
| 175 | interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>; |
| 176 | }; |
| 177 | |
| 178 | sec_jr3: jr@40000 { |
| 179 | compatible = "fsl,sec-v5.0-job-ring", |
| 180 | "fsl,sec-v4.0-job-ring"; |
| 181 | reg = <0x40000 0x10000>; |
| 182 | interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>; |
| 183 | }; |
| 184 | |
| 185 | }; |
| 186 | |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 187 | clockgen: clocking@1ee1000 { |
| 188 | #address-cells = <1>; |
| 189 | #size-cells = <1>; |
haikun | b9fe9e2 | 2015-03-24 21:16:31 +0800 | [diff] [blame] | 190 | ranges = <0x0 0x1ee1000 0x10000>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 191 | |
| 192 | sysclk: sysclk { |
| 193 | compatible = "fixed-clock"; |
| 194 | #clock-cells = <0>; |
| 195 | clock-output-names = "sysclk"; |
| 196 | }; |
| 197 | |
| 198 | cga_pll1: pll@800 { |
| 199 | compatible = "fsl,qoriq-core-pll-2.0"; |
| 200 | #clock-cells = <1>; |
| 201 | reg = <0x800 0x10>; |
| 202 | clocks = <&sysclk>; |
| 203 | clock-output-names = "cga-pll1", "cga-pll1-div2", |
| 204 | "cga-pll1-div4"; |
| 205 | }; |
| 206 | |
| 207 | platform_clk: pll@c00 { |
| 208 | compatible = "fsl,qoriq-core-pll-2.0"; |
| 209 | #clock-cells = <1>; |
| 210 | reg = <0xc00 0x10>; |
| 211 | clocks = <&sysclk>; |
| 212 | clock-output-names = "platform-clk", "platform-clk-div2"; |
| 213 | }; |
| 214 | |
| 215 | cluster1_clk: clk0c0@0 { |
| 216 | compatible = "fsl,qoriq-core-mux-2.0"; |
| 217 | #clock-cells = <0>; |
| 218 | reg = <0x0 0x10>; |
| 219 | clock-names = "pll1cga", "pll1cga-div2", "pll1cga-div4"; |
| 220 | clocks = <&cga_pll1 0>, <&cga_pll1 1>, <&cga_pll1 2>; |
| 221 | clock-output-names = "cluster1-clk"; |
| 222 | }; |
| 223 | }; |
| 224 | |
| 225 | dspi0: dspi@2100000 { |
| 226 | compatible = "fsl,vf610-dspi"; |
| 227 | #address-cells = <1>; |
| 228 | #size-cells = <0>; |
haikun | b9fe9e2 | 2015-03-24 21:16:31 +0800 | [diff] [blame] | 229 | reg = <0x2100000 0x10000>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 230 | interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; |
| 231 | clock-names = "dspi"; |
| 232 | clocks = <&platform_clk 1>; |
Michael Walle | 2de392c | 2021-10-13 18:14:18 +0200 | [diff] [blame] | 233 | spi-num-chipselects = <6>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 234 | big-endian; |
| 235 | status = "disabled"; |
| 236 | }; |
| 237 | |
| 238 | dspi1: dspi@2110000 { |
| 239 | compatible = "fsl,vf610-dspi"; |
| 240 | #address-cells = <1>; |
| 241 | #size-cells = <0>; |
haikun | b9fe9e2 | 2015-03-24 21:16:31 +0800 | [diff] [blame] | 242 | reg = <0x2110000 0x10000>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 243 | interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; |
| 244 | clock-names = "dspi"; |
| 245 | clocks = <&platform_clk 1>; |
Michael Walle | 2de392c | 2021-10-13 18:14:18 +0200 | [diff] [blame] | 246 | spi-num-chipselects = <6>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 247 | big-endian; |
| 248 | status = "disabled"; |
| 249 | }; |
| 250 | |
Haikun.Wang@freescale.com | 07c851e | 2015-03-24 21:20:40 +0800 | [diff] [blame] | 251 | qspi: quadspi@1550000 { |
Kuldeep Singh | 4c38087 | 2019-12-12 11:49:24 +0530 | [diff] [blame] | 252 | compatible = "fsl,ls1021a-qspi"; |
Haikun.Wang@freescale.com | 07c851e | 2015-03-24 21:20:40 +0800 | [diff] [blame] | 253 | #address-cells = <1>; |
| 254 | #size-cells = <0>; |
| 255 | reg = <0x1550000 0x10000>, |
Kuldeep Singh | 4c38087 | 2019-12-12 11:49:24 +0530 | [diff] [blame] | 256 | <0x40000000 0x1000000>; |
Yuan Yao | b00389e | 2016-11-30 11:26:20 +0800 | [diff] [blame] | 257 | reg-names = "QuadSPI", "QuadSPI-memory"; |
Haikun.Wang@freescale.com | 07c851e | 2015-03-24 21:20:40 +0800 | [diff] [blame] | 258 | status = "disabled"; |
| 259 | }; |
| 260 | |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 261 | i2c0: i2c@2180000 { |
| 262 | compatible = "fsl,vf610-i2c"; |
| 263 | #address-cells = <1>; |
| 264 | #size-cells = <0>; |
haikun | b9fe9e2 | 2015-03-24 21:16:31 +0800 | [diff] [blame] | 265 | reg = <0x2180000 0x10000>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 266 | interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>; |
| 267 | clock-names = "i2c"; |
| 268 | clocks = <&platform_clk 1>; |
| 269 | status = "disabled"; |
| 270 | }; |
| 271 | |
| 272 | i2c1: i2c@2190000 { |
| 273 | compatible = "fsl,vf610-i2c"; |
| 274 | #address-cells = <1>; |
| 275 | #size-cells = <0>; |
haikun | b9fe9e2 | 2015-03-24 21:16:31 +0800 | [diff] [blame] | 276 | reg = <0x2190000 0x10000>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 277 | interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; |
| 278 | clock-names = "i2c"; |
| 279 | clocks = <&platform_clk 1>; |
| 280 | status = "disabled"; |
| 281 | }; |
| 282 | |
| 283 | i2c2: i2c@21a0000 { |
| 284 | compatible = "fsl,vf610-i2c"; |
| 285 | #address-cells = <1>; |
| 286 | #size-cells = <0>; |
haikun | b9fe9e2 | 2015-03-24 21:16:31 +0800 | [diff] [blame] | 287 | reg = <0x21a0000 0x10000>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 288 | interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>; |
| 289 | clock-names = "i2c"; |
| 290 | clocks = <&platform_clk 1>; |
| 291 | status = "disabled"; |
| 292 | }; |
| 293 | |
| 294 | uart0: serial@21c0500 { |
| 295 | compatible = "fsl,16550-FIFO64", "ns16550a"; |
haikun | b9fe9e2 | 2015-03-24 21:16:31 +0800 | [diff] [blame] | 296 | reg = <0x21c0500 0x100>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 297 | interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 298 | fifo-size = <15>; |
| 299 | status = "disabled"; |
| 300 | }; |
| 301 | |
| 302 | uart1: serial@21c0600 { |
| 303 | compatible = "fsl,16550-FIFO64", "ns16550a"; |
haikun | b9fe9e2 | 2015-03-24 21:16:31 +0800 | [diff] [blame] | 304 | reg = <0x21c0600 0x100>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 305 | interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 306 | fifo-size = <15>; |
| 307 | status = "disabled"; |
| 308 | }; |
| 309 | |
| 310 | uart2: serial@21d0500 { |
| 311 | compatible = "fsl,16550-FIFO64", "ns16550a"; |
haikun | b9fe9e2 | 2015-03-24 21:16:31 +0800 | [diff] [blame] | 312 | reg = <0x21d0500 0x100>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 313 | interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 314 | fifo-size = <15>; |
| 315 | status = "disabled"; |
| 316 | }; |
| 317 | |
| 318 | uart3: serial@21d0600 { |
| 319 | compatible = "fsl,16550-FIFO64", "ns16550a"; |
haikun | b9fe9e2 | 2015-03-24 21:16:31 +0800 | [diff] [blame] | 320 | reg = <0x21d0600 0x100>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 321 | interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 322 | fifo-size = <15>; |
| 323 | status = "disabled"; |
| 324 | }; |
| 325 | |
| 326 | lpuart0: serial@2950000 { |
| 327 | compatible = "fsl,ls1021a-lpuart"; |
haikun | b9fe9e2 | 2015-03-24 21:16:31 +0800 | [diff] [blame] | 328 | reg = <0x2950000 0x1000>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 329 | interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>; |
| 330 | clocks = <&sysclk>; |
| 331 | clock-names = "ipg"; |
| 332 | status = "disabled"; |
| 333 | }; |
| 334 | |
| 335 | lpuart1: serial@2960000 { |
| 336 | compatible = "fsl,ls1021a-lpuart"; |
haikun | b9fe9e2 | 2015-03-24 21:16:31 +0800 | [diff] [blame] | 337 | reg = <0x2960000 0x1000>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 338 | interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>; |
| 339 | clocks = <&platform_clk 1>; |
| 340 | clock-names = "ipg"; |
| 341 | status = "disabled"; |
| 342 | }; |
| 343 | |
| 344 | lpuart2: serial@2970000 { |
| 345 | compatible = "fsl,ls1021a-lpuart"; |
haikun | b9fe9e2 | 2015-03-24 21:16:31 +0800 | [diff] [blame] | 346 | reg = <0x2970000 0x1000>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 347 | interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; |
| 348 | clocks = <&platform_clk 1>; |
| 349 | clock-names = "ipg"; |
| 350 | status = "disabled"; |
| 351 | }; |
| 352 | |
| 353 | lpuart3: serial@2980000 { |
| 354 | compatible = "fsl,ls1021a-lpuart"; |
haikun | b9fe9e2 | 2015-03-24 21:16:31 +0800 | [diff] [blame] | 355 | reg = <0x2980000 0x1000>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 356 | interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; |
| 357 | clocks = <&platform_clk 1>; |
| 358 | clock-names = "ipg"; |
| 359 | status = "disabled"; |
| 360 | }; |
| 361 | |
| 362 | lpuart4: serial@2990000 { |
| 363 | compatible = "fsl,ls1021a-lpuart"; |
haikun | b9fe9e2 | 2015-03-24 21:16:31 +0800 | [diff] [blame] | 364 | reg = <0x2990000 0x1000>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 365 | interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; |
| 366 | clocks = <&platform_clk 1>; |
| 367 | clock-names = "ipg"; |
| 368 | status = "disabled"; |
| 369 | }; |
| 370 | |
| 371 | lpuart5: serial@29a0000 { |
| 372 | compatible = "fsl,ls1021a-lpuart"; |
haikun | b9fe9e2 | 2015-03-24 21:16:31 +0800 | [diff] [blame] | 373 | reg = <0x29a0000 0x1000>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 374 | interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>; |
| 375 | clocks = <&platform_clk 1>; |
| 376 | clock-names = "ipg"; |
| 377 | status = "disabled"; |
| 378 | }; |
| 379 | |
| 380 | wdog0: watchdog@2ad0000 { |
| 381 | compatible = "fsl,imx21-wdt"; |
haikun | b9fe9e2 | 2015-03-24 21:16:31 +0800 | [diff] [blame] | 382 | reg = <0x2ad0000 0x10000>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 383 | interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>; |
| 384 | clocks = <&platform_clk 1>; |
| 385 | clock-names = "wdog-en"; |
| 386 | big-endian; |
| 387 | }; |
| 388 | |
| 389 | sai1: sai@2b50000 { |
| 390 | compatible = "fsl,vf610-sai"; |
haikun | b9fe9e2 | 2015-03-24 21:16:31 +0800 | [diff] [blame] | 391 | reg = <0x2b50000 0x10000>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 392 | interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>; |
| 393 | clocks = <&platform_clk 1>; |
| 394 | clock-names = "sai"; |
| 395 | dma-names = "tx", "rx"; |
| 396 | dmas = <&edma0 1 47>, |
| 397 | <&edma0 1 46>; |
| 398 | big-endian; |
| 399 | status = "disabled"; |
| 400 | }; |
| 401 | |
| 402 | sai2: sai@2b60000 { |
| 403 | compatible = "fsl,vf610-sai"; |
haikun | b9fe9e2 | 2015-03-24 21:16:31 +0800 | [diff] [blame] | 404 | reg = <0x2b60000 0x10000>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 405 | interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>; |
| 406 | clocks = <&platform_clk 1>; |
| 407 | clock-names = "sai"; |
| 408 | dma-names = "tx", "rx"; |
| 409 | dmas = <&edma0 1 45>, |
| 410 | <&edma0 1 44>; |
| 411 | big-endian; |
| 412 | status = "disabled"; |
| 413 | }; |
| 414 | |
| 415 | edma0: edma@2c00000 { |
| 416 | #dma-cells = <2>; |
| 417 | compatible = "fsl,vf610-edma"; |
haikun | b9fe9e2 | 2015-03-24 21:16:31 +0800 | [diff] [blame] | 418 | reg = <0x2c00000 0x10000>, |
| 419 | <0x2c10000 0x10000>, |
| 420 | <0x2c20000 0x10000>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 421 | interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>, |
| 422 | <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>; |
| 423 | interrupt-names = "edma-tx", "edma-err"; |
| 424 | dma-channels = <32>; |
| 425 | big-endian; |
| 426 | clock-names = "dmamux0", "dmamux1"; |
| 427 | clocks = <&platform_clk 1>, |
| 428 | <&platform_clk 1>; |
| 429 | }; |
| 430 | |
Bin Meng | 19c0460 | 2019-07-19 00:29:59 +0300 | [diff] [blame] | 431 | enet0: ethernet@2d10000 { |
| 432 | compatible = "fsl,etsec2"; |
| 433 | reg = <0x2d10000 0x1000>; |
| 434 | status = "disabled"; |
| 435 | }; |
| 436 | |
| 437 | enet1: ethernet@2d50000 { |
| 438 | compatible = "fsl,etsec2"; |
| 439 | reg = <0x2d50000 0x1000>; |
| 440 | status = "disabled"; |
| 441 | }; |
| 442 | |
| 443 | enet2: ethernet@2d90000 { |
| 444 | compatible = "fsl,etsec2"; |
| 445 | reg = <0x2d90000 0x1000>; |
| 446 | status = "disabled"; |
| 447 | }; |
| 448 | |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 449 | mdio0: mdio@2d24000 { |
Bin Meng | 19c0460 | 2019-07-19 00:29:59 +0300 | [diff] [blame] | 450 | compatible = "fsl,etsec2-mdio"; |
| 451 | reg = <0x2d24000 0x4000>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 452 | #address-cells = <1>; |
| 453 | #size-cells = <0>; |
Bin Meng | 19c0460 | 2019-07-19 00:29:59 +0300 | [diff] [blame] | 454 | }; |
| 455 | |
| 456 | mdio1: mdio@2d64000 { |
| 457 | compatible = "fsl,etsec2-mdio"; |
| 458 | reg = <0x2d64000 0x4000>; |
| 459 | #address-cells = <1>; |
| 460 | #size-cells = <0>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 461 | }; |
| 462 | |
| 463 | usb@8600000 { |
| 464 | compatible = "fsl-usb2-dr-v2.5", "fsl-usb2-dr"; |
haikun | b9fe9e2 | 2015-03-24 21:16:31 +0800 | [diff] [blame] | 465 | reg = <0x8600000 0x1000>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 466 | interrupts = <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>; |
| 467 | dr_mode = "host"; |
| 468 | phy_type = "ulpi"; |
| 469 | }; |
| 470 | |
| 471 | usb3@3100000 { |
Rajesh Bhagat | a1bc99d | 2016-07-01 18:51:48 +0530 | [diff] [blame] | 472 | compatible = "fsl,layerscape-dwc3"; |
haikun | b9fe9e2 | 2015-03-24 21:16:31 +0800 | [diff] [blame] | 473 | reg = <0x3100000 0x10000>; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 474 | interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>; |
| 475 | dr_mode = "host"; |
| 476 | }; |
Minghuan Lian | 4daab81 | 2016-12-13 14:54:11 +0800 | [diff] [blame] | 477 | |
| 478 | pcie@3400000 { |
| 479 | compatible = "fsl,ls-pcie", "snps,dw-pcie"; |
| 480 | reg = <0x03400000 0x20000 /* dbi registers */ |
| 481 | 0x01570000 0x10000 /* pf controls registers */ |
| 482 | 0x24000000 0x20000>; /* configuration space */ |
| 483 | reg-names = "dbi", "ctrl", "config"; |
| 484 | big-endian; |
| 485 | #address-cells = <3>; |
| 486 | #size-cells = <2>; |
| 487 | device_type = "pci"; |
| 488 | bus-range = <0x0 0xff>; |
| 489 | ranges = <0x81000000 0x0 0x00000000 0x24020000 0x0 0x00010000 /* downstream I/O */ |
| 490 | 0x82000000 0x0 0x28000000 0x28000000 0x0 0x08000000>; /* non-prefetchable memory */ |
| 491 | }; |
| 492 | |
| 493 | pcie@3500000 { |
| 494 | compatible = "fsl,ls-pcie", "snps,dw-pcie"; |
| 495 | reg = <0x03500000 0x10000 /* dbi registers */ |
| 496 | 0x01570000 0x10000 /* pf controls registers */ |
| 497 | 0x34000000 0x20000>; /* configuration space */ |
| 498 | reg-names = "dbi", "ctrl", "config"; |
| 499 | big-endian; |
| 500 | #address-cells = <3>; |
| 501 | #size-cells = <2>; |
| 502 | device_type = "pci"; |
| 503 | num-lanes = <2>; |
| 504 | bus-range = <0x0 0xff>; |
| 505 | ranges = <0x81000000 0x0 0x00000000 0x34020000 0x0 0x00010000 /* downstream I/O */ |
| 506 | 0x82000000 0x0 0x38000000 0x38000000 0x0 0x08000000>; /* non-prefetchable memory */ |
| 507 | }; |
Peng Ma | 739b397 | 2018-08-01 14:15:41 +0800 | [diff] [blame] | 508 | |
| 509 | sata: sata@3200000 { |
| 510 | compatible = "fsl,ls1021a-ahci"; |
Peng Ma | 0b6bbbf | 2019-05-29 02:40:47 +0000 | [diff] [blame] | 511 | reg = <0x3200000 0x10000 0x20220520 0x4>; |
Michael Walle | 0234b5f | 2021-10-13 18:14:20 +0200 | [diff] [blame] | 512 | reg-names = "ahci", "sata-ecc"; |
Peng Ma | 739b397 | 2018-08-01 14:15:41 +0800 | [diff] [blame] | 513 | interrupts = <0 101 4>; |
| 514 | status = "disabled"; |
| 515 | }; |
haikun | f6580d0 | 2015-03-25 20:23:26 +0800 | [diff] [blame] | 516 | }; |
| 517 | }; |