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