diff options
author | Baolin Wang <baolin.wang@linaro.org> | 2019-02-13 20:32:47 +0800 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2019-02-18 11:33:01 +0100 |
commit | a47954095395412832ebe7a20023606b6375f153 (patch) | |
tree | e9d13196ce7bf802eff7148817af120ab6110d44 /arch/arm64/boot/dts/sprd/sp9860g-1h10.dts | |
parent | 640e2c51bdf227a540480c0f0e0d68e94113931c (diff) |
arm64: dts: sprd: Add SC2731 charger device
Add charger device node and related battery node for SC2731 PMIC.
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm64/boot/dts/sprd/sp9860g-1h10.dts')
-rw-r--r-- | arch/arm64/boot/dts/sprd/sp9860g-1h10.dts | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts b/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts index 985ebb5d157e..6b95fd94cee3 100644 --- a/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts +++ b/arch/arm64/boot/dts/sprd/sp9860g-1h10.dts @@ -39,6 +39,22 @@ #size-cells = <2>; ranges; }; + + bat: battery { + compatible = "simple-battery"; + charge-full-design-microamp-hours = <1900000>; + charge-term-current-microamp = <120000>; + constant_charge_voltage_max_microvolt = <4350000>; + internal-resistance-micro-ohms = <250000>; + ocv-capacity-celsius = <20>; + ocv-capacity-table-0 = <4185000 100>, <4113000 95>, <4066000 90>, + <4022000 85>, <3983000 80>, <3949000 75>, + <3917000 70>, <3889000 65>, <3864000 60>, + <3835000 55>, <3805000 50>, <3787000 45>, + <3777000 40>, <3773000 35>, <3770000 30>, + <3765000 25>, <3752000 20>, <3724000 15>, + <3680000 10>, <3605000 5>, <3400000 0>; + }; }; &uart0 { |