60 lines
1.5 KiB
Plaintext
60 lines
1.5 KiB
Plaintext
|
/*
|
||
|
* Copyright (c) 2015, The Linux Foundation. All rights reserved.
|
||
|
*
|
||
|
* This program is free software; you can redistribute it and/or modify
|
||
|
* it under the terms of the GNU General Public License version 2 and
|
||
|
* only version 2 as published by the Free Software Foundation.
|
||
|
*
|
||
|
* This program is distributed in the hope that it will be useful,
|
||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
* GNU General Public License for more details.
|
||
|
*/
|
||
|
|
||
|
/dts-v1/;
|
||
|
|
||
|
#include "msm8937.dtsi"
|
||
|
#include "msm8937-pmi8937-qrd-sku2.dtsi"
|
||
|
|
||
|
/ {
|
||
|
model = "Qualcomm Technologies, Inc. MSM8937-PMI8937 QRD SKU2";
|
||
|
compatible = "qcom,msm8937-pmi8937-qrd-sku2",
|
||
|
"qcom,msm8937-qrd", "qcom,msm8937", "qcom,qrd";
|
||
|
qcom,board-id= <0x12000b 0>;
|
||
|
};
|
||
|
|
||
|
&int_codec {
|
||
|
qcom,model = "msm8952-sku2-snd-card";
|
||
|
};
|
||
|
|
||
|
&i2c_2 {
|
||
|
pericom-type-c@1d {
|
||
|
status="disabled";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
/ {
|
||
|
qrd_batterydata: qcom,battery-data {
|
||
|
qcom,batt-id-range-pct = <15>;
|
||
|
#include "batterydata-qrd-sku2-4v35-2590mah.dtsi"
|
||
|
};
|
||
|
};
|
||
|
|
||
|
&pmi8937_charger {
|
||
|
qcom,battery-data = <&qrd_batterydata>;
|
||
|
qcom,float-voltage-mv = <4350>;
|
||
|
qcom,chg-led-sw-controls;
|
||
|
qcom,chg-led-support;
|
||
|
status = "okay";
|
||
|
};
|
||
|
|
||
|
&pmi8937_fg {
|
||
|
qcom,battery-data = <&qrd_batterydata>;
|
||
|
qcom,cold-bat-decidegc = <(-100)>;
|
||
|
qcom,cool-bat-decidegc = <(-100)>;
|
||
|
qcom,hot-bat-decidegc = <550>;
|
||
|
qcom,warm-bat-decidegc = <550>;
|
||
|
qcom,bad-battery-detection-enable;
|
||
|
qcom,hold-soc-while-full;
|
||
|
};
|