mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 13:27:06 +09:00
ODROID-N2PLUS: arm64/dts: add fan cooler mapping
Signed-off-by: Dongjin Kim <tobetter@gmail.com> Change-Id: I7c60abb9598905687347185b301e457fd300e578
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include <include/dt-bindings/thermal/thermal.h>
|
||||
#include "mesong12b.dtsi"
|
||||
#include "meson64_odroidn2.dtsi"
|
||||
|
||||
@@ -156,3 +157,28 @@
|
||||
/delete-property/ gpio_power;
|
||||
};
|
||||
};
|
||||
|
||||
&soc_thermal {
|
||||
trips {
|
||||
fan_0: trip-point@4 {
|
||||
temperature = <65000>;
|
||||
hysteresis = <5000>;
|
||||
type = "active";
|
||||
};
|
||||
fan_1: trip-point@5 {
|
||||
temperature = <75000>;
|
||||
hysteresis = <5000>;
|
||||
type = "active";
|
||||
};
|
||||
};
|
||||
cooling-maps {
|
||||
fan_cooling_map0 {
|
||||
trip = <&fan_0>;
|
||||
cooling-device = <&pwmfan THERMAL_NO_LIMIT 2>;
|
||||
};
|
||||
fan_cooling_map1 {
|
||||
trip = <&fan_1>;
|
||||
cooling-device = <&pwmfan 2 THERMAL_NO_LIMIT>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user