Soby Mathew | 4b435f3 | 2016-09-14 15:51:44 +0100 | [diff] [blame] | 1 | /* |
Balint Dobszay | 5ce2c32 | 2020-01-10 17:16:27 +0100 | [diff] [blame] | 2 | * Copyright (c) 2013-2020, ARM Limited and Contributors. All rights reserved. |
Soby Mathew | 4b435f3 | 2016-09-14 15:51:44 +0100 | [diff] [blame] | 3 | * |
Achin Gupta | 6938731 | 2016-09-26 10:22:56 +0100 | [diff] [blame] | 4 | * SPDX-License-Identifier: BSD-3-Clause |
Soby Mathew | 4b435f3 | 2016-09-14 15:51:44 +0100 | [diff] [blame] | 5 | */ |
| 6 | |
Alexei Fedorov | 4348f49 | 2020-05-13 21:13:57 +0100 | [diff] [blame] | 7 | /* Configuration: max 4 clusters with up to 4 CPUs */ |
| 8 | |
Soby Mathew | 4b435f3 | 2016-09-14 15:51:44 +0100 | [diff] [blame] | 9 | /dts-v1/; |
| 10 | |
Alexei Fedorov | 4348f49 | 2020-05-13 21:13:57 +0100 | [diff] [blame] | 11 | #define AFF |
| 12 | #define REG_32 |
| 13 | |
| 14 | #include "fvp-defs.dtsi" |
| 15 | |
Soby Mathew | 4b435f3 | 2016-09-14 15:51:44 +0100 | [diff] [blame] | 16 | /memreserve/ 0x80000000 0x00010000; |
| 17 | |
| 18 | / { |
| 19 | }; |
| 20 | |
| 21 | / { |
| 22 | model = "FVP Base"; |
| 23 | compatible = "arm,vfp-base", "arm,vexpress"; |
| 24 | interrupt-parent = <&gic>; |
| 25 | #address-cells = <2>; |
| 26 | #size-cells = <2>; |
| 27 | |
| 28 | chosen { }; |
| 29 | |
| 30 | aliases { |
| 31 | serial0 = &v2m_serial0; |
| 32 | serial1 = &v2m_serial1; |
| 33 | serial2 = &v2m_serial2; |
| 34 | serial3 = &v2m_serial3; |
| 35 | }; |
| 36 | |
| 37 | psci { |
| 38 | compatible = "arm,psci-1.0", "arm,psci-0.2", "arm,psci"; |
| 39 | method = "smc"; |
| 40 | cpu_suspend = <0x84000001>; |
| 41 | cpu_off = <0x84000002>; |
| 42 | cpu_on = <0x84000003>; |
| 43 | sys_poweroff = <0x84000008>; |
| 44 | sys_reset = <0x84000009>; |
Madhukar Pappireddy | 26b945c | 2019-12-27 12:02:34 -0600 | [diff] [blame] | 45 | max-pwr-lvl = <2>; |
Soby Mathew | 4b435f3 | 2016-09-14 15:51:44 +0100 | [diff] [blame] | 46 | }; |
| 47 | |
| 48 | cpus { |
| 49 | #address-cells = <1>; |
| 50 | #size-cells = <0>; |
| 51 | |
Alexei Fedorov | 4348f49 | 2020-05-13 21:13:57 +0100 | [diff] [blame] | 52 | CPU_MAP |
Soby Mathew | 4b435f3 | 2016-09-14 15:51:44 +0100 | [diff] [blame] | 53 | |
| 54 | idle-states { |
| 55 | entry-method = "arm,psci"; |
| 56 | |
| 57 | CPU_SLEEP_0: cpu-sleep-0 { |
| 58 | compatible = "arm,idle-state"; |
| 59 | local-timer-stop; |
| 60 | arm,psci-suspend-param = <0x0010000>; |
| 61 | entry-latency-us = <40>; |
| 62 | exit-latency-us = <100>; |
| 63 | min-residency-us = <150>; |
| 64 | }; |
| 65 | |
| 66 | CLUSTER_SLEEP_0: cluster-sleep-0 { |
| 67 | compatible = "arm,idle-state"; |
| 68 | local-timer-stop; |
| 69 | arm,psci-suspend-param = <0x1010000>; |
| 70 | entry-latency-us = <500>; |
| 71 | exit-latency-us = <1000>; |
| 72 | min-residency-us = <2500>; |
| 73 | }; |
| 74 | }; |
| 75 | |
Alexei Fedorov | 4348f49 | 2020-05-13 21:13:57 +0100 | [diff] [blame] | 76 | CPUS |
Soby Mathew | 4b435f3 | 2016-09-14 15:51:44 +0100 | [diff] [blame] | 77 | |
| 78 | L2_0: l2-cache0 { |
| 79 | compatible = "cache"; |
| 80 | }; |
| 81 | }; |
| 82 | |
| 83 | memory@80000000 { |
| 84 | device_type = "memory"; |
| 85 | reg = <0x00000000 0x80000000 0 0x7F000000>, |
| 86 | <0x00000008 0x80000000 0 0x80000000>; |
| 87 | }; |
| 88 | |
| 89 | gic: interrupt-controller@2f000000 { |
| 90 | compatible = "arm,cortex-a15-gic", "arm,cortex-a9-gic"; |
| 91 | #interrupt-cells = <3>; |
| 92 | #address-cells = <0>; |
| 93 | interrupt-controller; |
| 94 | reg = <0x0 0x2f000000 0 0x10000>, |
| 95 | <0x0 0x2c000000 0 0x2000>, |
| 96 | <0x0 0x2c010000 0 0x2000>, |
| 97 | <0x0 0x2c02F000 0 0x2000>; |
| 98 | interrupts = <1 9 0xf04>; |
| 99 | }; |
| 100 | |
| 101 | timer { |
| 102 | compatible = "arm,armv8-timer"; |
| 103 | interrupts = <1 13 0xff01>, |
| 104 | <1 14 0xff01>, |
| 105 | <1 11 0xff01>, |
| 106 | <1 10 0xff01>; |
| 107 | clock-frequency = <100000000>; |
| 108 | }; |
| 109 | |
| 110 | timer@2a810000 { |
| 111 | compatible = "arm,armv7-timer-mem"; |
| 112 | reg = <0x0 0x2a810000 0x0 0x10000>; |
| 113 | clock-frequency = <100000000>; |
| 114 | #address-cells = <2>; |
| 115 | #size-cells = <2>; |
| 116 | ranges; |
| 117 | frame@2a830000 { |
| 118 | frame-number = <1>; |
| 119 | interrupts = <0 26 4>; |
| 120 | reg = <0x0 0x2a830000 0x0 0x10000>; |
| 121 | }; |
| 122 | }; |
| 123 | |
| 124 | pmu { |
| 125 | compatible = "arm,armv8-pmuv3"; |
| 126 | interrupts = <0 60 4>, |
| 127 | <0 61 4>, |
| 128 | <0 62 4>, |
| 129 | <0 63 4>; |
| 130 | }; |
| 131 | |
| 132 | smb { |
| 133 | compatible = "simple-bus"; |
| 134 | |
| 135 | #address-cells = <2>; |
| 136 | #size-cells = <1>; |
| 137 | ranges = <0 0 0 0x08000000 0x04000000>, |
| 138 | <1 0 0 0x14000000 0x04000000>, |
| 139 | <2 0 0 0x18000000 0x04000000>, |
| 140 | <3 0 0 0x1c000000 0x04000000>, |
| 141 | <4 0 0 0x0c000000 0x04000000>, |
| 142 | <5 0 0 0x10000000 0x04000000>; |
| 143 | |
| 144 | #interrupt-cells = <1>; |
| 145 | interrupt-map-mask = <0 0 63>; |
| 146 | interrupt-map = <0 0 0 &gic 0 0 4>, |
| 147 | <0 0 1 &gic 0 1 4>, |
| 148 | <0 0 2 &gic 0 2 4>, |
| 149 | <0 0 3 &gic 0 3 4>, |
| 150 | <0 0 4 &gic 0 4 4>, |
| 151 | <0 0 5 &gic 0 5 4>, |
| 152 | <0 0 6 &gic 0 6 4>, |
| 153 | <0 0 7 &gic 0 7 4>, |
| 154 | <0 0 8 &gic 0 8 4>, |
| 155 | <0 0 9 &gic 0 9 4>, |
| 156 | <0 0 10 &gic 0 10 4>, |
| 157 | <0 0 11 &gic 0 11 4>, |
| 158 | <0 0 12 &gic 0 12 4>, |
| 159 | <0 0 13 &gic 0 13 4>, |
| 160 | <0 0 14 &gic 0 14 4>, |
| 161 | <0 0 15 &gic 0 15 4>, |
| 162 | <0 0 16 &gic 0 16 4>, |
| 163 | <0 0 17 &gic 0 17 4>, |
| 164 | <0 0 18 &gic 0 18 4>, |
| 165 | <0 0 19 &gic 0 19 4>, |
| 166 | <0 0 20 &gic 0 20 4>, |
| 167 | <0 0 21 &gic 0 21 4>, |
| 168 | <0 0 22 &gic 0 22 4>, |
| 169 | <0 0 23 &gic 0 23 4>, |
| 170 | <0 0 24 &gic 0 24 4>, |
| 171 | <0 0 25 &gic 0 25 4>, |
| 172 | <0 0 26 &gic 0 26 4>, |
| 173 | <0 0 27 &gic 0 27 4>, |
| 174 | <0 0 28 &gic 0 28 4>, |
| 175 | <0 0 29 &gic 0 29 4>, |
| 176 | <0 0 30 &gic 0 30 4>, |
| 177 | <0 0 31 &gic 0 31 4>, |
| 178 | <0 0 32 &gic 0 32 4>, |
| 179 | <0 0 33 &gic 0 33 4>, |
| 180 | <0 0 34 &gic 0 34 4>, |
| 181 | <0 0 35 &gic 0 35 4>, |
| 182 | <0 0 36 &gic 0 36 4>, |
| 183 | <0 0 37 &gic 0 37 4>, |
| 184 | <0 0 38 &gic 0 38 4>, |
| 185 | <0 0 39 &gic 0 39 4>, |
| 186 | <0 0 40 &gic 0 40 4>, |
| 187 | <0 0 41 &gic 0 41 4>, |
| 188 | <0 0 42 &gic 0 42 4>; |
| 189 | |
Balint Dobszay | 5ce2c32 | 2020-01-10 17:16:27 +0100 | [diff] [blame] | 190 | #include "rtsm_ve-motherboard-aarch32.dtsi" |
Soby Mathew | 4b435f3 | 2016-09-14 15:51:44 +0100 | [diff] [blame] | 191 | }; |
| 192 | |
| 193 | panels { |
| 194 | panel@0 { |
| 195 | compatible = "panel"; |
| 196 | mode = "XVGA"; |
| 197 | refresh = <60>; |
| 198 | xres = <1024>; |
| 199 | yres = <768>; |
| 200 | pixclock = <15748>; |
| 201 | left_margin = <152>; |
| 202 | right_margin = <48>; |
| 203 | upper_margin = <23>; |
| 204 | lower_margin = <3>; |
| 205 | hsync_len = <104>; |
| 206 | vsync_len = <4>; |
| 207 | sync = <0>; |
| 208 | vmode = "FB_VMODE_NONINTERLACED"; |
| 209 | tim2 = "TIM2_BCD", "TIM2_IPC"; |
| 210 | cntl = "CNTL_LCDTFT", "CNTL_BGR", "CNTL_LCDVCOMP(1)"; |
| 211 | caps = "CLCD_CAP_5551", "CLCD_CAP_565", "CLCD_CAP_888"; |
| 212 | bpp = <16>; |
| 213 | }; |
| 214 | }; |
| 215 | }; |