~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/qcom/msm8916-motorola-harpia.dts

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  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 G4 Play";
  9         compatible = "motorola,harpia", "qcom,msm8916";
 10         chassis-type = "handset";
 11 };
 12 
 13 &blsp_i2c1 {
 14         status = "okay";
 15 
 16         battery@36 {
 17                 compatible = "maxim,max17050";
 18                 reg = <0x36>;
 19 
 20                 interrupts-extended = <&tlmm 62 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         /* charger@6b */
 33 };
 34 
 35 &blsp_i2c4 {
 36         status = "okay";
 37 
 38         accelerometer@19 {
 39                 compatible = "bosch,bma253";
 40                 reg = <0x19>;
 41 
 42                 interrupts-extended = <&tlmm 115 IRQ_TYPE_EDGE_RISING>,
 43                                       <&tlmm 119 IRQ_TYPE_EDGE_RISING>;
 44 
 45                 vdd-supply = <&pm8916_l17>;
 46                 vddio-supply = <&pm8916_l6>;
 47 
 48                 mount-matrix = "1",  "0", "0",
 49                                "0", "-1", "0",
 50                                "0",  "0", "1";
 51 
 52                 pinctrl-0 = <&accel_int_default>;
 53                 pinctrl-names = "default";
 54         };
 55 
 56         /* proximity@49 */
 57 };
 58 
 59 &pm8916_codec {
 60         qcom,micbias-lvl = <2800>;
 61         qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
 62         qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
 63         qcom,micbias1-ext-cap;
 64 };
 65 
 66 &pm8916_rpm_regulators {
 67         pm8916_l17: l17 {
 68                 regulator-min-microvolt = <2850000>;
 69                 regulator-max-microvolt = <2850000>;
 70         };
 71 };
 72 
 73 &sdhc_2 {
 74         pinctrl-0 = <&sdc2_default &sdc2_cd_default>;
 75         pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>;
 76         pinctrl-names = "default", "sleep";
 77 
 78         cd-gpios = <&tlmm 118 GPIO_ACTIVE_LOW>;
 79 };
 80 
 81 &sound {
 82         audio-routing =
 83                 "AMIC1", "MIC BIAS External1",
 84                 "AMIC2", "MIC BIAS Internal2",
 85                 "AMIC3", "MIC BIAS External1";
 86 
 87         pinctrl-0 = <&cdc_pdm_default &headset_switch_supply_en
 88                      &headset_switch_in>;
 89         pinctrl-1 = <&cdc_pdm_sleep &headset_switch_supply_en
 90                      &headset_switch_in>;
 91         pinctrl-names = "default", "sleep";
 92 };
 93 
 94 &touchscreen {
 95         interrupts-extended = <&tlmm 13 IRQ_TYPE_EDGE_FALLING>;
 96 
 97         vdd-supply = <&pm8916_l16>;
 98 
 99         pinctrl-0 = <&ts_int_default>;
100         pinctrl-names = "default";
101 };
102 
103 &tlmm {
104         accel_int_default: accel-int-default-state {
105                 pins = "gpio115", "gpio119";
106                 function = "gpio";
107                 drive-strength = <2>;
108                 bias-disable;
109         };
110 
111         battery_alert_default: battery-alert-default-state {
112                 pins = "gpio62";
113                 function = "gpio";
114                 drive-strength = <2>;
115                 bias-pull-up;
116         };
117 
118         headset_switch_in: headset-switch-in-state {
119                 pins = "gpio112";
120                 function = "gpio";
121                 drive-strength = <2>;
122                 bias-disable;
123                 output-low;
124         };
125 
126         headset_switch_supply_en: headset-switch-supply-en-state {
127                 pins = "gpio111";
128                 function = "gpio";
129                 drive-strength = <2>;
130                 bias-disable;
131                 output-high;
132         };
133 
134         sdc2_cd_default: sdc2-cd-default-state {
135                 pins = "gpio118";
136                 function = "gpio";
137                 drive-strength = <2>;
138                 bias-disable;
139         };
140 
141         ts_int_default: ts-int-default-state {
142                 pins = "gpio13";
143                 function = "gpio";
144                 drive-strength = <2>;
145                 bias-disable;
146         };
147 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php