diff options
author | Mihai Sain <mihai.sain@microchip.com> | 2024-09-23 08:49:28 +0200 |
---|---|---|
committer | Claudiu Beznea <claudiu.beznea@tuxon.dev> | 2024-10-13 17:52:13 +0200 |
commit | 219ecd256372f0d9cb957d83fdcc0044564bab1b (patch) | |
tree | a5936801b7f982c9ad38af9de3adb185288a3498 /arch/arm | |
parent | ARM: dts: microchip: Unify rng node names (diff) | |
download | linux-219ecd256372f0d9cb957d83fdcc0044564bab1b.tar.xz linux-219ecd256372f0d9cb957d83fdcc0044564bab1b.zip |
ARM: dts: microchip: sam9x60ek: 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-2-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-sam9x60ek.dts | 31 |
1 files changed, 31 insertions, 0 deletions
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 @@ i2c-digital-filter-width-ns = <35>; status = "okay"; + power-monitor@17 { + compatible = "microchip,pac1934"; + reg = <0x17>; + #address-cells = <1>; + #size-cells = <0>; + + channel@1 { + reg = <0x1>; + shunt-resistor-micro-ohms = <10000>; + label = "VDDIOM"; + }; + + channel@2 { + reg = <0x2>; + shunt-resistor-micro-ohms = <10000>; + label = "VDDCORE"; + }; + + channel@3 { + reg = <0x3>; + shunt-resistor-micro-ohms = <10000>; + label = "VDD3V3_MPU"; + }; + + channel@4 { + reg = <0x4>; + shunt-resistor-micro-ohms = <10000>; + label = "VDD3V3"; + }; + }; + gpio_exp: mcp23008@20 { compatible = "microchip,mcp23008"; reg = <0x20>; |