Lines Matching +full:sc7180 +full:- +full:pinctrl
1 // SPDX-License-Identifier: BSD-3-Clause
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/sound/qcom,q6asm.h>
7 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
9 #include "sc7180.dtsi"
14 /delete-node/ &tz_mem;
15 /delete-node/ &ipa_fw_mem;
19 compatible = "acer,aspire1", "qcom,sc7180";
20 chassis-type = "laptop";
30 stdout-path = "serial0:115200n8";
33 reserved-memory {
34 zap_mem: zap-shader@80840000 {
36 no-map;
41 no-map;
46 no-map;
51 no-map;
56 no-map;
60 max98357a: audio-codec {
62 sdmode-gpios = <&tlmm 23 GPIO_ACTIVE_HIGH>;
64 pinctrl-0 = <&_sd_mode_default>;
65 pinctrl-names = "default";
67 #sound-dai-cells = <0>;
71 compatible = "pwm-backlight";
73 enable-gpios = <&tlmm 10 GPIO_ACTIVE_HIGH>;
75 pinctrl-0 = <&soc_bkoff_default>;
76 pinctrl-names = "default";
79 reg_brij_1p2: bridge-1p2-regulator {
80 compatible = "regulator-fixed";
81 regulator-name = "brij_1p2";
82 regulator-min-microvolt = <1200000>;
83 regulator-max-microvolt = <1200000>;
86 enable-active-high;
88 pinctrl-0 = <®_edp_1p2_en_default>;
89 pinctrl-names = "default";
92 reg_brij_1p8: bridge-regulator {
93 compatible = "regulator-fixed";
94 regulator-name = "brij_1p8";
95 regulator-min-microvolt = <1800000>;
96 regulator-max-microvolt = <1800000>;
98 vin-supply = <&vreg_l8c_1p8>;
101 enable-active-high;
103 pinctrl-0 = <®_edp_1p8_en_default>;
104 pinctrl-names = "default";
107 reg_codec_3p3: codec-regulator {
108 compatible = "regulator-fixed";
109 regulator-name = "codec_3p3";
110 regulator-min-microvolt = <3300000>;
111 regulator-max-microvolt = <3300000>;
114 enable-active-high;
116 pinctrl-0 = <®_audio_en_default>;
117 pinctrl-names = "default";
120 reg_lcm_3p3: panel-regulator {
121 compatible = "regulator-fixed";
122 regulator-name = "lcm_3p3";
123 regulator-min-microvolt = <3300000>;
124 regulator-max-microvolt = <3300000>;
127 enable-active-high;
129 pinctrl-0 = <®_lcm_en_default>;
130 pinctrl-names = "default";
134 compatible = "qcom,sc7180-qdsp6-sndcard";
135 pinctrl-0 = <&pri_mi2s_active>, <&pri_mi2s_mclk_active>, <&ter_mi2s_active>;
136 pinctrl-names = "default";
137 model = "Acer-Aspire-1";
139 audio-routing =
143 multimedia1-dai-link {
144 link-name = "MultiMedia1";
147 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>;
151 multimedia2-dai-link {
152 link-name = "MultiMedia2";
155 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA2>;
159 multimedia3-dai-link {
160 link-name = "MultiMedia3";
163 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA3>;
167 multimedia4-dai-link {
168 link-name = "MultiMedia4";
171 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA4>;
175 primary-rx-dai-link {
176 link-name = "Primary MI2S Playback";
179 sound-dai = <&q6afedai PRIMARY_MI2S_RX>;
183 sound-dai = <&q6routing>;
187 sound-dai = <&alc5682 0>;
191 primary-tx-dai-link {
192 link-name = "Primary MI2S Capture";
195 sound-dai = <&q6afedai PRIMARY_MI2S_TX>;
199 sound-dai = <&q6routing>;
203 sound-dai = <&alc5682 0>;
207 tertiary-rx-dai-link {
208 link-name = "Tertiary MI2S Playback";
211 sound-dai = <&q6afedai TERTIARY_MI2S_RX>;
215 sound-dai = <&q6routing>;
219 sound-dai = <&max98357a>;
223 displayport-rx-dai-link {
224 link-name = "DisplayPort Playback";
227 sound-dai = <&q6afedai DISPLAY_PORT_RX>;
231 sound-dai = <&q6routing>;
235 sound-dai = <&mdss_dp>;
240 reg_tp_3p3: touchpad-regulator {
241 compatible = "regulator-fixed";
242 regulator-name = "tp_3p3";
243 regulator-min-microvolt = <3300000>;
244 regulator-max-microvolt = <3300000>;
247 enable-active-high;
249 pinctrl-0 = <®_tp_en_default>;
250 pinctrl-names = "default";
255 clock-frequency = <400000>;
258 embedded-controller@76 {
259 compatible = "acer,aspire1-ec";
262 interrupts-extended = <&tlmm 30 IRQ_TYPE_LEVEL_LOW>;
264 pinctrl-0 = <&ec_int_default>;
265 pinctrl-names = "default";
268 compatible = "usb-c-connector";
272 remote-endpoint = <&mdss_dp_out>;
280 clock-frequency = <400000>;
287 * hid-descr-addr = <0x1>;
291 compatible = "hid-over-i2c";
293 hid-descr-addr = <0x20>;
295 vdd-supply = <®_tp_3p3>;
297 interrupts-extended = <&tlmm 94 IRQ_TYPE_LEVEL_LOW>;
299 pinctrl-0 = <&hid_touchpad_default>;
300 pinctrl-names = "default";
302 wakeup-source;
306 compatible = "hid-over-i2c";
308 hid-descr-addr = <0x1>;
310 interrupts-extended = <&tlmm 33 IRQ_TYPE_LEVEL_LOW>;
312 pinctrl-0 = <&hid_keyboard_default>;
313 pinctrl-names = "default";
315 wakeup-source;
320 clock-frequency = <400000>;
327 #sound-dai-cells = <1>;
329 interrupt-parent = <&tlmm>;
332 pinctrl-0 = <&codec_irq_default>;
333 pinctrl-names = "default";
335 AVDD-supply = <&vreg_l15a_1p8>;
336 MICVDD-supply = <®_codec_3p3>;
337 VBAT-supply = <®_codec_3p3>;
338 DBVDD-supply = <&vreg_l15a_1p8>;
339 LDO1-IN-supply = <&vreg_l15a_1p8>;
350 * realtek,dmic1-data-pin = <1>;
351 * realtek,dmic1-clk-pin = <1>;
354 realtek,jd-src = <1>;
359 clock-frequency = <400000>;
365 gpio-controller;
366 #gpio-cells = <2>;
367 #pwm-cells = <1>;
369 interrupt-parent = <&tlmm>;
372 enable-gpios = <&tlmm 51 GPIO_ACTIVE_HIGH>;
373 suspend-gpios = <&tlmm 22 GPIO_ACTIVE_LOW>;
375 pinctrl-0 = <&bridge_en_default>,
378 pinctrl-names = "default";
380 vpll-supply = <®_brij_1p8>;
381 vccio-supply = <®_brij_1p8>;
382 vcca-supply = <®_brij_1p2>;
383 vcc-supply = <®_brij_1p2>;
386 clock-names = "refclk";
389 #address-cells = <1>;
390 #size-cells = <0>;
396 remote-endpoint = <&mdss_dsi0_out>;
404 data-lanes = <0 1>;
405 remote-endpoint = <&panel_in_edp>;
410 aux-bus {
412 compatible = "edp-panel";
413 power-supply = <®_lcm_3p3>;
415 hpd-absent-delay-ms = <200>;
419 remote-endpoint = <&sn65dsi86_out>;
430 zap-shader {
431 memory-region = <&zap_mem>;
432 firmware-name = "qcom/sc7180/acer/aspire1/qcdxkmsuc7180.mbn";
441 data-lanes = <0 1>;
443 vdda-1p2-supply = <&vreg_l3c_1p2>;
444 vdda-0p9-supply = <&vreg_l4a_0p8>;
450 remote-endpoint = <&ec_dp_in>;
454 vdda-supply = <&vreg_l3c_1p2>;
459 remote-endpoint = <&sn65dsi86_in>;
460 data-lanes = <0 1 2 3>;
464 vdds-supply = <&vreg_l4a_0p8>;
472 qcom,hw-settle-time = <200>;
479 qcom,hw-settle-time = <200>;
487 charger-thermistor@0 {
489 io-channels = <&pm6150_adc ADC5_AMUX_THM3_100K_PU>;
491 qcom,hw-settle-time-us = <200>;
496 io-channels = <&pm6150_adc ADC5_AMUX_THM2_100K_PU>;
498 qcom,hw-settle-time-us = <200>;
513 qcom,sd-lines = <1>;
518 qcom,sd-lines = <0>;
523 qcom,sd-lines = <0>;
558 memory-region = <&adsp_mem>;
559 firmware-name = "qcom/sc7180/acer/aspire1/qcadsp7180.mbn";
564 firmware-name = "qcom/sc7180/acer/aspire1/qcmpss7180_nm.mbn";
569 pinctrl-0 = <&sdc1_default>;
570 pinctrl-1 = <&sdc1_sleep>;
571 pinctrl-names = "default", "sleep";
572 vmmc-supply = <&vreg_l19a_2p9>;
573 vqmmc-supply = <&vreg_l12a_1p8>;
579 /delete-property/interrupts;
580 interrupts-extended = <&intc GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>,
583 pinctrl-1 = <&qup_uart3_sleep>;
584 pinctrl-names = "default", "sleep";
589 compatible = "qcom,wcn3991-bt";
590 vddio-supply = <&vreg_l10a_1p8>;
591 vddxo-supply = <&vreg_l1c_1p8>;
592 vddrf-supply = <&vreg_l2c_1p3>;
593 vddch0-supply = <&vreg_l10c_3p3>;
594 max-speed = <3200000>;
608 #address-cells = <1>;
609 #size-cells = <0>;
614 peer-hub = <&usb_hub_3_x>;
620 peer-hub = <&usb_hub_2_x>;
625 vdd-supply = <&vreg_l4a_0p8>;
626 vdda-pll-supply = <&vreg_l11a_1p8>;
627 vdda-phy-dpdm-supply = <&vreg_l17a_3p0>;
628 qcom,imp-res-offset-value = <8>;
629 qcom,preemphasis-level = <QUSB2_V2_PREEMPHASIS_15_PERCENT>;
630 qcom,preemphasis-width = <QUSB2_V2_PREEMPHASIS_WIDTH_HALF_BIT>;
631 qcom,bias-ctrl-value = <0x22>;
632 qcom,charge-ctrl-value = <3>;
633 qcom,hsdisc-trim-value = <0>;
639 vdda-phy-supply = <&vreg_l3c_1p2>;
640 vdda-pll-supply = <&vreg_l4a_0p8>;
646 firmware-name = "qcom/sc7180/acer/aspire1/qcvss7180.mbn";
650 vdd-0.8-cx-mx-supply = <&vreg_l9a_0p6>;
651 vdd-1.8-xo-supply = <&vreg_l1c_1p8>;
652 vdd-1.3-rfa-supply = <&vreg_l2c_1p3>;
653 vdd-3.3-ch0-supply = <&vreg_l10c_3p3>;
654 vdd-3.3-ch1-supply = <&vreg_l11c_3p3>;
660 regulators-0 {
661 compatible = "qcom,pm6150-rpmh-regulators";
662 qcom,pmic-id = "a";
665 regulator-min-microvolt = <1128000>;
666 regulator-max-microvolt = <1128000>;
670 regulator-min-microvolt = <824000>;
671 regulator-max-microvolt = <928000>;
672 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
676 regulator-min-microvolt = <488000>;
677 regulator-max-microvolt = <800000>;
678 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
682 regulator-min-microvolt = <1800000>;
683 regulator-max-microvolt = <1800000>;
684 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
685 regulator-always-on;
686 regulator-boot-on;
690 regulator-min-microvolt = <1800000>;
691 regulator-max-microvolt = <1800000>;
692 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
696 regulator-min-microvolt = <1800000>;
697 regulator-max-microvolt = <1800000>;
698 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
702 regulator-min-microvolt = <1800000>;
703 regulator-max-microvolt = <1800000>;
704 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
708 regulator-min-microvolt = <1800000>;
709 regulator-max-microvolt = <1800000>;
710 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
714 regulator-min-microvolt = <1800000>;
715 regulator-max-microvolt = <1800000>;
716 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
720 regulator-min-microvolt = <2496000>;
721 regulator-max-microvolt = <3304000>;
722 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
726 regulator-min-microvolt = <2920000>;
727 regulator-max-microvolt = <3232000>;
728 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
732 regulator-min-microvolt = <2496000>;
733 regulator-max-microvolt = <3304000>;
734 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
738 regulator-min-microvolt = <2960000>;
739 regulator-max-microvolt = <2960000>;
740 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
744 regulators-1 {
745 compatible = "qcom,pm6150l-rpmh-regulators";
746 qcom,pmic-id = "c";
749 regulator-min-microvolt = <1120000>;
750 regulator-max-microvolt = <1408000>;
754 regulator-min-microvolt = <1616000>;
755 regulator-max-microvolt = <1984000>;
756 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
760 regulator-min-microvolt = <1168000>;
761 regulator-max-microvolt = <1304000>;
762 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
766 regulator-min-microvolt = <1144000>;
767 regulator-max-microvolt = <1304000>;
768 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
772 regulator-min-microvolt = <1648000>;
773 regulator-max-microvolt = <3304000>;
774 regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
778 regulator-min-microvolt = <1648000>;
779 regulator-max-microvolt = <3304000>;
780 regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
784 regulator-min-microvolt = <1800000>;
785 regulator-max-microvolt = <2950000>;
786 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
790 regulator-min-microvolt = <3000000>;
791 regulator-max-microvolt = <3312000>;
792 regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
796 regulator-min-microvolt = <1800000>;
797 regulator-max-microvolt = <1800000>;
798 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
802 regulator-min-microvolt = <2952000>;
803 regulator-max-microvolt = <2952000>;
804 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
808 regulator-min-microvolt = <3000000>;
809 regulator-max-microvolt = <3400000>;
810 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
814 regulator-min-microvolt = <3000000>;
815 regulator-max-microvolt = <3400000>;
816 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
820 regulator-min-microvolt = <3008000>;
821 regulator-max-microvolt = <3960000>;
822 regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>;
828 drive-strength = <2>;
831 bias-disable;
835 drive-strength = <2>;
838 bias-disable;
842 drive-strength = <2>;
845 bias-disable;
849 drive-strength = <2>;
852 bias-disable;
861 gpio-reserved-ranges = <58 5>;
863 amp_sd_mode_default: amp-sd-mode-deault-state {
866 drive-strength = <16>;
867 bias-disable;
870 bridge_en_default: bridge-en-default-state {
873 drive-strength = <16>;
874 bias-disable;
877 bridge_suspend_default: bridge-suspend-default-state {
880 drive-strength = <16>;
881 bias-pull-up;
884 codec_irq_default: codec-irq-deault-state {
887 drive-strength = <2>;
888 bias-disable;
891 ec_int_default: ec-int-default-state {
894 drive-strength = <2>;
895 bias-disable;
898 edp_bridge_irq_default: edp-bridge-irq-default-state {
901 drive-strength = <2>;
902 bias-pull-down;
905 hid_keyboard_default: hid-keyboard-default-state {
908 drive-strength = <2>;
909 bias-disable;
912 hid_touchpad_default: hid-touchpad-default-state {
915 drive-strength = <2>;
916 bias-disable;
919 qup_uart3_sleep: qup-uart3-sleep-state {
920 cts-pins {
922 * Configure a pull-down on CTS to match the pull of
927 bias-pull-down;
930 rts-pins {
932 * Configure pull-down on RTS. As RTS is active low
939 bias-pull-down;
942 tx-pins {
944 * Configure pull-up on TX when it isn't actively driven
949 bias-pull-up;
952 rx-pins {
954 * Configure a pull-up on RX. This is needed to avoid
960 bias-pull-up;
964 reg_edp_1p2_en_default: reg-edp-1p2-en-deault-state {
967 drive-strength = <16>;
968 bias-disable;
971 reg_edp_1p8_en_default: reg-edp-1p8-en-deault-state {
974 drive-strength = <16>;
975 bias-disable;
978 reg_lcm_en_default: reg-lcm-en-deault-state {
981 drive-strength = <16>;
982 bias-disable;
985 reg_audio_en_default: reg-audio-en-deault-state {
988 drive-strength = <2>;
989 bias-disable;
992 reg_tp_en_default: reg-tp-en-deault-state {
995 drive-strength = <2>;
996 bias-disable;
999 soc_bkoff_default: soc-bkoff-deault-state {
1002 drive-strength = <16>;
1003 bias-disable;
1006 sdc1_default: sdc1-default-state {
1007 clk-pins {
1009 drive-strength = <16>;
1010 bias-disable;
1013 cmd-pins {
1015 drive-strength = <16>;
1016 bias-pull-up;
1019 data-pins {
1021 drive-strength = <16>;
1022 bias-pull-up;
1025 rclk-pins {
1027 bias-pull-down;
1031 sdc1_sleep: sdc1-sleep-state {
1032 clk-pins {
1034 drive-strength = <2>;
1035 bias-disable;
1038 cmd-pins {
1040 drive-strength = <2>;
1041 bias-pull-up;
1044 data-pins {
1046 drive-strength = <2>;
1047 bias-pull-up;
1050 rclk-pins {
1052 bias-pull-down;