Kristian Amlie | 8f8a299 | 2021-09-07 08:37:51 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
| 3 | * ARM Ltd. Versatile Express |
| 4 | * |
| 5 | * CoreTile Express A9x4 |
| 6 | * Cortex-A9 MPCore (V2P-CA9) |
| 7 | * |
| 8 | * HBI-0191B |
| 9 | */ |
| 10 | |
| 11 | /dts-v1/; |
| 12 | #include "vexpress-v2m.dtsi" |
| 13 | |
| 14 | / { |
| 15 | model = "V2P-CA9"; |
| 16 | arm,hbi = <0x191>; |
| 17 | arm,vexpress,site = <0xf>; |
| 18 | compatible = "arm,vexpress,v2p-ca9", "arm,vexpress"; |
| 19 | interrupt-parent = <&gic>; |
| 20 | #address-cells = <1>; |
| 21 | #size-cells = <1>; |
| 22 | |
Ole P. Orhagen | e60fee7 | 2024-01-26 13:47:50 +0100 | [diff] [blame] | 23 | chosen { |
| 24 | stdout-path = &v2m_serial0; |
| 25 | }; |
Kristian Amlie | 8f8a299 | 2021-09-07 08:37:51 +0200 | [diff] [blame] | 26 | |
| 27 | aliases { |
| 28 | serial0 = &v2m_serial0; |
| 29 | serial1 = &v2m_serial1; |
| 30 | serial2 = &v2m_serial2; |
| 31 | serial3 = &v2m_serial3; |
| 32 | i2c0 = &v2m_i2c_dvi; |
| 33 | i2c1 = &v2m_i2c_pcie; |
| 34 | mmc0 = &mmc0; |
| 35 | }; |
| 36 | |
| 37 | cpus { |
| 38 | #address-cells = <1>; |
| 39 | #size-cells = <0>; |
| 40 | |
| 41 | A9_0: cpu@0 { |
| 42 | device_type = "cpu"; |
| 43 | compatible = "arm,cortex-a9"; |
| 44 | reg = <0>; |
| 45 | next-level-cache = <&L2>; |
| 46 | }; |
| 47 | |
| 48 | A9_1: cpu@1 { |
| 49 | device_type = "cpu"; |
| 50 | compatible = "arm,cortex-a9"; |
| 51 | reg = <1>; |
| 52 | next-level-cache = <&L2>; |
| 53 | }; |
| 54 | |
| 55 | A9_2: cpu@2 { |
| 56 | device_type = "cpu"; |
| 57 | compatible = "arm,cortex-a9"; |
| 58 | reg = <2>; |
| 59 | next-level-cache = <&L2>; |
| 60 | }; |
| 61 | |
| 62 | A9_3: cpu@3 { |
| 63 | device_type = "cpu"; |
| 64 | compatible = "arm,cortex-a9"; |
| 65 | reg = <3>; |
| 66 | next-level-cache = <&L2>; |
| 67 | }; |
| 68 | }; |
| 69 | |
| 70 | memory@60000000 { |
| 71 | device_type = "memory"; |
| 72 | reg = <0x60000000 0x40000000>; |
| 73 | }; |
| 74 | |
| 75 | reserved-memory { |
| 76 | #address-cells = <1>; |
| 77 | #size-cells = <1>; |
| 78 | ranges; |
| 79 | |
| 80 | /* Chipselect 3 is physically at 0x4c000000 */ |
| 81 | vram: vram@4c000000 { |
| 82 | /* 8 MB of designated video RAM */ |
| 83 | compatible = "shared-dma-pool"; |
| 84 | reg = <0x4c000000 0x00800000>; |
| 85 | no-map; |
| 86 | }; |
| 87 | }; |
| 88 | |
| 89 | clcd@10020000 { |
| 90 | compatible = "arm,pl111", "arm,primecell"; |
| 91 | reg = <0x10020000 0x1000>; |
| 92 | interrupt-names = "combined"; |
| 93 | interrupts = <0 44 4>; |
| 94 | clocks = <&oscclk1>, <&oscclk2>; |
| 95 | clock-names = "clcdclk", "apb_pclk"; |
| 96 | /* 1024x768 16bpp @65MHz */ |
| 97 | max-memory-bandwidth = <95000000>; |
| 98 | |
| 99 | port { |
| 100 | clcd_pads_ct: endpoint { |
| 101 | remote-endpoint = <&dvi_bridge_in_ct>; |
| 102 | arm,pl11x,tft-r0g0b0-pads = <0 8 16>; |
| 103 | }; |
| 104 | }; |
| 105 | }; |
| 106 | |
| 107 | memory-controller@100e0000 { |
| 108 | compatible = "arm,pl341", "arm,primecell"; |
| 109 | reg = <0x100e0000 0x1000>; |
| 110 | clocks = <&oscclk2>; |
| 111 | clock-names = "apb_pclk"; |
| 112 | }; |
| 113 | |
| 114 | memory-controller@100e1000 { |
| 115 | compatible = "arm,pl354", "arm,primecell"; |
| 116 | reg = <0x100e1000 0x1000>; |
| 117 | interrupts = <0 45 4>, |
| 118 | <0 46 4>; |
| 119 | clocks = <&oscclk2>; |
| 120 | clock-names = "apb_pclk"; |
| 121 | }; |
| 122 | |
| 123 | timer@100e4000 { |
| 124 | compatible = "arm,sp804", "arm,primecell"; |
| 125 | reg = <0x100e4000 0x1000>; |
| 126 | interrupts = <0 48 4>, |
| 127 | <0 49 4>; |
| 128 | clocks = <&oscclk2>, <&oscclk2>; |
| 129 | clock-names = "timclk", "apb_pclk"; |
| 130 | status = "disabled"; |
| 131 | }; |
| 132 | |
| 133 | watchdog@100e5000 { |
| 134 | compatible = "arm,sp805", "arm,primecell"; |
| 135 | reg = <0x100e5000 0x1000>; |
| 136 | interrupts = <0 51 4>; |
| 137 | clocks = <&oscclk2>, <&oscclk2>; |
| 138 | clock-names = "wdogclk", "apb_pclk"; |
| 139 | }; |
| 140 | |
| 141 | scu@1e000000 { |
| 142 | compatible = "arm,cortex-a9-scu"; |
| 143 | reg = <0x1e000000 0x58>; |
| 144 | }; |
| 145 | |
| 146 | timer@1e000600 { |
| 147 | compatible = "arm,cortex-a9-twd-timer"; |
| 148 | reg = <0x1e000600 0x20>; |
| 149 | interrupts = <1 13 0xf04>; |
| 150 | }; |
| 151 | |
| 152 | watchdog@1e000620 { |
| 153 | compatible = "arm,cortex-a9-twd-wdt"; |
| 154 | reg = <0x1e000620 0x20>; |
| 155 | interrupts = <1 14 0xf04>; |
| 156 | }; |
| 157 | |
| 158 | gic: interrupt-controller@1e001000 { |
| 159 | compatible = "arm,cortex-a9-gic"; |
| 160 | #interrupt-cells = <3>; |
| 161 | #address-cells = <0>; |
| 162 | interrupt-controller; |
| 163 | reg = <0x1e001000 0x1000>, |
| 164 | <0x1e000100 0x100>; |
| 165 | }; |
| 166 | |
| 167 | L2: cache-controller@1e00a000 { |
| 168 | compatible = "arm,pl310-cache"; |
| 169 | reg = <0x1e00a000 0x1000>; |
| 170 | interrupts = <0 43 4>; |
| 171 | cache-unified; |
| 172 | cache-level = <2>; |
| 173 | arm,data-latency = <1 1 1>; |
| 174 | arm,tag-latency = <1 1 1>; |
| 175 | }; |
| 176 | |
| 177 | pmu { |
| 178 | compatible = "arm,cortex-a9-pmu"; |
| 179 | interrupts = <0 60 4>, |
| 180 | <0 61 4>, |
| 181 | <0 62 4>, |
| 182 | <0 63 4>; |
| 183 | interrupt-affinity = <&A9_0>, <&A9_1>, <&A9_2>, <&A9_3>; |
| 184 | |
| 185 | }; |
| 186 | |
| 187 | dcc { |
| 188 | compatible = "arm,vexpress,config-bus"; |
| 189 | arm,vexpress,config-bridge = <&v2m_sysreg>; |
| 190 | |
| 191 | oscclk0: extsaxiclk { |
| 192 | /* ACLK clock to the AXI master port on the test chip */ |
| 193 | compatible = "arm,vexpress-osc"; |
| 194 | arm,vexpress-sysreg,func = <1 0>; |
| 195 | freq-range = <30000000 50000000>; |
| 196 | #clock-cells = <0>; |
| 197 | clock-output-names = "extsaxiclk"; |
| 198 | }; |
| 199 | |
| 200 | oscclk1: clcdclk { |
| 201 | /* Reference clock for the CLCD */ |
| 202 | compatible = "arm,vexpress-osc"; |
| 203 | arm,vexpress-sysreg,func = <1 1>; |
| 204 | freq-range = <10000000 80000000>; |
| 205 | #clock-cells = <0>; |
| 206 | clock-output-names = "clcdclk"; |
| 207 | }; |
| 208 | |
| 209 | smbclk: oscclk2: tcrefclk { |
| 210 | /* Reference clock for the test chip internal PLLs */ |
| 211 | compatible = "arm,vexpress-osc"; |
| 212 | arm,vexpress-sysreg,func = <1 2>; |
| 213 | freq-range = <33000000 100000000>; |
| 214 | #clock-cells = <0>; |
| 215 | clock-output-names = "tcrefclk"; |
| 216 | }; |
| 217 | |
| 218 | volt-vd10 { |
| 219 | /* Test Chip internal logic voltage */ |
| 220 | compatible = "arm,vexpress-volt"; |
| 221 | arm,vexpress-sysreg,func = <2 0>; |
| 222 | regulator-name = "VD10"; |
| 223 | regulator-always-on; |
| 224 | label = "VD10"; |
| 225 | }; |
| 226 | |
| 227 | volt-vd10-s2 { |
| 228 | /* PL310, L2 cache, RAM cell supply (not PL310 logic) */ |
| 229 | compatible = "arm,vexpress-volt"; |
| 230 | arm,vexpress-sysreg,func = <2 1>; |
| 231 | regulator-name = "VD10_S2"; |
| 232 | regulator-always-on; |
| 233 | label = "VD10_S2"; |
| 234 | }; |
| 235 | |
| 236 | volt-vd10-s3 { |
| 237 | /* Cortex-A9 system supply, Cores, MPEs, SCU and PL310 logic */ |
| 238 | compatible = "arm,vexpress-volt"; |
| 239 | arm,vexpress-sysreg,func = <2 2>; |
| 240 | regulator-name = "VD10_S3"; |
| 241 | regulator-always-on; |
| 242 | label = "VD10_S3"; |
| 243 | }; |
| 244 | |
| 245 | volt-vcc1v8 { |
| 246 | /* DDR2 SDRAM and Test Chip DDR2 I/O supply */ |
| 247 | compatible = "arm,vexpress-volt"; |
| 248 | arm,vexpress-sysreg,func = <2 3>; |
| 249 | regulator-name = "VCC1V8"; |
| 250 | regulator-always-on; |
| 251 | label = "VCC1V8"; |
| 252 | }; |
| 253 | |
| 254 | volt-ddr2vtt { |
| 255 | /* DDR2 SDRAM VTT termination voltage */ |
| 256 | compatible = "arm,vexpress-volt"; |
| 257 | arm,vexpress-sysreg,func = <2 4>; |
| 258 | regulator-name = "DDR2VTT"; |
| 259 | regulator-always-on; |
| 260 | label = "DDR2VTT"; |
| 261 | }; |
| 262 | |
| 263 | volt-vcc3v3 { |
| 264 | /* Local board supply for miscellaneous logic external to the Test Chip */ |
| 265 | arm,vexpress-sysreg,func = <2 5>; |
| 266 | compatible = "arm,vexpress-volt"; |
| 267 | regulator-name = "VCC3V3"; |
| 268 | regulator-always-on; |
| 269 | label = "VCC3V3"; |
| 270 | }; |
| 271 | |
| 272 | amp-vd10-s2 { |
| 273 | /* PL310, L2 cache, RAM cell supply (not PL310 logic) */ |
| 274 | compatible = "arm,vexpress-amp"; |
| 275 | arm,vexpress-sysreg,func = <3 0>; |
| 276 | label = "VD10_S2"; |
| 277 | }; |
| 278 | |
| 279 | amp-vd10-s3 { |
| 280 | /* Cortex-A9 system supply, Cores, MPEs, SCU and PL310 logic */ |
| 281 | compatible = "arm,vexpress-amp"; |
| 282 | arm,vexpress-sysreg,func = <3 1>; |
| 283 | label = "VD10_S3"; |
| 284 | }; |
| 285 | |
| 286 | power-vd10-s2 { |
| 287 | /* PL310, L2 cache, RAM cell supply (not PL310 logic) */ |
| 288 | compatible = "arm,vexpress-power"; |
| 289 | arm,vexpress-sysreg,func = <12 0>; |
| 290 | label = "PVD10_S2"; |
| 291 | }; |
| 292 | |
| 293 | power-vd10-s3 { |
| 294 | /* Cortex-A9 system supply, Cores, MPEs, SCU and PL310 logic */ |
| 295 | compatible = "arm,vexpress-power"; |
| 296 | arm,vexpress-sysreg,func = <12 1>; |
| 297 | label = "PVD10_S3"; |
| 298 | }; |
| 299 | }; |
| 300 | |
| 301 | smb: smb@4000000 { |
| 302 | compatible = "simple-bus"; |
| 303 | |
| 304 | #address-cells = <2>; |
| 305 | #size-cells = <1>; |
| 306 | ranges = <0 0 0x40000000 0x04000000>, |
| 307 | <1 0 0x44000000 0x04000000>, |
| 308 | <2 0 0x48000000 0x04000000>, |
| 309 | <3 0 0x4c000000 0x04000000>, |
| 310 | <7 0 0x10000000 0x00020000>; |
| 311 | |
| 312 | #interrupt-cells = <1>; |
| 313 | interrupt-map-mask = <0 0 63>; |
| 314 | interrupt-map = <0 0 0 &gic 0 0 4>, |
| 315 | <0 0 1 &gic 0 1 4>, |
| 316 | <0 0 2 &gic 0 2 4>, |
| 317 | <0 0 3 &gic 0 3 4>, |
| 318 | <0 0 4 &gic 0 4 4>, |
| 319 | <0 0 5 &gic 0 5 4>, |
| 320 | <0 0 6 &gic 0 6 4>, |
| 321 | <0 0 7 &gic 0 7 4>, |
| 322 | <0 0 8 &gic 0 8 4>, |
| 323 | <0 0 9 &gic 0 9 4>, |
| 324 | <0 0 10 &gic 0 10 4>, |
| 325 | <0 0 11 &gic 0 11 4>, |
| 326 | <0 0 12 &gic 0 12 4>, |
| 327 | <0 0 13 &gic 0 13 4>, |
| 328 | <0 0 14 &gic 0 14 4>, |
| 329 | <0 0 15 &gic 0 15 4>, |
| 330 | <0 0 16 &gic 0 16 4>, |
| 331 | <0 0 17 &gic 0 17 4>, |
| 332 | <0 0 18 &gic 0 18 4>, |
| 333 | <0 0 19 &gic 0 19 4>, |
| 334 | <0 0 20 &gic 0 20 4>, |
| 335 | <0 0 21 &gic 0 21 4>, |
| 336 | <0 0 22 &gic 0 22 4>, |
| 337 | <0 0 23 &gic 0 23 4>, |
| 338 | <0 0 24 &gic 0 24 4>, |
| 339 | <0 0 25 &gic 0 25 4>, |
| 340 | <0 0 26 &gic 0 26 4>, |
| 341 | <0 0 27 &gic 0 27 4>, |
| 342 | <0 0 28 &gic 0 28 4>, |
| 343 | <0 0 29 &gic 0 29 4>, |
| 344 | <0 0 30 &gic 0 30 4>, |
| 345 | <0 0 31 &gic 0 31 4>, |
| 346 | <0 0 32 &gic 0 32 4>, |
| 347 | <0 0 33 &gic 0 33 4>, |
| 348 | <0 0 34 &gic 0 34 4>, |
| 349 | <0 0 35 &gic 0 35 4>, |
| 350 | <0 0 36 &gic 0 36 4>, |
| 351 | <0 0 37 &gic 0 37 4>, |
| 352 | <0 0 38 &gic 0 38 4>, |
| 353 | <0 0 39 &gic 0 39 4>, |
| 354 | <0 0 40 &gic 0 40 4>, |
| 355 | <0 0 41 &gic 0 41 4>, |
| 356 | <0 0 42 &gic 0 42 4>; |
| 357 | }; |
| 358 | |
| 359 | site2: hsb@e0000000 { |
| 360 | compatible = "simple-bus"; |
| 361 | #address-cells = <1>; |
| 362 | #size-cells = <1>; |
| 363 | ranges = <0 0xe0000000 0x20000000>; |
| 364 | #interrupt-cells = <1>; |
| 365 | interrupt-map-mask = <0 3>; |
| 366 | interrupt-map = <0 0 &gic 0 36 4>, |
| 367 | <0 1 &gic 0 37 4>, |
| 368 | <0 2 &gic 0 38 4>, |
| 369 | <0 3 &gic 0 39 4>; |
| 370 | }; |
| 371 | }; |