| 1 |
// SPDX-License-Identifier: GPL-2.0 |
| 2 |
/* |
| 3 |
* Device tree sources for Exynos4 thermal zone |
| 4 |
* |
| 5 |
* Copyright (c) 2014 Lukasz Majewski <[email protected]> |
| 6 |
*/ |
| 7 |
|
| 8 |
#include <dt-bindings/thermal/thermal.h> |
| 9 |
|
| 10 |
/ { |
| 11 |
thermal-zones { |
| 12 |
cpu_thermal: cpu-thermal { |
| 13 |
thermal-sensors = <&tmu>; |
| 14 |
polling-delay-passive = <0>; |
| 15 |
polling-delay = <0>; |
| 16 |
trips { |
| 17 |
cpu_alert0: cpu-alert-0 { |
| 18 |
temperature = <70000>; /* millicelsius */ |
| 19 |
hysteresis = <10000>; /* millicelsius */ |
| 20 |
type = "active"; |
| 21 |
}; |
| 22 |
cpu_alert1: cpu-alert-1 { |
| 23 |
temperature = <95000>; /* millicelsius */ |
| 24 |
hysteresis = <10000>; /* millicelsius */ |
| 25 |
type = "active"; |
| 26 |
}; |
| 27 |
cpu_alert2: cpu-alert-2 { |
| 28 |
temperature = <110000>; /* millicelsius */ |
| 29 |
hysteresis = <10000>; /* millicelsius */ |
| 30 |
type = "active"; |
| 31 |
}; |
| 32 |
cpu_crit0: cpu-crit-0 { |
| 33 |
temperature = <120000>; /* millicelsius */ |
| 34 |
hysteresis = <0>; /* millicelsius */ |
| 35 |
type = "critical"; |
| 36 |
}; |
| 37 |
}; |
| 38 |
cooling-maps { |
| 39 |
map0 { |
| 40 |
trip = <&cpu_alert0>; |
| 41 |
}; |
| 42 |
map1 { |
| 43 |
trip = <&cpu_alert1>; |
| 44 |
}; |
| 45 |
}; |
| 46 |
}; |
| 47 |
}; |
| 48 |
}; |