Lines Matching +full:sda +full:- +full:pins
1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8939-pm8916.dtsi"
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
14 chassis-type = "handset";
23 stdout-path = "serial0";
26 reserved-memory {
28 tz-apps@85500000 {
30 no-map;
34 gpio-hall-sensor {
35 compatible = "gpio-keys";
37 pinctrl-0 = <&gpio_hall_sensor_default>;
38 pinctrl-names = "default";
42 event-hall-sensor {
45 linux,input-type = <EV_SW>;
47 linux,can-disable;
51 gpio-keys {
52 compatible = "gpio-keys";
54 pinctrl-0 = <&gpio_keys_default>;
55 pinctrl-names = "default";
59 button-volume-up {
65 button-home {
72 i2c-fg {
73 compatible = "i2c-gpio";
74 sda-gpios = <&tlmm 106 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
75 scl-gpios = <&tlmm 105 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
77 pinctrl-0 = <&fg_i2c_default>;
78 pinctrl-names = "default";
80 #address-cells = <1>;
81 #size-cells = <0>;
84 compatible = "richtek,rt5033-battery";
87 interrupt-parent = <&tlmm>;
90 pinctrl-0 = <&fg_alert_default>;
91 pinctrl-names = "default";
95 i2c-nfc {
96 compatible = "i2c-gpio";
97 sda-gpios = <&tlmm 0 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
98 scl-gpios = <&tlmm 1 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
100 pinctrl-0 = <&nfc_i2c_default>;
101 pinctrl-names = "default";
103 #address-cells = <1>;
104 #size-cells = <0>;
107 compatible = "nxp,pn547", "nxp,nxp-nci-i2c";
110 interrupt-parent = <&tlmm>;
113 enable-gpios = <&tlmm 116 GPIO_ACTIVE_HIGH>;
114 firmware-gpios = <&tlmm 49 GPIO_ACTIVE_HIGH>;
116 pinctrl-0 = <&nfc_default>;
117 pinctrl-names = "default";
121 i2c-sensor {
122 compatible = "i2c-gpio";
123 sda-gpios = <&tlmm 84 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
124 scl-gpios = <&tlmm 85 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
126 pinctrl-0 = <&sensor_i2c_default>;
127 pinctrl-names = "default";
129 #address-cells = <1>;
130 #size-cells = <0>;
135 interrupt-parent = <&tlmm>;
138 vdd-supply = <&pm8916_l17>;
139 vddio-supply = <&pm8916_l5>;
141 pinctrl-0 = <&accel_int_default>;
142 pinctrl-names = "default";
144 mount-matrix = "-1", "0", "0",
145 "0", "-1", "0",
153 vdd-supply = <&pm8916_l17>;
154 vddio-supply = <&pm8916_l5>;
158 i2c-tkey {
159 compatible = "i2c-gpio";
160 sda-gpios = <&tlmm 16 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
161 scl-gpios = <&tlmm 17 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
163 pinctrl-0 = <&tkey_i2c_default>;
164 pinctrl-names = "default";
166 #address-cells = <1>;
167 #size-cells = <0>;
171 compatible = "coreriver,tc360-touchkey";
174 interrupt-parent = <&tlmm>;
177 vcc-supply = <®_touch_key>;
178 vdd-supply = <®_keyled>;
179 vddio-supply = <&pm8916_l6>;
183 pinctrl-0 = <&tkey_default>;
184 pinctrl-names = "default";
188 pwm_vibrator: pwm-vibrator {
189 compatible = "clk-pwm";
190 #pwm-cells = <2>;
194 pinctrl-0 = <&motor_pwm_default>;
195 pinctrl-names = "default";
198 reg_keyled: regulator-keyled {
199 compatible = "regulator-fixed";
200 regulator-name = "keyled";
201 regulator-min-microvolt = <3300000>;
202 regulator-max-microvolt = <3300000>;
204 /* NOTE: On some variants e.g. SM-A700FD it's GPIO 91 */
206 enable-active-high;
208 pinctrl-0 = <&tkey_led_en_default>;
209 pinctrl-names = "default";
212 reg_touch_key: regulator-touch-key {
213 compatible = "regulator-fixed";
214 regulator-name = "touch_key";
215 regulator-min-microvolt = <2800000>;
216 regulator-max-microvolt = <2800000>;
219 enable-active-high;
221 pinctrl-0 = <&tkey_en_default>;
222 pinctrl-names = "default";
225 reg_tsp_vdd: regulator-tsp-vdd {
226 compatible = "regulator-fixed";
227 regulator-name = "tsp_vdd";
228 regulator-min-microvolt = <1800000>;
229 regulator-max-microvolt = <1800000>;
230 vin-supply = <&pm8916_s4>;
233 enable-active-high;
235 pinctrl-0 = <®_tsp_io_en_default>;
236 pinctrl-names = "default";
239 reg_vdd_tsp: regulator-vdd-tsp {
240 compatible = "regulator-fixed";
241 regulator-name = "vdd_tsp";
242 regulator-min-microvolt = <3300000>;
243 regulator-max-microvolt = <3300000>;
246 enable-active-high;
248 pinctrl-0 = <®_tsp_en_default>;
249 pinctrl-names = "default";
252 reg_vibrator: regulator-vibrator {
253 compatible = "regulator-fixed";
254 regulator-name = "motor_en";
255 regulator-min-microvolt = <3000000>;
256 regulator-max-microvolt = <3000000>;
259 enable-active-high;
261 pinctrl-0 = <&motor_en_default>;
262 pinctrl-names = "default";
266 compatible = "pwm-vibrator";
269 pwm-names = "enable";
271 vcc-supply = <®_vibrator>;
279 compatible = "siliconmitus,sm5502-muic";
282 interrupt-parent = <&tlmm>;
285 pinctrl-0 = <&muic_int_default>;
286 pinctrl-names = "default";
297 interrupt-parent = <&tlmm>;
300 vdd-supply = <®_vdd_tsp>;
301 vddio-supply = <®_tsp_vdd>;
303 pinctrl-0 = <&tsp_int_default>;
304 pinctrl-names = "default";
319 regulator-min-microvolt = <2850000>;
320 regulator-max-microvolt = <2850000>;
329 pinctrl-0 = <&sdc2_default &sdc2_cd_default>;
330 pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>;
331 pinctrl-names = "default", "sleep";
333 cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
356 accel_int_default: accel-int-default-state {
357 pins = "gpio115";
359 drive-strength = <2>;
360 bias-disable;
363 fg_alert_default: fg-alert-default-state {
364 pins = "gpio121";
366 drive-strength = <2>;
367 bias-disable;
370 fg_i2c_default: fg-i2c-default-state {
371 pins = "gpio105", "gpio106";
373 drive-strength = <2>;
374 bias-disable;
377 gpio_hall_sensor_default: gpio-hall-sensor-default-state {
378 pins = "gpio52";
380 drive-strength = <2>;
381 bias-disable;
384 gpio_keys_default: gpio-keys-default-state {
385 pins = "gpio107", "gpio109";
387 drive-strength = <2>;
388 bias-pull-up;
391 motor_en_default: motor-en-default-state {
392 pins = "gpio86";
394 drive-strength = <2>;
395 bias-disable;
398 motor_pwm_default: motor-pwm-default-state {
399 pins = "gpio50";
403 muic_int_default: muic-int-default-state {
404 pins = "gpio12";
406 drive-strength = <2>;
407 bias-disable;
410 nfc_default: nfc-default-state {
411 irq-pins {
412 pins = "gpio21";
414 drive-strength = <2>;
415 bias-pull-down;
418 nfc-pins {
419 pins = "gpio49", "gpio116";
421 drive-strength = <2>;
422 bias-disable;
426 nfc_i2c_default: nfc-i2c-default-state {
427 pins = "gpio0", "gpio1";
429 drive-strength = <2>;
430 bias-disable;
433 reg_tsp_en_default: reg-tsp-en-default-state {
434 pins = "gpio73";
436 drive-strength = <2>;
437 bias-disable;
440 reg_tsp_io_en_default: reg-tsp-io-en-default-state {
441 pins = "gpio8";
443 drive-strength = <2>;
444 bias-disable;
447 sdc2_cd_default: sdc2-cd-default-state {
448 pins = "gpio38";
450 drive-strength = <2>;
451 bias-disable;
454 sensor_i2c_default: sensor-i2c-default-state {
455 pins = "gpio84", "gpio85";
457 drive-strength = <2>;
458 bias-disable;
461 tkey_default: tkey-default-state {
462 pins = "gpio20";
464 drive-strength = <2>;
465 bias-disable;
468 tkey_en_default: tkey-en-default-state {
469 pins = "gpio56";
471 drive-strength = <2>;
472 bias-disable;
475 tkey_i2c_default: tkey-i2c-default-state {
476 pins = "gpio16", "gpio17";
478 drive-strength = <2>;
479 bias-disable;
482 tkey_led_en_default: tkey-led-en-default-state {
483 pins = "gpio100";
485 drive-strength = <2>;
486 bias-disable;
489 tsp_int_default: tsp-int-default-state {
490 pins = "gpio13";
492 drive-strength = <2>;
493 bias-disable;