Lines Matching +full:sda +full:- +full:pins

1 // SPDX-License-Identifier: GPL-2.0-only
3 /dts-v1/;
5 #include "msm8939-pm8916.dtsi"
6 #include "msm8916-modem-qdsp6.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
11 #include <dt-bindings/sound/apq8016-lpass.h>
16 chassis-type = "handset";
25 stdout-path = "serial0";
28 reserved-memory {
30 tz-apps@85500000 {
32 no-map;
37 compatible = "simple-battery";
38 charge-term-current-microamp = <150000>;
39 constant-charge-current-max-microamp = <1500000>;
40 constant-charge-voltage-max-microvolt = <4300000>;
41 precharge-current-microamp = <450000>;
42 precharge-upper-limit-microvolt = <3500000>;
45 gpio-hall-sensor {
46 compatible = "gpio-keys";
48 pinctrl-0 = <&gpio_hall_sensor_default>;
49 pinctrl-names = "default";
53 event-hall-sensor {
56 linux,input-type = <EV_SW>;
58 linux,can-disable;
62 gpio-keys {
63 compatible = "gpio-keys";
65 pinctrl-0 = <&gpio_keys_default>;
66 pinctrl-names = "default";
70 button-volume-up {
76 button-home {
83 i2c-fg {
84 compatible = "i2c-gpio";
85 sda-gpios = <&tlmm 106 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
86 scl-gpios = <&tlmm 105 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
88 pinctrl-0 = <&fg_i2c_default>;
89 pinctrl-names = "default";
91 #address-cells = <1>;
92 #size-cells = <0>;
94 fuel-gauge@35 {
95 compatible = "richtek,rt5033-battery";
98 interrupt-parent = <&tlmm>;
101 pinctrl-0 = <&fg_alert_default>;
102 pinctrl-names = "default";
104 power-supplies = <&charger>;
108 i2c-nfc {
109 compatible = "i2c-gpio";
110 sda-gpios = <&tlmm 0 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
111 scl-gpios = <&tlmm 1 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
113 pinctrl-0 = <&nfc_i2c_default>;
114 pinctrl-names = "default";
116 #address-cells = <1>;
117 #size-cells = <0>;
120 compatible = "nxp,pn547", "nxp,nxp-nci-i2c";
123 interrupt-parent = <&tlmm>;
126 enable-gpios = <&tlmm 116 GPIO_ACTIVE_HIGH>;
127 firmware-gpios = <&tlmm 49 GPIO_ACTIVE_HIGH>;
129 pinctrl-0 = <&nfc_default>;
130 pinctrl-names = "default";
134 i2c-sensor {
135 compatible = "i2c-gpio";
136 sda-gpios = <&tlmm 84 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
137 scl-gpios = <&tlmm 85 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
139 pinctrl-0 = <&sensor_i2c_default>;
140 pinctrl-names = "default";
142 #address-cells = <1>;
143 #size-cells = <0>;
148 interrupt-parent = <&tlmm>;
151 vdd-supply = <&pm8916_l17>;
152 vddio-supply = <&pm8916_l5>;
154 pinctrl-0 = <&accel_int_default>;
155 pinctrl-names = "default";
157 mount-matrix = "-1", "0", "0",
158 "0", "-1", "0",
166 vdd-supply = <&pm8916_l17>;
167 vddio-supply = <&pm8916_l5>;
171 i2c-tkey {
172 compatible = "i2c-gpio";
173 sda-gpios = <&tlmm 16 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
174 scl-gpios = <&tlmm 17 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
176 pinctrl-0 = <&tkey_i2c_default>;
177 pinctrl-names = "default";
179 #address-cells = <1>;
180 #size-cells = <0>;
184 compatible = "coreriver,tc360-touchkey";
187 interrupt-parent = <&tlmm>;
190 vcc-supply = <&reg_touch_key>;
191 vdd-supply = <&reg_keyled>;
192 vddio-supply = <&pm8916_l6>;
196 pinctrl-0 = <&tkey_default>;
197 pinctrl-names = "default";
202 compatible = "clk-pwm";
203 #pwm-cells = <2>;
207 pinctrl-0 = <&motor_pwm_default>;
208 pinctrl-names = "default";
211 reg_keyled: regulator-keyled {
212 compatible = "regulator-fixed";
213 regulator-name = "keyled";
214 regulator-min-microvolt = <3300000>;
215 regulator-max-microvolt = <3300000>;
217 /* NOTE: On some variants e.g. SM-A700FD it's GPIO 91 */
219 enable-active-high;
221 pinctrl-0 = <&tkey_led_en_default>;
222 pinctrl-names = "default";
225 reg_touch_key: regulator-touch-key {
226 compatible = "regulator-fixed";
227 regulator-name = "touch_key";
228 regulator-min-microvolt = <2800000>;
229 regulator-max-microvolt = <2800000>;
232 enable-active-high;
234 pinctrl-0 = <&tkey_en_default>;
235 pinctrl-names = "default";
238 reg_tsp_vdd: regulator-tsp-vdd {
239 compatible = "regulator-fixed";
240 regulator-name = "tsp_vdd";
241 regulator-min-microvolt = <1800000>;
242 regulator-max-microvolt = <1800000>;
243 vin-supply = <&pm8916_s4>;
246 enable-active-high;
248 pinctrl-0 = <&reg_tsp_io_en_default>;
249 pinctrl-names = "default";
252 reg_vdd_tsp: regulator-vdd-tsp {
253 compatible = "regulator-fixed";
254 regulator-name = "vdd_tsp";
255 regulator-min-microvolt = <3300000>;
256 regulator-max-microvolt = <3300000>;
259 enable-active-high;
261 pinctrl-0 = <&reg_tsp_en_default>;
262 pinctrl-names = "default";
265 reg_vibrator: regulator-vibrator {
266 compatible = "regulator-fixed";
267 regulator-name = "motor_en";
268 regulator-min-microvolt = <3000000>;
269 regulator-max-microvolt = <3000000>;
272 enable-active-high;
274 pinctrl-0 = <&motor_en_default>;
275 pinctrl-names = "default";
279 compatible = "pwm-vibrator";
282 pwm-names = "enable";
284 vcc-supply = <&reg_vibrator>;
292 compatible = "siliconmitus,sm5502-muic";
295 interrupt-parent = <&tlmm>;
298 pinctrl-0 = <&muic_int_default>;
299 pinctrl-names = "default";
302 compatible = "usb-b-connector";
303 label = "micro-USB";
312 speaker_codec: audio-codec@34 {
315 vddd-supply = <&pm8916_l5>;
316 sound-name-prefix = "Speaker";
317 #sound-dai-cells = <0>;
328 interrupt-parent = <&tlmm>;
331 vdd-supply = <&reg_vdd_tsp>;
332 vddio-supply = <&reg_tsp_vdd>;
334 pinctrl-0 = <&tsp_int_default>;
335 pinctrl-names = "default";
346 interrupts-extended = <&tlmm 62 IRQ_TYPE_EDGE_FALLING>;
348 pinctrl-0 = <&pmic_int_default>;
349 pinctrl-names = "default";
353 regulator-min-microvolt = <4900000>;
354 regulator-max-microvolt = <4900000>;
355 regulator-always-on;
368 compatible = "richtek,rt5033-charger";
369 monitored-battery = <&battery>;
370 richtek,usb-connector = <&usb_con>;
392 dai-link@3 {
394 qcom,playback-sd-lines = <1>;
409 regulator-min-microvolt = <2850000>;
410 regulator-max-microvolt = <2850000>;
417 qcom,sd-lines = <1>;
426 pinctrl-0 = <&sdc2_default &sdc2_cd_default>;
427 pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>;
428 pinctrl-names = "default", "sleep";
430 cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
436 model = "samsung-a2015";
437 audio-routing =
442 pinctrl-0 = <&cdc_pdm_default &sec_mi2s_default>;
443 pinctrl-1 = <&cdc_pdm_sleep &sec_mi2s_sleep>;
444 pinctrl-names = "default", "sleep";
446 sound_link_backend2: backend2-dai-link {
447 link-name = "Quaternary MI2S";
450 sound-dai = <&q6afedai QUATERNARY_MI2S_RX>;
453 sound-dai = <&q6routing>;
456 sound-dai = <&speaker_codec>;
483 accel_int_default: accel-int-default-state {
484 pins = "gpio115";
486 drive-strength = <2>;
487 bias-disable;
490 fg_alert_default: fg-alert-default-state {
491 pins = "gpio121";
493 drive-strength = <2>;
494 bias-disable;
497 fg_i2c_default: fg-i2c-default-state {
498 pins = "gpio105", "gpio106";
500 drive-strength = <2>;
501 bias-disable;
504 gpio_hall_sensor_default: gpio-hall-sensor-default-state {
505 pins = "gpio52";
507 drive-strength = <2>;
508 bias-disable;
511 gpio_keys_default: gpio-keys-default-state {
512 pins = "gpio107", "gpio109";
514 drive-strength = <2>;
515 bias-pull-up;
518 motor_en_default: motor-en-default-state {
519 pins = "gpio86";
521 drive-strength = <2>;
522 bias-disable;
525 motor_pwm_default: motor-pwm-default-state {
526 pins = "gpio50";
530 muic_int_default: muic-int-default-state {
531 pins = "gpio12";
533 drive-strength = <2>;
534 bias-disable;
537 nfc_default: nfc-default-state {
538 irq-pins {
539 pins = "gpio21";
541 drive-strength = <2>;
542 bias-pull-down;
545 nfc-pins {
546 pins = "gpio49", "gpio116";
548 drive-strength = <2>;
549 bias-disable;
553 nfc_i2c_default: nfc-i2c-default-state {
554 pins = "gpio0", "gpio1";
556 drive-strength = <2>;
557 bias-disable;
560 pmic_int_default: pmic-int-default-state {
561 pins = "gpio62";
563 drive-strength = <2>;
564 bias-disable;
567 reg_tsp_en_default: reg-tsp-en-default-state {
568 pins = "gpio73";
570 drive-strength = <2>;
571 bias-disable;
574 reg_tsp_io_en_default: reg-tsp-io-en-default-state {
575 pins = "gpio8";
577 drive-strength = <2>;
578 bias-disable;
581 sdc2_cd_default: sdc2-cd-default-state {
582 pins = "gpio38";
584 drive-strength = <2>;
585 bias-disable;
588 sensor_i2c_default: sensor-i2c-default-state {
589 pins = "gpio84", "gpio85";
591 drive-strength = <2>;
592 bias-disable;
595 tkey_default: tkey-default-state {
596 pins = "gpio20";
598 drive-strength = <2>;
599 bias-disable;
602 tkey_en_default: tkey-en-default-state {
603 pins = "gpio56";
605 drive-strength = <2>;
606 bias-disable;
609 tkey_i2c_default: tkey-i2c-default-state {
610 pins = "gpio16", "gpio17";
612 drive-strength = <2>;
613 bias-disable;
616 tkey_led_en_default: tkey-led-en-default-state {
617 pins = "gpio100";
619 drive-strength = <2>;
620 bias-disable;
623 tsp_int_default: tsp-int-default-state {
624 pins = "gpio13";
626 drive-strength = <2>;
627 bias-disable;