1* Renesas R-Car Thermal 2 3Required properties: 4- compatible : "renesas,thermal-<soctype>", 5 "renesas,rcar-gen2-thermal" (with thermal-zone) or 6 "renesas,rcar-thermal" (without thermal-zone) as 7 fallback except R-Car D3. 8 Examples with soctypes are: 9 - "renesas,thermal-r8a73a4" (R-Mobile APE6) 10 - "renesas,thermal-r8a7743" (RZ/G1M) 11 - "renesas,thermal-r8a7779" (R-Car H1) 12 - "renesas,thermal-r8a7790" (R-Car H2) 13 - "renesas,thermal-r8a7791" (R-Car M2-W) 14 - "renesas,thermal-r8a7792" (R-Car V2H) 15 - "renesas,thermal-r8a7793" (R-Car M2-N) 16 - "renesas,thermal-r8a77995" (R-Car D3) 17- reg : Address range of the thermal registers. 18 The 1st reg will be recognized as common register 19 if it has "interrupts". 20 21Option properties: 22 23- interrupts : If present should contain 3 interrupts for 24 R-Car D3 or 1 interrupt otherwise. 25 26Example (non interrupt support): 27 28thermal@ffc48000 { 29 compatible = "renesas,thermal-r8a7779", "renesas,rcar-thermal"; 30 reg = <0xffc48000 0x38>; 31}; 32 33Example (interrupt support): 34 35thermal@e61f0000 { 36 compatible = "renesas,thermal-r8a73a4", "renesas,rcar-thermal"; 37 reg = <0xe61f0000 0x14 38 0xe61f0100 0x38 39 0xe61f0200 0x38 40 0xe61f0300 0x38>; 41 interrupts = <0 69 IRQ_TYPE_LEVEL_HIGH>; 42}; 43 44Example (with thermal-zone): 45 46thermal-zones { 47 cpu_thermal: cpu-thermal { 48 polling-delay-passive = <1000>; 49 polling-delay = <5000>; 50 51 thermal-sensors = <&thermal>; 52 53 trips { 54 cpu-crit { 55 temperature = <115000>; 56 hysteresis = <0>; 57 type = "critical"; 58 }; 59 }; 60 cooling-maps { 61 }; 62 }; 63}; 64 65thermal: thermal@e61f0000 { 66 compatible = "renesas,thermal-r8a7790", 67 "renesas,rcar-gen2-thermal", 68 "renesas,rcar-thermal"; 69 reg = <0 0xe61f0000 0 0x14>, <0 0xe61f0100 0 0x38>; 70 interrupts = <0 69 IRQ_TYPE_LEVEL_HIGH>; 71 clocks = <&mstp5_clks R8A7790_CLK_THERMAL>; 72 power-domains = <&cpg_clocks>; 73 #thermal-sensor-cells = <0>; 74}; 75