1* ST-Ericsson DB8500 Thermal
2
3** Thermal node properties:
4
5- compatible : "stericsson,db8500-thermal";
6- reg : address range of the thermal sensor registers;
7- interrupts : interrupts generated from PRCMU;
8- interrupt-names : "IRQ_HOTMON_LOW" and "IRQ_HOTMON_HIGH";
9- num-trips : number of total trip points, this is required, set it 0 if none,
10  if greater than 0, the following properties must be defined;
11- tripN-temp : temperature of trip point N, should be in ascending order;
12- tripN-type : type of trip point N, should be one of "active" "passive" "hot"
13  "critical";
14- tripN-cdev-num : number of the cooling devices which can be bound to trip
15  point N, this is required if trip point N is defined, set it 0 if none,
16  otherwise the following cooling device names must be defined;
17- tripN-cdev-nameM : name of the No. M cooling device of trip point N;
18
19Usually the num-trips and tripN-*** are separated in board related dts files.
20
21Example:
22thermal@801573c0 {
23	compatible = "stericsson,db8500-thermal";
24	reg = <0x801573c0 0x40>;
25	interrupts = <21 0x4>, <22 0x4>;
26	interrupt-names = "IRQ_HOTMON_LOW", "IRQ_HOTMON_HIGH";
27
28	num-trips = <3>;
29
30	trip0-temp = <75000>;
31	trip0-type = "active";
32	trip0-cdev-num = <1>;
33	trip0-cdev-name0 = "thermal-cpufreq-0";
34
35	trip1-temp = <80000>;
36	trip1-type = "active";
37	trip1-cdev-num = <2>;
38	trip1-cdev-name0 = "thermal-cpufreq-0";
39	trip1-cdev-name1 = "thermal-fan";
40
41	trip2-temp = <85000>;
42	trip2-type = "critical";
43	trip2-cdev-num = <0>;
44}
45