/* * SAMSUNG UNIVERSAL5430 board device tree source * * Copyright (c) 2013 Samsung Electronics Co., Ltd. * http://www.samsung.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ / { battery { status = "okay"; compatible = "samsung,sec-battery"; battery,vendor = "SDI SDI"; battery,charger_name = "max77843-charger"; battery,fuelgauge_name = "max77843-fuelgauge"; battery,technology = <2>; /* POWER_SUPPLY_TECHNOLOGY_LION */ /* .temp_cohot = -1000; */ /* .temp_cocold = -4325; */ battery,chip_vendor = "LSI"; battery,temp_adc_type = <1>; /* SEC_BATTERY_ADC_TYPE_AP */ battery,polling_time = <10 30 30 30 3600>; battery,temp_table_adc = <500 571 617 633 653 670 688 757 848 965 1016 1034 1059 1087 1030 1194 1334 1418 1518 1597 1677 1742 1772 1785 1795 1808 1818 1827 1839 1849 1859 1868 1875 1923 1970 1995>; battery,temp_table_data = <690 640 610 600 590 580 570 540 490 440 410 400 390 380 370 340 290 240 190 140 90 40 10 0 (-10) (-20) (-30) (-40) (-50) (-60) (-70) (-80) (-110) (-160) (-210) (-260)>; battery,input_current_limit = <1800 0 0 1800 460 900 1000 460 1000 0 650 1900 0 0 0 400 700 1300 300 1000 1600 0 1633 80 1800>; battery,fast_charging_current = <2100 0 0 2100 460 1200 1000 460 1200 0 750 1600 0 0 0 400 700 1300 300 1000 1900 0 2800 80 1800>; battery,full_check_current_1st = <200 0 0 200 200 200 200 200 200 0 200 200 0 0 0 200 200 200 200 200 200 0 200 0 200>; battery,full_check_current_2nd = <2400 0 0 2400 2400 2400 2400 2400 2400 0 2400 2400 0 0 0 2400 2400 2400 2400 2400 2400 0 2400 2400 2400>; battery,adc_check_count = <5>; battery,cable_check_type = <4>; /* SEC_BATTERY_CABLE_CHECK_PSY */ battery,cable_source_type = <1>; /* SEC_BATTERY_CABLE_SOURCE_EXTERNAL */ battery,event_waiting_time = <600>; battery,polling_type = <1>; /* SEC_BATTERY_MONITOR_ALARM */ battery,monitor_initial_count = <0>; battery,battery_check_type = <5>; /* SEC_BATTERY_CHECK_CHARGER */ battery,check_count = <0>; battery,check_adc_max = <1440>; battery,check_adc_min = <0>; battery,ovp_uvlo_check_type = <3>; /* SEC_BATTERY_OVP_UVLO_CHGPOLLING */ battery,thermal_source = <2>; /* SEC_BATTERY_THERMAL_SOURCE_ADC */ battery,temp_check_type = <2>; /* _BATTERY_TEMP_CHECK_TEMP */ battery,temp_check_count = <1>; battery,temp_highlimit_threshold_event = <800>; battery,temp_highlimit_recovery_event = <750>; battery,temp_high_threshold_event = <700>; battery,temp_high_recovery_event = <460>; battery,temp_low_threshold_event = <(-30)>; battery,temp_low_recovery_event = <0>; battery,temp_highlimit_threshold_normal = <800>; battery,temp_highlimit_recovery_normal = <750>; battery,temp_high_threshold_normal = <600>; battery,temp_high_recovery_normal = <460>; battery,temp_low_threshold_normal = <(-50)>; battery,temp_low_recovery_normal = <0>; battery,temp_highlimit_threshold_lpm = <800>; battery,temp_highlimit_recovery_lpm = <750>; battery,temp_high_threshold_lpm = <600>; battery,temp_high_recovery_lpm = <460>; battery,temp_low_threshold_lpm = <(-50)>; battery,temp_low_recovery_lpm = <0>; battery,full_check_type = <7>; /* SEC_BATTERY_FULLCHARGED_CHGPSY */ battery,full_check_type_2nd = <3>; /* SEC_BATTERY_FULLCHARGED_TIME */ battery,full_check_count = <1>; battery,chg_gpio_full_check = <0>; battery,chg_polarity_full_check = <1>; /* SEC_BATTERY_FULL_CONDITION_SOC | SEC_BATTERY_FULL_CONDITION_NOTIMEFULL | SEC_BATTERY_FULL_CONDITION_VCELL */ battery,full_condition_type = <13>; battery,full_condition_soc = <97>; battery,full_condition_vcell = <4350>; battery,recharge_check_count = <2>; battery,recharge_condition_type = <4>; /* SEC_BATTERY_RECHARGE_CONDITION_VCELL */ battery,recharge_condition_soc = <98>; battery,recharge_condition_vcell = <4350>; battery,charging_total_time = <21600>; battery,recharging_total_time = <5400>; battery,charging_reset_time = <0>; io-channels = <&exynos_adc 1>; io-channel-names = "adc-temp"; #io-channel-cells = <1>; io-channel-ranges; }; max77843-fuelgauge { status = "disable"; fuelgauge,fuel_alert_soc = <1>; fuelgauge,capacity_max = <1000>; fuelgauge,capacity_max_margin = <30>; fuelgauge,capacity_min = <0>; fuelgauge,capacity_calculation_type = <0x17>; fuelgauge,repeated_fuelalert; fuelgauge,rcomp0 = <0x88>; fuelgauge,rcomp_charging = <0x88>; fuelgauge,temp_cohot = <(-1000)>; fuelgauge,temp_cocold = <(-4325)>; fuelgauge,is_using_model_data; fuelgauge,type_str = "SDI"; fuelgauge,capacity = <0x3F76>; fuelgauge,low_battery_comp_voltage = <3600>; fuelgauge,low_battery_table = <(-5000) 0 0 (-1250) 0 3320 (-750) 97 3451 (-100) 96 3461 0 0 3456>; }; max77843-charger { status = "disable"; battery,chg_gpio_en = <0>; battery,chg_polarity_en = <0>; battery,chg_gpio_status = <0>; battery,chg_polarity_status = <0>; battery,chg_float_voltage = <4400>; }; };