xref: /linux/arch/arm64/boot/dts/qcom/sc7180-firmware-tfa.dtsi (revision 55d0969c451159cff86949b38c39171cab962069)
1// SPDX-License-Identifier: BSD-3-Clause
2
3/*
4 * Devices that use SC7180 with TrustedFirmware-A
5 * need PSCI PC mode instead of the OSI mode provided
6 * by Qualcomm firmware.
7 */
8
9&cpu0 {
10	/delete-property/ power-domains;
11	/delete-property/ power-domain-names;
12
13	cpu-idle-states = <&little_cpu_sleep_0
14			   &little_cpu_sleep_1
15			   &cluster_sleep_0>;
16};
17
18&cpu1 {
19	/delete-property/ power-domains;
20	/delete-property/ power-domain-names;
21
22	cpu-idle-states = <&little_cpu_sleep_0
23			   &little_cpu_sleep_1
24			   &cluster_sleep_0>;
25};
26
27&cpu2 {
28	/delete-property/ power-domains;
29	/delete-property/ power-domain-names;
30
31	cpu-idle-states = <&little_cpu_sleep_0
32			   &little_cpu_sleep_1
33			   &cluster_sleep_0>;
34};
35
36&cpu3 {
37	/delete-property/ power-domains;
38	/delete-property/ power-domain-names;
39
40	cpu-idle-states = <&little_cpu_sleep_0
41			   &little_cpu_sleep_1
42			   &cluster_sleep_0>;
43};
44
45&cpu4 {
46	/delete-property/ power-domains;
47	/delete-property/ power-domain-names;
48
49	cpu-idle-states = <&little_cpu_sleep_0
50			   &little_cpu_sleep_1
51			   &cluster_sleep_0>;
52};
53
54&cpu5 {
55	/delete-property/ power-domains;
56	/delete-property/ power-domain-names;
57
58	cpu-idle-states = <&little_cpu_sleep_0
59			   &little_cpu_sleep_1
60			   &cluster_sleep_0>;
61};
62
63&cpu6 {
64	/delete-property/ power-domains;
65	/delete-property/ power-domain-names;
66
67	cpu-idle-states = <&big_cpu_sleep_0
68			   &big_cpu_sleep_1
69			   &cluster_sleep_0>;
70};
71
72&cpu7 {
73	/delete-property/ power-domains;
74	/delete-property/ power-domain-names;
75
76	cpu-idle-states = <&big_cpu_sleep_0
77			   &big_cpu_sleep_1
78			   &cluster_sleep_0>;
79};
80
81/delete-node/ &domain_idle_states;
82
83&idle_states {
84	cluster_sleep_0: cluster-sleep-0 {
85		compatible = "arm,idle-state";
86		idle-state-name = "cluster-power-down";
87		arm,psci-suspend-param = <0x40003444>;
88		entry-latency-us = <3263>;
89		exit-latency-us = <6562>;
90		min-residency-us = <9926>;
91		local-timer-stop;
92	};
93};
94
95/delete-node/ &cpu_pd0;
96/delete-node/ &cpu_pd1;
97/delete-node/ &cpu_pd2;
98/delete-node/ &cpu_pd3;
99/delete-node/ &cpu_pd4;
100/delete-node/ &cpu_pd5;
101/delete-node/ &cpu_pd6;
102/delete-node/ &cpu_pd7;
103/delete-node/ &cluster_pd;
104
105&apps_rsc {
106	/delete-property/ power-domains;
107};
108