Lines Matching +full:sm8350 +full:- +full:mdss
1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2020-2021, Linaro Limited
6 /dts-v1/;
8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
9 #include "sm8350.dtsi"
18 model = "Qualcomm Technologies, Inc. SM8350 HDK";
19 compatible = "qcom,sm8350-hdk", "qcom,sm8350";
20 chassis-type = "embedded";
27 stdout-path = "serial0:115200n8";
30 hdmi-connector {
31 compatible = "hdmi-connector";
36 remote-endpoint = <<9611_out>;
41 pmic-glink {
42 compatible = "qcom,sm8350-pmic-glink", "qcom,pmic-glink";
43 #address-cells = <1>;
44 #size-cells = <0>;
47 compatible = "usb-c-connector";
49 power-role = "dual";
50 data-role = "dual";
53 #address-cells = <1>;
54 #size-cells = <0>;
60 remote-endpoint = <&usb_1_dwc3_hs>;
68 remote-endpoint = <&usb_1_qmpphy_out>;
76 remote-endpoint = <&fsa4480_sbu_mux>;
83 vph_pwr: vph-pwr-regulator {
84 compatible = "regulator-fixed";
85 regulator-name = "vph_pwr";
86 regulator-min-microvolt = <3700000>;
87 regulator-max-microvolt = <3700000>;
89 regulator-always-on;
90 regulator-boot-on;
93 lt9611_1v2: lt9611-1v2-regulator {
94 compatible = "regulator-fixed";
95 regulator-name = "LT9611_1V2";
97 vin-supply = <&vph_pwr>;
98 regulator-min-microvolt = <1200000>;
99 regulator-max-microvolt = <1200000>;
101 enable-active-high;
102 regulator-boot-on;
105 lt9611_3v3: lt9611-3v3-regulator {
106 compatible = "regulator-fixed";
107 regulator-name = "LT9611_3V3";
109 vin-supply = <&vreg_bob>;
111 regulator-min-microvolt = <3300000>;
112 regulator-max-microvolt = <3300000>;
113 enable-active-high;
114 regulator-boot-on;
115 regulator-always-on;
121 firmware-name = "qcom/sm8350/adsp.mbn";
125 regulators-0 {
126 compatible = "qcom,pm8350-rpmh-regulators";
127 qcom,pmic-id = "b";
129 vdd-s1-supply = <&vph_pwr>;
130 vdd-s2-supply = <&vph_pwr>;
131 vdd-s3-supply = <&vph_pwr>;
132 vdd-s4-supply = <&vph_pwr>;
133 vdd-s5-supply = <&vph_pwr>;
134 vdd-s6-supply = <&vph_pwr>;
135 vdd-s7-supply = <&vph_pwr>;
136 vdd-s8-supply = <&vph_pwr>;
137 vdd-s9-supply = <&vph_pwr>;
138 vdd-s10-supply = <&vph_pwr>;
139 vdd-s11-supply = <&vph_pwr>;
140 vdd-s12-supply = <&vph_pwr>;
142 vdd-l1-l4-supply = <&vreg_s11b_0p95>;
143 vdd-l2-l7-supply = <&vreg_bob>;
144 vdd-l3-l5-supply = <&vreg_bob>;
145 vdd-l6-l9-l10-supply = <&vreg_s11b_0p95>;
148 regulator-name = "vreg_s10b_1p8";
149 regulator-min-microvolt = <1800000>;
150 regulator-max-microvolt = <1800000>;
151 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
155 regulator-name = "vreg_s11b_0p95";
156 regulator-min-microvolt = <952000>;
157 regulator-max-microvolt = <952000>;
158 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
162 regulator-name = "vreg_s12b_1p25";
163 regulator-min-microvolt = <1256000>;
164 regulator-max-microvolt = <1256000>;
165 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
169 regulator-name = "vreg_l1b_0p88";
170 regulator-min-microvolt = <912000>;
171 regulator-max-microvolt = <920000>;
172 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
176 regulator-name = "vreg_l2b_3p07";
177 regulator-min-microvolt = <3072000>;
178 regulator-max-microvolt = <3072000>;
179 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
183 regulator-name = "vreg_l3b_0p9";
184 regulator-min-microvolt = <904000>;
185 regulator-max-microvolt = <904000>;
186 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
190 regulator-name = "vreg_l5b_0p88";
191 regulator-min-microvolt = <880000>;
192 regulator-max-microvolt = <888000>;
193 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
194 regulator-allow-set-load;
195 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
200 regulator-name = "vreg_l6b_1p2";
201 regulator-min-microvolt = <1200000>;
202 regulator-max-microvolt = <1208000>;
203 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
204 regulator-allow-set-load;
205 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
210 regulator-name = "vreg_l7b_2p96";
211 regulator-min-microvolt = <2504000>;
212 regulator-max-microvolt = <2504000>;
213 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
214 regulator-allow-set-load;
215 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
220 regulator-name = "vreg_l9b_1p2";
221 regulator-min-microvolt = <1200000>;
222 regulator-max-microvolt = <1200000>;
223 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
224 regulator-allow-set-load;
225 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
230 regulators-1 {
231 compatible = "qcom,pm8350c-rpmh-regulators";
232 qcom,pmic-id = "c";
234 vdd-s1-supply = <&vph_pwr>;
235 vdd-s2-supply = <&vph_pwr>;
236 vdd-s3-supply = <&vph_pwr>;
237 vdd-s4-supply = <&vph_pwr>;
238 vdd-s5-supply = <&vph_pwr>;
239 vdd-s6-supply = <&vph_pwr>;
240 vdd-s7-supply = <&vph_pwr>;
241 vdd-s8-supply = <&vph_pwr>;
242 vdd-s9-supply = <&vph_pwr>;
243 vdd-s10-supply = <&vph_pwr>;
245 vdd-l1-l12-supply = <&vreg_s1c_1p86>;
246 vdd-l2-l8-supply = <&vreg_s1c_1p86>;
247 vdd-l3-l4-l5-l7-l13-supply = <&vreg_bob>;
248 vdd-l6-l9-l11-supply = <&vreg_bob>;
249 vdd-l10-supply = <&vreg_s12b_1p25>;
251 vdd-bob-supply = <&vph_pwr>;
254 regulator-name = "vreg_s1c_1p86";
255 regulator-min-microvolt = <1856000>;
256 regulator-max-microvolt = <1880000>;
257 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
261 regulator-name = "vreg_bob";
262 regulator-min-microvolt = <3008000>;
263 regulator-max-microvolt = <3960000>;
264 regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>;
268 regulator-name = "vreg_l1c_1p8";
269 regulator-min-microvolt = <1800000>;
270 regulator-max-microvolt = <1800000>;
271 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
275 regulator-name = "vreg_l2c_1p8";
276 regulator-min-microvolt = <1800000>;
277 regulator-max-microvolt = <1800000>;
278 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
282 regulator-name = "vreg_l6c_1p8";
283 regulator-min-microvolt = <1800000>;
284 regulator-max-microvolt = <2960000>;
285 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
289 regulator-name = "vreg_l9c_2p96";
290 regulator-min-microvolt = <2960000>;
291 regulator-max-microvolt = <3008000>;
292 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
296 regulator-name = "vreg_l10c_1p2";
297 regulator-min-microvolt = <1200000>;
298 regulator-max-microvolt = <1200000>;
299 regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
303 regulators-2 {
304 compatible = "qcom,pmr735a-rpmh-regulators";
305 qcom,pmic-id = "e";
307 vdd-s1-supply = <&vph_pwr>;
308 vdd-s2-supply = <&vph_pwr>;
309 vdd-s3-supply = <&vph_pwr>;
311 vdd-l1-l2-supply = <&vreg_s2e_0p85>;
312 vdd-l3-supply = <&vreg_s1e_1p25>;
313 vdd-l4-supply = <&vreg_s1c_1p86>;
314 vdd-l5-l6-supply = <&vreg_s1c_1p86>;
315 vdd-l7-bob-supply = <&vreg_bob>;
318 regulator-name = "vreg_s1e_1p25";
319 regulator-min-microvolt = <1200000>;
320 regulator-max-microvolt = <1280000>;
324 regulator-name = "vreg_s2e_0p85";
325 regulator-min-microvolt = <950000>;
326 regulator-max-microvolt = <976000>;
330 regulator-name = "vreg_s3e_2p20";
331 regulator-min-microvolt = <2200000>;
332 regulator-max-microvolt = <2352000>;
336 regulator-name = "vreg_l1e_0p9";
337 regulator-min-microvolt = <912000>;
338 regulator-max-microvolt = <912000>;
342 regulator-name = "vreg_l2e_0p8";
343 regulator-min-microvolt = <1200000>;
344 regulator-max-microvolt = <1200000>;
348 regulator-name = "vreg_l3e_1p2";
349 regulator-min-microvolt = <1200000>;
350 regulator-max-microvolt = <1200000>;
354 regulator-name = "vreg_l4e_1p7";
355 regulator-min-microvolt = <1776000>;
356 regulator-max-microvolt = <1872000>;
360 regulator-name = "vreg_l5e_0p8";
361 regulator-min-microvolt = <800000>;
362 regulator-max-microvolt = <800000>;
366 regulator-name = "vreg_l6e_0p8";
367 regulator-min-microvolt = <480000>;
368 regulator-max-microvolt = <904000>;
372 regulator-name = "vreg_l7e_2p8";
373 regulator-min-microvolt = <2800000>;
374 regulator-max-microvolt = <2800000>;
381 firmware-name = "qcom/sm8350/cdsp.mbn";
389 vdda-supply = <&vreg_l6b_1p2>;
395 remote-endpoint = <<9611_a>;
396 data-lanes = <0 1 2 3>;
403 vdds-supply = <&vreg_l5b_0p88>;
414 zap-shader {
415 firmware-name = "qcom/sm8350/a660_zap.mbn";
420 clock-frequency = <100000>;
424 typec-mux@42 {
428 interrupts-extended = <&tlmm 2 IRQ_TYPE_LEVEL_LOW>;
430 vcc-supply = <&vreg_bob>;
431 mode-switch;
432 orientation-switch;
436 remote-endpoint = <&pmic_glink_sbu>;
443 clock-frequency = <400000>;
446 lt9611_codec: hdmi-bridge@2b {
450 interrupts-extended = <&tlmm 50 IRQ_TYPE_EDGE_FALLING>;
451 reset-gpios = <&tlmm 48 GPIO_ACTIVE_HIGH>;
453 vdd-supply = <<9611_1v2>;
454 vcc-supply = <<9611_3v3>;
456 pinctrl-names = "default";
457 pinctrl-0 = <<9611_state>;
460 #address-cells = <1>;
461 #size-cells = <0>;
467 remote-endpoint = <&mdss_dsi0_out>;
475 remote-endpoint = <&hdmi_con>;
482 &mdss {
494 data-lanes = <0 1>;
495 remote-endpoint = <&usb_1_qmpphy_dp_in>;
503 firmware-name = "qcom/sm8350/modem.mbn";
507 pinctrl-names = "default";
508 pinctrl-0 = <&pcie0_default_state>;
510 perst-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>;
511 wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>;
517 vdda-phy-supply = <&vreg_l5b_0p88>;
518 vdda-pll-supply = <&vreg_l6b_1p2>;
524 perst-gpios = <&tlmm 97 GPIO_ACTIVE_LOW>;
525 wake-gpios = <&tlmm 99 GPIO_ACTIVE_HIGH>;
527 pinctrl-names = "default";
528 pinctrl-0 = <&pcie1_default_state>;
535 vdda-phy-supply = <&vreg_l5b_0p88>;
536 vdda-pll-supply = <&vreg_l6b_1p2>;
552 cd-gpios = <&tlmm 92 GPIO_ACTIVE_HIGH>;
553 pinctrl-names = "default", "sleep";
554 pinctrl-0 = <&sdc2_default_state &sdc2_card_det_n>;
555 pinctrl-1 = <&sdc2_sleep_state &sdc2_card_det_n>;
556 vmmc-supply = <&vreg_l9c_2p96>;
557 vqmmc-supply = <&vreg_l6c_1p8>;
558 no-sdio;
559 no-mmc;
565 firmware-name = "qcom/sm8350/slpi.mbn";
569 gpio-reserved-ranges = <52 8>;
571 gpio-line-names =
776 pcie0_default_state: pcie0-default-state {
777 perst-pins {
780 drive-strength = <2>;
781 bias-pull-down;
784 clkreq-pins {
787 drive-strength = <2>;
788 bias-pull-up;
791 wake-pins {
794 drive-strength = <2>;
795 bias-pull-up;
799 pcie1_default_state: pcie1-default-state {
800 perst-pins {
803 drive-strength = <2>;
804 bias-pull-down;
807 clkreq-pins {
810 drive-strength = <2>;
811 bias-pull-up;
814 wake-pins {
817 drive-strength = <2>;
818 bias-pull-up;
822 sdc2_card_det_n: sd-card-det-n-state {
825 drive-strength = <2>;
826 bias-pull-up;
837 reset-gpios = <&tlmm 203 GPIO_ACTIVE_LOW>;
839 vcc-supply = <&vreg_l7b_2p96>;
840 vcc-max-microamp = <800000>;
841 vccq-supply = <&vreg_l9b_1p2>;
842 vccq-max-microamp = <900000>;
843 vdd-hba-supply = <&vreg_l9b_1p2>;
849 vdda-phy-supply = <&vreg_l5b_0p88>;
850 vdda-pll-supply = <&vreg_l6b_1p2>;
859 usb-role-switch;
863 remote-endpoint = <&pmic_glink_hs_in>;
867 remote-endpoint = <&usb_1_qmpphy_usb_ss_in>;
873 vdda-pll-supply = <&vreg_l5b_0p88>;
874 vdda18-supply = <&vreg_l1c_1p8>;
875 vdda33-supply = <&vreg_l2b_3p07>;
881 vdda-phy-supply = <&vreg_l6b_1p2>;
882 vdda-pll-supply = <&vreg_l1b_0p88>;
884 orientation-switch;
888 remote-endpoint = <&mdss_dp0_out>;
892 remote-endpoint = <&pmic_glink_ss_in>;
896 remote-endpoint = <&usb_1_dwc3_ss>;
906 pinctrl-names = "default";
907 pinctrl-0 = <&usb_hub_enabled_state>;
913 vdda-pll-supply = <&vreg_l5b_0p88>;
914 vdda18-supply = <&vreg_l1c_1p8>;
915 vdda33-supply = <&vreg_l2b_3p07>;
921 vdda-phy-supply = <&vreg_l6b_1p2>;
922 vdda-pll-supply = <&vreg_l5b_0p88>;
925 /* PINCTRL - additions to nodes defined in sm8350.dtsi */
928 usb_hub_enabled_state: usb-hub-enabled-state {
932 drive-strength = <2>;
933 output-low;
936 lt9611_state: lt9611-state {
937 rst-pins {
941 output-high;
942 input-disable;
945 irq-pins {
948 bias-disable;