xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/sm8650-mtp.dts (revision 01950c46b8155250f64374fb72fc11faa44bf099)
18d13bc63SEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause
28d13bc63SEmmanuel Vadot/*
38d13bc63SEmmanuel Vadot * Copyright (c) 2023, Linaro Limited
48d13bc63SEmmanuel Vadot */
58d13bc63SEmmanuel Vadot
68d13bc63SEmmanuel Vadot/dts-v1/;
78d13bc63SEmmanuel Vadot
88d13bc63SEmmanuel Vadot#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
98d13bc63SEmmanuel Vadot#include "sm8650.dtsi"
108d13bc63SEmmanuel Vadot#include "pm8010.dtsi"
118d13bc63SEmmanuel Vadot#include "pm8550.dtsi"
128d13bc63SEmmanuel Vadot#include "pm8550b.dtsi"
138d13bc63SEmmanuel Vadot#define PMK8550VE_SID 8
148d13bc63SEmmanuel Vadot#include "pm8550ve.dtsi"
158d13bc63SEmmanuel Vadot#include "pm8550vs.dtsi"
168d13bc63SEmmanuel Vadot#include "pmk8550.dtsi"
178d13bc63SEmmanuel Vadot#include "pmr735d_a.dtsi"
188d13bc63SEmmanuel Vadot
198d13bc63SEmmanuel Vadot/ {
208d13bc63SEmmanuel Vadot	model = "Qualcomm Technologies, Inc. SM8650 MTP";
218d13bc63SEmmanuel Vadot	compatible = "qcom,sm8650-mtp", "qcom,sm8650";
228d13bc63SEmmanuel Vadot
238d13bc63SEmmanuel Vadot	aliases {
248d13bc63SEmmanuel Vadot		serial0 = &uart15;
258d13bc63SEmmanuel Vadot	};
268d13bc63SEmmanuel Vadot
278d13bc63SEmmanuel Vadot	chosen {
288d13bc63SEmmanuel Vadot		stdout-path = "serial0:115200n8";
298d13bc63SEmmanuel Vadot	};
308d13bc63SEmmanuel Vadot
318d13bc63SEmmanuel Vadot	pmic-glink {
328d13bc63SEmmanuel Vadot		compatible = "qcom,sm8650-pmic-glink",
338d13bc63SEmmanuel Vadot			     "qcom,sm8550-pmic-glink",
348d13bc63SEmmanuel Vadot			     "qcom,pmic-glink";
358d13bc63SEmmanuel Vadot		#address-cells = <1>;
368d13bc63SEmmanuel Vadot		#size-cells = <0>;
378d13bc63SEmmanuel Vadot		orientation-gpios = <&tlmm 29 GPIO_ACTIVE_HIGH>;
388d13bc63SEmmanuel Vadot
398d13bc63SEmmanuel Vadot		connector@0 {
408d13bc63SEmmanuel Vadot			compatible = "usb-c-connector";
418d13bc63SEmmanuel Vadot			reg = <0>;
428d13bc63SEmmanuel Vadot
438d13bc63SEmmanuel Vadot			power-role = "dual";
448d13bc63SEmmanuel Vadot			data-role = "dual";
458d13bc63SEmmanuel Vadot
468d13bc63SEmmanuel Vadot			ports {
478d13bc63SEmmanuel Vadot				#address-cells = <1>;
488d13bc63SEmmanuel Vadot				#size-cells = <0>;
498d13bc63SEmmanuel Vadot
508d13bc63SEmmanuel Vadot				port@0 {
518d13bc63SEmmanuel Vadot					reg = <0>;
528d13bc63SEmmanuel Vadot
538d13bc63SEmmanuel Vadot					pmic_glink_hs_in: endpoint {
548d13bc63SEmmanuel Vadot						remote-endpoint = <&usb_1_dwc3_hs>;
558d13bc63SEmmanuel Vadot					};
568d13bc63SEmmanuel Vadot				};
578d13bc63SEmmanuel Vadot
588d13bc63SEmmanuel Vadot				port@1 {
598d13bc63SEmmanuel Vadot					reg = <1>;
608d13bc63SEmmanuel Vadot
618d13bc63SEmmanuel Vadot					pmic_glink_ss_in: endpoint {
628d13bc63SEmmanuel Vadot						remote-endpoint = <&usb_1_dwc3_ss>;
638d13bc63SEmmanuel Vadot					};
648d13bc63SEmmanuel Vadot				};
658d13bc63SEmmanuel Vadot			};
668d13bc63SEmmanuel Vadot		};
678d13bc63SEmmanuel Vadot	};
688d13bc63SEmmanuel Vadot
69*01950c46SEmmanuel Vadot	sound {
70*01950c46SEmmanuel Vadot		compatible = "qcom,sm8650-sndcard", "qcom,sm8450-sndcard";
71*01950c46SEmmanuel Vadot		model = "SM8650-MTP";
72*01950c46SEmmanuel Vadot		audio-routing = "SpkrLeft IN", "WSA_SPK1 OUT",
73*01950c46SEmmanuel Vadot				"SpkrRight IN", "WSA_SPK2 OUT";
74*01950c46SEmmanuel Vadot
75*01950c46SEmmanuel Vadot		wsa-dai-link {
76*01950c46SEmmanuel Vadot			link-name = "WSA Playback";
77*01950c46SEmmanuel Vadot
78*01950c46SEmmanuel Vadot			cpu {
79*01950c46SEmmanuel Vadot				sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>;
80*01950c46SEmmanuel Vadot			};
81*01950c46SEmmanuel Vadot
82*01950c46SEmmanuel Vadot			codec {
83*01950c46SEmmanuel Vadot				sound-dai = <&left_spkr>, <&right_spkr>, <&swr0 0>, <&lpass_wsamacro 0>;
84*01950c46SEmmanuel Vadot			};
85*01950c46SEmmanuel Vadot
86*01950c46SEmmanuel Vadot			platform {
87*01950c46SEmmanuel Vadot				sound-dai = <&q6apm>;
88*01950c46SEmmanuel Vadot			};
89*01950c46SEmmanuel Vadot		};
90*01950c46SEmmanuel Vadot	};
91*01950c46SEmmanuel Vadot
928d13bc63SEmmanuel Vadot	vph_pwr: vph-pwr-regulator {
938d13bc63SEmmanuel Vadot		compatible = "regulator-fixed";
948d13bc63SEmmanuel Vadot
958d13bc63SEmmanuel Vadot		regulator-name = "vph_pwr";
968d13bc63SEmmanuel Vadot		regulator-min-microvolt = <3700000>;
978d13bc63SEmmanuel Vadot		regulator-max-microvolt = <3700000>;
988d13bc63SEmmanuel Vadot
998d13bc63SEmmanuel Vadot		regulator-always-on;
1008d13bc63SEmmanuel Vadot		regulator-boot-on;
1018d13bc63SEmmanuel Vadot	};
1028d13bc63SEmmanuel Vadot};
1038d13bc63SEmmanuel Vadot
1048d13bc63SEmmanuel Vadot&apps_rsc {
1058d13bc63SEmmanuel Vadot	regulators-0 {
1068d13bc63SEmmanuel Vadot		compatible = "qcom,pm8550-rpmh-regulators";
1078d13bc63SEmmanuel Vadot
1088d13bc63SEmmanuel Vadot		vdd-bob1-supply = <&vph_pwr>;
1098d13bc63SEmmanuel Vadot		vdd-bob2-supply = <&vph_pwr>;
1108d13bc63SEmmanuel Vadot		vdd-l2-l13-l14-supply = <&vreg_bob1>;
1118d13bc63SEmmanuel Vadot		vdd-l3-supply = <&vreg_s1c_1p2>;
1128d13bc63SEmmanuel Vadot		vdd-l5-l16-supply = <&vreg_bob1>;
1138d13bc63SEmmanuel Vadot		vdd-l6-l7-supply = <&vreg_bob1>;
1148d13bc63SEmmanuel Vadot		vdd-l8-l9-supply = <&vreg_bob1>;
1158d13bc63SEmmanuel Vadot		vdd-l11-supply = <&vreg_s1c_1p2>;
1168d13bc63SEmmanuel Vadot		vdd-l12-supply = <&vreg_s6c_1p8>;
1178d13bc63SEmmanuel Vadot		vdd-l15-supply = <&vreg_s6c_1p8>;
1188d13bc63SEmmanuel Vadot		vdd-l17-supply = <&vreg_bob2>;
1198d13bc63SEmmanuel Vadot
1208d13bc63SEmmanuel Vadot		qcom,pmic-id = "b";
1218d13bc63SEmmanuel Vadot
1228d13bc63SEmmanuel Vadot		vreg_bob1: bob1 {
1238d13bc63SEmmanuel Vadot			regulator-name = "vreg_bob1";
1248d13bc63SEmmanuel Vadot			regulator-min-microvolt = <3296000>;
1258d13bc63SEmmanuel Vadot			regulator-max-microvolt = <3960000>;
1268d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1278d13bc63SEmmanuel Vadot		};
1288d13bc63SEmmanuel Vadot
1298d13bc63SEmmanuel Vadot		vreg_bob2: bob2 {
1308d13bc63SEmmanuel Vadot			regulator-name = "vreg_bob2";
1318d13bc63SEmmanuel Vadot			regulator-min-microvolt = <2720000>;
1328d13bc63SEmmanuel Vadot			regulator-max-microvolt = <3008000>;
1338d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1348d13bc63SEmmanuel Vadot		};
1358d13bc63SEmmanuel Vadot
1368d13bc63SEmmanuel Vadot		vreg_l2b_3p0: ldo2 {
1378d13bc63SEmmanuel Vadot			regulator-name = "vreg_l2b_3p0";
1388d13bc63SEmmanuel Vadot			regulator-min-microvolt = <3008000>;
1398d13bc63SEmmanuel Vadot			regulator-max-microvolt = <3008000>;
1408d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1418d13bc63SEmmanuel Vadot			regulator-allow-set-load;
1428d13bc63SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
1438d13bc63SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
1448d13bc63SEmmanuel Vadot		};
1458d13bc63SEmmanuel Vadot
1468d13bc63SEmmanuel Vadot		vreg_l5b_3p1: ldo5 {
1478d13bc63SEmmanuel Vadot			regulator-name = "vreg_l5b_3p1";
1488d13bc63SEmmanuel Vadot			regulator-min-microvolt = <3104000>;
1498d13bc63SEmmanuel Vadot			regulator-max-microvolt = <3104000>;
1508d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1518d13bc63SEmmanuel Vadot			regulator-allow-set-load;
1528d13bc63SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
1538d13bc63SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
1548d13bc63SEmmanuel Vadot		};
1558d13bc63SEmmanuel Vadot
1568d13bc63SEmmanuel Vadot		vreg_l6b_1p8: ldo6 {
1578d13bc63SEmmanuel Vadot			regulator-name = "vreg_l6b_1p8";
1588d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
1598d13bc63SEmmanuel Vadot			regulator-max-microvolt = <3008000>;
1608d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1618d13bc63SEmmanuel Vadot			regulator-allow-set-load;
1628d13bc63SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
1638d13bc63SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
1648d13bc63SEmmanuel Vadot		};
1658d13bc63SEmmanuel Vadot
1668d13bc63SEmmanuel Vadot		vreg_l7b_1p8: ldo7 {
1678d13bc63SEmmanuel Vadot			regulator-name = "vreg_l7b_1p8";
1688d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
1698d13bc63SEmmanuel Vadot			regulator-max-microvolt = <3008000>;
1708d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1718d13bc63SEmmanuel Vadot		};
1728d13bc63SEmmanuel Vadot
1738d13bc63SEmmanuel Vadot		vreg_l8b_1p8: ldo8 {
1748d13bc63SEmmanuel Vadot			regulator-name = "vreg_l8b_1p8";
1758d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
1768d13bc63SEmmanuel Vadot			regulator-max-microvolt = <3008000>;
1778d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1788d13bc63SEmmanuel Vadot			regulator-allow-set-load;
1798d13bc63SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
1808d13bc63SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
1818d13bc63SEmmanuel Vadot		};
1828d13bc63SEmmanuel Vadot
1838d13bc63SEmmanuel Vadot		vreg_l9b_2p9: ldo9 {
1848d13bc63SEmmanuel Vadot			regulator-name = "vreg_l9b_2p9";
1858d13bc63SEmmanuel Vadot			regulator-min-microvolt = <2960000>;
1868d13bc63SEmmanuel Vadot			regulator-max-microvolt = <3008000>;
1878d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1888d13bc63SEmmanuel Vadot			regulator-allow-set-load;
1898d13bc63SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
1908d13bc63SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
1918d13bc63SEmmanuel Vadot		};
1928d13bc63SEmmanuel Vadot
1938d13bc63SEmmanuel Vadot		vreg_l11b_1p2: ldo11 {
1948d13bc63SEmmanuel Vadot			regulator-name = "vreg_l11b_1p2";
1958d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
1968d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1504000>;
1978d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1988d13bc63SEmmanuel Vadot			regulator-allow-set-load;
1998d13bc63SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
2008d13bc63SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
2018d13bc63SEmmanuel Vadot		};
2028d13bc63SEmmanuel Vadot
2038d13bc63SEmmanuel Vadot		vreg_l12b_1p8: ldo12 {
2048d13bc63SEmmanuel Vadot			regulator-name = "vreg_l12b_1p8";
2058d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
2068d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
2078d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2088d13bc63SEmmanuel Vadot			regulator-allow-set-load;
2098d13bc63SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
2108d13bc63SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
2118d13bc63SEmmanuel Vadot		};
2128d13bc63SEmmanuel Vadot
2138d13bc63SEmmanuel Vadot		vreg_l13b_3p0: ldo13 {
2148d13bc63SEmmanuel Vadot			regulator-name = "vreg_l13b_3p0";
2158d13bc63SEmmanuel Vadot			regulator-min-microvolt = <3000000>;
2168d13bc63SEmmanuel Vadot			regulator-max-microvolt = <3000000>;
2178d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2188d13bc63SEmmanuel Vadot			regulator-allow-set-load;
2198d13bc63SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
2208d13bc63SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
2218d13bc63SEmmanuel Vadot		};
2228d13bc63SEmmanuel Vadot
2238d13bc63SEmmanuel Vadot		vreg_l14b_3p2: ldo14 {
2248d13bc63SEmmanuel Vadot			regulator-name = "vreg_l14b_3p2";
2258d13bc63SEmmanuel Vadot			regulator-min-microvolt = <3200000>;
2268d13bc63SEmmanuel Vadot			regulator-max-microvolt = <3200000>;
2278d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2288d13bc63SEmmanuel Vadot			regulator-allow-set-load;
2298d13bc63SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
2308d13bc63SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
2318d13bc63SEmmanuel Vadot		};
2328d13bc63SEmmanuel Vadot
2338d13bc63SEmmanuel Vadot		vreg_l15b_1p8: ldo15 {
2348d13bc63SEmmanuel Vadot			regulator-name = "vreg_l15b_1p8";
2358d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
2368d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
2378d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2388d13bc63SEmmanuel Vadot			regulator-allow-set-load;
2398d13bc63SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
2408d13bc63SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
2418d13bc63SEmmanuel Vadot		};
2428d13bc63SEmmanuel Vadot
2438d13bc63SEmmanuel Vadot		vreg_l16b_2p8: ldo16 {
2448d13bc63SEmmanuel Vadot			regulator-name = "vreg_l16b_2p8";
2458d13bc63SEmmanuel Vadot			regulator-min-microvolt = <2800000>;
2468d13bc63SEmmanuel Vadot			regulator-max-microvolt = <2800000>;
2478d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2488d13bc63SEmmanuel Vadot			regulator-allow-set-load;
2498d13bc63SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
2508d13bc63SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
2518d13bc63SEmmanuel Vadot		};
2528d13bc63SEmmanuel Vadot
2538d13bc63SEmmanuel Vadot		vreg_l17b_2p5: ldo17 {
2548d13bc63SEmmanuel Vadot			regulator-name = "vreg_l17b_2p5";
2558d13bc63SEmmanuel Vadot			regulator-min-microvolt = <2504000>;
2568d13bc63SEmmanuel Vadot			regulator-max-microvolt = <2504000>;
2578d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2588d13bc63SEmmanuel Vadot			regulator-allow-set-load;
2598d13bc63SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
2608d13bc63SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
2618d13bc63SEmmanuel Vadot		};
2628d13bc63SEmmanuel Vadot	};
2638d13bc63SEmmanuel Vadot
2648d13bc63SEmmanuel Vadot	regulators-1 {
2658d13bc63SEmmanuel Vadot		compatible = "qcom,pm8550vs-rpmh-regulators";
2668d13bc63SEmmanuel Vadot
2678d13bc63SEmmanuel Vadot		vdd-l1-supply = <&vreg_s1c_1p2>;
2688d13bc63SEmmanuel Vadot		vdd-l2-supply = <&vreg_s1c_1p2>;
2698d13bc63SEmmanuel Vadot		vdd-l3-supply = <&vreg_s1c_1p2>;
2708d13bc63SEmmanuel Vadot		vdd-s1-supply = <&vph_pwr>;
2718d13bc63SEmmanuel Vadot		vdd-s2-supply = <&vph_pwr>;
2728d13bc63SEmmanuel Vadot		vdd-s3-supply = <&vph_pwr>;
2738d13bc63SEmmanuel Vadot		vdd-s4-supply = <&vph_pwr>;
2748d13bc63SEmmanuel Vadot		vdd-s5-supply = <&vph_pwr>;
2758d13bc63SEmmanuel Vadot		vdd-s6-supply = <&vph_pwr>;
2768d13bc63SEmmanuel Vadot
2778d13bc63SEmmanuel Vadot		qcom,pmic-id = "c";
2788d13bc63SEmmanuel Vadot
2798d13bc63SEmmanuel Vadot		vreg_s1c_1p2: smps1 {
2808d13bc63SEmmanuel Vadot			regulator-name = "vreg_s1c_1p2";
2818d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1256000>;
2828d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1348000>;
2838d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2848d13bc63SEmmanuel Vadot		};
2858d13bc63SEmmanuel Vadot
2868d13bc63SEmmanuel Vadot		vreg_s2c_0p8: smps2 {
2878d13bc63SEmmanuel Vadot			regulator-name = "vreg_s2c_0p8";
2888d13bc63SEmmanuel Vadot			regulator-min-microvolt = <852000>;
2898d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1036000>;
2908d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2918d13bc63SEmmanuel Vadot		};
2928d13bc63SEmmanuel Vadot
2938d13bc63SEmmanuel Vadot		vreg_s3c_0p9: smps3 {
2948d13bc63SEmmanuel Vadot			regulator-name = "vreg_s3c_0p9";
2958d13bc63SEmmanuel Vadot			regulator-min-microvolt = <976000>;
2968d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1064000>;
2978d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2988d13bc63SEmmanuel Vadot		};
2998d13bc63SEmmanuel Vadot
3008d13bc63SEmmanuel Vadot		vreg_s4c_1p2: smps4 {
3018d13bc63SEmmanuel Vadot			regulator-name = "vreg_s4c_1p2";
3028d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1224000>;
3038d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1280000>;
3048d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3058d13bc63SEmmanuel Vadot		};
3068d13bc63SEmmanuel Vadot
3078d13bc63SEmmanuel Vadot		vreg_s5c_0p7: smps5 {
3088d13bc63SEmmanuel Vadot			regulator-name = "vreg_s5c_0p7";
3098d13bc63SEmmanuel Vadot			regulator-min-microvolt = <752000>;
3108d13bc63SEmmanuel Vadot			regulator-max-microvolt = <900000>;
3118d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3128d13bc63SEmmanuel Vadot		};
3138d13bc63SEmmanuel Vadot
3148d13bc63SEmmanuel Vadot		vreg_s6c_1p8: smps6 {
3158d13bc63SEmmanuel Vadot			regulator-name = "vreg_s6c_1p8";
3168d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1856000>;
3178d13bc63SEmmanuel Vadot			regulator-max-microvolt = <2000000>;
3188d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3198d13bc63SEmmanuel Vadot		};
3208d13bc63SEmmanuel Vadot
3218d13bc63SEmmanuel Vadot		vreg_l1c_1p2: ldo1 {
3228d13bc63SEmmanuel Vadot			regulator-name = "vreg_l1c_1p2";
3238d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
3248d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1200000>;
3258d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3268d13bc63SEmmanuel Vadot			regulator-allow-set-load;
3278d13bc63SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
3288d13bc63SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
3298d13bc63SEmmanuel Vadot		};
3308d13bc63SEmmanuel Vadot
3318d13bc63SEmmanuel Vadot		vreg_l3c_1p2: ldo3 {
3328d13bc63SEmmanuel Vadot			regulator-name = "vreg_l3c_1p2";
3338d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
3348d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1200000>;
3358d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3368d13bc63SEmmanuel Vadot			regulator-allow-set-load;
3378d13bc63SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
3388d13bc63SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
3398d13bc63SEmmanuel Vadot		};
3408d13bc63SEmmanuel Vadot	};
3418d13bc63SEmmanuel Vadot
3428d13bc63SEmmanuel Vadot	regulators-2 {
3438d13bc63SEmmanuel Vadot		compatible = "qcom,pm8550vs-rpmh-regulators";
3448d13bc63SEmmanuel Vadot
3458d13bc63SEmmanuel Vadot		vdd-l1-supply = <&vreg_s3c_0p9>;
3468d13bc63SEmmanuel Vadot
3478d13bc63SEmmanuel Vadot		qcom,pmic-id = "d";
3488d13bc63SEmmanuel Vadot
3498d13bc63SEmmanuel Vadot		vreg_l1d_0p88: ldo1 {
3508d13bc63SEmmanuel Vadot			regulator-name = "vreg_l1d_0p88";
3518d13bc63SEmmanuel Vadot			regulator-min-microvolt = <912000>;
3528d13bc63SEmmanuel Vadot			regulator-max-microvolt = <920000>;
3538d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3548d13bc63SEmmanuel Vadot			regulator-allow-set-load;
3558d13bc63SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
3568d13bc63SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
3578d13bc63SEmmanuel Vadot		};
3588d13bc63SEmmanuel Vadot	};
3598d13bc63SEmmanuel Vadot
3608d13bc63SEmmanuel Vadot	regulators-3 {
3618d13bc63SEmmanuel Vadot		compatible = "qcom,pm8550vs-rpmh-regulators";
3628d13bc63SEmmanuel Vadot
3638d13bc63SEmmanuel Vadot		vdd-l3-supply = <&vreg_s3c_0p9>;
3648d13bc63SEmmanuel Vadot
3658d13bc63SEmmanuel Vadot		qcom,pmic-id = "e";
3668d13bc63SEmmanuel Vadot
3678d13bc63SEmmanuel Vadot		vreg_l3e_0p9: ldo3 {
3688d13bc63SEmmanuel Vadot			regulator-name = "vreg_l3e_0p9";
3698d13bc63SEmmanuel Vadot			regulator-min-microvolt = <880000>;
3708d13bc63SEmmanuel Vadot			regulator-max-microvolt = <920000>;
3718d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3728d13bc63SEmmanuel Vadot			regulator-allow-set-load;
3738d13bc63SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
3748d13bc63SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
3758d13bc63SEmmanuel Vadot		};
3768d13bc63SEmmanuel Vadot	};
3778d13bc63SEmmanuel Vadot
3788d13bc63SEmmanuel Vadot	regulators-4 {
3798d13bc63SEmmanuel Vadot		compatible = "qcom,pm8550vs-rpmh-regulators";
3808d13bc63SEmmanuel Vadot
3818d13bc63SEmmanuel Vadot		vdd-l1-supply = <&vreg_s3c_0p9>;
3828d13bc63SEmmanuel Vadot		vdd-l3-supply = <&vreg_s3c_0p9>;
3838d13bc63SEmmanuel Vadot
3848d13bc63SEmmanuel Vadot		qcom,pmic-id = "g";
3858d13bc63SEmmanuel Vadot
3868d13bc63SEmmanuel Vadot		vreg_l1g_0p91: ldo1 {
3878d13bc63SEmmanuel Vadot			regulator-name = "vreg_l1g_0p91";
3888d13bc63SEmmanuel Vadot			regulator-min-microvolt = <912000>;
3898d13bc63SEmmanuel Vadot			regulator-max-microvolt = <920000>;
3908d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3918d13bc63SEmmanuel Vadot			regulator-allow-set-load;
3928d13bc63SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
3938d13bc63SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
3948d13bc63SEmmanuel Vadot		};
3958d13bc63SEmmanuel Vadot
3968d13bc63SEmmanuel Vadot		vreg_l3g_0p91: ldo3 {
3978d13bc63SEmmanuel Vadot			regulator-name = "vreg_l3g_0p91";
3988d13bc63SEmmanuel Vadot			regulator-min-microvolt = <880000>;
3998d13bc63SEmmanuel Vadot			regulator-max-microvolt = <912000>;
4008d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
4018d13bc63SEmmanuel Vadot			regulator-allow-set-load;
4028d13bc63SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
4038d13bc63SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
4048d13bc63SEmmanuel Vadot		};
4058d13bc63SEmmanuel Vadot	};
4068d13bc63SEmmanuel Vadot
4078d13bc63SEmmanuel Vadot	regulators-5 {
4088d13bc63SEmmanuel Vadot		compatible = "qcom,pm8550ve-rpmh-regulators";
4098d13bc63SEmmanuel Vadot
4108d13bc63SEmmanuel Vadot		vdd-l1-supply = <&vreg_s3c_0p9>;
4118d13bc63SEmmanuel Vadot		vdd-l2-supply = <&vreg_s3c_0p9>;
4128d13bc63SEmmanuel Vadot		vdd-l3-supply = <&vreg_s1c_1p2>;
4138d13bc63SEmmanuel Vadot		vdd-s4-supply = <&vph_pwr>;
4148d13bc63SEmmanuel Vadot
4158d13bc63SEmmanuel Vadot		qcom,pmic-id = "i";
4168d13bc63SEmmanuel Vadot
4178d13bc63SEmmanuel Vadot		vreg_s4i_0p85: smps4 {
4188d13bc63SEmmanuel Vadot			regulator-name = "vreg_s4i_0p85";
4198d13bc63SEmmanuel Vadot			regulator-min-microvolt = <852000>;
4208d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1004000>;
4218d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
4228d13bc63SEmmanuel Vadot		};
4238d13bc63SEmmanuel Vadot
4248d13bc63SEmmanuel Vadot		vreg_l1i_0p88: ldo1 {
4258d13bc63SEmmanuel Vadot			regulator-name = "vreg_l1i_0p88";
4268d13bc63SEmmanuel Vadot			regulator-min-microvolt = <880000>;
4278d13bc63SEmmanuel Vadot			regulator-max-microvolt = <912000>;
4288d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
4298d13bc63SEmmanuel Vadot			regulator-allow-set-load;
4308d13bc63SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
4318d13bc63SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
4328d13bc63SEmmanuel Vadot		};
4338d13bc63SEmmanuel Vadot
4348d13bc63SEmmanuel Vadot		vreg_l2i_0p88: ldo2 {
4358d13bc63SEmmanuel Vadot			regulator-name = "vreg_l2i_0p88";
4368d13bc63SEmmanuel Vadot			regulator-min-microvolt = <880000>;
4378d13bc63SEmmanuel Vadot			regulator-max-microvolt = <912000>;
4388d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
4398d13bc63SEmmanuel Vadot			regulator-allow-set-load;
4408d13bc63SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
4418d13bc63SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
4428d13bc63SEmmanuel Vadot		};
4438d13bc63SEmmanuel Vadot
4448d13bc63SEmmanuel Vadot		vreg_l3i_1p2: ldo3 {
4458d13bc63SEmmanuel Vadot			regulator-name = "vreg_l3i_0p91";
4468d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
4478d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1200000>;
4488d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
4498d13bc63SEmmanuel Vadot			regulator-allow-set-load;
4508d13bc63SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
4518d13bc63SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
4528d13bc63SEmmanuel Vadot		};
4538d13bc63SEmmanuel Vadot	};
454*01950c46SEmmanuel Vadot
455*01950c46SEmmanuel Vadot	regulators-6 {
456*01950c46SEmmanuel Vadot		compatible = "qcom,pm8010-rpmh-regulators";
457*01950c46SEmmanuel Vadot		qcom,pmic-id = "m";
458*01950c46SEmmanuel Vadot
459*01950c46SEmmanuel Vadot		vdd-l1-l2-supply = <&vreg_s1c_1p2>;
460*01950c46SEmmanuel Vadot		vdd-l3-l4-supply = <&vreg_bob2>;
461*01950c46SEmmanuel Vadot		vdd-l5-supply = <&vreg_s6c_1p8>;
462*01950c46SEmmanuel Vadot		vdd-l6-supply = <&vreg_bob1>;
463*01950c46SEmmanuel Vadot		vdd-l7-supply = <&vreg_bob1>;
464*01950c46SEmmanuel Vadot
465*01950c46SEmmanuel Vadot		vreg_l1m_1p1: ldo1 {
466*01950c46SEmmanuel Vadot			regulator-name = "vreg_l1m_1p1";
467*01950c46SEmmanuel Vadot			regulator-min-microvolt = <1104000>;
468*01950c46SEmmanuel Vadot			regulator-max-microvolt = <1104000>;
469*01950c46SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
470*01950c46SEmmanuel Vadot			regulator-allow-set-load;
471*01950c46SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
472*01950c46SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
473*01950c46SEmmanuel Vadot		};
474*01950c46SEmmanuel Vadot
475*01950c46SEmmanuel Vadot		vreg_l2m_1p056: ldo2 {
476*01950c46SEmmanuel Vadot			regulator-name = "vreg_l2m_1p056";
477*01950c46SEmmanuel Vadot			regulator-min-microvolt = <1056000>;
478*01950c46SEmmanuel Vadot			regulator-max-microvolt = <1056000>;
479*01950c46SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
480*01950c46SEmmanuel Vadot			regulator-allow-set-load;
481*01950c46SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
482*01950c46SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
483*01950c46SEmmanuel Vadot		};
484*01950c46SEmmanuel Vadot
485*01950c46SEmmanuel Vadot		vreg_l3m_2p8: ldo3 {
486*01950c46SEmmanuel Vadot			regulator-name = "vreg_l3m_2p8";
487*01950c46SEmmanuel Vadot			regulator-min-microvolt = <2800000>;
488*01950c46SEmmanuel Vadot			regulator-max-microvolt = <2800000>;
489*01950c46SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
490*01950c46SEmmanuel Vadot		};
491*01950c46SEmmanuel Vadot
492*01950c46SEmmanuel Vadot		vreg_l4m_2p8: ldo4 {
493*01950c46SEmmanuel Vadot			regulator-name = "vreg_l4m_2p8";
494*01950c46SEmmanuel Vadot			regulator-min-microvolt = <2800000>;
495*01950c46SEmmanuel Vadot			regulator-max-microvolt = <2800000>;
496*01950c46SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
497*01950c46SEmmanuel Vadot		};
498*01950c46SEmmanuel Vadot
499*01950c46SEmmanuel Vadot		vreg_l5m_1p8: ldo5 {
500*01950c46SEmmanuel Vadot			regulator-name = "vreg_l5m_1p8";
501*01950c46SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
502*01950c46SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
503*01950c46SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
504*01950c46SEmmanuel Vadot		};
505*01950c46SEmmanuel Vadot
506*01950c46SEmmanuel Vadot		vreg_l6m_2p8: ldo6 {
507*01950c46SEmmanuel Vadot			regulator-name = "vreg_l6m_2p8";
508*01950c46SEmmanuel Vadot			regulator-min-microvolt = <2800000>;
509*01950c46SEmmanuel Vadot			regulator-max-microvolt = <2800000>;
510*01950c46SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
511*01950c46SEmmanuel Vadot		};
512*01950c46SEmmanuel Vadot
513*01950c46SEmmanuel Vadot		vreg_l7m_2p96: ldo7 {
514*01950c46SEmmanuel Vadot			regulator-name = "vreg_l7m_2p96";
515*01950c46SEmmanuel Vadot			regulator-min-microvolt = <2960000>;
516*01950c46SEmmanuel Vadot			regulator-max-microvolt = <2960000>;
517*01950c46SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
518*01950c46SEmmanuel Vadot		};
519*01950c46SEmmanuel Vadot	};
520*01950c46SEmmanuel Vadot
521*01950c46SEmmanuel Vadot	regulators-7 {
522*01950c46SEmmanuel Vadot		compatible = "qcom,pm8010-rpmh-regulators";
523*01950c46SEmmanuel Vadot		qcom,pmic-id = "n";
524*01950c46SEmmanuel Vadot
525*01950c46SEmmanuel Vadot		vdd-l1-l2-supply = <&vreg_s1c_1p2>;
526*01950c46SEmmanuel Vadot		vdd-l3-l4-supply = <&vreg_s6c_1p8>;
527*01950c46SEmmanuel Vadot		vdd-l5-supply = <&vreg_bob2>;
528*01950c46SEmmanuel Vadot		vdd-l6-supply = <&vreg_bob2>;
529*01950c46SEmmanuel Vadot		vdd-l7-supply = <&vreg_bob1>;
530*01950c46SEmmanuel Vadot
531*01950c46SEmmanuel Vadot		vreg_l1n_1p1: ldo1 {
532*01950c46SEmmanuel Vadot			regulator-name = "vreg_l1n_1p1";
533*01950c46SEmmanuel Vadot			regulator-min-microvolt = <1104000>;
534*01950c46SEmmanuel Vadot			regulator-max-microvolt = <1104000>;
535*01950c46SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
536*01950c46SEmmanuel Vadot			regulator-allow-set-load;
537*01950c46SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
538*01950c46SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
539*01950c46SEmmanuel Vadot		};
540*01950c46SEmmanuel Vadot
541*01950c46SEmmanuel Vadot		vreg_l2n_1p056: ldo2 {
542*01950c46SEmmanuel Vadot			regulator-name = "vreg_l2n_1p056";
543*01950c46SEmmanuel Vadot			regulator-min-microvolt = <1056000>;
544*01950c46SEmmanuel Vadot			regulator-max-microvolt = <1056000>;
545*01950c46SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
546*01950c46SEmmanuel Vadot			regulator-allow-set-load;
547*01950c46SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
548*01950c46SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
549*01950c46SEmmanuel Vadot		};
550*01950c46SEmmanuel Vadot
551*01950c46SEmmanuel Vadot		vreg_l3n_1p8: ldo3 {
552*01950c46SEmmanuel Vadot			regulator-name = "vreg_l3n_1p8";
553*01950c46SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
554*01950c46SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
555*01950c46SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
556*01950c46SEmmanuel Vadot		};
557*01950c46SEmmanuel Vadot
558*01950c46SEmmanuel Vadot		vreg_l4n_1p8: ldo4 {
559*01950c46SEmmanuel Vadot			regulator-name = "vreg_l4n_1p8";
560*01950c46SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
561*01950c46SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
562*01950c46SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
563*01950c46SEmmanuel Vadot		};
564*01950c46SEmmanuel Vadot
565*01950c46SEmmanuel Vadot		vreg_l5n_2p8: ldo5 {
566*01950c46SEmmanuel Vadot			regulator-name = "vreg_l5n_2p8";
567*01950c46SEmmanuel Vadot			regulator-min-microvolt = <2800000>;
568*01950c46SEmmanuel Vadot			regulator-max-microvolt = <2800000>;
569*01950c46SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
570*01950c46SEmmanuel Vadot		};
571*01950c46SEmmanuel Vadot
572*01950c46SEmmanuel Vadot		vreg_l6n_2p8: ldo6 {
573*01950c46SEmmanuel Vadot			regulator-name = "vreg_l6n_2p8";
574*01950c46SEmmanuel Vadot			regulator-min-microvolt = <2800000>;
575*01950c46SEmmanuel Vadot			regulator-max-microvolt = <2800000>;
576*01950c46SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
577*01950c46SEmmanuel Vadot		};
578*01950c46SEmmanuel Vadot
579*01950c46SEmmanuel Vadot		vreg_l7n_3p3: ldo7 {
580*01950c46SEmmanuel Vadot			regulator-name = "vreg_l7n_3p3";
581*01950c46SEmmanuel Vadot			regulator-min-microvolt = <3304000>;
582*01950c46SEmmanuel Vadot			regulator-max-microvolt = <3304000>;
583*01950c46SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
584*01950c46SEmmanuel Vadot		};
585*01950c46SEmmanuel Vadot	};
5868d13bc63SEmmanuel Vadot};
5878d13bc63SEmmanuel Vadot
5888d13bc63SEmmanuel Vadot&dispcc {
5898d13bc63SEmmanuel Vadot	status = "okay";
5908d13bc63SEmmanuel Vadot};
5918d13bc63SEmmanuel Vadot
5928d13bc63SEmmanuel Vadot&lpass_tlmm {
5938d13bc63SEmmanuel Vadot	spkr_1_sd_n_active: spkr-1-sd-n-active-state {
5948d13bc63SEmmanuel Vadot		pins = "gpio21";
5958d13bc63SEmmanuel Vadot		function = "gpio";
5968d13bc63SEmmanuel Vadot		drive-strength = <16>;
5978d13bc63SEmmanuel Vadot		bias-disable;
5988d13bc63SEmmanuel Vadot		output-low;
5998d13bc63SEmmanuel Vadot	};
6008d13bc63SEmmanuel Vadot};
6018d13bc63SEmmanuel Vadot
6028d13bc63SEmmanuel Vadot&mdss {
6038d13bc63SEmmanuel Vadot	status = "okay";
6048d13bc63SEmmanuel Vadot};
6058d13bc63SEmmanuel Vadot
6068d13bc63SEmmanuel Vadot&mdss_dsi0 {
6078d13bc63SEmmanuel Vadot	vdda-supply = <&vreg_l3i_1p2>;
6088d13bc63SEmmanuel Vadot
6098d13bc63SEmmanuel Vadot	status = "okay";
6108d13bc63SEmmanuel Vadot
6118d13bc63SEmmanuel Vadot	panel@0 {
6128d13bc63SEmmanuel Vadot		compatible = "visionox,vtdr6130";
6138d13bc63SEmmanuel Vadot		reg = <0>;
6148d13bc63SEmmanuel Vadot
6158d13bc63SEmmanuel Vadot		reset-gpios = <&tlmm 133 GPIO_ACTIVE_LOW>;
6168d13bc63SEmmanuel Vadot
6178d13bc63SEmmanuel Vadot		vddio-supply = <&vreg_l12b_1p8>;
6188d13bc63SEmmanuel Vadot		vci-supply = <&vreg_l13b_3p0>;
6198d13bc63SEmmanuel Vadot		vdd-supply = <&vreg_l11b_1p2>;
6208d13bc63SEmmanuel Vadot
6218d13bc63SEmmanuel Vadot		pinctrl-0 = <&disp0_reset_n_active>, <&mdp_vsync_active>;
6228d13bc63SEmmanuel Vadot		pinctrl-1 = <&disp0_reset_n_suspend>, <&mdp_vsync_suspend>;
6238d13bc63SEmmanuel Vadot		pinctrl-names = "default", "sleep";
6248d13bc63SEmmanuel Vadot
6258d13bc63SEmmanuel Vadot		port {
6268d13bc63SEmmanuel Vadot			panel0_in: endpoint {
6278d13bc63SEmmanuel Vadot				remote-endpoint = <&mdss_dsi0_out>;
6288d13bc63SEmmanuel Vadot			};
6298d13bc63SEmmanuel Vadot		};
6308d13bc63SEmmanuel Vadot	};
6318d13bc63SEmmanuel Vadot};
6328d13bc63SEmmanuel Vadot
6338d13bc63SEmmanuel Vadot&mdss_dsi0_out {
6348d13bc63SEmmanuel Vadot	remote-endpoint = <&panel0_in>;
6358d13bc63SEmmanuel Vadot	data-lanes = <0 1 2 3>;
6368d13bc63SEmmanuel Vadot};
6378d13bc63SEmmanuel Vadot
6388d13bc63SEmmanuel Vadot&mdss_dsi0_phy {
6398d13bc63SEmmanuel Vadot	vdds-supply = <&vreg_l1i_0p88>;
6408d13bc63SEmmanuel Vadot
6418d13bc63SEmmanuel Vadot	status = "okay";
6428d13bc63SEmmanuel Vadot};
6438d13bc63SEmmanuel Vadot
6448d13bc63SEmmanuel Vadot&mdss_mdp {
6458d13bc63SEmmanuel Vadot	status = "okay";
6468d13bc63SEmmanuel Vadot};
6478d13bc63SEmmanuel Vadot
6488d13bc63SEmmanuel Vadot&pcie_1_phy_aux_clk {
6498d13bc63SEmmanuel Vadot	clock-frequency = <1000>;
6508d13bc63SEmmanuel Vadot};
6518d13bc63SEmmanuel Vadot
6528d13bc63SEmmanuel Vadot&pcie0 {
6538d13bc63SEmmanuel Vadot	wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>;
6548d13bc63SEmmanuel Vadot	perst-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>;
6558d13bc63SEmmanuel Vadot
6568d13bc63SEmmanuel Vadot	pinctrl-0 = <&pcie0_default_state>;
6578d13bc63SEmmanuel Vadot	pinctrl-names = "default";
6588d13bc63SEmmanuel Vadot
6598d13bc63SEmmanuel Vadot	status = "okay";
6608d13bc63SEmmanuel Vadot};
6618d13bc63SEmmanuel Vadot
6628d13bc63SEmmanuel Vadot&pcie0_phy {
6638d13bc63SEmmanuel Vadot	vdda-phy-supply = <&vreg_l1i_0p88>;
6648d13bc63SEmmanuel Vadot	vdda-pll-supply = <&vreg_l3i_1p2>;
6658d13bc63SEmmanuel Vadot
6668d13bc63SEmmanuel Vadot	status = "okay";
6678d13bc63SEmmanuel Vadot};
6688d13bc63SEmmanuel Vadot
6698d13bc63SEmmanuel Vadot&pcie1 {
6708d13bc63SEmmanuel Vadot	wake-gpios = <&tlmm 99 GPIO_ACTIVE_HIGH>;
6718d13bc63SEmmanuel Vadot	perst-gpios = <&tlmm 97 GPIO_ACTIVE_LOW>;
6728d13bc63SEmmanuel Vadot
6738d13bc63SEmmanuel Vadot	pinctrl-0 = <&pcie1_default_state>;
6748d13bc63SEmmanuel Vadot	pinctrl-names = "default";
6758d13bc63SEmmanuel Vadot
6768d13bc63SEmmanuel Vadot	status = "okay";
6778d13bc63SEmmanuel Vadot};
6788d13bc63SEmmanuel Vadot
6798d13bc63SEmmanuel Vadot&pcie1_phy {
6808d13bc63SEmmanuel Vadot	vdda-phy-supply = <&vreg_l3e_0p9>;
6818d13bc63SEmmanuel Vadot	vdda-pll-supply = <&vreg_l3i_1p2>;
6828d13bc63SEmmanuel Vadot	vdda-qref-supply = <&vreg_l1i_0p88>;
6838d13bc63SEmmanuel Vadot
6848d13bc63SEmmanuel Vadot	status = "okay";
6858d13bc63SEmmanuel Vadot};
6868d13bc63SEmmanuel Vadot
6878d13bc63SEmmanuel Vadot&pm8550_gpios {
6888d13bc63SEmmanuel Vadot	sdc2_card_det_n: sdc2-card-det-state {
6898d13bc63SEmmanuel Vadot		pins = "gpio12";
6908d13bc63SEmmanuel Vadot		function = "normal";
6918d13bc63SEmmanuel Vadot		bias-pull-up;
6928d13bc63SEmmanuel Vadot		input-enable;
6938d13bc63SEmmanuel Vadot		output-disable;
6948d13bc63SEmmanuel Vadot		power-source = <1>; /* 1.8 V */
6958d13bc63SEmmanuel Vadot	};
6968d13bc63SEmmanuel Vadot};
6978d13bc63SEmmanuel Vadot
6988d13bc63SEmmanuel Vadot&pm8550b_eusb2_repeater {
6998d13bc63SEmmanuel Vadot	vdd18-supply = <&vreg_l15b_1p8>;
7008d13bc63SEmmanuel Vadot	vdd3-supply = <&vreg_l5b_3p1>;
7018d13bc63SEmmanuel Vadot};
7028d13bc63SEmmanuel Vadot
7038d13bc63SEmmanuel Vadot&qupv3_id_1 {
7048d13bc63SEmmanuel Vadot	status = "okay";
7058d13bc63SEmmanuel Vadot};
7068d13bc63SEmmanuel Vadot
7078d13bc63SEmmanuel Vadot&remoteproc_adsp {
7088d13bc63SEmmanuel Vadot	firmware-name = "qcom/sm8650/adsp.mbn",
7098d13bc63SEmmanuel Vadot			"qcom/sm8650/adsp_dtb.mbn";
7108d13bc63SEmmanuel Vadot
7118d13bc63SEmmanuel Vadot	status = "okay";
7128d13bc63SEmmanuel Vadot};
7138d13bc63SEmmanuel Vadot
7148d13bc63SEmmanuel Vadot&remoteproc_cdsp {
7158d13bc63SEmmanuel Vadot	firmware-name = "qcom/sm8650/cdsp.mbn",
7168d13bc63SEmmanuel Vadot			"qcom/sm8650/cdsp_dtb.mbn";
7178d13bc63SEmmanuel Vadot
7188d13bc63SEmmanuel Vadot	status = "okay";
7198d13bc63SEmmanuel Vadot};
7208d13bc63SEmmanuel Vadot
7218d13bc63SEmmanuel Vadot&remoteproc_mpss {
7228d13bc63SEmmanuel Vadot	firmware-name = "qcom/sm8650/modem.mbn",
7238d13bc63SEmmanuel Vadot			"qcom/sm8650/modem_dtb.mbn";
7248d13bc63SEmmanuel Vadot
7258d13bc63SEmmanuel Vadot	status = "okay";
7268d13bc63SEmmanuel Vadot};
7278d13bc63SEmmanuel Vadot
7288d13bc63SEmmanuel Vadot&sdhc_2 {
7298d13bc63SEmmanuel Vadot	cd-gpios = <&pm8550_gpios 12 GPIO_ACTIVE_LOW>;
7308d13bc63SEmmanuel Vadot
7318d13bc63SEmmanuel Vadot	vmmc-supply = <&vreg_l9b_2p9>;
7328d13bc63SEmmanuel Vadot	vqmmc-supply = <&vreg_l8b_1p8>;
7338d13bc63SEmmanuel Vadot	bus-width = <4>;
7348d13bc63SEmmanuel Vadot	no-sdio;
7358d13bc63SEmmanuel Vadot	no-mmc;
7368d13bc63SEmmanuel Vadot
7378d13bc63SEmmanuel Vadot	pinctrl-0 = <&sdc2_default>, <&sdc2_card_det_n>;
7388d13bc63SEmmanuel Vadot	pinctrl-1 = <&sdc2_sleep>, <&sdc2_card_det_n>;
7398d13bc63SEmmanuel Vadot	pinctrl-names = "default", "sleep";
7408d13bc63SEmmanuel Vadot
7418d13bc63SEmmanuel Vadot	status = "okay";
7428d13bc63SEmmanuel Vadot};
7438d13bc63SEmmanuel Vadot
7448d13bc63SEmmanuel Vadot&sleep_clk {
7458d13bc63SEmmanuel Vadot	clock-frequency = <32000>;
7468d13bc63SEmmanuel Vadot};
7478d13bc63SEmmanuel Vadot
7488d13bc63SEmmanuel Vadot&swr0 {
7498d13bc63SEmmanuel Vadot	status = "okay";
7508d13bc63SEmmanuel Vadot
7518d13bc63SEmmanuel Vadot	/* WSA8845, Speaker Left */
7528d13bc63SEmmanuel Vadot	left_spkr: speaker@0,0 {
7538d13bc63SEmmanuel Vadot		compatible = "sdw20217020400";
7548d13bc63SEmmanuel Vadot		reg = <0 0>;
7558d13bc63SEmmanuel Vadot		pinctrl-0 = <&spkr_1_sd_n_active>;
7568d13bc63SEmmanuel Vadot		pinctrl-names = "default";
7578d13bc63SEmmanuel Vadot		powerdown-gpios = <&lpass_tlmm 21 GPIO_ACTIVE_LOW>;
7588d13bc63SEmmanuel Vadot		#sound-dai-cells = <0>;
7598d13bc63SEmmanuel Vadot		sound-name-prefix = "SpkrLeft";
7608d13bc63SEmmanuel Vadot		vdd-1p8-supply = <&vreg_l15b_1p8>;
7618d13bc63SEmmanuel Vadot		vdd-io-supply = <&vreg_l3c_1p2>;
7628d13bc63SEmmanuel Vadot	};
7638d13bc63SEmmanuel Vadot
7648d13bc63SEmmanuel Vadot	/* WSA8845, Speaker Right */
7658d13bc63SEmmanuel Vadot	right_spkr: speaker@0,1 {
7668d13bc63SEmmanuel Vadot		compatible = "sdw20217020400";
7678d13bc63SEmmanuel Vadot		reg = <0 1>;
7688d13bc63SEmmanuel Vadot		pinctrl-0 = <&spkr_2_sd_n_active>;
7698d13bc63SEmmanuel Vadot		pinctrl-names = "default";
7708d13bc63SEmmanuel Vadot		powerdown-gpios = <&tlmm 77 GPIO_ACTIVE_LOW>;
7718d13bc63SEmmanuel Vadot		#sound-dai-cells = <0>;
7728d13bc63SEmmanuel Vadot		sound-name-prefix = "SpkrRight";
7738d13bc63SEmmanuel Vadot		vdd-1p8-supply = <&vreg_l15b_1p8>;
7748d13bc63SEmmanuel Vadot		vdd-io-supply = <&vreg_l3c_1p2>;
7758d13bc63SEmmanuel Vadot	};
7768d13bc63SEmmanuel Vadot};
7778d13bc63SEmmanuel Vadot
7788d13bc63SEmmanuel Vadot&tlmm {
7798d13bc63SEmmanuel Vadot	/* Reserved I/Os for NFC */
7808d13bc63SEmmanuel Vadot	gpio-reserved-ranges = <32 8>, <74 1>;
7818d13bc63SEmmanuel Vadot
7828d13bc63SEmmanuel Vadot	disp0_reset_n_active: disp0-reset-n-active-state {
7838d13bc63SEmmanuel Vadot		pins = "gpio133";
7848d13bc63SEmmanuel Vadot		function = "gpio";
7858d13bc63SEmmanuel Vadot		drive-strength = <8>;
7868d13bc63SEmmanuel Vadot		bias-disable;
7878d13bc63SEmmanuel Vadot	};
7888d13bc63SEmmanuel Vadot
7898d13bc63SEmmanuel Vadot	disp0_reset_n_suspend: disp0-reset-n-suspend-state {
7908d13bc63SEmmanuel Vadot		pins = "gpio133";
7918d13bc63SEmmanuel Vadot		function = "gpio";
7928d13bc63SEmmanuel Vadot		drive-strength = <2>;
7938d13bc63SEmmanuel Vadot		bias-pull-down;
7948d13bc63SEmmanuel Vadot	};
7958d13bc63SEmmanuel Vadot
7968d13bc63SEmmanuel Vadot	mdp_vsync_active: mdp-vsync-active-state {
7978d13bc63SEmmanuel Vadot		pins = "gpio86";
7988d13bc63SEmmanuel Vadot		function = "mdp_vsync";
7998d13bc63SEmmanuel Vadot		drive-strength = <2>;
8008d13bc63SEmmanuel Vadot		bias-pull-down;
8018d13bc63SEmmanuel Vadot	};
8028d13bc63SEmmanuel Vadot
8038d13bc63SEmmanuel Vadot	mdp_vsync_suspend: mdp-vsync-suspend-state {
8048d13bc63SEmmanuel Vadot		pins = "gpio86";
8058d13bc63SEmmanuel Vadot		function = "mdp_vsync";
8068d13bc63SEmmanuel Vadot		drive-strength = <2>;
8078d13bc63SEmmanuel Vadot		bias-pull-down;
8088d13bc63SEmmanuel Vadot	};
8098d13bc63SEmmanuel Vadot
8108d13bc63SEmmanuel Vadot	spkr_2_sd_n_active: spkr-2-sd-n-active-state {
8118d13bc63SEmmanuel Vadot		pins = "gpio77";
8128d13bc63SEmmanuel Vadot		function = "gpio";
8138d13bc63SEmmanuel Vadot		drive-strength = <16>;
8148d13bc63SEmmanuel Vadot		bias-disable;
8158d13bc63SEmmanuel Vadot		output-low;
8168d13bc63SEmmanuel Vadot	};
8178d13bc63SEmmanuel Vadot};
8188d13bc63SEmmanuel Vadot
8198d13bc63SEmmanuel Vadot&uart15 {
8208d13bc63SEmmanuel Vadot	status = "okay";
8218d13bc63SEmmanuel Vadot};
8228d13bc63SEmmanuel Vadot
8238d13bc63SEmmanuel Vadot&ufs_mem_hc {
8248d13bc63SEmmanuel Vadot	reset-gpios = <&tlmm 210 GPIO_ACTIVE_LOW>;
8258d13bc63SEmmanuel Vadot
8268d13bc63SEmmanuel Vadot	vcc-supply = <&vreg_l17b_2p5>;
8278d13bc63SEmmanuel Vadot	vcc-max-microamp = <1300000>;
8288d13bc63SEmmanuel Vadot	vccq-supply = <&vreg_l1c_1p2>;
8298d13bc63SEmmanuel Vadot	vccq-max-microamp = <1200000>;
8308d13bc63SEmmanuel Vadot
8318d13bc63SEmmanuel Vadot	status = "okay";
8328d13bc63SEmmanuel Vadot};
8338d13bc63SEmmanuel Vadot
8348d13bc63SEmmanuel Vadot&ufs_mem_phy {
8358d13bc63SEmmanuel Vadot	vdda-phy-supply = <&vreg_l1d_0p88>;
8368d13bc63SEmmanuel Vadot	vdda-pll-supply = <&vreg_l3i_1p2>;
8378d13bc63SEmmanuel Vadot
8388d13bc63SEmmanuel Vadot	status = "okay";
8398d13bc63SEmmanuel Vadot};
8408d13bc63SEmmanuel Vadot
8418d13bc63SEmmanuel Vadot/*
8428d13bc63SEmmanuel Vadot * DPAUX -> WCD9395 -> USB_SBU -> USB-C
8438d13bc63SEmmanuel Vadot * eUSB2 DP/DM -> PM85550HS -> eUSB2 DP/DM -> USB-C
8448d13bc63SEmmanuel Vadot * USB SS -> USB-C
8458d13bc63SEmmanuel Vadot */
8468d13bc63SEmmanuel Vadot
8478d13bc63SEmmanuel Vadot&usb_1 {
8488d13bc63SEmmanuel Vadot	status = "okay";
8498d13bc63SEmmanuel Vadot};
8508d13bc63SEmmanuel Vadot
8518d13bc63SEmmanuel Vadot&usb_1_dwc3 {
8528d13bc63SEmmanuel Vadot	dr_mode = "otg";
8538d13bc63SEmmanuel Vadot	usb-role-switch;
8548d13bc63SEmmanuel Vadot};
8558d13bc63SEmmanuel Vadot
8568d13bc63SEmmanuel Vadot&usb_1_dwc3_hs {
8578d13bc63SEmmanuel Vadot	remote-endpoint = <&pmic_glink_hs_in>;
8588d13bc63SEmmanuel Vadot};
8598d13bc63SEmmanuel Vadot
8608d13bc63SEmmanuel Vadot&usb_1_dwc3_ss {
8618d13bc63SEmmanuel Vadot	remote-endpoint = <&pmic_glink_ss_in>;
8628d13bc63SEmmanuel Vadot};
8638d13bc63SEmmanuel Vadot
8648d13bc63SEmmanuel Vadot&usb_1_hsphy {
8658d13bc63SEmmanuel Vadot	vdd-supply = <&vreg_l1i_0p88>;
8668d13bc63SEmmanuel Vadot	vdda12-supply = <&vreg_l3i_1p2>;
8678d13bc63SEmmanuel Vadot
8688d13bc63SEmmanuel Vadot	phys = <&pm8550b_eusb2_repeater>;
8698d13bc63SEmmanuel Vadot
8708d13bc63SEmmanuel Vadot	status = "okay";
8718d13bc63SEmmanuel Vadot};
8728d13bc63SEmmanuel Vadot
8738d13bc63SEmmanuel Vadot&usb_dp_qmpphy {
8748d13bc63SEmmanuel Vadot	vdda-phy-supply = <&vreg_l3i_1p2>;
8758d13bc63SEmmanuel Vadot	vdda-pll-supply = <&vreg_l3g_0p91>;
8768d13bc63SEmmanuel Vadot
8778d13bc63SEmmanuel Vadot	status = "okay";
8788d13bc63SEmmanuel Vadot};
8798d13bc63SEmmanuel Vadot
8808d13bc63SEmmanuel Vadot&xo_board {
8818d13bc63SEmmanuel Vadot	clock-frequency = <76800000>;
8828d13bc63SEmmanuel Vadot};
883