summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/renesas/r9a07g043.dtsi
diff options
context:
space:
mode:
authorBiju Das <biju.das.jz@bp.renesas.com>2022-05-01 14:29:24 +0300
committerGeert Uytterhoeven <geert+renesas@glider.be>2022-05-06 12:09:34 +0300
commit91e548da2cb1b180a1ab1059a1c89d7532135da7 (patch)
treedac37062b628b8c6fa67fb5eca11877f3723833d /arch/arm64/boot/dts/renesas/r9a07g043.dtsi
parente6a9acc370c6cb9e6ff6225b034a7a4374df0134 (diff)
downloadlinux-91e548da2cb1b180a1ab1059a1c89d7532135da7.tar.xz
arm64: dts: renesas: r9a07g043: Add TSU node
Add TSU node to RZ/G2UL SoC DTSI. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Link: https://lore.kernel.org/r/20220501112926.47024-5-biju.das.jz@bp.renesas.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'arch/arm64/boot/dts/renesas/r9a07g043.dtsi')
-rw-r--r--arch/arm64/boot/dts/renesas/r9a07g043.dtsi26
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/renesas/r9a07g043.dtsi b/arch/arm64/boot/dts/renesas/r9a07g043.dtsi
index e2300d5c6a15..cd7d30797eee 100644
--- a/arch/arm64/boot/dts/renesas/r9a07g043.dtsi
+++ b/arch/arm64/boot/dts/renesas/r9a07g043.dtsi
@@ -486,6 +486,16 @@
/* place holder */
};
+ tsu: thermal@10059400 {
+ compatible = "renesas,r9a07g043-tsu",
+ "renesas,rzg2l-tsu";
+ reg = <0 0x10059400 0 0x400>;
+ clocks = <&cpg CPG_MOD R9A07G043_TSU_PCLK>;
+ resets = <&cpg R9A07G043_TSU_PRESETN>;
+ power-domains = <&cpg>;
+ #thermal-sensor-cells = <1>;
+ };
+
sbc: spi@10060000 {
reg = <0 0x10060000 0 0x10000>,
<0 0x20000000 0 0x10000000>,
@@ -826,6 +836,22 @@
};
};
+ 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";
+ };
+ };
+ };
+ };
+
timer {
compatible = "arm,armv8-timer";
interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>,