Lines Matching +full:keep +full:- +full:pll +full:- +full:enabled

1 // SPDX-License-Identifier: GPL-2.0
6 /dts-v1/;
8 #include <dt-bindings/arm/qcom,ids.h>
9 #include <dt-bindings/leds/common.h>
10 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
11 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
12 #include <dt-bindings/sound/qcom,q6afe.h>
13 #include <dt-bindings/sound/qcom,q6asm.h>
15 #include "sdm845-wcd9340.dtsi"
22 qcom,msm-id = <QCOM_ID_SDA845 0x20001>;
23 qcom,board-id = <8 0>;
31 stdout-path = "serial0:115200n8";
35 clk40m: can-clock {
36 compatible = "fixed-clock";
37 #clock-cells = <0>;
38 clock-frequency = <40000000>;
41 dc12v: dc12v-regulator {
42 compatible = "regulator-fixed";
43 regulator-name = "DC12V";
44 regulator-min-microvolt = <12000000>;
45 regulator-max-microvolt = <12000000>;
46 regulator-always-on;
49 gpio-keys {
50 compatible = "gpio-keys";
53 pinctrl-names = "default";
54 pinctrl-0 = <&vol_up_pin_a>;
56 key-vol-up {
64 compatible = "gpio-leds";
66 led-0 {
71 default-state = "off";
72 panic-indicator;
75 led-1 {
80 linux,default-trigger = "phy0tx";
81 default-state = "off";
84 led-2 {
89 linux,default-trigger = "bluetooth-power";
90 default-state = "off";
94 hdmi-out {
95 compatible = "hdmi-connector";
100 remote-endpoint = <&lt9611_out>;
105 reserved-memory {
109 no-map;
113 lt9611_1v8: lt9611-vdd18-regulator {
114 compatible = "regulator-fixed";
115 regulator-name = "LT9611_1V8";
117 vin-supply = <&vdc_5v>;
118 regulator-min-microvolt = <1800000>;
119 regulator-max-microvolt = <1800000>;
122 enable-active-high;
125 lt9611_3v3: lt9611-3v3 {
126 compatible = "regulator-fixed";
127 regulator-name = "LT9611_3V3";
129 vin-supply = <&vdc_3v3>;
130 regulator-min-microvolt = <3300000>;
131 regulator-max-microvolt = <3300000>;
136 * enable-active-high;
140 pcie0_1p05v: pcie-0-1p05v-regulator {
141 compatible = "regulator-fixed";
142 regulator-name = "PCIE0_1.05V";
144 vin-supply = <&vbat>;
145 regulator-min-microvolt = <1050000>;
146 regulator-max-microvolt = <1050000>;
151 * enable-active-high;
155 cam0_dvdd_1v2: cam0-dvdd-1v2-regulator {
156 compatible = "regulator-fixed";
157 regulator-name = "CAM0_DVDD_1V2";
158 regulator-min-microvolt = <1200000>;
159 regulator-max-microvolt = <1200000>;
160 enable-active-high;
162 pinctrl-names = "default";
163 pinctrl-0 = <&cam0_dvdd_1v2_en_default>;
164 vin-supply = <&vbat>;
167 cam0_avdd_2v8: cam0-avdd-2v8-regulator {
168 compatible = "regulator-fixed";
169 regulator-name = "CAM0_AVDD_2V8";
170 regulator-min-microvolt = <2800000>;
171 regulator-max-microvolt = <2800000>;
172 enable-active-high;
174 pinctrl-names = "default";
175 pinctrl-0 = <&cam0_avdd_2v8_en_default>;
176 vin-supply = <&vbat>;
179 /* This regulator is enabled when the VREG_LVS1A_1P8 trace is enabled */
180 cam3_avdd_2v8: cam3-avdd-2v8-regulator {
181 compatible = "regulator-fixed";
182 regulator-name = "CAM3_AVDD_2V8";
183 regulator-min-microvolt = <2800000>;
184 regulator-max-microvolt = <2800000>;
185 regulator-always-on;
186 vin-supply = <&vbat>;
189 pcie0_3p3v_dual: vldo-3v3-regulator {
190 compatible = "regulator-fixed";
191 regulator-name = "VLDO_3V3";
193 vin-supply = <&vbat>;
194 regulator-min-microvolt = <3300000>;
195 regulator-max-microvolt = <3300000>;
198 enable-active-high;
201 * port. Keep it always on until we can correctly model this
204 regulator-always-on;
206 pinctrl-names = "default";
207 pinctrl-0 = <&pcie0_pwren_state>;
210 v5p0_hdmiout: v5p0-hdmiout-regulator {
211 compatible = "regulator-fixed";
212 regulator-name = "V5P0_HDMIOUT";
214 vin-supply = <&vdc_5v>;
215 regulator-min-microvolt = <500000>;
216 regulator-max-microvolt = <500000>;
221 * enable-active-high;
225 vbat: vbat-regulator {
226 compatible = "regulator-fixed";
227 regulator-name = "VBAT";
229 vin-supply = <&dc12v>;
230 regulator-min-microvolt = <4200000>;
231 regulator-max-microvolt = <4200000>;
232 regulator-always-on;
235 vbat_som: vbat-som-regulator {
236 compatible = "regulator-fixed";
237 regulator-name = "VBAT_SOM";
239 vin-supply = <&dc12v>;
240 regulator-min-microvolt = <4200000>;
241 regulator-max-microvolt = <4200000>;
242 regulator-always-on;
245 vdc_3v3: vdc-3v3-regulator {
246 compatible = "regulator-fixed";
247 regulator-name = "VDC_3V3";
248 vin-supply = <&dc12v>;
249 regulator-min-microvolt = <3300000>;
250 regulator-max-microvolt = <3300000>;
251 regulator-always-on;
254 vdc_5v: vdc-5v-regulator {
255 compatible = "regulator-fixed";
256 regulator-name = "VDC_5V";
258 vin-supply = <&dc12v>;
259 regulator-min-microvolt = <500000>;
260 regulator-max-microvolt = <500000>;
261 regulator-always-on;
264 vreg_s4a_1p8: vreg-s4a-1p8 {
265 compatible = "regulator-fixed";
266 regulator-name = "vreg_s4a_1p8";
268 regulator-min-microvolt = <1800000>;
269 regulator-max-microvolt = <1800000>;
270 regulator-always-on;
273 vph_pwr: vph-pwr-regulator {
274 compatible = "regulator-fixed";
275 regulator-name = "vph_pwr";
277 vin-supply = <&vbat_som>;
284 firmware-name = "qcom/sdm845/adsp.mbn";
288 regulators-0 {
289 compatible = "qcom,pm8998-rpmh-regulators";
290 qcom,pmic-id = "a";
291 vdd-s1-supply = <&vph_pwr>;
292 vdd-s2-supply = <&vph_pwr>;
293 vdd-s3-supply = <&vph_pwr>;
294 vdd-s4-supply = <&vph_pwr>;
295 vdd-s5-supply = <&vph_pwr>;
296 vdd-s6-supply = <&vph_pwr>;
297 vdd-s7-supply = <&vph_pwr>;
298 vdd-s8-supply = <&vph_pwr>;
299 vdd-s9-supply = <&vph_pwr>;
300 vdd-s10-supply = <&vph_pwr>;
301 vdd-s11-supply = <&vph_pwr>;
302 vdd-s12-supply = <&vph_pwr>;
303 vdd-s13-supply = <&vph_pwr>;
304 vdd-l1-l27-supply = <&vreg_s7a_1p025>;
305 vdd-l2-l8-l17-supply = <&vreg_s3a_1p35>;
306 vdd-l3-l11-supply = <&vreg_s7a_1p025>;
307 vdd-l4-l5-supply = <&vreg_s7a_1p025>;
308 vdd-l6-supply = <&vph_pwr>;
309 vdd-l7-l12-l14-l15-supply = <&vreg_s5a_2p04>;
310 vdd-l9-supply = <&vreg_bob>;
311 vdd-l10-l23-l25-supply = <&vreg_bob>;
312 vdd-l13-l19-l21-supply = <&vreg_bob>;
313 vdd-l16-l28-supply = <&vreg_bob>;
314 vdd-l18-l22-supply = <&vreg_bob>;
315 vdd-l20-l24-supply = <&vreg_bob>;
316 vdd-l26-supply = <&vreg_s3a_1p35>;
317 vin-lvs-1-2-supply = <&vreg_s4a_1p8>;
320 regulator-min-microvolt = <1352000>;
321 regulator-max-microvolt = <1352000>;
325 regulator-min-microvolt = <1904000>;
326 regulator-max-microvolt = <2040000>;
330 regulator-min-microvolt = <900000>;
331 regulator-max-microvolt = <1028000>;
335 regulator-min-microvolt = <880000>;
336 regulator-max-microvolt = <880000>;
337 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
341 regulator-min-microvolt = <800000>;
342 regulator-max-microvolt = <800000>;
343 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
347 regulator-min-microvolt = <1800000>;
348 regulator-max-microvolt = <1800000>;
349 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
353 regulator-min-microvolt = <1800000>;
354 regulator-max-microvolt = <1800000>;
355 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
359 regulator-min-microvolt = <1800000>;
360 regulator-max-microvolt = <2960000>;
361 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
365 regulator-min-microvolt = <1304000>;
366 regulator-max-microvolt = <1304000>;
367 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
371 regulator-min-microvolt = <2960000>;
372 regulator-max-microvolt = <2968000>;
373 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
377 regulator-min-microvolt = <2960000>;
378 regulator-max-microvolt = <2968000>;
379 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
383 regulator-min-microvolt = <3088000>;
384 regulator-max-microvolt = <3088000>;
385 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
389 regulator-min-microvolt = <3300000>;
390 regulator-max-microvolt = <3312000>;
391 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
395 regulator-min-microvolt = <1200000>;
396 regulator-max-microvolt = <1200000>;
397 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
401 regulator-min-microvolt = <1800000>;
402 regulator-max-microvolt = <1800000>;
403 regulator-always-on;
407 regulator-min-microvolt = <1800000>;
408 regulator-max-microvolt = <1800000>;
409 regulator-always-on;
413 regulators-1 {
414 compatible = "qcom,pmi8998-rpmh-regulators";
415 qcom,pmic-id = "b";
417 vdd-bob-supply = <&vph_pwr>;
420 regulator-min-microvolt = <3312000>;
421 regulator-max-microvolt = <3600000>;
422 regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>;
423 regulator-allow-bypass;
431 vdda-phy-supply = <&vreg_l1a_0p875>;
432 vdda-pll-supply = <&vreg_l26a_1p2>;
437 firmware-name = "qcom/sdm845/cdsp.mbn";
441 protected-clocks = <GCC_QSPI_CORE_CLK>,
461 firmware-name = "qcom/sdm845/a630_zap.mbn";
466 clock-frequency = <400000>;
468 lt9611_codec: hdmi-bridge@3b {
471 #sound-dai-cells = <1>;
473 interrupts-extended = <&tlmm 84 IRQ_TYPE_EDGE_FALLING>;
475 reset-gpios = <&tlmm 128 GPIO_ACTIVE_HIGH>;
477 vdd-supply = <&lt9611_1v8>;
478 vcc-supply = <&lt9611_3v3>;
480 pinctrl-names = "default";
481 pinctrl-0 = <&lt9611_irq_pin>, <&dsi_sw_sel>;
484 #address-cells = <1>;
485 #size-cells = <0>;
491 remote-endpoint = <&mdss_dsi0_out>;
499 remote-endpoint = <&mdss_dsi1_out>;
507 remote-endpoint = <&hdmi_con>;
516 clock-frequency = <100000>;
522 clock-frequency = <100000>;
527 memory-region = <&cont_splash_mem>;
533 vdda-supply = <&vreg_l26a_1p2>;
535 qcom,dual-dsi-mode;
536 qcom,master-dsi;
540 remote-endpoint = <&lt9611_a>;
541 data-lanes = <0 1 2 3>;
546 vdds-supply = <&vreg_l1a_0p875>;
550 vdda-supply = <&vreg_l26a_1p2>;
552 qcom,dual-dsi-mode;
555 assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>,
562 remote-endpoint = <&lt9611_b>;
563 data-lanes = <0 1 2 3>;
567 vdds-supply = <&vreg_l1a_0p875>;
573 firmware-name = "qcom/sdm845/mba.mbn", "qcom/sdm845/modem.mbn";
578 perst-gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
579 wake-gpios = <&tlmm 134 GPIO_ACTIVE_HIGH>;
581 vddpe-3v3-supply = <&pcie0_3p3v_dual>;
583 pinctrl-names = "default";
584 pinctrl-0 = <&pcie0_default_state>;
590 vdda-phy-supply = <&vreg_l1a_0p875>;
591 vdda-pll-supply = <&vreg_l26a_1p2>;
596 perst-gpios = <&tlmm 102 GPIO_ACTIVE_LOW>;
598 pinctrl-names = "default";
599 pinctrl-0 = <&pcie1_default_state>;
605 vdda-phy-supply = <&vreg_l1a_0p875>;
606 vdda-pll-supply = <&vreg_l26a_1p2>;
610 gpio-line-names =
638 cam0_dvdd_1v2_en_default: cam0-dvdd-1v2-en-state {
642 bias-pull-up;
643 drive-push-pull;
644 qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
647 cam0_avdd_2v8_en_default: cam0-avdd-2v8-en-state {
651 bias-pull-up;
652 drive-push-pull;
653 qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
656 vol_up_pin_a: vol-up-active-state {
659 input-enable;
660 bias-pull-up;
661 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
673 qcom,power-source = <1>;
679 function-enumerator = <3>;
681 linux,default-trigger = "heartbeat";
682 default-state = "on";
689 function-enumerator = <2>;
696 function-enumerator = <1>;
704 qcom,sd-lines = <0 1 2 3>;
724 is-compress-dai;
739 pinctrl-names = "default";
740 pinctrl-0 = <&sdc2_default_state &sdc2_card_det_n>;
742 vmmc-supply = <&vreg_l21a_2p95>;
743 vqmmc-supply = <&vreg_l13a_2p95>;
745 bus-width = <4>;
746 cd-gpios = <&tlmm 126 GPIO_ACTIVE_LOW>;
750 firmware-name = "qcom/sdm845/Thundercomm/db845c/slpi.mbn";
756 compatible = "qcom,db845c-sndcard", "qcom,sdm845-sndcard";
757 pinctrl-0 = <&quat_mi2s_active
762 pinctrl-names = "default";
764 audio-routing =
775 mm1-dai-link {
776 link-name = "MultiMedia1";
778 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>;
782 mm2-dai-link {
783 link-name = "MultiMedia2";
785 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA2>;
789 mm3-dai-link {
790 link-name = "MultiMedia3";
792 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA3>;
796 mm4-dai-link {
797 link-name = "MultiMedia4";
799 sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA4>;
803 hdmi-dai-link {
804 link-name = "HDMI Playback";
806 sound-dai = <&q6afedai QUATERNARY_MI2S_RX>;
810 sound-dai = <&q6routing>;
814 sound-dai = <&lt9611_codec 0>;
818 slim-dai-link {
819 link-name = "SLIM Playback";
821 sound-dai = <&q6afedai SLIMBUS_0_RX>;
825 sound-dai = <&q6routing>;
829 sound-dai = <&left_spkr>, <&right_spkr>, <&swm 0>, <&wcd9340 0>;
833 slimcap-dai-link {
834 link-name = "SLIM Capture";
836 sound-dai = <&q6afedai SLIMBUS_0_TX>;
840 sound-dai = <&q6routing>;
844 sound-dai = <&wcd9340 1>;
851 pinctrl-names = "default";
852 pinctrl-0 = <&qup_spi0_default>;
853 cs-gpios = <&tlmm 3 GPIO_ACTIVE_LOW>;
859 interrupts-extended = <&tlmm 104 IRQ_TYPE_LEVEL_LOW>;
860 spi-max-frequency = <10000000>;
861 vdd-supply = <&vdc_5v>;
862 xceiver-supply = <&vdc_5v>;
872 cam0_default: cam0-default-state {
873 rst-pins {
877 drive-strength = <16>;
878 bias-disable;
881 mclk0-pins {
885 drive-strength = <16>;
886 bias-disable;
890 cam3_default: cam3-default-state {
891 rst-pins {
895 drive-strength = <16>;
896 bias-disable;
899 mclk3-pins {
903 drive-strength = <16>;
904 bias-disable;
908 dsi_sw_sel: dsi-sw-sel-state {
912 drive-strength = <2>;
913 bias-disable;
914 output-high;
917 lt9611_irq_pin: lt9611-irq-state {
920 bias-disable;
923 pcie0_default_state: pcie0-default-state {
924 clkreq-pins {
927 bias-pull-up;
930 reset-n-pins {
934 drive-strength = <2>;
935 output-low;
936 bias-pull-down;
939 wake-n-pins {
943 drive-strength = <2>;
944 bias-pull-up;
948 pcie0_pwren_state: pcie0-pwren-state {
952 drive-strength = <2>;
953 bias-disable;
956 pcie1_default_state: pcie1-default-state {
957 perst-n-pins {
961 drive-strength = <16>;
962 bias-disable;
965 clkreq-pins {
968 bias-pull-up;
971 wake-n-pins {
975 drive-strength = <2>;
976 bias-pull-up;
979 reset-n-pins {
983 drive-strength = <16>;
984 bias-pull-up;
985 output-high;
989 sdc2_default_state: sdc2-default-state {
990 clk-pins {
992 bias-disable;
998 drive-strength = <16>;
1001 cmd-pins {
1003 bias-pull-up;
1004 drive-strength = <10>;
1007 data-pins {
1009 bias-pull-up;
1010 drive-strength = <10>;
1014 sdc2_card_det_n: sd-card-det-n-state {
1017 bias-pull-up;
1022 label = "LS-UART0";
1023 pinctrl-0 = <&qup_uart3_4pin>;
1031 pinctrl-0 = <&qup_uart6_4pin>;
1034 compatible = "qcom,wcn3990-bt";
1036 vddio-supply = <&vreg_s4a_1p8>;
1037 vddxo-supply = <&vreg_l7a_1p8>;
1038 vddrf-supply = <&vreg_l17a_1p3>;
1039 vddch0-supply = <&vreg_l25a_3p3>;
1040 max-speed = <3200000>;
1045 label = "LS-UART1";
1060 vdd-supply = <&vreg_l1a_0p875>;
1061 vdda-pll-supply = <&vreg_l12a_1p8>;
1062 vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
1064 qcom,imp-res-offset-value = <8>;
1065 qcom,hstx-trim-value = <QUSB2_V2_HSTX_TRIM_21_6_MA>;
1066 qcom,preemphasis-level = <QUSB2_V2_PREEMPHASIS_5_PERCENT>;
1067 qcom,preemphasis-width = <QUSB2_V2_PREEMPHASIS_WIDTH_HALF_BIT>;
1073 vdda-phy-supply = <&vreg_l26a_1p2>;
1074 vdda-pll-supply = <&vreg_l1a_0p875>;
1088 vdd-supply = <&vreg_l1a_0p875>;
1089 vdda-pll-supply = <&vreg_l12a_1p8>;
1090 vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
1092 qcom,imp-res-offset-value = <8>;
1093 qcom,hstx-trim-value = <QUSB2_V2_HSTX_TRIM_22_8_MA>;
1099 vdda-phy-supply = <&vreg_l26a_1p2>;
1100 vdda-pll-supply = <&vreg_l1a_0p875>;
1106 reset-gpios = <&tlmm 150 GPIO_ACTIVE_LOW>;
1108 vcc-supply = <&vreg_l20a_2p95>;
1109 vcc-max-microamp = <800000>;
1115 vdda-phy-supply = <&vreg_l1a_0p875>;
1116 vdda-pll-supply = <&vreg_l26a_1p2>;
1124 reset-gpios = <&tlmm 64 GPIO_ACTIVE_HIGH>;
1125 vdd-buck-supply = <&vreg_s4a_1p8>;
1126 vdd-buck-sido-supply = <&vreg_s4a_1p8>;
1127 vdd-tx-supply = <&vreg_s4a_1p8>;
1128 vdd-rx-supply = <&vreg_s4a_1p8>;
1129 vdd-io-supply = <&vreg_s4a_1p8>;
1135 powerdown-gpios = <&wcdgpio 1 GPIO_ACTIVE_HIGH>;
1136 #thermal-sensor-cells = <0>;
1137 sound-name-prefix = "SpkrLeft";
1138 #sound-dai-cells = <0>;
1143 powerdown-gpios = <&wcdgpio 1 GPIO_ACTIVE_HIGH>;
1145 #thermal-sensor-cells = <0>;
1146 sound-name-prefix = "SpkrRight";
1147 #sound-dai-cells = <0>;
1155 vdd-0.8-cx-mx-supply = <&vreg_l5a_0p8>;
1156 vdd-1.8-xo-supply = <&vreg_l7a_1p8>;
1157 vdd-1.3-rfa-supply = <&vreg_l17a_1p3>;
1158 vdd-3.3-ch0-supply = <&vreg_l25a_3p3>;
1160 qcom,snoc-host-cap-8bit-quirk;
1161 qcom,calibration-variant = "Thundercomm_DB845C";
1164 /* PINCTRL - additions to nodes defined in sdm845.dtsi */
1166 drive-strength = <16>;
1170 drive-strength = <2>;
1171 bias-disable;
1175 drive-strength = <2>;
1176 bias-pull-up;
1180 drive-strength = <2>;
1181 bias-disable;
1184 /* PINCTRL - additions to nodes defined in sdm845.dtsi */
1186 drive-strength = <6>;
1187 bias-disable;