18c2ecf20Sopenharmony_ci* ST-Ericsson DB8500 Thermal 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ci** Thermal node properties: 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci- compatible : "stericsson,db8500-thermal"; 68c2ecf20Sopenharmony_ci- reg : address range of the thermal sensor registers; 78c2ecf20Sopenharmony_ci- interrupts : interrupts generated from PRCMU; 88c2ecf20Sopenharmony_ci- interrupt-names : "IRQ_HOTMON_LOW" and "IRQ_HOTMON_HIGH"; 98c2ecf20Sopenharmony_ci- num-trips : number of total trip points, this is required, set it 0 if none, 108c2ecf20Sopenharmony_ci if greater than 0, the following properties must be defined; 118c2ecf20Sopenharmony_ci- tripN-temp : temperature of trip point N, should be in ascending order; 128c2ecf20Sopenharmony_ci- tripN-type : type of trip point N, should be one of "active" "passive" "hot" 138c2ecf20Sopenharmony_ci "critical"; 148c2ecf20Sopenharmony_ci- tripN-cdev-num : number of the cooling devices which can be bound to trip 158c2ecf20Sopenharmony_ci point N, this is required if trip point N is defined, set it 0 if none, 168c2ecf20Sopenharmony_ci otherwise the following cooling device names must be defined; 178c2ecf20Sopenharmony_ci- tripN-cdev-nameM : name of the No. M cooling device of trip point N; 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ciUsually the num-trips and tripN-*** are separated in board related dts files. 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ciExample: 228c2ecf20Sopenharmony_cithermal@801573c0 { 238c2ecf20Sopenharmony_ci compatible = "stericsson,db8500-thermal"; 248c2ecf20Sopenharmony_ci reg = <0x801573c0 0x40>; 258c2ecf20Sopenharmony_ci interrupts = <21 0x4>, <22 0x4>; 268c2ecf20Sopenharmony_ci interrupt-names = "IRQ_HOTMON_LOW", "IRQ_HOTMON_HIGH"; 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci num-trips = <3>; 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ci trip0-temp = <75000>; 318c2ecf20Sopenharmony_ci trip0-type = "active"; 328c2ecf20Sopenharmony_ci trip0-cdev-num = <1>; 338c2ecf20Sopenharmony_ci trip0-cdev-name0 = "thermal-cpufreq-0"; 348c2ecf20Sopenharmony_ci 358c2ecf20Sopenharmony_ci trip1-temp = <80000>; 368c2ecf20Sopenharmony_ci trip1-type = "active"; 378c2ecf20Sopenharmony_ci trip1-cdev-num = <2>; 388c2ecf20Sopenharmony_ci trip1-cdev-name0 = "thermal-cpufreq-0"; 398c2ecf20Sopenharmony_ci trip1-cdev-name1 = "thermal-fan"; 408c2ecf20Sopenharmony_ci 418c2ecf20Sopenharmony_ci trip2-temp = <85000>; 428c2ecf20Sopenharmony_ci trip2-type = "critical"; 438c2ecf20Sopenharmony_ci trip2-cdev-num = <0>; 448c2ecf20Sopenharmony_ci} 45