Jeenu Viswambharan | d27ad95 | 2017-07-19 17:27:49 +0100 | [diff] [blame] | 1 | /* |
Balint Dobszay | 5ce2c32 | 2020-01-10 17:16:27 +0100 | [diff] [blame] | 2 | * Copyright (c) 2017-2020, ARM Limited and Contributors. All rights reserved. |
Jeenu Viswambharan | d27ad95 | 2017-07-19 17:27:49 +0100 | [diff] [blame] | 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | /memreserve/ 0x80000000 0x00010000; |
| 8 | |
| 9 | / { |
| 10 | }; |
| 11 | |
| 12 | / { |
| 13 | model = "FVP Base"; |
| 14 | compatible = "arm,vfp-base", "arm,vexpress"; |
| 15 | interrupt-parent = <&gic>; |
| 16 | #address-cells = <2>; |
| 17 | #size-cells = <2>; |
| 18 | |
| 19 | chosen { }; |
| 20 | |
| 21 | aliases { |
| 22 | serial0 = &v2m_serial0; |
| 23 | serial1 = &v2m_serial1; |
| 24 | serial2 = &v2m_serial2; |
| 25 | serial3 = &v2m_serial3; |
| 26 | }; |
| 27 | |
| 28 | psci { |
| 29 | compatible = "arm,psci-1.0", "arm,psci-0.2", "arm,psci"; |
| 30 | method = "smc"; |
| 31 | cpu_suspend = <0xc4000001>; |
| 32 | cpu_off = <0x84000002>; |
| 33 | cpu_on = <0xc4000003>; |
| 34 | sys_poweroff = <0x84000008>; |
| 35 | sys_reset = <0x84000009>; |
Madhukar Pappireddy | 26b945c | 2019-12-27 12:02:34 -0600 | [diff] [blame] | 36 | max-pwr-lvl = <2>; |
Jeenu Viswambharan | d27ad95 | 2017-07-19 17:27:49 +0100 | [diff] [blame] | 37 | }; |
| 38 | |
| 39 | cpus { |
| 40 | #address-cells = <2>; |
| 41 | #size-cells = <0>; |
| 42 | |
Madhukar Pappireddy | 862c4b8 | 2020-02-13 15:36:50 -0600 | [diff] [blame] | 43 | CPU_MAP:cpu-map { |
Jeenu Viswambharan | d27ad95 | 2017-07-19 17:27:49 +0100 | [diff] [blame] | 44 | cluster0 { |
| 45 | core0 { |
| 46 | cpu = <&CPU0>; |
| 47 | }; |
| 48 | core1 { |
| 49 | cpu = <&CPU1>; |
| 50 | }; |
| 51 | core2 { |
| 52 | cpu = <&CPU2>; |
| 53 | }; |
| 54 | core3 { |
| 55 | cpu = <&CPU3>; |
| 56 | }; |
| 57 | }; |
| 58 | |
| 59 | cluster1 { |
| 60 | core0 { |
| 61 | cpu = <&CPU4>; |
| 62 | }; |
| 63 | core1 { |
| 64 | cpu = <&CPU5>; |
| 65 | }; |
| 66 | core2 { |
| 67 | cpu = <&CPU6>; |
| 68 | }; |
| 69 | core3 { |
| 70 | cpu = <&CPU7>; |
| 71 | }; |
| 72 | }; |
| 73 | }; |
| 74 | |
| 75 | idle-states { |
| 76 | entry-method = "arm,psci"; |
| 77 | |
| 78 | CPU_SLEEP_0: cpu-sleep-0 { |
| 79 | compatible = "arm,idle-state"; |
| 80 | local-timer-stop; |
| 81 | arm,psci-suspend-param = <0x0010000>; |
| 82 | entry-latency-us = <40>; |
| 83 | exit-latency-us = <100>; |
| 84 | min-residency-us = <150>; |
| 85 | }; |
| 86 | |
| 87 | CLUSTER_SLEEP_0: cluster-sleep-0 { |
| 88 | compatible = "arm,idle-state"; |
| 89 | local-timer-stop; |
| 90 | arm,psci-suspend-param = <0x1010000>; |
| 91 | entry-latency-us = <500>; |
| 92 | exit-latency-us = <1000>; |
| 93 | min-residency-us = <2500>; |
| 94 | }; |
| 95 | }; |
| 96 | |
| 97 | CPU0:cpu@0 { |
| 98 | device_type = "cpu"; |
| 99 | compatible = "arm,armv8"; |
| 100 | reg = <0x0 0x0>; |
| 101 | enable-method = "psci"; |
| 102 | cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; |
| 103 | next-level-cache = <&L2_0>; |
| 104 | }; |
| 105 | |
| 106 | CPU1:cpu@1 { |
| 107 | device_type = "cpu"; |
| 108 | compatible = "arm,armv8"; |
| 109 | reg = <0x0 0x1>; |
| 110 | enable-method = "psci"; |
| 111 | cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; |
| 112 | next-level-cache = <&L2_0>; |
| 113 | }; |
| 114 | |
| 115 | CPU2:cpu@2 { |
| 116 | device_type = "cpu"; |
| 117 | compatible = "arm,armv8"; |
| 118 | reg = <0x0 0x2>; |
| 119 | enable-method = "psci"; |
| 120 | cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; |
| 121 | next-level-cache = <&L2_0>; |
| 122 | }; |
| 123 | |
| 124 | CPU3:cpu@3 { |
| 125 | device_type = "cpu"; |
| 126 | compatible = "arm,armv8"; |
| 127 | reg = <0x0 0x3>; |
| 128 | enable-method = "psci"; |
| 129 | cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; |
| 130 | next-level-cache = <&L2_0>; |
| 131 | }; |
| 132 | |
| 133 | CPU4:cpu@100 { |
| 134 | device_type = "cpu"; |
| 135 | compatible = "arm,armv8"; |
| 136 | reg = <0x0 0x100>; |
| 137 | enable-method = "psci"; |
| 138 | cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; |
| 139 | next-level-cache = <&L2_0>; |
| 140 | }; |
| 141 | |
| 142 | CPU5:cpu@101 { |
| 143 | device_type = "cpu"; |
| 144 | compatible = "arm,armv8"; |
| 145 | reg = <0x0 0x101>; |
| 146 | enable-method = "psci"; |
| 147 | cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; |
| 148 | next-level-cache = <&L2_0>; |
| 149 | }; |
| 150 | |
| 151 | CPU6:cpu@102 { |
| 152 | device_type = "cpu"; |
| 153 | compatible = "arm,armv8"; |
| 154 | reg = <0x0 0x102>; |
| 155 | enable-method = "psci"; |
| 156 | cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; |
| 157 | next-level-cache = <&L2_0>; |
| 158 | }; |
| 159 | |
| 160 | CPU7:cpu@103 { |
| 161 | device_type = "cpu"; |
| 162 | compatible = "arm,armv8"; |
| 163 | reg = <0x0 0x103>; |
| 164 | enable-method = "psci"; |
| 165 | cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>; |
| 166 | next-level-cache = <&L2_0>; |
| 167 | }; |
| 168 | |
| 169 | L2_0: l2-cache0 { |
| 170 | compatible = "cache"; |
| 171 | }; |
| 172 | }; |
| 173 | |
| 174 | memory@80000000 { |
| 175 | device_type = "memory"; |
| 176 | reg = <0x00000000 0x80000000 0 0x7F000000>, |
| 177 | <0x00000008 0x80000000 0 0x80000000>; |
| 178 | }; |
| 179 | |
| 180 | gic: interrupt-controller@2f000000 { |
| 181 | compatible = "arm,gic-v3"; |
| 182 | #interrupt-cells = <3>; |
| 183 | #address-cells = <2>; |
| 184 | #size-cells = <2>; |
| 185 | ranges; |
| 186 | interrupt-controller; |
| 187 | reg = <0x0 0x2f000000 0 0x10000>, // GICD |
| 188 | <0x0 0x2f100000 0 0x200000>, // GICR |
| 189 | <0x0 0x2c000000 0 0x2000>, // GICC |
| 190 | <0x0 0x2c010000 0 0x2000>, // GICH |
| 191 | <0x0 0x2c02f000 0 0x2000>; // GICV |
| 192 | interrupts = <1 9 4>; |
| 193 | |
| 194 | its: its@2f020000 { |
| 195 | compatible = "arm,gic-v3-its"; |
| 196 | msi-controller; |
| 197 | reg = <0x0 0x2f020000 0x0 0x20000>; // GITS |
| 198 | }; |
| 199 | }; |
| 200 | |
| 201 | timer { |
| 202 | compatible = "arm,armv8-timer"; |
| 203 | interrupts = <1 13 0xff01>, |
| 204 | <1 14 0xff01>, |
| 205 | <1 11 0xff01>, |
| 206 | <1 10 0xff01>; |
| 207 | clock-frequency = <100000000>; |
| 208 | }; |
| 209 | |
| 210 | timer@2a810000 { |
| 211 | compatible = "arm,armv7-timer-mem"; |
| 212 | reg = <0x0 0x2a810000 0x0 0x10000>; |
| 213 | clock-frequency = <100000000>; |
| 214 | #address-cells = <2>; |
| 215 | #size-cells = <2>; |
| 216 | ranges; |
| 217 | frame@2a830000 { |
| 218 | frame-number = <1>; |
| 219 | interrupts = <0 26 4>; |
| 220 | reg = <0x0 0x2a830000 0x0 0x10000>; |
| 221 | }; |
| 222 | }; |
| 223 | |
| 224 | pmu { |
| 225 | compatible = "arm,armv8-pmuv3"; |
| 226 | interrupts = <0 60 4>, |
| 227 | <0 61 4>, |
| 228 | <0 62 4>, |
| 229 | <0 63 4>; |
| 230 | }; |
| 231 | |
Roberto Vargas | 0fccc50 | 2018-04-23 14:44:54 +0100 | [diff] [blame] | 232 | smb@0,0 { |
Jeenu Viswambharan | d27ad95 | 2017-07-19 17:27:49 +0100 | [diff] [blame] | 233 | compatible = "simple-bus"; |
| 234 | |
| 235 | #address-cells = <2>; |
| 236 | #size-cells = <1>; |
| 237 | ranges = <0 0 0 0x08000000 0x04000000>, |
| 238 | <1 0 0 0x14000000 0x04000000>, |
| 239 | <2 0 0 0x18000000 0x04000000>, |
| 240 | <3 0 0 0x1c000000 0x04000000>, |
| 241 | <4 0 0 0x0c000000 0x04000000>, |
| 242 | <5 0 0 0x10000000 0x04000000>; |
| 243 | |
Balint Dobszay | 5ce2c32 | 2020-01-10 17:16:27 +0100 | [diff] [blame] | 244 | #include "rtsm_ve-motherboard.dtsi" |
Jeenu Viswambharan | d27ad95 | 2017-07-19 17:27:49 +0100 | [diff] [blame] | 245 | }; |
| 246 | |
| 247 | panels { |
Roberto Vargas | 0fccc50 | 2018-04-23 14:44:54 +0100 | [diff] [blame] | 248 | panel { |
Jeenu Viswambharan | d27ad95 | 2017-07-19 17:27:49 +0100 | [diff] [blame] | 249 | compatible = "panel"; |
| 250 | mode = "XVGA"; |
| 251 | refresh = <60>; |
| 252 | xres = <1024>; |
| 253 | yres = <768>; |
| 254 | pixclock = <15748>; |
| 255 | left_margin = <152>; |
| 256 | right_margin = <48>; |
| 257 | upper_margin = <23>; |
| 258 | lower_margin = <3>; |
| 259 | hsync_len = <104>; |
| 260 | vsync_len = <4>; |
| 261 | sync = <0>; |
| 262 | vmode = "FB_VMODE_NONINTERLACED"; |
| 263 | tim2 = "TIM2_BCD", "TIM2_IPC"; |
| 264 | cntl = "CNTL_LCDTFT", "CNTL_BGR", "CNTL_LCDVCOMP(1)"; |
| 265 | caps = "CLCD_CAP_5551", "CLCD_CAP_565", "CLCD_CAP_888"; |
| 266 | bpp = <16>; |
| 267 | }; |
| 268 | }; |
| 269 | }; |