1 // SPDX-License-Identifier: GPL-2.0-only 1 // SPDX-License-Identifier: GPL-2.0-only 2 2 3 /dts-v1/; 3 /dts-v1/; 4 4 5 #include "msm8916-motorola-common.dtsi" 5 #include "msm8916-motorola-common.dtsi" 6 6 7 / { 7 / { 8 model = "Motorola Moto G 2015"; 8 model = "Motorola Moto G 2015"; 9 compatible = "motorola,osprey", "qcom, 9 compatible = "motorola,osprey", "qcom,msm8916"; 10 chassis-type = "handset"; 10 chassis-type = "handset"; 11 11 12 reg_touch_vdda: regulator-touch-vdda { 12 reg_touch_vdda: regulator-touch-vdda { 13 compatible = "regulator-fixed" 13 compatible = "regulator-fixed"; 14 regulator-name = "touch_vdda"; 14 regulator-name = "touch_vdda"; 15 gpio = <&tlmm 114 GPIO_ACTIVE_ 15 gpio = <&tlmm 114 GPIO_ACTIVE_HIGH>; 16 enable-active-high; 16 enable-active-high; 17 pinctrl-0 = <&touch_vdda_defau 17 pinctrl-0 = <&touch_vdda_default>; 18 pinctrl-names = "default"; 18 pinctrl-names = "default"; 19 startup-delay-us = <300>; 19 startup-delay-us = <300>; 20 vin-supply = <&pm8916_l16>; 20 vin-supply = <&pm8916_l16>; 21 }; 21 }; 22 }; 22 }; 23 23 24 &blsp_i2c1 { 24 &blsp_i2c1 { 25 status = "okay"; 25 status = "okay"; 26 26 27 battery@36 { 27 battery@36 { 28 compatible = "maxim,max17050"; 28 compatible = "maxim,max17050"; 29 reg = <0x36>; 29 reg = <0x36>; 30 30 31 interrupts-extended = <&tlmm 4 31 interrupts-extended = <&tlmm 49 IRQ_TYPE_EDGE_FALLING>; 32 32 33 pinctrl-0 = <&battery_alert_de 33 pinctrl-0 = <&battery_alert_default>; 34 pinctrl-names = "default"; 34 pinctrl-names = "default"; 35 35 36 maxim,rsns-microohm = <10000>; 36 maxim,rsns-microohm = <10000>; 37 maxim,over-heat-temp = <600>; 37 maxim,over-heat-temp = <600>; 38 maxim,cold-temp = <(-200)>; 38 maxim,cold-temp = <(-200)>; 39 maxim,dead-volt = <3200>; 39 maxim,dead-volt = <3200>; 40 maxim,over-volt = <4500>; 40 maxim,over-volt = <4500>; 41 41 42 }; 42 }; 43 }; 43 }; 44 44 45 &blsp_i2c6 { 45 &blsp_i2c6 { 46 /* magnetometer@c */ 46 /* magnetometer@c */ 47 }; 47 }; 48 48 49 &pm8916_codec { 49 &pm8916_codec { 50 qcom,micbias1-ext-cap; 50 qcom,micbias1-ext-cap; 51 qcom,micbias2-ext-cap; 51 qcom,micbias2-ext-cap; 52 }; 52 }; 53 53 54 &sdhc_2 { 54 &sdhc_2 { 55 pinctrl-0 = <&sdc2_default &sdc2_cd_de 55 pinctrl-0 = <&sdc2_default &sdc2_cd_default>; 56 pinctrl-1 = <&sdc2_sleep &sdc2_cd_defa 56 pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>; 57 pinctrl-names = "default", "sleep"; 57 pinctrl-names = "default", "sleep"; 58 58 59 cd-gpios = <&tlmm 25 GPIO_ACTIVE_LOW>; 59 cd-gpios = <&tlmm 25 GPIO_ACTIVE_LOW>; 60 }; 60 }; 61 61 62 &sound { 62 &sound { 63 audio-routing = 63 audio-routing = 64 "AMIC1", "MIC BIAS External1", 64 "AMIC1", "MIC BIAS External1", 65 "AMIC3", "MIC BIAS External1"; 65 "AMIC3", "MIC BIAS External1"; 66 }; 66 }; 67 67 68 &touchscreen { 68 &touchscreen { 69 interrupts-extended = <&tlmm 21 IRQ_TY 69 interrupts-extended = <&tlmm 21 IRQ_TYPE_EDGE_FALLING>; 70 70 71 vdd-supply = <®_touch_vdda>; 71 vdd-supply = <®_touch_vdda>; 72 72 73 pinctrl-0 = <&ts_int_default>; 73 pinctrl-0 = <&ts_int_default>; 74 pinctrl-names = "default"; 74 pinctrl-names = "default"; 75 }; 75 }; 76 76 77 &tlmm { 77 &tlmm { 78 battery_alert_default: battery-alert-d 78 battery_alert_default: battery-alert-default-state { 79 pins = "gpio49"; 79 pins = "gpio49"; 80 function = "gpio"; 80 function = "gpio"; 81 drive-strength = <2>; 81 drive-strength = <2>; 82 bias-pull-up; 82 bias-pull-up; 83 }; 83 }; 84 84 85 sdc2_cd_default: sdc2-cd-default-state 85 sdc2_cd_default: sdc2-cd-default-state { 86 pins = "gpio25"; 86 pins = "gpio25"; 87 function = "gpio"; 87 function = "gpio"; 88 drive-strength = <2>; 88 drive-strength = <2>; 89 bias-disable; 89 bias-disable; 90 }; 90 }; 91 91 92 ts_int_default: ts-int-default-state { 92 ts_int_default: ts-int-default-state { 93 pins = "gpio21"; 93 pins = "gpio21"; 94 function = "gpio"; 94 function = "gpio"; 95 drive-strength = <2>; 95 drive-strength = <2>; 96 bias-disable; 96 bias-disable; 97 }; 97 }; 98 98 99 touch_vdda_default: touch-vdda-default 99 touch_vdda_default: touch-vdda-default-state { 100 pins = "gpio114"; 100 pins = "gpio114"; 101 function = "gpio"; 101 function = "gpio"; 102 drive-strength = <2>; 102 drive-strength = <2>; 103 bias-disable; 103 bias-disable; 104 }; 104 }; 105 }; 105 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.