Lines Matching +full:regulator +full:- +full:gpio

1 // SPDX-License-Identifier: GPL-2.0-only
6 #include "msm8916-pm8916.dtsi"
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
10 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h>
11 #include <dt-bindings/sound/apq8016-lpass.h>
26 stdout-path = "serial0";
29 camera_vdddo_1v8: camera-vdddo-1v8 {
30 compatible = "regulator-fixed";
31 regulator-name = "camera_vdddo";
32 regulator-min-microvolt = <1800000>;
33 regulator-max-microvolt = <1800000>;
34 regulator-always-on;
37 camera_vdda_2v8: camera-vdda-2v8 {
38 compatible = "regulator-fixed";
39 regulator-name = "camera_vdda";
40 regulator-min-microvolt = <2800000>;
41 regulator-max-microvolt = <2800000>;
42 regulator-always-on;
45 camera_vddd_1v5: camera-vddd-1v5 {
46 compatible = "regulator-fixed";
47 regulator-name = "camera_vddd";
48 regulator-min-microvolt = <1500000>;
49 regulator-max-microvolt = <1500000>;
50 regulator-always-on;
53 reserved-memory {
58 record-size = <0x20000>;
59 console-size = <0x20000>;
60 ftrace-size = <0x20000>;
66 reset-gpios = <&pm8916_gpios 3 GPIO_ACTIVE_LOW>;
67 initial-mode = <1>;
70 usb_id: usb-id {
71 compatible = "linux,extcon-usb-gpio";
72 id-gpio = <&msmgpio 121 GPIO_ACTIVE_HIGH>;
73 pinctrl-names = "default";
74 pinctrl-0 = <&usb_id_default>;
77 hdmi-out {
78 compatible = "hdmi-connector";
83 remote-endpoint = <&adv7533_out>;
88 gpio-keys {
89 compatible = "gpio-keys";
90 #address-cells = <1>;
91 #size-cells = <0>;
94 pinctrl-names = "default";
95 pinctrl-0 = <&msm_key_volp_n_default>;
105 pinctrl-names = "default";
106 pinctrl-0 = <&msmgpio_leds>,
110 compatible = "gpio-leds";
113 label = "apq8016-sbc:green:user1";
115 linux,default-trigger = "heartbeat";
116 default-state = "off";
120 label = "apq8016-sbc:green:user2";
122 linux,default-trigger = "mmc0";
123 default-state = "off";
127 label = "apq8016-sbc:green:user3";
129 linux,default-trigger = "mmc1";
130 default-state = "off";
134 label = "apq8016-sbc:green:user4";
136 linux,default-trigger = "none";
137 panic-indicator;
138 default-state = "off";
142 label = "apq8016-sbc:yellow:wlan";
144 linux,default-trigger = "phy0tx";
145 default-state = "off";
149 label = "apq8016-sbc:blue:bt";
151 linux,default-trigger = "bluetooth-power";
152 default-state = "off";
164 label = "LS-I2C0";
170 label = "HS-I2C2";
178 interrupt-parent = <&msmgpio>;
181 adi,dsi-lanes = <4>;
183 clock-names = "cec";
185 pd-gpios = <&msmgpio 32 GPIO_ACTIVE_HIGH>;
187 avdd-supply = <&pm8916_l6>;
188 v1p2-supply = <&pm8916_l6>;
189 v3p3-supply = <&pm8916_l17>;
191 pinctrl-names = "default","sleep";
192 pinctrl-0 = <&adv7533_int_active &adv7533_switch_active>;
193 pinctrl-1 = <&adv7533_int_suspend &adv7533_switch_suspend>;
194 #sound-dai-cells = <1>;
197 #address-cells = <1>;
198 #size-cells = <0>;
203 remote-endpoint = <&dsi0_out>;
210 remote-endpoint = <&hdmi_con>;
220 label = "LS-I2C1";
226 label = "HS-SPI1";
232 label = "LS-SPI0";
237 label = "LS-UART0";
242 label = "LS-UART1";
251 clock-lanes = <1>;
252 data-lanes = <0 2>;
253 remote-endpoint = <&ov5640_ep>;
269 enable-gpios = <&msmgpio 34 GPIO_ACTIVE_HIGH>;
270 reset-gpios = <&msmgpio 35 GPIO_ACTIVE_LOW>;
271 pinctrl-names = "default";
272 pinctrl-0 = <&camera_rear_default>;
275 clock-names = "xclk";
276 clock-frequency = <23880000>;
278 vdddo-supply = <&camera_vdddo_1v8>;
279 vdda-supply = <&camera_vdda_2v8>;
280 vddd-supply = <&camera_vddd_1v5>;
287 clock-lanes = <1>;
288 data-lanes = <0 2>;
289 remote-endpoint = <&csiphy0_ep>;
296 data-lanes = <0 1 2 3>;
297 remote-endpoint = <&adv7533_in>;
316 pinctrl-names = "default", "sleep";
317 pinctrl-0 = <&sdc1_clk_on &sdc1_cmd_on &sdc1_data_on>;
318 pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off>;
324 pinctrl-names = "default", "sleep";
325 pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>;
326 pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>;
328 cd-gpios = <&msmgpio 38 GPIO_ACTIVE_LOW>;
334 pinctrl-0 = <&cdc_pdm_lines_act &ext_sec_tlmm_lines_act &ext_mclk_tlmm_lines_act>;
335 pinctrl-1 = <&cdc_pdm_lines_sus &ext_sec_tlmm_lines_sus &ext_mclk_tlmm_lines_sus>;
336 pinctrl-names = "default", "sleep";
338 qcom,audio-routing =
342 external-dai-link@0 {
343 link-name = "ADV7533";
345 sound-dai = <&lpass MI2S_QUATERNARY>;
348 sound-dai = <&adv_bridge 0>;
352 internal-codec-playback-dai-link@0 {
353 link-name = "WCD";
355 sound-dai = <&lpass MI2S_PRIMARY>;
358 sound-dai = <&lpass_codec 0>, <&wcd_codec 0>;
362 internal-codec-capture-dai-link@0 {
363 link-name = "WCD-Capture";
365 sound-dai = <&lpass MI2S_TERTIARY>;
368 sound-dai = <&lpass_codec 1>, <&wcd_codec 1>;
377 pinctrl-names = "default", "device";
378 pinctrl-0 = <&usb_sw_sel_pm &usb_hub_reset_pm>;
379 pinctrl-1 = <&usb_sw_sel_pm_device &usb_hub_reset_pm_device>;
388 clock-names = "mclk";
389 qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
390 qcom,mbhc-vthreshold-high = <75 150 237 450 500>;
416 vdd_l1_l2_l3-supply = <&pm8916_s3>;
417 vdd_l4_l5_l6-supply = <&pm8916_s4>;
418 vdd_l7-supply = <&pm8916_s4>;
421 regulator-min-microvolt = <375000>;
422 regulator-max-microvolt = <1562000>;
426 regulator-min-microvolt = <375000>;
427 regulator-max-microvolt = <1562000>;
431 regulator-min-microvolt = <1800000>;
432 regulator-max-microvolt = <1800000>;
434 regulator-always-on;
435 regulator-boot-on;
439 regulator-min-microvolt = <375000>;
440 regulator-max-microvolt = <1525000>;
444 regulator-min-microvolt = <1200000>;
445 regulator-max-microvolt = <1200000>;
449 regulator-min-microvolt = <375000>;
450 regulator-max-microvolt = <1525000>;
454 regulator-min-microvolt = <1750000>;
455 regulator-max-microvolt = <3337000>;
459 regulator-min-microvolt = <1750000>;
460 regulator-max-microvolt = <3337000>;
464 regulator-min-microvolt = <1800000>;
465 regulator-max-microvolt = <1800000>;
469 regulator-min-microvolt = <1750000>;
470 regulator-max-microvolt = <3337000>;
474 regulator-min-microvolt = <1750000>;
475 regulator-max-microvolt = <3337000>;
479 regulator-min-microvolt = <1750000>;
480 regulator-max-microvolt = <3337000>;
484 regulator-min-microvolt = <1750000>;
485 regulator-max-microvolt = <3337000>;
489 regulator-min-microvolt = <1750000>;
490 regulator-max-microvolt = <3337000>;
491 regulator-allow-set-load;
492 regulator-system-load = <200000>;
496 regulator-min-microvolt = <1750000>;
497 regulator-max-microvolt = <3337000>;
501 regulator-min-microvolt = <1750000>;
502 regulator-max-microvolt = <3337000>;
506 regulator-min-microvolt = <1750000>;
507 regulator-max-microvolt = <3337000>;
515 regulator-min-microvolt = <1750000>;
516 regulator-max-microvolt = <3337000>;
517 regulator-always-on;
521 regulator-min-microvolt = <1750000>;
522 regulator-max-microvolt = <3337000>;
526 regulator-min-microvolt = <3300000>;
527 regulator-max-microvolt = <3300000>;
531 regulator-min-microvolt = <1750000>;
532 regulator-max-microvolt = <3337000>;
541 drive-strength = <16>;
545 drive-strength = <16>;
549 drive-strength = <16>;
553 * GPIO name legend: proper name = the GPIO line is used as GPIO
556 * "[PER]" = pin is muxed for [peripheral] (not GPIO)
572 * the GPIO named lines "GPIO-A" thru "GPIO-L" are the only
573 * ones actually used for GPIO.
577 gpio-line-names =
590 "GPIO-B", /* LS_EXP_GPIO_B, LSEC pin 24 */
591 "GPIO-C", /* LS_EXP_GPIO_C, LSEC pin 25 */
598 "HDMI_HPD_N", /* GPIO 20 */
602 "GPIO-G", /* LS_EXP_GPIO_G, LSEC pin 29 */
603 "GPIO-H", /* LS_EXP_GPIO_H, LSEC pin 30 */
606 "GPIO-K", /* LS_EXP_GPIO_K, LSEC pin 33 */
611 "GPIO-L", /* LS_EXP_GPIO_L, LSEC pin 34 */
612 "GPIO-J", /* LS_EXP_GPIO_J, LSEC pin 32 */
613 "GPIO-I", /* LS_EXP_GPIO_I, LSEC pin 31 */
614 "GPIO-A", /* LS_EXP_GPIO_A, LSEC pin 23 */
618 "[WCSS_WLAN_DATA_2]", /* GPIO 40 */
628 "NC", /* GPIO 50 */
638 "NC", /* GPIO 60 */
647 "GPIO-D", /* LS_EXP_GPIO_D, LSEC pin 26 */
648 "NC", /* GPIO 70 */
652 "NC", /* GPIO 74 */
658 "BOOT_CONFIG_0", /* GPIO 80 */
668 "NC", /* GPIO 90 */
678 "NC", /* GPIO 100 */
688 "[LS_EXP_MI2S_WS]", /* GPIO 110 */
693 "GPIO-E", /* LS_EXP_GPIO_E, LSEC pin 27 */
698 "USR_LED_2_CTRL", /* GPIO 120 */
701 msmgpio_leds: msmgpio-leds {
703 function = "gpio";
705 output-low;
708 usb_id_default: usb-id-default {
710 function = "gpio";
712 drive-strength = <8>;
713 input-enable;
714 bias-pull-up;
717 adv7533_int_active: adv533-int-active {
719 function = "gpio";
721 drive-strength = <16>;
722 bias-disable;
725 adv7533_int_suspend: adv7533-int-suspend {
727 function = "gpio";
729 drive-strength = <2>;
730 bias-disable;
733 adv7533_switch_active: adv7533-switch-active {
735 function = "gpio";
737 drive-strength = <16>;
738 bias-disable;
741 adv7533_switch_suspend: adv7533-switch-suspend {
743 function = "gpio";
745 drive-strength = <2>;
746 bias-disable;
749 msm_key_volp_n_default: msm-key-volp-n-default {
751 function = "gpio";
753 drive-strength = <8>;
754 input-enable;
755 bias-pull-up;
760 gpio-line-names =
766 usb_hub_reset_pm: usb-hub-reset-pm {
770 input-disable;
771 output-high;
774 usb_hub_reset_pm_device: usb-hub-reset-pm-device {
778 output-low;
781 usb_sw_sel_pm: usb-sw-sel-pm {
785 power-source = <PM8916_GPIO_VPH>;
786 input-disable;
787 output-high;
790 usb_sw_sel_pm_device: usb-sw-sel-pm-device {
794 power-source = <PM8916_GPIO_VPH>;
795 input-disable;
796 output-low;
799 pm8916_gpios_leds: pm8916-gpios-leds {
803 output-low;
808 gpio-line-names =
812 "GPIO-F"; /* LS_EXP_GPIO_F, LSEC pin 28 */
814 pinctrl-names = "default";
815 pinctrl-0 = <&ls_exp_gpio_f>;
817 ls_exp_gpio_f: pm8916-mpp4 {
821 output-low;
822 power-source = <PM8916_MPP_L5>; // 1.8V
825 pm8916_mpps_leds: pm8916-mpps-leds {
829 output-low;