1// SPDX-License-Identifier: BSD-3-Clause
2/*
3 * Copyright (c) 2021, Luca Weiss <luca@z3ntu.xyz>
4 */
5
6#include "sm6350.dtsi"
7
8/* SM7225 uses Kryo 570 instead of Kryo 560 */
9&CPU0 { compatible = "qcom,kryo570"; };
10&CPU1 { compatible = "qcom,kryo570"; };
11&CPU2 { compatible = "qcom,kryo570"; };
12&CPU3 { compatible = "qcom,kryo570"; };
13&CPU4 { compatible = "qcom,kryo570"; };
14&CPU5 { compatible = "qcom,kryo570"; };
15&CPU6 { compatible = "qcom,kryo570"; };
16&CPU7 { compatible = "qcom,kryo570"; };
17
18&cpu0_opp_table {
19	opp-1804800000 {
20		opp-hz = /bits/ 64 <1804800000>;
21		opp-peak-kBps = <(1804000 * 4 * 2 * 2) (1459200 * 16 * 2)>;
22	};
23};
24
25&cpu6_opp_table {
26	opp-2131200000 {
27		opp-hz = /bits/ 64 <2131200000>;
28		opp-peak-kBps = <(2092000 * 4 * 2 * 2) (1459200 * 16 * 2)>;
29	};
30
31	opp-2208000000 {
32		opp-hz = /bits/ 64 <2208000000>;
33		opp-peak-kBps = <(2092000 * 4 * 2 * 2) (1459200 * 16 * 2)>;
34	};
35};
36