84 lines
1.5 KiB
Plaintext
84 lines
1.5 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
/dts-v1/;
|
|
|
|
#include "msm8916-motorola-common.dtsi"
|
|
|
|
/ {
|
|
model = "Motorola Moto E 2015 LTE";
|
|
compatible = "motorola,surnia", "qcom,msm8916";
|
|
chassis-type = "handset";
|
|
};
|
|
|
|
&blsp_i2c4 {
|
|
status = "okay";
|
|
|
|
battery@36 {
|
|
compatible = "maxim,max17050";
|
|
reg = <0x36>;
|
|
|
|
interrupts-extended = <&tlmm 12 IRQ_TYPE_EDGE_FALLING>;
|
|
|
|
pinctrl-0 = <&battery_alert_default>;
|
|
pinctrl-names = "default";
|
|
|
|
maxim,rsns-microohm = <10000>;
|
|
maxim,over-heat-temp = <600>;
|
|
maxim,cold-temp = <(-200)>;
|
|
maxim,dead-volt = <3200>;
|
|
maxim,over-volt = <4500>;
|
|
|
|
};
|
|
};
|
|
|
|
&pm8916_codec {
|
|
qcom,micbias1-ext-cap;
|
|
qcom,micbias2-ext-cap;
|
|
};
|
|
|
|
&sdhc_2 {
|
|
pinctrl-0 = <&sdc2_default &sdc2_cd_default>;
|
|
pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>;
|
|
pinctrl-names = "default", "sleep";
|
|
|
|
cd-gpios = <&tlmm 25 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
&sound {
|
|
audio-routing =
|
|
"AMIC1", "MIC BIAS External1",
|
|
"AMIC3", "MIC BIAS External1";
|
|
};
|
|
|
|
&touchscreen {
|
|
interrupts-extended = <&tlmm 21 IRQ_TYPE_EDGE_FALLING>;
|
|
|
|
vdd-supply = <&pm8916_l16>;
|
|
|
|
pinctrl-0 = <&ts_int_default>;
|
|
pinctrl-names = "default";
|
|
};
|
|
|
|
&tlmm {
|
|
battery_alert_default: battery-alert-default-state {
|
|
pins = "gpio12";
|
|
function = "gpio";
|
|
drive-strength = <2>;
|
|
bias-pull-up;
|
|
};
|
|
|
|
sdc2_cd_default: sdc2-cd-default-state {
|
|
pins = "gpio25";
|
|
function = "gpio";
|
|
drive-strength = <2>;
|
|
bias-disable;
|
|
};
|
|
|
|
ts_int_default: ts-int-default-state {
|
|
pins = "gpio21";
|
|
function = "gpio";
|
|
drive-strength = <2>;
|
|
bias-disable;
|
|
};
|
|
};
|