Lines Matching +full:mm2 +full:- +full:dai +full:- +full:link
1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2014-2016, The Linux Foundation. All rights reserved.
6 /dts-v1/;
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/leds/common.h>
14 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
15 #include <dt-bindings/sound/qcom,q6afe.h>
16 #include <dt-bindings/sound/qcom,q6asm.h>
17 #include <dt-bindings/sound/qcom,wcd9335.h>
31 * drawing no: LM25-P2751-1
42 * the GPIO named lines "GPIO-A" thru "GPIO-L" are the only
48 compatible = "arrow,apq8096-db820c", "qcom,apq8096-sbc", "qcom,apq8096";
62 stdout-path = "serial0:115200n8";
66 compatible = "gpio-gate-clock";
67 pinctrl-0 = <&audio_mclk>;
68 pinctrl-names = "default";
70 #clock-cells = <0>;
71 enable-gpios = <&pm8994_gpios 15 0>;
75 compatible = "fixed-clock";
76 #clock-cells = <0>;
77 clock-frequency = <32768>;
78 clock-output-names = "divclk4";
80 pinctrl-names = "default";
81 pinctrl-0 = <&divclk4_pin_a>;
84 gpio-keys {
85 compatible = "gpio-keys";
88 pinctrl-names = "default";
89 pinctrl-0 = <&volume_up_gpio>;
98 usb2_id: usb2-id {
99 compatible = "linux,extcon-usb-gpio";
100 id-gpios = <&pmi8994_gpios 6 GPIO_ACTIVE_HIGH>;
101 pinctrl-names = "default";
102 pinctrl-0 = <&usb2_vbus_det_gpio>;
105 usb3_id: usb3-id {
106 compatible = "linux,extcon-usb-gpio";
107 id-gpios = <&pm8994_gpios 22 GPIO_ACTIVE_HIGH>;
108 pinctrl-names = "default";
109 pinctrl-0 = <&usb3_vbus_det_gpio>;
112 vph_pwr: vph-pwr-regulator {
113 compatible = "regulator-fixed";
114 regulator-name = "vph_pwr";
115 regulator-always-on;
116 regulator-boot-on;
118 regulator-min-microvolt = <3700000>;
119 regulator-max-microvolt = <3700000>;
122 wlan_en: wlan-en-1-8v {
123 pinctrl-names = "default";
124 pinctrl-0 = <&wlan_en_gpios>;
125 compatible = "regulator-fixed";
126 regulator-name = "wlan-en-regulator";
127 regulator-min-microvolt = <1800000>;
128 regulator-max-microvolt = <1800000>;
133 startup-delay-us = <70000>;
134 enable-active-high;
139 /* On Low speed expansion: LS-I2C0 */
149 label = "BT-UART";
153 compatible = "qcom,qca6174-bt";
156 enable-gpios = <&pm8994_gpios 19 GPIO_ACTIVE_HIGH>;
164 firmware-name = "qcom/apq8096/adsp.mbn";
168 /* On High speed expansion: HS-I2C2 */
173 /* On Low speed expansion: LS-I2C1 */
183 label = "LS-UART1";
185 pinctrl-names = "default", "sleep";
186 pinctrl-0 = <&blsp2_uart2_2pins_default>;
187 pinctrl-1 = <&blsp2_uart2_2pins_sleep>;
191 label = "LS-UART0";
193 pinctrl-names = "default", "sleep";
194 pinctrl-0 = <&blsp2_uart3_4pins_default>;
195 pinctrl-1 = <&blsp2_uart3_4pins_sleep>;
199 vdda-supply = <&vreg_l2a_1p25>;
209 vdd-supply = <&vreg_l28a_0p925>;
210 vdda-pll-supply = <&vreg_l12a_1p8>;
211 vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
217 vdd-supply = <&vreg_l28a_0p925>;
218 vdda-pll-supply = <&vreg_l12a_1p8>;
219 vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
233 pinctrl-names = "default", "sleep";
234 pinctrl-0 = <&hdmi_hpd_active &hdmi_ddc_active>;
235 pinctrl-1 = <&hdmi_hpd_suspend &hdmi_ddc_suspend>;
237 core-vdda-supply = <&vreg_l12a_1p8>;
238 core-vcc-supply = <&vreg_s4a_1p8>;
244 vddio-supply = <&vreg_l12a_1p8>;
245 vcca-supply = <&vreg_l28a_0p925>;
246 #phy-cells = <0>;
250 vdd-gfx-supply = <&vdd_gfx>;
255 pll-supply = <&vreg_l12a_1p8>;
256 firmware-name = "qcom/apq8096/mba.mbn", "qcom/apq8096/modem.mbn";
265 gpio-line-names =
274 "GPIO-H", /* GPIO_8, LCD0_RESET_N, LSEC pin 30 */
276 "GPIO-G", /* GPIO_10, MDP_VSYNC_P, LSEC pin 29 */
289 "GPIO-K", /* GPIO_23, CAM2_RST_N, LSEC pin 33 */
290 "GPIO-D", /* GPIO_24, LSEC pin 26 */
291 "GPIO-I", /* GPIO_25, CAM0_RST_N, LSEC pin 31 */
292 "GPIO-J", /* GPIO_26, CAM0_STANDBY_N, LSEC pin 32 */
295 "GPIO-B", /* GPIO_29, TS0_RESET_N, LSEC pin 24 */
328 "GPIO-E", /* GPIO_62, LSEC pin 27 */
346 "GPIO-A", /* GPIO_80, MEMS_RESET_N, LSEC pin 23 */
391 "GPIO-C", /* GPIO_125, TS_INT0, LSEC pin 25 */
399 "GPIO-L", /* GPIO_133, CAM2_STANDBY_N, LSEC pin 34 */
417 sdc2_cd_on: sdc2-cd-on-state {
420 bias-pull-up;
421 drive-strength = <16>;
424 sdc2_cd_off: sdc2-cd-off-state {
427 bias-pull-up;
428 drive-strength = <2>;
431 hdmi_hpd_active: hdmi-hpd-active-state {
434 bias-pull-down;
435 drive-strength = <16>;
438 hdmi_hpd_suspend: hdmi-hpd-suspend-state {
441 bias-pull-down;
442 drive-strength = <2>;
445 hdmi_ddc_active: hdmi-ddc-active-state {
448 drive-strength = <2>;
449 bias-pull-up;
452 hdmi_ddc_suspend: hdmi-ddc-suspend-state {
455 drive-strength = <2>;
456 bias-pull-down;
462 perst-gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
463 vddpe-3v3-supply = <&wlan_en>;
464 vdda-supply = <&vreg_l28a_0p925>;
469 perst-gpios = <&tlmm 130 GPIO_ACTIVE_LOW>;
470 vdda-supply = <&vreg_l28a_0p925>;
475 perst-gpios = <&tlmm 114 GPIO_ACTIVE_LOW>;
476 vdda-supply = <&vreg_l28a_0p925>;
482 vdda-phy-supply = <&vreg_l28a_0p925>;
483 vdda-pll-supply = <&vreg_l12a_1p8>;
487 gpio-line-names =
492 "GPIO-F", /* BL0_PWM, LSEC pin 28 */
511 pinctrl-names = "default";
512 pinctrl-0 = <&ls_exp_gpio_f &bt_en_gpios>;
514 ls_exp_gpio_f: pm8994-gpio5-state {
518 output-low;
519 power-source = <PM8994_GPIO_S4>; /* 1.8V */
523 bt_en_gpios: bt-en-pios-state {
527 output-low;
528 power-source = <PM8994_GPIO_S4>; /* 1.8V */
529 qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
530 bias-pull-down;
534 wlan_en_gpios: wlan-en-gpios-state {
538 output-low;
539 power-source = <PM8994_GPIO_S4>; /* 1.8V */
540 qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
541 bias-pull-down;
545 audio_mclk: clk-div1-state {
549 power-source = <PM8994_GPIO_S4>; /* 1.8V */
553 volume_up_gpio: pm8996-gpio2-state {
557 input-enable;
558 drive-push-pull;
559 bias-pull-up;
560 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
561 power-source = <PM8994_GPIO_S4>; /* 1.8V */
565 divclk4_pin_a: divclk4-state {
570 bias-disable;
571 power-source = <PM8994_GPIO_S4>;
575 usb3_vbus_det_gpio: pm8996-gpio22-state {
579 input-enable;
580 bias-pull-down;
581 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
582 power-source = <PM8994_GPIO_S4>; /* 1.8V */
588 gpio-line-names =
600 qcom,saw-reg = <&saw3>;
601 vdd_s11-supply = <&vph_pwr>;
604 qcom,saw-slave;
607 qcom,saw-slave;
610 qcom,saw-leader;
611 regulator-name = "VDD_APCC";
612 regulator-always-on;
613 regulator-min-microvolt = <980000>;
614 regulator-max-microvolt = <980000>;
619 gpio-line-names =
631 usb2_vbus_det_gpio: pmi8996-gpio6-state {
635 input-enable;
636 bias-pull-down;
637 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
638 power-source = <PM8994_GPIO_S4>; /* 1.8V */
644 qcom,power-source = <1>;
646 pinctrl-names = "default";
647 pinctrl-0 = <&pmi8994_mpp2_userled4>;
660 function-enumerator = <1>;
662 linux,default-trigger = "heartbeat";
663 default-state = "on";
670 function-enumerator = <0>;
677 function-enumerator = <2>;
684 function-enumerator = <3>;
689 pmi8994_mpp2_userled4: mpp2-userled4-state {
693 output-low;
699 vdd_s2-supply = <&vph_pwr>;
702 regulator-name = "VDD_GFX";
703 regulator-min-microvolt = <980000>;
704 regulator-max-microvolt = <980000>;
709 regulators-0 {
710 compatible = "qcom,rpm-pm8994-regulators";
712 vdd_s1-supply = <&vph_pwr>;
713 vdd_s2-supply = <&vph_pwr>;
714 vdd_s3-supply = <&vph_pwr>;
715 vdd_s4-supply = <&vph_pwr>;
716 vdd_s5-supply = <&vph_pwr>;
717 vdd_s6-supply = <&vph_pwr>;
718 vdd_s7-supply = <&vph_pwr>;
719 vdd_s8-supply = <&vph_pwr>;
720 vdd_s9-supply = <&vph_pwr>;
721 vdd_s10-supply = <&vph_pwr>;
722 vdd_s11-supply = <&vph_pwr>;
723 vdd_s12-supply = <&vph_pwr>;
724 vdd_l1-supply = <&vreg_s1b_1p025>;
725 vdd_l2_l26_l28-supply = <&vreg_s3a_1p3>;
726 vdd_l3_l11-supply = <&vreg_s3a_1p3>;
727 vdd_l4_l27_l31-supply = <&vreg_s3a_1p3>;
728 vdd_l5_l7-supply = <&vreg_s5a_2p15>;
729 vdd_l6_l12_l32-supply = <&vreg_s5a_2p15>;
730 vdd_l8_l16_l30-supply = <&vph_pwr>;
731 vdd_l9_l10_l18_l22-supply = <&vph_pwr_bbyp>;
732 vdd_l13_l19_l23_l24-supply = <&vph_pwr_bbyp>;
733 vdd_l14_l15-supply = <&vreg_s5a_2p15>;
734 vdd_l17_l29-supply = <&vph_pwr_bbyp>;
735 vdd_l20_l21-supply = <&vph_pwr_bbyp>;
736 vdd_l25-supply = <&vreg_s3a_1p3>;
737 vdd_lvs1_2-supply = <&vreg_s4a_1p8>;
740 regulator-name = "vreg_s3a_1p3";
741 regulator-min-microvolt = <1300000>;
742 regulator-max-microvolt = <1300000>;
750 regulator-name = "vreg_s4a_1p8";
751 regulator-min-microvolt = <1800000>;
752 regulator-max-microvolt = <1800000>;
753 regulator-always-on;
756 regulator-name = "vreg_s5a_2p15";
757 regulator-min-microvolt = <2150000>;
758 regulator-max-microvolt = <2150000>;
761 regulator-name = "vreg_s7a_1p0";
762 regulator-min-microvolt = <800000>;
763 regulator-max-microvolt = <800000>;
767 regulator-name = "vreg_l1a_1p0";
768 regulator-min-microvolt = <1000000>;
769 regulator-max-microvolt = <1000000>;
772 regulator-name = "vreg_l2a_1p25";
773 regulator-min-microvolt = <1250000>;
774 regulator-max-microvolt = <1250000>;
777 regulator-name = "vreg_l3a_0p875";
778 regulator-min-microvolt = <850000>;
779 regulator-max-microvolt = <850000>;
782 regulator-name = "vreg_l4a_1p225";
783 regulator-min-microvolt = <1225000>;
784 regulator-max-microvolt = <1225000>;
787 regulator-name = "vreg_l6a_1p2";
788 regulator-min-microvolt = <1200000>;
789 regulator-max-microvolt = <1200000>;
792 regulator-name = "vreg_l8a_1p8";
793 regulator-min-microvolt = <1800000>;
794 regulator-max-microvolt = <1800000>;
797 regulator-name = "vreg_l9a_1p8";
798 regulator-min-microvolt = <1800000>;
799 regulator-max-microvolt = <1800000>;
802 regulator-name = "vreg_l10a_1p8";
803 regulator-min-microvolt = <1800000>;
804 regulator-max-microvolt = <1800000>;
807 regulator-name = "vreg_l11a_1p15";
808 regulator-min-microvolt = <1150000>;
809 regulator-max-microvolt = <1150000>;
812 regulator-name = "vreg_l12a_1p8";
813 regulator-min-microvolt = <1800000>;
814 regulator-max-microvolt = <1800000>;
817 regulator-name = "vreg_l13a_2p95";
818 regulator-min-microvolt = <1800000>;
819 regulator-max-microvolt = <2950000>;
822 regulator-name = "vreg_l14a_1p8";
823 regulator-min-microvolt = <1800000>;
824 regulator-max-microvolt = <1800000>;
827 regulator-name = "vreg_l15a_1p8";
828 regulator-min-microvolt = <1800000>;
829 regulator-max-microvolt = <1800000>;
832 regulator-name = "vreg_l16a_2p7";
833 regulator-min-microvolt = <2700000>;
834 regulator-max-microvolt = <2700000>;
837 regulator-name = "vreg_l17a_2p8";
838 regulator-min-microvolt = <2500000>;
839 regulator-max-microvolt = <2500000>;
842 regulator-name = "vreg_l18a_2p85";
843 regulator-min-microvolt = <2700000>;
844 regulator-max-microvolt = <2900000>;
847 regulator-name = "vreg_l19a_2p8";
848 regulator-min-microvolt = <3000000>;
849 regulator-max-microvolt = <3000000>;
852 regulator-name = "vreg_l20a_2p95";
853 regulator-min-microvolt = <2950000>;
854 regulator-max-microvolt = <2950000>;
855 regulator-allow-set-load;
858 regulator-name = "vreg_l21a_2p95";
859 regulator-min-microvolt = <2950000>;
860 regulator-max-microvolt = <2950000>;
861 regulator-allow-set-load;
862 regulator-system-load = <200000>;
865 regulator-name = "vreg_l22a_3p0";
866 regulator-min-microvolt = <3300000>;
867 regulator-max-microvolt = <3300000>;
870 regulator-name = "vreg_l23a_2p8";
871 regulator-min-microvolt = <2800000>;
872 regulator-max-microvolt = <2800000>;
875 regulator-name = "vreg_l24a_3p075";
876 regulator-min-microvolt = <3075000>;
877 regulator-max-microvolt = <3075000>;
880 regulator-name = "vreg_l25a_1p2";
881 regulator-min-microvolt = <1200000>;
882 regulator-max-microvolt = <1200000>;
883 regulator-allow-set-load;
886 regulator-name = "vreg_l26a_0p8";
887 regulator-min-microvolt = <1000000>;
888 regulator-max-microvolt = <1000000>;
891 regulator-name = "vreg_l28a_0p925";
892 regulator-min-microvolt = <925000>;
893 regulator-max-microvolt = <925000>;
894 regulator-allow-set-load;
897 regulator-name = "vreg_l29a_2p8";
898 regulator-min-microvolt = <2800000>;
899 regulator-max-microvolt = <2800000>;
902 regulator-name = "vreg_l30a_1p8";
903 regulator-min-microvolt = <1800000>;
904 regulator-max-microvolt = <1800000>;
907 regulator-name = "vreg_l32a_1p8";
908 regulator-min-microvolt = <1800000>;
909 regulator-max-microvolt = <1800000>;
913 regulator-name = "vreg_lvs1a_1p8";
917 regulator-name = "vreg_lvs2a_1p8";
921 regulators-1 {
922 compatible = "qcom,rpm-pmi8994-regulators";
924 vdd_s1-supply = <&vph_pwr>;
925 vdd_s2-supply = <&vph_pwr>;
926 vdd_s3-supply = <&vph_pwr>;
927 vdd_bst_byp-supply = <&vph_pwr>;
929 vph_pwr_bbyp: boost-bypass {
930 regulator-name = "vph_pwr_bbyp";
931 regulator-min-microvolt = <3300000>;
932 regulator-max-microvolt = <3300000>;
936 regulator-name = "vreg_s1b_1p025";
937 regulator-min-microvolt = <1025000>;
938 regulator-max-microvolt = <1025000>;
945 pinctrl-names = "default", "sleep";
946 pinctrl-0 = <&sdc2_state_on &sdc2_cd_on>;
947 pinctrl-1 = <&sdc2_state_off &sdc2_cd_off>;
948 cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
949 vmmc-supply = <&vreg_l21a_2p95>;
950 vqmmc-supply = <&vreg_l13a_2p95>;
955 dai@0 {
959 dai@1 {
963 dai@2 {
973 #address-cells = <2>;
974 #size-cells = <0>;
976 tasha_ifd: tas-ifd@0,0 {
985 clock-names = "mclk", "slimbus";
988 interrupt-parent = <&tlmm>;
991 interrupt-names = "intr1", "intr2";
992 interrupt-controller;
993 #interrupt-cells = <1>;
995 pinctrl-0 = <&cdc_reset_active &wcd_intr_default>;
996 pinctrl-names = "default";
998 reset-gpios = <&tlmm 64 GPIO_ACTIVE_LOW>;
999 slim-ifc-dev = <&tasha_ifd>;
1001 #sound-dai-cells = <1>;
1003 vdd-buck-supply = <&vreg_s4a_1p8>;
1004 vdd-buck-sido-supply = <&vreg_s4a_1p8>;
1005 vdd-tx-supply = <&vreg_s4a_1p8>;
1006 vdd-rx-supply = <&vreg_s4a_1p8>;
1007 vdd-io-supply = <&vreg_s4a_1p8>;
1013 compatible = "qcom,apq8096-sndcard";
1015 audio-routing = "RX_BIAS", "MCLK",
1020 mm1-dai-link {
1021 link-name = "MultiMedia1";
1023 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>;
1027 mm2-dai-link {
1028 link-name = "MultiMedia2";
1030 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA2>;
1034 mm3-dai-link {
1035 link-name = "MultiMedia3";
1037 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA3>;
1041 hdmi-dai-link {
1042 link-name = "HDMI";
1044 sound-dai = <&q6afedai HDMI_RX>;
1048 sound-dai = <&q6routing>;
1052 sound-dai = <&mdss_hdmi 0>;
1056 slim-dai-link {
1057 link-name = "SLIM Playback";
1059 sound-dai = <&q6afedai SLIMBUS_6_RX>;
1063 sound-dai = <&q6routing>;
1067 sound-dai = <&wcd9335 AIF4_PB>;
1071 slimcap-dai-link {
1072 link-name = "SLIM Capture";
1074 sound-dai = <&q6afedai SLIMBUS_0_TX>;
1078 sound-dai = <&q6routing>;
1082 sound-dai = <&wcd9335 AIF1_CAP>;
1090 vdda-phy-supply = <&vreg_l28a_0p925>;
1091 vdda-pll-supply = <&vreg_l12a_1p8>;
1097 vcc-supply = <&vreg_l20a_2p95>;
1098 vccq-supply = <&vreg_l25a_1p2>;
1099 vccq2-supply = <&vreg_s4a_1p8>;
1100 vdd-hba-supply = <&vreg_l25a_1p2>;
1102 vcc-max-microamp = <600000>;
1103 vccq-max-microamp = <450000>;
1104 vccq2-max-microamp = <450000>;
1115 maximum-speed = "high-speed";
1131 vdda-phy-supply = <&vreg_l28a_0p925>;
1132 vdda-pll-supply = <&vreg_l12a_1p8>;