arm64: dts: sparx5: Add hwmon temperature sensor
authorLars Povlsen <lars.povlsen@microchip.com>
Tue, 28 Apr 2020 14:50:42 +0000 (16:50 +0200)
committerLars Povlsen <lars.povlsen@microchip.com>
Wed, 16 Sep 2020 07:36:01 +0000 (09:36 +0200)
This adds a hwmon temperature node sensor to the Sparx5 SoC.

Signed-off-by: Lars Povlsen <lars.povlsen@microchip.com>
Link: https://lore.kernel.org/r/20200618135951.25441-3-lars.povlsen@microchip.com
arch/arm64/boot/dts/microchip/sparx5.dtsi

index d477fcb57e64095595c2ae3476137fcad94ce272..a84ffd3069d4f041cfec48bf2dfe856876835656 100644 (file)
                        clock-frequency = <100000>;
                        clocks = <&ahb_clk>;
                };
+
+               tmon0: tmon@610508110 {
+                       compatible = "microchip,sparx5-temp";
+                       reg = <0x6 0x10508110 0xc>;
+                       #thermal-sensor-cells = <0>;
+                       clocks = <&ahb_clk>;
+               };
        };
 };