Lines Matching +full:id +full:- +full:gpios

1 // SPDX-License-Identifier: GPL-2.0-only
3 #include "msm8916-modem-qdsp6.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h>
17 stdout-path = "serial0";
21 compatible = "pwm-backlight";
23 brightness-levels = <0 255>;
24 num-interpolated-steps = <255>;
25 default-brightness-level = <128>;
28 flash-led-controller {
30 enable-gpios = <&tlmm 31 GPIO_ACTIVE_HIGH>;
31 flash-gpios = <&tlmm 32 GPIO_ACTIVE_HIGH>;
33 pinctrl-0 = <&camera_front_flash_default>;
34 pinctrl-names = "default";
42 gpio-keys {
43 compatible = "gpio-keys";
45 pinctrl-0 = <&gpio_keys_default>;
46 pinctrl-names = "default";
50 button-volume-up {
52 gpios = <&tlmm 107 GPIO_ACTIVE_LOW>;
57 gpio-leds {
58 compatible = "gpio-leds";
60 pinctrl-0 = <&gpio_leds_default>;
61 pinctrl-names = "default";
63 led-0 {
64 gpios = <&tlmm 69 GPIO_ACTIVE_LOW>;
67 default-state = "off";
68 retain-state-suspended;
71 led-1 {
72 gpios = <&tlmm 36 GPIO_ACTIVE_HIGH>;
75 default-state = "off";
76 retain-state-suspended;
80 usb_id: usb-id {
81 compatible = "linux,extcon-usb-gpio";
82 id-gpios = <&tlmm 110 GPIO_ACTIVE_HIGH>;
83 pinctrl-0 = <&usb_id_default>;
84 pinctrl-names = "default";
95 interrupts-extended = <&tlmm 115 IRQ_TYPE_EDGE_FALLING>;
97 pinctrl-0 = <&accelerometer_default>;
98 pinctrl-names = "default";
100 vdd-supply = <&pm8916_l17>;
101 vddio-supply = <&pm8916_l6>;
103 mount-matrix = "-1", "0", "0",
113 compatible = "edt,edt-ft5306";
116 interrupts-extended = <&tlmm 13 IRQ_TYPE_LEVEL_LOW>;
118 pinctrl-0 = <&touchscreen_default>;
119 pinctrl-names = "default";
121 vcc-supply = <&pm8916_l17>;
122 iovcc-supply = <&pm8916_l6>;
124 reset-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>;
137 pinctrl-0 = <&pwm_out>;
138 pinctrl-names = "default";
149 regulator-min-microvolt = <2850000>;
150 regulator-max-microvolt = <2850000>;
163 pinctrl-0 = <&sdc2_default>;
164 pinctrl-1 = <&sdc2_sleep>;
165 pinctrl-names = "default", "sleep";
166 non-removable;
192 accelerometer_default: accelerometer-default-state {
195 drive-strength = <6>;
196 bias-pull-up;
199 camera_front_flash_default: camera-front-flash-default-state {
202 drive-strength = <2>;
203 bias-disable;
206 gpio_keys_default: gpio-keys-default-state {
209 drive-strength = <2>;
210 bias-pull-up;
213 gpio_leds_default: gpio-leds-default-state {
216 drive-strength = <2>;
217 bias-disable;
220 touchscreen_default: touchscreen-default-state {
221 reset-pins {
224 drive-strength = <2>;
225 bias-disable;
228 touchscreen-pins {
231 drive-strength = <2>;
232 bias-pull-up;
236 usb_id_default: usb-id-default-state {
239 drive-strength = <8>;
240 bias-pull-up;
245 pwm_out: mpp4-state {
248 power-source = <PM8916_MPP_VPH>;
249 output-low;