1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/thermal/rzg2l-thermal.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Renesas RZ/G2L Thermal Sensor Unit 8 9description: 10 On RZ/G2L SoCs, the thermal sensor unit (TSU) measures the 11 temperature(Tj) inside the LSI. 12 13maintainers: 14 - Biju Das <biju.das.jz@bp.renesas.com> 15 16properties: 17 compatible: 18 items: 19 - enum: 20 - renesas,r9a07g044-tsu # RZ/G2{L,LC} 21 - renesas,r9a07g054-tsu # RZ/V2L 22 - const: renesas,rzg2l-tsu 23 24 reg: 25 maxItems: 1 26 27 clocks: 28 maxItems: 1 29 30 power-domains: 31 maxItems: 1 32 33 resets: 34 maxItems: 1 35 36 "#thermal-sensor-cells": 37 const: 1 38 39required: 40 - compatible 41 - reg 42 - clocks 43 - power-domains 44 - resets 45 - "#thermal-sensor-cells" 46 47additionalProperties: false 48 49examples: 50 - | 51 #include <dt-bindings/clock/r9a07g044-cpg.h> 52 53 tsu: thermal@10059400 { 54 compatible = "renesas,r9a07g044-tsu", 55 "renesas,rzg2l-tsu"; 56 reg = <0x10059400 0x400>; 57 clocks = <&cpg CPG_MOD R9A07G044_TSU_PCLK>; 58 resets = <&cpg R9A07G044_TSU_PRESETN>; 59 power-domains = <&cpg>; 60 #thermal-sensor-cells = <1>; 61 }; 62 63 thermal-zones { 64 cpu-thermal { 65 polling-delay-passive = <250>; 66 polling-delay = <1000>; 67 thermal-sensors = <&tsu 0>; 68 69 trips { 70 sensor_crit: sensor-crit { 71 temperature = <125000>; 72 hysteresis = <1000>; 73 type = "critical"; 74 }; 75 }; 76 }; 77 }; 78