diff options
author | Mihai Sain <mihai.sain@microchip.com> | 2024-09-23 08:49:29 +0200 |
---|---|---|
committer | Claudiu Beznea <claudiu.beznea@tuxon.dev> | 2024-10-13 17:52:13 +0200 |
commit | 63006fbf0a5d23b01e04c66add9842dd1fbac388 (patch) | |
tree | c4fab099fdcdf3917f05faa2520b225696f6026c /arch/arm | |
parent | ARM: dts: microchip: sam9x60ek: Add power monitor support (diff) | |
download | linux-63006fbf0a5d23b01e04c66add9842dd1fbac388.tar.xz linux-63006fbf0a5d23b01e04c66add9842dd1fbac388.zip |
ARM: dts: microchip: sama5d2_icp: Add power monitor support
Add PAC1934 support in order to monitor the board power consumption.
Signed-off-by: Mihai Sain <mihai.sain@microchip.com>
Link: https://lore.kernel.org/r/20240923064932.5797-3-mihai.sain@microchip.com
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts b/arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts index 5e2bb517a480..8f617cb29d36 100644 --- a/arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts +++ b/arch/arm/boot/dts/microchip/at91-sama5d2_icp.dts @@ -195,6 +195,37 @@ i2c-digital-filter-width-ns = <35>; status = "okay"; + power-monitor@10 { + compatible = "microchip,pac1934"; + reg = <0x10>; + #address-cells = <1>; + #size-cells = <0>; + + channel@1 { + reg = <0x1>; + shunt-resistor-micro-ohms = <10000>; + label = "VDD3V3_1"; + }; + + channel@2 { + reg = <0x2>; + shunt-resistor-micro-ohms = <10000>; + label = "VDD3V3_2"; + }; + + channel@3 { + reg = <0x3>; + shunt-resistor-micro-ohms = <10000>; + label = "VDDCORE"; + }; + + channel@4 { + reg = <0x4>; + shunt-resistor-micro-ohms = <10000>; + label = "VDDIODDR"; + }; + }; + mcp16502@5b { compatible = "microchip,mcp16502"; reg = <0x5b>; |