ARM: dts: lan966x: add hwmon node
authorMichael Walle <michael@walle.cc>
Mon, 2 May 2022 22:41:22 +0000 (00:41 +0200)
committerClaudiu Beznea <claudiu.beznea@microchip.com>
Fri, 13 May 2022 13:42:01 +0000 (16:42 +0300)
Add the monitoring node which covers the temperature sensor as well as
the PWM controller and the FAN tacho input.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Tested-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20220502224127.2604333-9-michael@walle.cc
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
arch/arm/boot/dts/lan966x.dtsi

index 95d58bd..140bdeb 100644 (file)
                        };
                };
 
+               hwmon: hwmon@e2010180 {
+                       compatible = "microchip,lan9668-hwmon";
+                       reg = <0xe2010180 0xc>,
+                             <0xe20042a8 0xc>;
+                       reg-names = "pvt", "fan";
+                       clocks = <&sys_clk>;
+               };
+
                gic: interrupt-controller@e8c11000 {
                        compatible = "arm,gic-400", "arm,cortex-a7-gic";
                        #interrupt-cells = <3>;