Yuantian Tang | 4aefa16 | 2019-04-10 16:43:33 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR X11 |
| 2 | /* |
| 3 | * NXP ls1028a SOC common device tree source |
| 4 | * |
| 5 | * Copyright 2019 NXP |
| 6 | * |
| 7 | */ |
| 8 | |
| 9 | / { |
| 10 | compatible = "fsl,ls1028a"; |
| 11 | interrupt-parent = <&gic>; |
| 12 | #address-cells = <2>; |
| 13 | #size-cells = <2>; |
| 14 | |
| 15 | sysclk: sysclk { |
| 16 | compatible = "fixed-clock"; |
| 17 | #clock-cells = <0>; |
| 18 | clock-frequency = <100000000>; |
| 19 | clock-output-names = "sysclk"; |
| 20 | }; |
| 21 | |
| 22 | clockgen: clocking@1300000 { |
| 23 | compatible = "fsl,ls1028a-clockgen"; |
| 24 | reg = <0x0 0x1300000 0x0 0xa0000>; |
| 25 | #clock-cells = <2>; |
| 26 | clocks = <&sysclk>; |
| 27 | }; |
| 28 | |
| 29 | memory@01080000 { |
| 30 | device_type = "memory"; |
| 31 | reg = <0x00000000 0x01080000 0 0x80000000>; |
| 32 | /* DRAM space - 1, size : 2 GB DRAM */ |
| 33 | }; |
| 34 | |
| 35 | gic: interrupt-controller@6000000 { |
| 36 | compatible = "arm,gic-v3"; |
| 37 | reg = <0x0 0x06000000 0 0x10000>, /* GIC Dist */ |
| 38 | <0x0 0x06040000 0 0x40000>; |
| 39 | #interrupt-cells = <3>; |
| 40 | interrupt-controller; |
| 41 | interrupts = <1 9 0x4>; |
| 42 | }; |
| 43 | |
| 44 | timer { |
| 45 | compatible = "arm,armv8-timer"; |
| 46 | interrupts = <1 13 0x8>, /* Physical Secure PPI, active-low */ |
| 47 | <1 14 0x8>, /* Physical Non-Secure PPI, active-low */ |
| 48 | <1 11 0x8>, /* Virtual PPI, active-low */ |
| 49 | <1 10 0x8>; /* Hypervisor PPI, active-low */ |
| 50 | }; |
| 51 | |
| 52 | fspi: flexspi@20C0000 { |
| 53 | compatible = "nxp,dn-fspi"; |
| 54 | #address-cells = <1>; |
| 55 | #size-cells = <0>; |
| 56 | reg = <0x0 0x20C0000 0x0 0x10000>, |
| 57 | <0x0 0x20000000 0x0 0x10000000>; /*64MB flash*/ |
| 58 | reg-names = "FSPI", "FSPI-memory"; |
| 59 | num-cs = <1>; |
| 60 | status = "disabled"; |
| 61 | }; |
| 62 | |
| 63 | serial0: serial@21c0500 { |
| 64 | device_type = "serial"; |
| 65 | compatible = "fsl,ns16550", "ns16550a"; |
| 66 | reg = <0x0 0x21c0500 0x0 0x100>; |
| 67 | interrupts = <0 32 0x1>; /* edge triggered */ |
| 68 | status = "disabled"; |
| 69 | }; |
| 70 | |
| 71 | serial1: serial@21c0600 { |
| 72 | device_type = "serial"; |
| 73 | compatible = "fsl,ns16550", "ns16550a"; |
| 74 | reg = <0x0 0x21c0600 0x0 0x100>; |
| 75 | interrupts = <0 32 0x1>; /* edge triggered */ |
| 76 | status = "disabled"; |
| 77 | }; |
| 78 | |
| 79 | pcie@3400000 { |
| 80 | compatible = "fsl,ls-pcie", "fsl,ls1028-pcie", "snps,dw-pcie"; |
| 81 | reg = <0x00 0x03400000 0x0 0x80000 |
| 82 | 0x00 0x03480000 0x0 0x40000 /* lut registers */ |
| 83 | 0x00 0x034c0000 0x0 0x40000 /* pf controls registers */ |
| 84 | 0x80 0x00000000 0x0 0x20000>; /* configuration space */ |
| 85 | reg-names = "dbi", "lut", "ctrl", "config"; |
| 86 | #address-cells = <3>; |
| 87 | #size-cells = <2>; |
| 88 | device_type = "pci"; |
| 89 | num-lanes = <4>; |
| 90 | bus-range = <0x0 0xff>; |
| 91 | ranges = <0x81000000 0x0 0x00000000 0x80 0x00020000 0x0 0x00010000 /* downstream I/O */ |
| 92 | 0x82000000 0x0 0x40000000 0x80 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ |
| 93 | }; |
| 94 | |
| 95 | pcie@3500000 { |
| 96 | compatible = "fsl,ls-pcie", "fsl,ls1028-pcie", "snps,dw-pcie"; |
| 97 | reg = <0x00 0x03500000 0x0 0x80000 |
| 98 | 0x00 0x03580000 0x0 0x40000 /* lut registers */ |
| 99 | 0x00 0x035c0000 0x0 0x40000 /* pf controls registers */ |
| 100 | 0x88 0x00000000 0x0 0x20000>; /* configuration space */ |
| 101 | reg-names = "dbi", "lut", "ctrl", "config"; |
| 102 | #address-cells = <3>; |
| 103 | #size-cells = <2>; |
| 104 | device_type = "pci"; |
| 105 | num-lanes = <4>; |
| 106 | bus-range = <0x0 0xff>; |
| 107 | ranges = <0x81000000 0x0 0x00000000 0x88 0x00020000 0x0 0x00010000 /* downstream I/O */ |
| 108 | 0x82000000 0x0 0x40000000 0x88 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ |
| 109 | }; |
| 110 | |
Alex Marginean | 0d5ed8f | 2019-06-07 17:03:07 +0300 | [diff] [blame] | 111 | pcie@1f0000000 { |
| 112 | compatible = "pci-host-ecam-generic"; |
| 113 | /* ECAM bus 0, HW has more space reserved but not populated */ |
| 114 | bus-range = <0x0 0x0>; |
| 115 | reg = <0x01 0xf0000000 0x0 0x100000>; |
| 116 | #address-cells = <3>; |
| 117 | #size-cells = <2>; |
| 118 | device_type = "pci"; |
| 119 | ranges= <0x82000000 0x0 0x00000000 0x1 0xf8000000 0x0 0x160000>; |
| 120 | }; |
| 121 | |
Yuantian Tang | 4aefa16 | 2019-04-10 16:43:33 +0800 | [diff] [blame] | 122 | i2c0: i2c@2000000 { |
| 123 | compatible = "fsl,vf610-i2c"; |
| 124 | #address-cells = <1>; |
| 125 | #size-cells = <0>; |
| 126 | reg = <0x0 0x2000000 0x0 0x10000>; |
| 127 | interrupts = <0 34 0x4>; |
| 128 | clock-names = "i2c"; |
| 129 | clocks = <&clockgen 4 0>; |
| 130 | status = "disabled"; |
| 131 | }; |
| 132 | |
| 133 | i2c1: i2c@2010000 { |
| 134 | compatible = "fsl,vf610-i2c"; |
| 135 | #address-cells = <1>; |
| 136 | #size-cells = <0>; |
| 137 | reg = <0x0 0x2010000 0x0 0x10000>; |
| 138 | interrupts = <0 34 0x4>; |
| 139 | clock-names = "i2c"; |
| 140 | clocks = <&clockgen 4 0>; |
| 141 | status = "disabled"; |
| 142 | }; |
| 143 | |
| 144 | i2c2: i2c@2020000 { |
| 145 | compatible = "fsl,vf610-i2c"; |
| 146 | #address-cells = <1>; |
| 147 | #size-cells = <0>; |
| 148 | reg = <0x0 0x2020000 0x0 0x10000>; |
| 149 | interrupts = <0 35 0x4>; |
| 150 | clock-names = "i2c"; |
| 151 | clocks = <&clockgen 4 0>; |
| 152 | status = "disabled"; |
| 153 | }; |
| 154 | |
| 155 | i2c3: i2c@2030000 { |
| 156 | compatible = "fsl,vf610-i2c"; |
| 157 | #address-cells = <1>; |
| 158 | #size-cells = <0>; |
| 159 | reg = <0x0 0x2030000 0x0 0x10000>; |
| 160 | interrupts = <0 35 0x4>; |
| 161 | clock-names = "i2c"; |
| 162 | clocks = <&clockgen 4 0>; |
| 163 | status = "disabled"; |
| 164 | }; |
| 165 | |
| 166 | i2c4: i2c@2040000 { |
| 167 | compatible = "fsl,vf610-i2c"; |
| 168 | #address-cells = <1>; |
| 169 | #size-cells = <0>; |
| 170 | reg = <0x0 0x2040000 0x0 0x10000>; |
| 171 | interrupts = <0 74 0x4>; |
| 172 | clock-names = "i2c"; |
| 173 | clocks = <&clockgen 4 0>; |
| 174 | status = "disabled"; |
| 175 | }; |
| 176 | |
| 177 | i2c5: i2c@2050000 { |
| 178 | compatible = "fsl,vf610-i2c"; |
| 179 | #address-cells = <1>; |
| 180 | #size-cells = <0>; |
| 181 | reg = <0x0 0x2050000 0x0 0x10000>; |
| 182 | interrupts = <0 74 0x4>; |
| 183 | clock-names = "i2c"; |
| 184 | clocks = <&clockgen 4 0>; |
| 185 | status = "disabled"; |
| 186 | }; |
| 187 | |
| 188 | i2c6: i2c@2060000 { |
| 189 | compatible = "fsl,vf610-i2c"; |
| 190 | #address-cells = <1>; |
| 191 | #size-cells = <0>; |
| 192 | reg = <0x0 0x2060000 0x0 0x10000>; |
| 193 | interrupts = <0 75 0x4>; |
| 194 | clock-names = "i2c"; |
| 195 | clocks = <&clockgen 4 0>; |
| 196 | status = "disabled"; |
| 197 | }; |
| 198 | |
| 199 | i2c7: i2c@2070000 { |
| 200 | compatible = "fsl,vf610-i2c"; |
| 201 | #address-cells = <1>; |
| 202 | #size-cells = <0>; |
| 203 | reg = <0x0 0x2070000 0x0 0x10000>; |
| 204 | interrupts = <0 75 0x4>; |
| 205 | clock-names = "i2c"; |
| 206 | clocks = <&clockgen 4 0>; |
| 207 | status = "disabled"; |
| 208 | }; |
| 209 | |
| 210 | usb1: usb3@3100000 { |
| 211 | compatible = "fsl,layerscape-dwc3"; |
| 212 | reg = <0x0 0x3100000 0x0 0x10000>; |
| 213 | interrupts = <0 80 0x4>; |
| 214 | dr_mode = "host"; |
| 215 | status = "disabled"; |
| 216 | }; |
| 217 | |
| 218 | usb2: usb3@3110000 { |
| 219 | compatible = "fsl,layerscape-dwc3"; |
| 220 | reg = <0x0 0x3110000 0x0 0x10000>; |
| 221 | interrupts = <0 81 0x4>; |
| 222 | dr_mode = "host"; |
| 223 | status = "disabled"; |
| 224 | }; |
| 225 | |
| 226 | dspi0: dspi@2100000 { |
| 227 | compatible = "fsl,vf610-dspi"; |
| 228 | #address-cells = <1>; |
| 229 | #size-cells = <0>; |
| 230 | reg = <0x0 0x2100000 0x0 0x10000>; |
| 231 | interrupts = <0 26 0x4>; |
| 232 | clock-names = "dspi"; |
| 233 | clocks = <&clockgen 4 0>; |
| 234 | num-cs = <5>; |
| 235 | litte-endian; |
| 236 | status = "disabled"; |
| 237 | }; |
| 238 | |
| 239 | dspi1: dspi@2110000 { |
| 240 | compatible = "fsl,vf610-dspi"; |
| 241 | #address-cells = <1>; |
| 242 | #size-cells = <0>; |
| 243 | reg = <0x0 0x2110000 0x0 0x10000>; |
| 244 | interrupts = <0 26 0x4>; |
| 245 | clock-names = "dspi"; |
| 246 | clocks = <&clockgen 4 0>; |
| 247 | num-cs = <5>; |
| 248 | little-endian; |
| 249 | status = "disabled"; |
| 250 | }; |
| 251 | |
| 252 | dspi2: dspi@2120000 { |
| 253 | compatible = "fsl,vf610-dspi"; |
| 254 | #address-cells = <1>; |
| 255 | #size-cells = <0>; |
| 256 | reg = <0x0 0x2120000 0x0 0x10000>; |
| 257 | interrupts = <0 26 0x4>; |
| 258 | clock-names = "dspi"; |
| 259 | clocks = <&clockgen 4 0>; |
| 260 | num-cs = <5>; |
| 261 | little-endian; |
| 262 | status = "disabled"; |
| 263 | }; |
| 264 | |
| 265 | esdhc0: esdhc@2140000 { |
| 266 | compatible = "fsl,esdhc"; |
| 267 | reg = <0x0 0x2140000 0x0 0x10000>; |
| 268 | interrupts = <0 28 0x4>; |
| 269 | big-endian; |
| 270 | bus-width = <4>; |
| 271 | status = "disabled"; |
| 272 | }; |
| 273 | |
| 274 | esdhc1: esdhc@2150000 { |
| 275 | compatible = "fsl,esdhc"; |
| 276 | reg = <0x0 0x2150000 0x0 0x10000>; |
| 277 | interrupts = <0 63 0x4>; |
| 278 | big-endian; |
| 279 | non-removable; |
| 280 | bus-width = <4>; |
| 281 | status = "disabled"; |
| 282 | }; |
| 283 | |
| 284 | sata: sata@3200000 { |
| 285 | compatible = "fsl,ls1028a-ahci"; |
Peng Ma | 933c5e3 | 2019-05-23 04:06:48 +0000 | [diff] [blame] | 286 | reg = <0x0 0x3200000 0x0 0x10000 /* ccsr sata base */ |
| 287 | 0x7 0x100520 0x0 0x4>; /* ecc sata addr*/ |
| 288 | reg-names = "sata-base", "ecc-addr"; |
Yuantian Tang | 4aefa16 | 2019-04-10 16:43:33 +0800 | [diff] [blame] | 289 | interrupts = <0 133 4>; |
Yuantian Tang | 4aefa16 | 2019-04-10 16:43:33 +0800 | [diff] [blame] | 290 | status = "disabled"; |
| 291 | }; |
Qiang Zhao | 2a60557 | 2019-05-07 03:16:13 +0000 | [diff] [blame] | 292 | |
| 293 | cluster1_core0_watchdog: wdt@c000000 { |
| 294 | compatible = "arm,sp805-wdt"; |
| 295 | reg = <0x0 0xc000000 0x0 0x1000>; |
| 296 | }; |
Yuantian Tang | 4aefa16 | 2019-04-10 16:43:33 +0800 | [diff] [blame] | 297 | }; |