ARM64: dts: rk3366-tb: add rk818 battery node
authorJianhong Chen <chenjh@rock-chips.com>
Tue, 20 Sep 2016 01:51:55 +0000 (09:51 +0800)
committerJianhong Chen <chenjh@rock-chips.com>
Tue, 20 Sep 2016 01:55:41 +0000 (09:55 +0800)
Change-Id: I03c2668f157b33bdfeff36c474104dd337632aa0
Signed-off-by: Jianhong Chen <chenjh@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3366-tb.dts

index 620d9432b93237dc48c5935b4d4a60aca04082ca..420320c22656191b52226189be137edb9267e745 100644 (file)
                                };
                        };
                };
                                };
                        };
                };
+
+               battery {
+                       compatible = "rk818-battery";
+                       ocv_table = <3400 3650 3693 3707 3731 3749 3760
+                                    3770 3782 3796 3812 3829 3852 3882
+                                    3915 3951 3981 4047 4086 4132 4182>;
+                       design_capacity = <7916>;
+                       design_qmax = <8708>;
+                       bat_res = <65>;
+                       max_input_current = <2000>;
+                       max_chrg_current = <1600>;
+                       max_chrg_voltage = <4200>;
+                       sleep_enter_current = <300>;
+                       sleep_exit_current = <300>;
+                       power_off_thresd = <3400>;
+                       zero_algorithm_vol = <3850>;
+                       fb_temperature = <105>;
+                       sample_res = <20>;
+                       max_soc_offset = <60>;
+                       energy_mode = <0>;
+                       monitor_sec = <5>;
+                       virtual_power = <0>;
+                       power_dc2otg = <0>;
+               };
        };
 };
 
        };
 };