summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/qcom/sm7225.dtsi
blob: b7b4044e9bb0cb25e01b782acffd1e0069ed6a6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// SPDX-License-Identifier: BSD-3-Clause
/*
 * Copyright (c) 2021, Luca Weiss <luca@z3ntu.xyz>
 */

#include "sm6350.dtsi"

/* SM7225 uses Kryo 570 instead of Kryo 560 */
&CPU0 { compatible = "qcom,kryo570"; };
&CPU1 { compatible = "qcom,kryo570"; };
&CPU2 { compatible = "qcom,kryo570"; };
&CPU3 { compatible = "qcom,kryo570"; };
&CPU4 { compatible = "qcom,kryo570"; };
&CPU5 { compatible = "qcom,kryo570"; };
&CPU6 { compatible = "qcom,kryo570"; };
&CPU7 { compatible = "qcom,kryo570"; };

&cpu0_opp_table {
	opp-1804800000 {
		opp-hz = /bits/ 64 <1804800000>;
		opp-peak-kBps = <(1804000 * 4 * 2 * 2) (1459200 * 16 * 2)>;
	};
};

&cpu6_opp_table {
	opp-2131200000 {
		opp-hz = /bits/ 64 <2131200000>;
		opp-peak-kBps = <(2092000 * 4 * 2 * 2) (1459200 * 16 * 2)>;
	};

	opp-2208000000 {
		opp-hz = /bits/ 64 <2208000000>;
		opp-peak-kBps = <(2092000 * 4 * 2 * 2) (1459200 * 16 * 2)>;
	};
};