Lines Matching +full:gpio +full:- +full:keys +full:- +full:state
1 // SPDX-License-Identifier: GPL-2.0-only
6 /dts-v1/;
8 #include "msm8916-pm8916.dtsi"
9 #include "msm8916-modem-qdsp6.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
24 * arch/arm/boot/dts/qcom-msm8916-samsung-serranove.dts
30 chassis-type = "handset";
39 stdout-path = "serial0";
42 reserved-memory {
44 tz-apps@85500000 {
46 no-map;
50 gpio-keys {
51 compatible = "gpio-keys";
53 pinctrl-names = "default";
54 pinctrl-0 = <&gpio_keys_default>;
56 label = "GPIO Buttons";
58 button-volume-up {
64 button-home {
71 gpio-hall-sensor {
72 compatible = "gpio-keys";
74 pinctrl-names = "default";
75 pinctrl-0 = <&gpio_hall_sensor_default>;
77 label = "GPIO Hall Effect Sensor";
79 event-hall-sensor {
82 linux,input-type = <EV_SW>;
84 linux,can-disable;
88 reg_vdd_tsp: regulator-vdd-tsp {
89 compatible = "regulator-fixed";
90 regulator-name = "vdd_tsp";
91 regulator-min-microvolt = <3300000>;
92 regulator-max-microvolt = <3300000>;
94 gpio = <&tlmm 73 GPIO_ACTIVE_HIGH>;
95 enable-active-high;
97 pinctrl-names = "default";
98 pinctrl-0 = <&tsp_en_default>;
101 reg_touch_key: regulator-touch-key {
102 compatible = "regulator-fixed";
103 regulator-name = "touch_key";
104 regulator-min-microvolt = <2800000>;
105 regulator-max-microvolt = <2800000>;
107 gpio = <&tlmm 86 GPIO_ACTIVE_HIGH>;
108 enable-active-high;
110 pinctrl-names = "default";
111 pinctrl-0 = <&tkey_en_default>;
114 reg_key_led: regulator-key-led {
115 compatible = "regulator-fixed";
116 regulator-name = "key_led";
117 regulator-min-microvolt = <3300000>;
118 regulator-max-microvolt = <3300000>;
120 gpio = <&tlmm 60 GPIO_ACTIVE_HIGH>;
121 enable-active-high;
123 pinctrl-names = "default";
124 pinctrl-0 = <&tkey_led_en_default>;
127 i2c-muic {
128 compatible = "i2c-gpio";
129 sda-gpios = <&tlmm 105 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
130 scl-gpios = <&tlmm 106 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
132 pinctrl-names = "default";
133 pinctrl-0 = <&muic_i2c_default>;
135 #address-cells = <1>;
136 #size-cells = <0>;
139 compatible = "siliconmitus,sm5504-muic";
142 interrupt-parent = <&tlmm>;
145 pinctrl-names = "default";
146 pinctrl-0 = <&muic_irq_default>;
149 compatible = "usb-b-connector";
150 label = "micro-USB";
156 i2c-tkey {
157 compatible = "i2c-gpio";
158 sda-gpios = <&tlmm 16 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
159 scl-gpios = <&tlmm 17 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
161 pinctrl-names = "default";
162 pinctrl-0 = <&tkey_i2c_default>;
164 #address-cells = <1>;
165 #size-cells = <0>;
168 compatible = "coreriver,tc360-touchkey";
171 interrupt-parent = <&tlmm>;
174 vcc-supply = <®_touch_key>;
175 vdd-supply = <®_key_led>;
176 vddio-supply = <&pm8916_l6>;
180 pinctrl-names = "default";
181 pinctrl-0 = <&tkey_default>;
185 i2c-nfc {
186 compatible = "i2c-gpio";
187 sda-gpios = <&tlmm 0 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
188 scl-gpios = <&tlmm 1 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
190 pinctrl-names = "default";
191 pinctrl-0 = <&nfc_i2c_default>;
193 #address-cells = <1>;
194 #size-cells = <0>;
197 compatible = "nxp,pn547", "nxp,nxp-nci-i2c";
200 interrupt-parent = <&tlmm>;
203 enable-gpios = <&tlmm 20 GPIO_ACTIVE_HIGH>;
204 firmware-gpios = <&tlmm 49 GPIO_ACTIVE_HIGH>;
206 pinctrl-names = "default";
207 pinctrl-0 = <&nfc_default>;
212 compatible = "simple-battery";
213 precharge-current-microamp = <450000>;
214 constant-charge-current-max-microamp = <1000000>;
215 charge-term-current-microamp = <150000>;
216 precharge-upper-limit-microvolt = <3500000>;
217 constant-charge-voltage-max-microvolt = <4350000>;
228 interrupt-parent = <&tlmm>;
231 pinctrl-names = "default";
232 pinctrl-0 = <&imu_irq_default>;
239 mount-matrix = "0", "1", "0",
241 "0", "0", "-1";
248 fuel-gauge@35 {
249 compatible = "richtek,rt5033-battery";
252 interrupt-parent = <&tlmm>;
255 pinctrl-names = "default";
256 pinctrl-0 = <&fg_alert_default>;
258 power-supplies = <&rt5033_charger>;
269 interrupt-parent = <&tlmm>;
272 touchscreen-size-x = <540>;
273 touchscreen-size-y = <960>;
275 vdd-supply = <®_vdd_tsp>;
276 vddo-supply = <&pm8916_l6>;
278 pinctrl-names = "default";
279 pinctrl-0 = <&tsp_irq_default>;
290 interrupt-parent = <&tlmm>;
293 pinctrl-names = "default";
294 pinctrl-0 = <&pmic_int_default>;
298 regulator-min-microvolt = <4900000>;
299 regulator-max-microvolt = <4900000>;
300 regulator-always-on;
303 regulator-min-microvolt = <2800000>;
304 regulator-max-microvolt = <2800000>;
307 regulator-min-microvolt = <1200000>;
308 regulator-max-microvolt = <1200000>;
313 compatible = "richtek,rt5033-charger";
314 monitored-battery = <&battery>;
315 richtek,usb-connector = <&usb_con>;
322 pinctrl-0 = <&blsp_uart2_console_default>;
323 pinctrl-1 = <&blsp_uart2_console_sleep>;
324 pinctrl-names = "default", "sleep";
336 pinctrl-names = "default", "sleep";
337 pinctrl-0 = <&mdss_default>;
338 pinctrl-1 = <&mdss_sleep>;
341 compatible = "samsung,s6e88a0-ams427ap24";
344 vdd3-supply = <&pm8916_l17>;
345 vci-supply = <&pm8916_l6>;
346 reset-gpios = <&tlmm 25 GPIO_ACTIVE_LOW>;
347 flip-horizontal;
351 remote-endpoint = <&mdss_dsi0_out>;
358 data-lanes = <0 1>;
359 remote-endpoint = <&panel_in>;
373 regulator-min-microvolt = <2850000>;
374 regulator-max-microvolt = <2850000>;
388 non-removable;
391 * FIXME: Disable UHS-I modes since tuning fails with:
394 * mmc1: tuning execution failed: -5
395 * mmc1: error -5 whilst initialising SD card
401 no-1-8-v;
405 audio-routing =
441 fg_alert_default: fg-alert-default-state {
443 function = "gpio";
445 drive-strength = <2>;
446 bias-disable;
449 gpio_keys_default: gpio-keys-default-state {
451 function = "gpio";
453 drive-strength = <2>;
454 bias-pull-up;
457 gpio_hall_sensor_default: gpio-hall-sensor-default-state {
459 function = "gpio";
461 drive-strength = <2>;
462 bias-disable;
465 imu_irq_default: imu-irq-default-state {
467 function = "gpio";
469 drive-strength = <2>;
470 bias-disable;
473 mdss_default: mdss-default-state {
475 function = "gpio";
477 drive-strength = <8>;
478 bias-disable;
481 mdss_sleep: mdss-sleep-state {
483 function = "gpio";
485 drive-strength = <2>;
486 bias-pull-down;
489 muic_i2c_default: muic-i2c-default-state {
491 function = "gpio";
493 drive-strength = <2>;
494 bias-disable;
497 muic_irq_default: muic-irq-default-state {
499 function = "gpio";
501 drive-strength = <2>;
502 bias-disable;
505 nfc_default: nfc-default-state {
506 nfc-pins {
508 function = "gpio";
510 drive-strength = <2>;
511 bias-disable;
513 irq-pins {
515 function = "gpio";
517 drive-strength = <2>;
518 bias-pull-down;
522 nfc_i2c_default: nfc-i2c-default-state {
524 function = "gpio";
526 drive-strength = <2>;
527 bias-disable;
530 pmic_int_default: pmic-int-default-state {
532 function = "gpio";
534 drive-strength = <2>;
535 bias-disable;
538 tkey_default: tkey-default-state {
540 function = "gpio";
542 drive-strength = <2>;
543 bias-disable;
546 tkey_en_default: tkey-en-default-state {
548 function = "gpio";
550 drive-strength = <2>;
551 bias-disable;
554 tkey_i2c_default: tkey-i2c-default-state {
556 function = "gpio";
558 drive-strength = <2>;
559 bias-disable;
562 tkey_led_en_default: tkey-led-en-default-state {
564 function = "gpio";
566 drive-strength = <2>;
567 bias-disable;
570 tsp_en_default: tsp-en-default-state {
572 function = "gpio";
574 drive-strength = <2>;
575 bias-disable;
578 tsp_irq_default: tsp-irq-default-state {
580 function = "gpio";
582 drive-strength = <2>;
583 bias-disable;