diff options
author | Mihai Sain <mihai.sain@microchip.com> | 2024-09-23 09:49:30 +0300 |
---|---|---|
committer | Claudiu Beznea <claudiu.beznea@tuxon.dev> | 2024-10-13 18:52:14 +0300 |
commit | 7093360cd847161e8c6ff84cb9a13caf0f457d6c (patch) | |
tree | 453abd07bd795523b9d672c946029d27f9b61c6e /arch/arm/boot/dts/microchip/at91-sama7g54_curiosity.dts | |
parent | 63006fbf0a5d23b01e04c66add9842dd1fbac388 (diff) |
ARM: dts: microchip: sama7g54_curiosity: 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-4-mihai.sain@microchip.com
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
Diffstat (limited to 'arch/arm/boot/dts/microchip/at91-sama7g54_curiosity.dts')
-rw-r--r-- | arch/arm/boot/dts/microchip/at91-sama7g54_curiosity.dts | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/microchip/at91-sama7g54_curiosity.dts b/arch/arm/boot/dts/microchip/at91-sama7g54_curiosity.dts index 645e49fdb7fe..2dec2218f32c 100644 --- a/arch/arm/boot/dts/microchip/at91-sama7g54_curiosity.dts +++ b/arch/arm/boot/dts/microchip/at91-sama7g54_curiosity.dts @@ -186,6 +186,37 @@ i2c-digital-filter-width-ns = <35>; status = "okay"; + power-monitor@1f { + compatible = "microchip,pac1934"; + reg = <0x1f>; + #address-cells = <1>; + #size-cells = <0>; + + channel@1 { + reg = <0x1>; + shunt-resistor-micro-ohms = <47000>; + label = "VDD3V3"; + }; + + channel@2 { + reg = <0x2>; + shunt-resistor-micro-ohms = <47000>; + label = "VDDIODDR"; + }; + + channel@3 { + reg = <0x3>; + shunt-resistor-micro-ohms = <47000>; + label = "VDDCORE"; + }; + + channel@4 { + reg = <0x4>; + shunt-resistor-micro-ohms = <47000>; + label = "VDDCPU"; + }; + }; + eeprom@51 { compatible = "atmel,24c02"; reg = <0x51>; |