Skip to content

Commit 219ecd2

Browse files
Mihai Sainclaudiubeznea
authored andcommitted
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>
1 parent 634e1fa commit 219ecd2

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

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

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

263+
power-monitor@17 {
264+
compatible = "microchip,pac1934";
265+
reg = <0x17>;
266+
#address-cells = <1>;
267+
#size-cells = <0>;
268+
269+
channel@1 {
270+
reg = <0x1>;
271+
shunt-resistor-micro-ohms = <10000>;
272+
label = "VDDIOM";
273+
};
274+
275+
channel@2 {
276+
reg = <0x2>;
277+
shunt-resistor-micro-ohms = <10000>;
278+
label = "VDDCORE";
279+
};
280+
281+
channel@3 {
282+
reg = <0x3>;
283+
shunt-resistor-micro-ohms = <10000>;
284+
label = "VDD3V3_MPU";
285+
};
286+
287+
channel@4 {
288+
reg = <0x4>;
289+
shunt-resistor-micro-ohms = <10000>;
290+
label = "VDD3V3";
291+
};
292+
};
293+
263294
gpio_exp: mcp23008@20 {
264295
compatible = "microchip,mcp23008";
265296
reg = <0x20>;

0 commit comments

Comments
 (0)