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