1// SPDX-License-Identifier: GPL-2.0-only 2 3/dts-v1/; 4 5#include "msm8916-motorola-common.dtsi" 6 7/ { 8 model = "Motorola Moto E 2015 LTE"; 9 compatible = "motorola,surnia", "qcom,msm8916"; 10 chassis-type = "handset"; 11}; 12 13&blsp_i2c4 { 14 status = "okay"; 15 16 battery@36 { 17 compatible = "maxim,max17050"; 18 reg = <0x36>; 19 20 interrupts-extended = <&tlmm 12 IRQ_TYPE_EDGE_FALLING>; 21 22 pinctrl-0 = <&battery_alert_default>; 23 pinctrl-names = "default"; 24 25 maxim,rsns-microohm = <10000>; 26 maxim,over-heat-temp = <600>; 27 maxim,cold-temp = <(-200)>; 28 maxim,dead-volt = <3200>; 29 maxim,over-volt = <4500>; 30 31 }; 32}; 33 34&pm8916_codec { 35 qcom,micbias1-ext-cap; 36 qcom,micbias2-ext-cap; 37}; 38 39&sdhc_2 { 40 pinctrl-0 = <&sdc2_default &sdc2_cd_default>; 41 pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>; 42 pinctrl-names = "default", "sleep"; 43 44 cd-gpios = <&tlmm 25 GPIO_ACTIVE_LOW>; 45}; 46 47&sound { 48 audio-routing = 49 "AMIC1", "MIC BIAS External1", 50 "AMIC3", "MIC BIAS External1"; 51}; 52 53&touchscreen { 54 interrupts-extended = <&tlmm 21 IRQ_TYPE_EDGE_FALLING>; 55 56 vdd-supply = <&pm8916_l16>; 57 58 pinctrl-0 = <&ts_int_default>; 59 pinctrl-names = "default"; 60}; 61 62&tlmm { 63 battery_alert_default: battery-alert-default-state { 64 pins = "gpio12"; 65 function = "gpio"; 66 drive-strength = <2>; 67 bias-pull-up; 68 }; 69 70 sdc2_cd_default: sdc2-cd-default-state { 71 pins = "gpio25"; 72 function = "gpio"; 73 drive-strength = <2>; 74 bias-disable; 75 }; 76 77 ts_int_default: ts-int-default-state { 78 pins = "gpio21"; 79 function = "gpio"; 80 drive-strength = <2>; 81 bias-disable; 82 }; 83}; 84