[PATCH 1/5] ARM: dts: microchip: sam9x60ek: Add power monitor support
Mihai Sain
mihai.sain at microchip.com
Sun Sep 22 23:49:28 PDT 2024
Add PAC1934 support in order to monitor the board power consumption.
Signed-off-by: Mihai Sain <mihai.sain at microchip.com>
---
.../arm/boot/dts/microchip/at91-sam9x60ek.dts | 31 +++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/arch/arm/boot/dts/microchip/at91-sam9x60ek.dts b/arch/arm/boot/dts/microchip/at91-sam9x60ek.dts
index 3b38707d736e..6cf699d9b540 100644
--- a/arch/arm/boot/dts/microchip/at91-sam9x60ek.dts
+++ b/arch/arm/boot/dts/microchip/at91-sam9x60ek.dts
@@ -260,6 +260,37 @@ i2c6: i2c at 600 {
i2c-digital-filter-width-ns = <35>;
status = "okay";
+ power-monitor at 17 {
+ compatible = "microchip,pac1934";
+ reg = <0x17>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ channel at 1 {
+ reg = <0x1>;
+ shunt-resistor-micro-ohms = <10000>;
+ label = "VDDIOM";
+ };
+
+ channel at 2 {
+ reg = <0x2>;
+ shunt-resistor-micro-ohms = <10000>;
+ label = "VDDCORE";
+ };
+
+ channel at 3 {
+ reg = <0x3>;
+ shunt-resistor-micro-ohms = <10000>;
+ label = "VDD3V3_MPU";
+ };
+
+ channel at 4 {
+ reg = <0x4>;
+ shunt-resistor-micro-ohms = <10000>;
+ label = "VDD3V3";
+ };
+ };
+
gpio_exp: mcp23008 at 20 {
compatible = "microchip,mcp23008";
reg = <0x20>;
--
2.46.1
More information about the linux-arm-kernel
mailing list