Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Mihai Sain and committed by
Claudiu Beznea
7093360c 63006fbf

+31
+31
arch/arm/boot/dts/microchip/at91-sama7g54_curiosity.dts
··· 186 186 i2c-digital-filter-width-ns = <35>; 187 187 status = "okay"; 188 188 189 + power-monitor@1f { 190 + compatible = "microchip,pac1934"; 191 + reg = <0x1f>; 192 + #address-cells = <1>; 193 + #size-cells = <0>; 194 + 195 + channel@1 { 196 + reg = <0x1>; 197 + shunt-resistor-micro-ohms = <47000>; 198 + label = "VDD3V3"; 199 + }; 200 + 201 + channel@2 { 202 + reg = <0x2>; 203 + shunt-resistor-micro-ohms = <47000>; 204 + label = "VDDIODDR"; 205 + }; 206 + 207 + channel@3 { 208 + reg = <0x3>; 209 + shunt-resistor-micro-ohms = <47000>; 210 + label = "VDDCORE"; 211 + }; 212 + 213 + channel@4 { 214 + reg = <0x4>; 215 + shunt-resistor-micro-ohms = <47000>; 216 + label = "VDDCPU"; 217 + }; 218 + }; 219 + 189 220 eeprom@51 { 190 221 compatible = "atmel,24c02"; 191 222 reg = <0x51>;