mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-09-08 17:18:05 -04:00
170 lines
6.2 KiB
Text
Executable file
170 lines
6.2 KiB
Text
Executable file
/*
|
|
* SAMSUNG UNIVERSAL7570 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.
|
|
*/
|
|
|
|
/ {
|
|
s2mpu06-fuelgauge {
|
|
status = "disable";
|
|
compatible = "samsung,s2mpu06-fuelgauge";
|
|
fuelgauge,fuel_alert_soc = <1>;
|
|
fuelgauge,capacity_max = <1000>;
|
|
fuelgauge,capacity_max_margin = <70>;
|
|
fuelgauge,capacity_min = <0>;
|
|
fuelgauge,capacity_calculation_type = <28>;
|
|
fuelgauge,type_str = "SDI";
|
|
fuelgauge,model_type = <1>;
|
|
};
|
|
|
|
battery {
|
|
status = "okay";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
compatible = "samsung,sec-battery";
|
|
battery,vendor = "SDI SDI";
|
|
battery,charger_name = "s2mpu06-charger";
|
|
battery,fuelgauge_name = "s2mpu06-fuelgauge";
|
|
battery,technology = <2>; /* POWER_SUPPLY_TECHNOLOGY_LION */
|
|
|
|
battery,chip_vendor = "LSI";
|
|
|
|
battery,battery_type = <&gpd1 5 0x1>;
|
|
|
|
battery,temp_adc_type = <1>; /* SEC_BATTERY_ADC_TYPE_AP */
|
|
|
|
battery,polling_time = <10 30 30 30 3600>;
|
|
|
|
battery,temp_table_adc = <300 354 412 490 565 661 795 908 1059 1214 1288 1407 1605 1820 2050
|
|
2280 2505 2726 2925 3126 3242 3324 3469 3591 3689>;
|
|
|
|
battery,temp_table_data = <900 850 800 750 700 650 600 550 500 450 430 400 350 300 250
|
|
200 150 100 50 0 (-30) (-50) (-100) (-150) (-200)>;
|
|
|
|
battery,input_current_limit = <1000 460 460 1000 460 900 1000 460 1000 0 820 820 820 1000 1000 0 0 400 700 1000 300 1000 1000 0 1667 1667 1000 1667 80 1800 1667 1400 1000 1000 820 820>;
|
|
battery,fast_charging_current = <1200 0 0 1200 460 1200 1000 460 1200 0 1200 1200 1200 1200 1200 0 0 400 700 1200 300 1000 1200 0 2550 2550 1000 2550 80 1800 1000 1400 0 1000 1200 1200>;
|
|
battery,full_check_current_1st = <200 0 0 200 200 200 200 200 200 0 200 200 200 200 200 0 0 200 200 200 200 200 200 0 200 200 200 200 0 200 200 200 0 200 200 200>;
|
|
battery,full_check_current_2nd = <100 0 0 100 100 100 100 100 100 0 100 100 100 100 100 0 0 100 100 100 100 100 100 0 100 100 100 100 0 100 100 100 0 100 100 100>;
|
|
|
|
battery,wireless_cc_cv = <86>;
|
|
battery,inbat_voltage = <1>;
|
|
|
|
battery,inbat_voltage_table_adc = <3120 3101 3061 3038 3001 2956 2920 2887 2856 2814
|
|
2793 2754 2720 2677 2641 2613 2572 2531 2502 2467 2436>;
|
|
battery,inbat_voltage_table_data = <438 435 430 425 420 415 410 405 400 395
|
|
390 385 380 375 370 365 360 355 350 345 340>;
|
|
|
|
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,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,ovp_uvlo_check_type = <3>; /* SEC_BATTERY_OVP_UVLO_CHGPOLLING */
|
|
|
|
battery,check_adc_max = <1440>;
|
|
battery,check_adc_min = <0>;
|
|
|
|
battery,thermal_source = <2>; /* SEC_BATTERY_THERMAL_SOURCE_ADC */
|
|
|
|
battery,temp_check_type = <2>; /* SEC_BATTERY_TEMP_CHECK_TEMP */
|
|
battery,temp_check_count = <1>;
|
|
battery,temp_highlimit_threshold_normal = <800>;
|
|
battery,temp_highlimit_recovery_normal = <750>;
|
|
battery,temp_high_threshold_normal = <550>;
|
|
battery,temp_high_recovery_normal = <500>;
|
|
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 = <550>;
|
|
battery,temp_high_recovery_lpm = <500>;
|
|
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 = <7>; /* SEC_BATTERY_FULLCHARGED_CHGPSY */
|
|
battery,full_check_count = <1>;
|
|
battery,chg_gpio_full_check = <0>;
|
|
battery,chg_polarity_full_check = <1>;
|
|
|
|
battery,chg_high_temp_1st = <530>;
|
|
battery,chg_high_temp_2nd = <530>;
|
|
battery,chg_high_temp_recovery = <525>;
|
|
battery,chg_charging_limit_current = <1300>;
|
|
battery,chg_charging_limit_current_2nd = <1300>;
|
|
battery,chg_skip_check_capacity = <10>;
|
|
battery,chg_skip_check_time = <600>;
|
|
|
|
battery,wpc_high_temp = <420>;
|
|
battery,wpc_high_temp_recovery = <410>;
|
|
battery,wpc_charging_limit_current = <450>;
|
|
|
|
/* SEC_BATTERY_FULL_CONDITION_SOC |
|
|
SEC_BATTERY_FULL_CONDITION_NOTIMEFULL |
|
|
SEC_BATTERY_FULL_CONDITION_VCELL */
|
|
battery,full_condition_type = <15>;
|
|
battery,full_condition_soc = <93>;
|
|
battery,full_condition_vcell = <4230>;
|
|
battery,full_condition_vcell2 = <4280>;
|
|
|
|
battery,recharge_check_count = <2>;
|
|
battery,recharge_condition_type = <4>; /* SEC_BATTERY_RECHARGE_CONDITION_VCELL */
|
|
battery,recharge_condition_soc = <98>;
|
|
battery,recharge_condition_vcell = <4290>;
|
|
battery,recharge_condition_vcell2 = <4340>;
|
|
|
|
battery,charging_total_time = <21600>;
|
|
battery,recharging_total_time = <5400>;
|
|
battery,charging_reset_time = <0>;
|
|
|
|
battery,chg_float_voltage = <4330>;
|
|
battery,chg_float_voltage2 = <4380>;
|
|
|
|
battery,self_discharging_temp_block = <600>;
|
|
battery,self_discharging_volt_block = <4250>;
|
|
battery,self_discharging_temp_recov = <550>;
|
|
battery,self_discharging_temp_pollingtime = <400>;
|
|
|
|
battery,swelling_high_temp_block = <450>;
|
|
battery,swelling_high_temp_recov = <400>;
|
|
battery,swelling_low_temp_block = <100>;
|
|
battery,swelling_low_temp_recov = <150>;
|
|
battery,swelling_high_temp_current = <1200>;
|
|
battery,swelling_low_temp_current = <1200>;
|
|
battery,swelling_low_temp_additional = <50>;
|
|
battery,swelling_low_temp_additional_current = <480>;
|
|
battery,swelling_low_temp_topoff = <150>;
|
|
battery,swelling_high_temp_topoff = <150>;
|
|
battery,swelling_drop_float_voltage = <4210>;
|
|
battery,swelling_high_rechg_voltage = <4150>;
|
|
battery,swelling_low_rechg_voltage = <4050>;
|
|
battery,swelling_block_time = <600>;
|
|
|
|
io-channels = <&exynos_adc 1>;
|
|
io-channel-names = "adc-temp";
|
|
#io-channel-cells = <1>;
|
|
io-channel-ranges;
|
|
};
|
|
|
|
s2mpu06-charger {
|
|
status = "disable";
|
|
compatible = "samsung,s2mpu06-charger";
|
|
battery,is_1MHz_switching = <1>;
|
|
battery,chg_gpio_en = <0>;
|
|
battery,chg_polarity_en = <0>;
|
|
battery,chg_gpio_status = <0>;
|
|
battery,chg_polarity_status = <0>;
|
|
};
|
|
};
|
|
|