mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 19:13:47 +02:00
arm64: dts: rockchip: Add battery and charger on rk3566-pinenote
The PineNote has a single cell 4000mAh battery which can be charged via the rk817 PMIC. Signed-off-by: Samuel Holland <samuel@sholland.org> Co-developed-by: Maximilian Weigand <mweigand@mweigand.net> Signed-off-by: Maximilian Weigand <mweigand@mweigand.net> Signed-off-by: Diederik de Haas <diederik@cknow-tech.com> Link: https://patch.msgid.link/20260224170531.516392-1-diederik@cknow-tech.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
This commit is contained in:
parent
7d939032bd
commit
1d608a269e
|
|
@ -40,6 +40,25 @@ spk_amp: audio-amplifier {
|
|||
sound-name-prefix = "Speaker Amp";
|
||||
};
|
||||
|
||||
battery: battery {
|
||||
compatible = "simple-battery";
|
||||
charge-full-design-microamp-hours = <4000000>;
|
||||
charge-term-current-microamp = <300000>;
|
||||
constant-charge-current-max-microamp = <2000000>;
|
||||
constant-charge-voltage-max-microvolt = <4200000>;
|
||||
factory-internal-resistance-micro-ohms = <96000>;
|
||||
voltage-max-design-microvolt = <4200000>;
|
||||
voltage-min-design-microvolt = <3500000>;
|
||||
|
||||
ocv-capacity-celsius = <20>;
|
||||
ocv-capacity-table-0 = <4168000 100>, <4109000 95>, <4066000 90>, <4023000 85>,
|
||||
<3985000 80>, <3954000 75>, <3924000 70>, <3897000 65>,
|
||||
<3866000 60>, <3826000 55>, <3804000 50>, <3789000 45>,
|
||||
<3777000 40>, <3770000 35>, <3763000 30>, <3750000 25>,
|
||||
<3732000 20>, <3710000 15>, <3680000 10>, <3670000 5>,
|
||||
<3500000 0>;
|
||||
};
|
||||
|
||||
dmic_codec: dmic-codec {
|
||||
compatible = "dmic-codec";
|
||||
num-channels = <6>;
|
||||
|
|
@ -260,6 +279,13 @@ rk817: pmic@20 {
|
|||
vcc8-supply = <&vcc_sys>;
|
||||
vcc9-supply = <&dcdc_boost>;
|
||||
|
||||
charger {
|
||||
monitored-battery = <&battery>;
|
||||
rockchip,resistor-sense-micro-ohms = <10000>;
|
||||
rockchip,sleep-enter-current-microamp = <150000>;
|
||||
rockchip,sleep-filter-current-microamp = <100000>;
|
||||
};
|
||||
|
||||
regulators {
|
||||
vdd_logic: DCDC_REG1 {
|
||||
regulator-name = "vdd_logic";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user