From 5d78ef3d5dcbab3464db81e4d603c64ddd8399d3 Mon Sep 17 00:00:00 2001 From: Valerio Setti Date: Mon, 7 Apr 2025 09:52:43 +0200 Subject: [PATCH] boards: twatch_s3: enable battery charger Enable the battery charger module form the X-Powers AXP2101 IC. Signed-off-by: Valerio Setti --- boards/lilygo/twatch_s3/twatch_s3_procpu.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/boards/lilygo/twatch_s3/twatch_s3_procpu.dts b/boards/lilygo/twatch_s3/twatch_s3_procpu.dts index 75a6ac82156..b78676a8b0a 100644 --- a/boards/lilygo/twatch_s3/twatch_s3_procpu.dts +++ b/boards/lilygo/twatch_s3/twatch_s3_procpu.dts @@ -139,6 +139,15 @@ axp2101@34 { compatible = "x-powers,axp2101"; reg = <0x34>; + + charger { + compatible = "x-powers,axp2101-charger"; + constant-charge-current-max-microamp = <300000>; + constant-charge-voltage-max-microvolt = <4200000>; + charge-term-current-microamp = <100000>; + vbackup-enable; + }; + regulators { compatible = "x-powers,axp2101-regulator";