boards: twatch_s3: enable battery charger
Enable the battery charger module form the X-Powers AXP2101 IC. Signed-off-by: Valerio Setti <vsetti@baylibre.com>
This commit is contained in:
parent
65a7e79eab
commit
5d78ef3d5d
1 changed files with 9 additions and 0 deletions
|
@ -139,6 +139,15 @@
|
||||||
axp2101@34 {
|
axp2101@34 {
|
||||||
compatible = "x-powers,axp2101";
|
compatible = "x-powers,axp2101";
|
||||||
reg = <0x34>;
|
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 {
|
regulators {
|
||||||
compatible = "x-powers,axp2101-regulator";
|
compatible = "x-powers,axp2101-regulator";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue