summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/exynos4210-smdkv310.dts
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2020-08-30 15:51:47 +0200
committerKrzysztof Kozlowski <krzk@kernel.org>2020-09-02 17:46:28 +0200
commitbd031c725d7499b6c77be554c6b4a7cb79f1b765 (patch)
treeb518ac3c2ab3f23c25e4ab5421c12525f7907963 /arch/arm/boot/dts/exynos4210-smdkv310.dts
parent5d2bb6621caa66f6912f91b4565ee945aea20258 (diff)
downloadlinux-bd031c725d7499b6c77be554c6b4a7cb79f1b765.tar.bz2
ARM: dts: exynos: Add CPU cooling in SMDKv310
Add missing cooling devices for CPU thermal zones in Exynos4210 SMDKv310 board. This allows to scale down CPU frequency (and voltage) in case of thermal pressure. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20200830135200.24304-20-krzk@kernel.org
Diffstat (limited to 'arch/arm/boot/dts/exynos4210-smdkv310.dts')
-rw-r--r--arch/arm/boot/dts/exynos4210-smdkv310.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos4210-smdkv310.dts b/arch/arm/boot/dts/exynos4210-smdkv310.dts
index 0b0e86737b26..c5609afa6101 100644
--- a/arch/arm/boot/dts/exynos4210-smdkv310.dts
+++ b/arch/arm/boot/dts/exynos4210-smdkv310.dts
@@ -50,6 +50,19 @@
};
};
+&cpu_thermal {
+ cooling-maps {
+ map0 {
+ /* Corresponds to 800MHz */
+ cooling-device = <&cpu0 2 2>;
+ };
+ map1 {
+ /* Corresponds to 200MHz */
+ cooling-device = <&cpu0 4 4>;
+ };
+ };
+};
+
&i2c_0 {
#address-cells = <1>;
#size-cells = <0>;