Skip to content

Commit 7093360

Browse files
Mihai Sainclaudiubeznea
authored andcommitted
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>
1 parent 63006fb commit 7093360

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

arch/arm/boot/dts/microchip/at91-sama7g54_curiosity.dts

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,37 @@
186186
i2c-digital-filter-width-ns = <35>;
187187
status = "okay";
188188

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+
189220
eeprom@51 {
190221
compatible = "atmel,24c02";
191222
reg = <0x51>;

0 commit comments

Comments
 (0)