riscv: sophgo: dts: add cooling maps for Milk-V Pioneer
The normal operating temperature range of SG2042 is -20 degrees Celsius ~ 85 degrees Celsius. Simultaneously monitor soc temperature and board temperature to improve redundancy and safety. Signed-off-by: Chen Wang <unicorn_wang@outlook.com> Link: https://lore.kernel.org/r/5a36a2784d97ed7b1e06777cb0c3c14fe9185e99.1739351437.git.unicorn_wang@outlook.com Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
This commit is contained in:
@@ -111,6 +111,28 @@
|
||||
type = "hot";
|
||||
};
|
||||
};
|
||||
|
||||
cooling-maps {
|
||||
map0 {
|
||||
trip = <&soc_active1>;
|
||||
cooling-device = <&pwmfan 0 1>;
|
||||
};
|
||||
|
||||
map1 {
|
||||
trip = <&soc_active2>;
|
||||
cooling-device = <&pwmfan 1 2>;
|
||||
};
|
||||
|
||||
map2 {
|
||||
trip = <&soc_active3>;
|
||||
cooling-device = <&pwmfan 2 3>;
|
||||
};
|
||||
|
||||
map3 {
|
||||
trip = <&soc_hot>;
|
||||
cooling-device = <&pwmfan 3 4>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
board-thermal {
|
||||
@@ -125,6 +147,13 @@
|
||||
type = "active";
|
||||
};
|
||||
};
|
||||
|
||||
cooling-maps {
|
||||
map4 {
|
||||
trip = <&board_active>;
|
||||
cooling-device = <&pwmfan 3 4>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user