Skip to content

Commit 91d75e7

Browse files
Mihai Sainclaudiubeznea
authored andcommitted
ARM: dts: microchip: sama7g5ek: 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-5-mihai.sain@microchip.com Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
1 parent 7093360 commit 91d75e7

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

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

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

247+
power-monitor@10 {
248+
compatible = "microchip,pac1934";
249+
reg = <0x10>;
250+
#address-cells = <1>;
251+
#size-cells = <0>;
252+
253+
channel@1 {
254+
reg = <0x1>;
255+
shunt-resistor-micro-ohms = <10000>;
256+
label = "VDD3V3";
257+
};
258+
259+
channel@2 {
260+
reg = <0x2>;
261+
shunt-resistor-micro-ohms = <10000>;
262+
label = "VDDIODDR";
263+
};
264+
265+
channel@3 {
266+
reg = <0x3>;
267+
shunt-resistor-micro-ohms = <10000>;
268+
label = "VDDCORE";
269+
};
270+
271+
channel@4 {
272+
reg = <0x4>;
273+
shunt-resistor-micro-ohms = <10000>;
274+
label = "VDDCPU";
275+
};
276+
};
277+
247278
mcp16502@5b {
248279
compatible = "microchip,mcp16502";
249280
reg = <0x5b>;

0 commit comments

Comments
 (0)