summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Robinson <pbrobinson@gmail.com>2026-08-02 15:50:53 +0100
committerFlorian Fainelli <florian.fainelli@broadcom.com>2026-09-04 11:11:55 -0700
commitdfc412296ada39c396393b3dcdf2671fa6ee12ff (patch)
treee55fc8248b1353f11508575f58a4e08d0a623c28
parent84b593c040a13fcb3e8b9048b6e04013544819a8 (diff)
arm64: dts: broadcom: bcm2712: Add thermal monitor
The thermal sensors on the bcm2712 (rpi5) are the same infrastructure as on the bcm2711 (rpi4) so add those details so we can get thermal monitoring on the device as it can get quite hot. Signed-off-by: Peter Robinson <pbrobinson@gmail.com> Cc: Florian Fainelli <florian.fainelli@broadcom.com> Cc: Dave Stevenson <dave.stevenson@raspberrypi.com> Link: https://lore.kernel.org/r/20260802145109.728793-3-pbrobinson@gmail.com Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
-rw-r--r--arch/arm64/boot/dts/broadcom/bcm2712.dtsi32
1 files changed, 32 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi b/arch/arm64/boot/dts/broadcom/bcm2712.dtsi
index f48304047cd0..526d6c0ad751 100644
--- a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi
+++ b/arch/arm64/boot/dts/broadcom/bcm2712.dtsi
@@ -508,6 +508,18 @@
ddc = <&ddc1>;
status = "disabled";
};
+
+ avs_monitor: avs-monitor@7d542000 {
+ compatible = "brcm,bcm2711-avs-monitor",
+ "syscon", "simple-mfd";
+ reg = <0x7d542000 0xf00>;
+ status = "okay";
+
+ thermal: thermal {
+ compatible = "brcm,bcm2711-thermal";
+ #thermal-sensor-cells = <0>;
+ };
+ };
};
axi: axi {
@@ -722,4 +734,24 @@
interrupt-names = "ch0-eof", "ch1-eof", "ch2-eof";
status = "disabled";
};
+
+ thermal-zones {
+ cpu_thermal: cpu-thermal {
+ polling-delay-passive = <1000>;
+ polling-delay = <1000>;
+ coefficients = <(-550) 450000>;
+ thermal-sensors = <&thermal>;
+
+ thermal_trips: trips {
+ cpu_crit: cpu-crit {
+ temperature = <110000>;
+ hysteresis = <0>;
+ type = "critical";
+ };
+ };
+
+ cooling_maps: cooling-maps {
+ };
+ };
+ };
};