Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: BSD-3-Clause
0002 /* Copyright (c) 2022, The Linux Foundation. All rights reserved. */
0003 
0004 #include "msm8953.dtsi"
0005 
0006 / {
0007         thermal-zones {
0008                 /delete-node/cpu1-thermal;
0009                 /delete-node/cpu2-thermal;
0010                 /delete-node/cpu3-thermal;
0011 
0012                 cpu0-thermal {
0013                         thermal-sensors = <&tsens0 13>;
0014 
0015                         cooling-maps {
0016                                 map0 {
0017                                         cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
0018                                                          <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
0019                                                          <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
0020                                                          <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
0021                                 };
0022                         };
0023                 };
0024 
0025                 cpu4-thermal {
0026                         thermal-sensors = <&tsens0 5>;
0027                 };
0028 
0029                 cpu5-thermal {
0030                         thermal-sensors = <&tsens0 6>;
0031                 };
0032 
0033                 cpu6-thermal {
0034                         thermal-sensors = <&tsens0 7>;
0035                 };
0036 
0037                 cpu7-thermal {
0038                         thermal-sensors = <&tsens0 8>;
0039                 };
0040         };
0041 };
0042 
0043 /*
0044  * SDM632 uses Kryo 250 instead of Cortex A53
0045  * CPU0-3 are efficiency cores, CPU4-7 are performance cores
0046  */
0047 &CPU0 {
0048         compatible = "qcom,kryo250";
0049 };
0050 
0051 &CPU1 {
0052         compatible = "qcom,kryo250";
0053 };
0054 
0055 &CPU2 {
0056         compatible = "qcom,kryo250";
0057 };
0058 
0059 &CPU3 {
0060         compatible = "qcom,kryo250";
0061 };
0062 
0063 &CPU4 {
0064         compatible = "qcom,kryo250";
0065         capacity-dmips-mhz = <1980>;
0066 };
0067 
0068 &CPU5 {
0069         compatible = "qcom,kryo250";
0070         capacity-dmips-mhz = <1980>;
0071 };
0072 
0073 &CPU6 {
0074         compatible = "qcom,kryo250";
0075         capacity-dmips-mhz = <1980>;
0076 };
0077 
0078 &CPU7 {
0079         compatible = "qcom,kryo250";
0080         capacity-dmips-mhz = <1980>;
0081 };