diff options
Diffstat (limited to 'arch/arm64/boot/dts/qcom/sdm632.dtsi')
| -rw-r--r-- | arch/arm64/boot/dts/qcom/sdm632.dtsi | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/sdm632.dtsi b/arch/arm64/boot/dts/qcom/sdm632.dtsi new file mode 100644 index 000000000000..40d86d91b67f --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sdm632.dtsi @@ -0,0 +1,89 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* Copyright (c) 2022, The Linux Foundation. All rights reserved. */ + +#include "msm8953.dtsi" + +/ { + thermal-zones { + /delete-node/cpu1-thermal; + /delete-node/cpu2-thermal; + /delete-node/cpu3-thermal; + + cpu0-thermal { + thermal-sensors = <&tsens0 13>; + + cooling-maps { + map0 { + cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; + + cpu4-thermal { + thermal-sensors = <&tsens0 5>; + }; + + cpu5-thermal { + thermal-sensors = <&tsens0 6>; + }; + + cpu6-thermal { + thermal-sensors = <&tsens0 7>; + }; + + cpu7-thermal { + thermal-sensors = <&tsens0 8>; + }; + }; +}; + +/* + * SDM632 uses Kryo 250 instead of Cortex A53 + * cpu0-3 are efficiency cores, cpu4-7 are performance cores + */ +&cpu0 { + compatible = "qcom,kryo250"; +}; + +&cpu1 { + compatible = "qcom,kryo250"; +}; + +&cpu2 { + compatible = "qcom,kryo250"; +}; + +&cpu3 { + compatible = "qcom,kryo250"; +}; + +&cpu4 { + compatible = "qcom,kryo250"; + capacity-dmips-mhz = <1980>; +}; + +&cpu5 { + compatible = "qcom,kryo250"; + capacity-dmips-mhz = <1980>; +}; + +&cpu6 { + compatible = "qcom,kryo250"; + capacity-dmips-mhz = <1980>; +}; + +&cpu7 { + compatible = "qcom,kryo250"; + capacity-dmips-mhz = <1980>; +}; + +&gpu_opp_table { + opp-725000000 { + opp-hz = /bits/ 64 <725000000>; + opp-supported-hw = <0xff>; + required-opps = <&rpmpd_opp_turbo>; + }; +}; |
