Skip to content

Commit 63006fb

Browse files
Mihai Sainclaudiubeznea
authored andcommitted
ARM: dts: microchip: sama5d2_icp: 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-3-mihai.sain@microchip.com Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
1 parent 219ecd2 commit 63006fb

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

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

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

198+
power-monitor@10 {
199+
compatible = "microchip,pac1934";
200+
reg = <0x10>;
201+
#address-cells = <1>;
202+
#size-cells = <0>;
203+
204+
channel@1 {
205+
reg = <0x1>;
206+
shunt-resistor-micro-ohms = <10000>;
207+
label = "VDD3V3_1";
208+
};
209+
210+
channel@2 {
211+
reg = <0x2>;
212+
shunt-resistor-micro-ohms = <10000>;
213+
label = "VDD3V3_2";
214+
};
215+
216+
channel@3 {
217+
reg = <0x3>;
218+
shunt-resistor-micro-ohms = <10000>;
219+
label = "VDDCORE";
220+
};
221+
222+
channel@4 {
223+
reg = <0x4>;
224+
shunt-resistor-micro-ohms = <10000>;
225+
label = "VDDIODDR";
226+
};
227+
};
228+
198229
mcp16502@5b {
199230
compatible = "microchip,mcp16502";
200231
reg = <0x5b>;

0 commit comments

Comments
 (0)