Renesas RZ/G2L Thermal Sensor Unit
Schema identifier ($id): "http://devicetree.org/schemas/thermal/rzg2l-thermal.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
On RZ/G2L SoCs, the thermal sensor unit (TSU) measures the temperature(Tj) inside the LSI.
Maintainers (maintainers): "Biju Das <biju.das.jz@bp.renesas.com>"
Shared schema rule ($ref): thermal-sensor.yaml#
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"renesas,r9a07g043-tsu","renesas,r9a07g044-tsu","renesas,r9a07g054-tsu"
Item 2
Exact value (
const):"renesas,rzg2l-tsu"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
power-domains — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
#thermal-sensor-cells — not listed as required here #
Exact value (const): 1
Required in this object (required): "compatible", "reg", "clocks", "power-domains", "resets"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/r9a07g044-cpg.h>
tsu: thermal@10059400 {
compatible = "renesas,r9a07g044-tsu",
"renesas,rzg2l-tsu";
reg = <0x10059400 0x400>;
clocks = <&cpg CPG_MOD R9A07G044_TSU_PCLK>;
resets = <&cpg R9A07G044_TSU_PRESETN>;
power-domains = <&cpg>;
#thermal-sensor-cells = <1>;
};
thermal-zones {
cpu-thermal {
polling-delay-passive = <250>;
polling-delay = <1000>;
thermal-sensors = <&tsu 0>;
trips {
sensor_crit: sensor-crit {
temperature = <125000>;
hysteresis = <1000>;
type = "critical";
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 22: RZ/G2UL and RZ/Five
Line 23: RZ/G2{L,LC}
Line 24: RZ/V2L