| 1 |
// SPDX-License-Identifier: BSD-3-Clause |
| 2 |
/* Copyright (c) 2022, The Linux Foundation. All rights reserved. */ |
| 3 |
|
| 4 |
#include "msm8953.dtsi" |
| 5 |
|
| 6 |
/ { |
| 7 |
thermal-zones { |
| 8 |
/delete-node/cpu1-thermal; |
| 9 |
/delete-node/cpu2-thermal; |
| 10 |
/delete-node/cpu3-thermal; |
| 11 |
|
| 12 |
cpu0-thermal { |
| 13 |
thermal-sensors = <&tsens0 13>; |
| 14 |
|
| 15 |
cooling-maps { |
| 16 |
map0 { |
| 17 |
cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 18 |
<&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 19 |
<&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 20 |
<&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
| 21 |
}; |
| 22 |
}; |
| 23 |
}; |
| 24 |
|
| 25 |
cpu4-thermal { |
| 26 |
thermal-sensors = <&tsens0 5>; |
| 27 |
}; |
| 28 |
|
| 29 |
cpu5-thermal { |
| 30 |
thermal-sensors = <&tsens0 6>; |
| 31 |
}; |
| 32 |
|
| 33 |
cpu6-thermal { |
| 34 |
thermal-sensors = <&tsens0 7>; |
| 35 |
}; |
| 36 |
|
| 37 |
cpu7-thermal { |
| 38 |
thermal-sensors = <&tsens0 8>; |
| 39 |
}; |
| 40 |
}; |
| 41 |
}; |
| 42 |
|
| 43 |
/* |
| 44 |
* SDM632 uses Kryo 250 instead of Cortex A53 |
| 45 |
* cpu0-3 are efficiency cores, cpu4-7 are performance cores |
| 46 |
*/ |
| 47 |
&cpu0 { |
| 48 |
compatible = "qcom,kryo250"; |
| 49 |
}; |
| 50 |
|
| 51 |
&cpu1 { |
| 52 |
compatible = "qcom,kryo250"; |
| 53 |
}; |
| 54 |
|
| 55 |
&cpu2 { |
| 56 |
compatible = "qcom,kryo250"; |
| 57 |
}; |
| 58 |
|
| 59 |
&cpu3 { |
| 60 |
compatible = "qcom,kryo250"; |
| 61 |
}; |
| 62 |
|
| 63 |
&cpu4 { |
| 64 |
compatible = "qcom,kryo250"; |
| 65 |
capacity-dmips-mhz = <1980>; |
| 66 |
}; |
| 67 |
|
| 68 |
&cpu5 { |
| 69 |
compatible = "qcom,kryo250"; |
| 70 |
capacity-dmips-mhz = <1980>; |
| 71 |
}; |
| 72 |
|
| 73 |
&cpu6 { |
| 74 |
compatible = "qcom,kryo250"; |
| 75 |
capacity-dmips-mhz = <1980>; |
| 76 |
}; |
| 77 |
|
| 78 |
&cpu7 { |
| 79 |
compatible = "qcom,kryo250"; |
| 80 |
capacity-dmips-mhz = <1980>; |
| 81 |
}; |
| 82 |
|
| 83 |
&gpu_opp_table { |
| 84 |
opp-725000000 { |
| 85 |
opp-hz = /bits/ 64 <725000000>; |
| 86 |
opp-supported-hw = <0xff>; |
| 87 |
required-opps = <&rpmpd_opp_turbo>; |
| 88 |
}; |
| 89 |
}; |