Skip to content

Commit 0032951

Browse files
soburikartben
authored andcommitted
boards: m5stack: cores3: Add AXP2101 charger configuration
Adding AXP2101 battery charger configuration. Signed-off-by: TOKITA Hiroshi <[email protected]>
1 parent 42683c3 commit 0032951

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

boards/m5stack/m5stack_cores3/m5stack_cores3_procpu_common.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,13 @@
151151
status = "okay";
152152
};
153153
};
154+
155+
charger: charger {
156+
compatible = "x-powers,axp2101-charger";
157+
constant-charge-current-max-microamp = <200000>;
158+
constant-charge-voltage-max-microvolt = <4200000>;
159+
charge-term-current-microamp = <125000>;
160+
};
154161
};
155162

156163
bm8563_rtc: bm8563@51 {

0 commit comments

Comments
 (0)