xref: /freebsd-src/sys/contrib/device-tree/src/arm64/qcom/sm7225.dtsi (revision cb7aa33ac6cd46a5434798e50363136e64f3ae98)
18cc087a1SEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause
28cc087a1SEmmanuel Vadot/*
38cc087a1SEmmanuel Vadot * Copyright (c) 2021, Luca Weiss <luca@z3ntu.xyz>
48cc087a1SEmmanuel Vadot */
58cc087a1SEmmanuel Vadot
68cc087a1SEmmanuel Vadot#include "sm6350.dtsi"
78cc087a1SEmmanuel Vadot
88cc087a1SEmmanuel Vadot/* SM7225 uses Kryo 570 instead of Kryo 560 */
98cc087a1SEmmanuel Vadot&CPU0 { compatible = "qcom,kryo570"; };
108cc087a1SEmmanuel Vadot&CPU1 { compatible = "qcom,kryo570"; };
118cc087a1SEmmanuel Vadot&CPU2 { compatible = "qcom,kryo570"; };
128cc087a1SEmmanuel Vadot&CPU3 { compatible = "qcom,kryo570"; };
138cc087a1SEmmanuel Vadot&CPU4 { compatible = "qcom,kryo570"; };
148cc087a1SEmmanuel Vadot&CPU5 { compatible = "qcom,kryo570"; };
158cc087a1SEmmanuel Vadot&CPU6 { compatible = "qcom,kryo570"; };
168cc087a1SEmmanuel Vadot&CPU7 { compatible = "qcom,kryo570"; };
17*cb7aa33aSEmmanuel Vadot
18*cb7aa33aSEmmanuel Vadot&cpu0_opp_table {
19*cb7aa33aSEmmanuel Vadot	opp-1804800000 {
20*cb7aa33aSEmmanuel Vadot		opp-hz = /bits/ 64 <1804800000>;
21*cb7aa33aSEmmanuel Vadot		opp-peak-kBps = <(1804000 * 4 * 2 * 2) (1459200 * 16 * 2)>;
22*cb7aa33aSEmmanuel Vadot	};
23*cb7aa33aSEmmanuel Vadot};
24*cb7aa33aSEmmanuel Vadot
25*cb7aa33aSEmmanuel Vadot&cpu6_opp_table {
26*cb7aa33aSEmmanuel Vadot	opp-2131200000 {
27*cb7aa33aSEmmanuel Vadot		opp-hz = /bits/ 64 <2131200000>;
28*cb7aa33aSEmmanuel Vadot		opp-peak-kBps = <(2092000 * 4 * 2 * 2) (1459200 * 16 * 2)>;
29*cb7aa33aSEmmanuel Vadot	};
30*cb7aa33aSEmmanuel Vadot
31*cb7aa33aSEmmanuel Vadot	opp-2208000000 {
32*cb7aa33aSEmmanuel Vadot		opp-hz = /bits/ 64 <2208000000>;
33*cb7aa33aSEmmanuel Vadot		opp-peak-kBps = <(2092000 * 4 * 2 * 2) (1459200 * 16 * 2)>;
34*cb7aa33aSEmmanuel Vadot	};
35*cb7aa33aSEmmanuel Vadot};
36