xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/x1e80100-qcp.dts (revision 7d0873ebb83b19ba1e8a89e679470d885efe12e3)
18d13bc63SEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause
28d13bc63SEmmanuel Vadot/*
38d13bc63SEmmanuel Vadot * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
48d13bc63SEmmanuel Vadot */
58d13bc63SEmmanuel Vadot
68d13bc63SEmmanuel Vadot/dts-v1/;
78d13bc63SEmmanuel Vadot
801950c46SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
98d13bc63SEmmanuel Vadot#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
108d13bc63SEmmanuel Vadot
118d13bc63SEmmanuel Vadot#include "x1e80100.dtsi"
12*7d0873ebSEmmanuel Vadot#include "x1e80100-pmics.dtsi"
138d13bc63SEmmanuel Vadot
148d13bc63SEmmanuel Vadot/ {
158d13bc63SEmmanuel Vadot	model = "Qualcomm Technologies, Inc. X1E80100 QCP";
168d13bc63SEmmanuel Vadot	compatible = "qcom,x1e80100-qcp", "qcom,x1e80100";
178d13bc63SEmmanuel Vadot
188d13bc63SEmmanuel Vadot	aliases {
198d13bc63SEmmanuel Vadot		serial0 = &uart21;
208d13bc63SEmmanuel Vadot	};
218d13bc63SEmmanuel Vadot
228d13bc63SEmmanuel Vadot	chosen {
238d13bc63SEmmanuel Vadot		stdout-path = "serial0:115200n8";
248d13bc63SEmmanuel Vadot	};
258d13bc63SEmmanuel Vadot
26*7d0873ebSEmmanuel Vadot	reserved-memory {
27*7d0873ebSEmmanuel Vadot		linux,cma {
28*7d0873ebSEmmanuel Vadot			compatible = "shared-dma-pool";
29*7d0873ebSEmmanuel Vadot			size = <0x0 0x8000000>;
30*7d0873ebSEmmanuel Vadot			reusable;
31*7d0873ebSEmmanuel Vadot			linux,cma-default;
32*7d0873ebSEmmanuel Vadot		};
33*7d0873ebSEmmanuel Vadot	};
34*7d0873ebSEmmanuel Vadot
358d13bc63SEmmanuel Vadot	vph_pwr: vph-pwr-regulator {
368d13bc63SEmmanuel Vadot		compatible = "regulator-fixed";
378d13bc63SEmmanuel Vadot
388d13bc63SEmmanuel Vadot		regulator-name = "vph_pwr";
398d13bc63SEmmanuel Vadot		regulator-min-microvolt = <3700000>;
408d13bc63SEmmanuel Vadot		regulator-max-microvolt = <3700000>;
418d13bc63SEmmanuel Vadot
428d13bc63SEmmanuel Vadot		regulator-always-on;
438d13bc63SEmmanuel Vadot		regulator-boot-on;
448d13bc63SEmmanuel Vadot	};
4501950c46SEmmanuel Vadot
4601950c46SEmmanuel Vadot	vreg_edp_3p3: regulator-edp-3p3 {
4701950c46SEmmanuel Vadot		compatible = "regulator-fixed";
4801950c46SEmmanuel Vadot
4901950c46SEmmanuel Vadot		regulator-name = "VREG_EDP_3P3";
5001950c46SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
5101950c46SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
5201950c46SEmmanuel Vadot
5301950c46SEmmanuel Vadot		gpio = <&tlmm 70 GPIO_ACTIVE_HIGH>;
5401950c46SEmmanuel Vadot		enable-active-high;
5501950c46SEmmanuel Vadot
5601950c46SEmmanuel Vadot		pinctrl-0 = <&edp_reg_en>;
5701950c46SEmmanuel Vadot		pinctrl-names = "default";
5801950c46SEmmanuel Vadot
5901950c46SEmmanuel Vadot		regulator-always-on;
6001950c46SEmmanuel Vadot		regulator-boot-on;
6101950c46SEmmanuel Vadot	};
628d13bc63SEmmanuel Vadot};
638d13bc63SEmmanuel Vadot
648d13bc63SEmmanuel Vadot&apps_rsc {
658d13bc63SEmmanuel Vadot	regulators-0 {
668d13bc63SEmmanuel Vadot		compatible = "qcom,pm8550-rpmh-regulators";
678d13bc63SEmmanuel Vadot		qcom,pmic-id = "b";
688d13bc63SEmmanuel Vadot
698d13bc63SEmmanuel Vadot		vdd-bob1-supply = <&vph_pwr>;
708d13bc63SEmmanuel Vadot		vdd-bob2-supply = <&vph_pwr>;
718d13bc63SEmmanuel Vadot		vdd-l1-l4-l10-supply = <&vreg_s4c_1p8>;
728d13bc63SEmmanuel Vadot		vdd-l2-l13-l14-supply = <&vreg_bob1>;
738d13bc63SEmmanuel Vadot		vdd-l5-l16-supply = <&vreg_bob1>;
748d13bc63SEmmanuel Vadot		vdd-l6-l7-supply = <&vreg_bob2>;
758d13bc63SEmmanuel Vadot		vdd-l8-l9-supply = <&vreg_bob1>;
768d13bc63SEmmanuel Vadot		vdd-l12-supply = <&vreg_s5j_1p2>;
778d13bc63SEmmanuel Vadot		vdd-l15-supply = <&vreg_s4c_1p8>;
788d13bc63SEmmanuel Vadot		vdd-l17-supply = <&vreg_bob2>;
798d13bc63SEmmanuel Vadot
808d13bc63SEmmanuel Vadot		vreg_bob1: bob1 {
818d13bc63SEmmanuel Vadot			regulator-name = "vreg_bob1";
828d13bc63SEmmanuel Vadot			regulator-min-microvolt = <3008000>;
838d13bc63SEmmanuel Vadot			regulator-max-microvolt = <3960000>;
848d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
858d13bc63SEmmanuel Vadot		};
868d13bc63SEmmanuel Vadot
878d13bc63SEmmanuel Vadot		vreg_bob2: bob2 {
888d13bc63SEmmanuel Vadot			regulator-name = "vreg_bob2";
898d13bc63SEmmanuel Vadot			regulator-min-microvolt = <2504000>;
908d13bc63SEmmanuel Vadot			regulator-max-microvolt = <3008000>;
918d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
928d13bc63SEmmanuel Vadot		};
938d13bc63SEmmanuel Vadot
948d13bc63SEmmanuel Vadot		vreg_l1b_1p8: ldo1 {
958d13bc63SEmmanuel Vadot			regulator-name = "vreg_l1b_1p8";
968d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
978d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
988d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
998d13bc63SEmmanuel Vadot		};
1008d13bc63SEmmanuel Vadot
1018d13bc63SEmmanuel Vadot		vreg_l2b_3p0: ldo2 {
1028d13bc63SEmmanuel Vadot			regulator-name = "vreg_l2b_3p0";
1038d13bc63SEmmanuel Vadot			regulator-min-microvolt = <3072000>;
1048d13bc63SEmmanuel Vadot			regulator-max-microvolt = <3100000>;
1058d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1068d13bc63SEmmanuel Vadot		};
1078d13bc63SEmmanuel Vadot
1088d13bc63SEmmanuel Vadot		vreg_l4b_1p8: ldo4 {
1098d13bc63SEmmanuel Vadot			regulator-name = "vreg_l4b_1p8";
1108d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
1118d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
1128d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1138d13bc63SEmmanuel Vadot		};
1148d13bc63SEmmanuel Vadot
1158d13bc63SEmmanuel Vadot		vreg_l5b_3p0: ldo5 {
1168d13bc63SEmmanuel Vadot			regulator-name = "vreg_l5b_3p0";
1178d13bc63SEmmanuel Vadot			regulator-min-microvolt = <3000000>;
1188d13bc63SEmmanuel Vadot			regulator-max-microvolt = <3000000>;
1198d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1208d13bc63SEmmanuel Vadot		};
1218d13bc63SEmmanuel Vadot
1228d13bc63SEmmanuel Vadot		vreg_l6b_1p8: ldo6 {
1238d13bc63SEmmanuel Vadot			regulator-name = "vreg_l6b_1p8";
1248d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
1258d13bc63SEmmanuel Vadot			regulator-max-microvolt = <2960000>;
1268d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1278d13bc63SEmmanuel Vadot		};
1288d13bc63SEmmanuel Vadot
1298d13bc63SEmmanuel Vadot		vreg_l7b_2p8: ldo7 {
1308d13bc63SEmmanuel Vadot			regulator-name = "vreg_l7b_2p8";
1318d13bc63SEmmanuel Vadot			regulator-min-microvolt = <2800000>;
1328d13bc63SEmmanuel Vadot			regulator-max-microvolt = <2800000>;
1338d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1348d13bc63SEmmanuel Vadot		};
1358d13bc63SEmmanuel Vadot
1368d13bc63SEmmanuel Vadot		vreg_l8b_3p0: ldo8 {
1378d13bc63SEmmanuel Vadot			regulator-name = "vreg_l8b_3p0";
1388d13bc63SEmmanuel Vadot			regulator-min-microvolt = <3072000>;
1398d13bc63SEmmanuel Vadot			regulator-max-microvolt = <3072000>;
1408d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1418d13bc63SEmmanuel Vadot		};
1428d13bc63SEmmanuel Vadot
1438d13bc63SEmmanuel Vadot		vreg_l9b_2p9: ldo9 {
1448d13bc63SEmmanuel Vadot			regulator-name = "vreg_l9b_2p9";
1458d13bc63SEmmanuel Vadot			regulator-min-microvolt = <2960000>;
1468d13bc63SEmmanuel Vadot			regulator-max-microvolt = <2960000>;
1478d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1488d13bc63SEmmanuel Vadot		};
1498d13bc63SEmmanuel Vadot
1508d13bc63SEmmanuel Vadot		vreg_l10b_1p8: ldo10 {
1518d13bc63SEmmanuel Vadot			regulator-name = "vreg_l10b_1p8";
1528d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
1538d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
1548d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1558d13bc63SEmmanuel Vadot		};
1568d13bc63SEmmanuel Vadot
1578d13bc63SEmmanuel Vadot		vreg_l12b_1p2: ldo12 {
1588d13bc63SEmmanuel Vadot			regulator-name = "vreg_l12b_1p2";
1598d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
1608d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1200000>;
1618d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1628d13bc63SEmmanuel Vadot		};
1638d13bc63SEmmanuel Vadot
1648d13bc63SEmmanuel Vadot		vreg_l13b_3p0: ldo13 {
1658d13bc63SEmmanuel Vadot			regulator-name = "vreg_l13b_3p0";
1668d13bc63SEmmanuel Vadot			regulator-min-microvolt = <3072000>;
1678d13bc63SEmmanuel Vadot			regulator-max-microvolt = <3100000>;
1688d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1698d13bc63SEmmanuel Vadot		};
1708d13bc63SEmmanuel Vadot
1718d13bc63SEmmanuel Vadot		vreg_l14b_3p0: ldo14 {
1728d13bc63SEmmanuel Vadot			regulator-name = "vreg_l14b_3p0";
1738d13bc63SEmmanuel Vadot			regulator-min-microvolt = <3072000>;
1748d13bc63SEmmanuel Vadot			regulator-max-microvolt = <3072000>;
1758d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1768d13bc63SEmmanuel Vadot		};
1778d13bc63SEmmanuel Vadot
1788d13bc63SEmmanuel Vadot		vreg_l15b_1p8: ldo15 {
1798d13bc63SEmmanuel Vadot			regulator-name = "vreg_l15b_1p8";
1808d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
1818d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
1828d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1838d13bc63SEmmanuel Vadot		};
1848d13bc63SEmmanuel Vadot
1858d13bc63SEmmanuel Vadot		vreg_l16b_2p9: ldo16 {
1868d13bc63SEmmanuel Vadot			regulator-name = "vreg_l16b_2p9";
1878d13bc63SEmmanuel Vadot			regulator-min-microvolt = <2912000>;
1888d13bc63SEmmanuel Vadot			regulator-max-microvolt = <2912000>;
1898d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1908d13bc63SEmmanuel Vadot		};
1918d13bc63SEmmanuel Vadot
1928d13bc63SEmmanuel Vadot		vreg_l17b_2p5: ldo17 {
1938d13bc63SEmmanuel Vadot			regulator-name = "vreg_l17b_2p5";
1948d13bc63SEmmanuel Vadot			regulator-min-microvolt = <2504000>;
1958d13bc63SEmmanuel Vadot			regulator-max-microvolt = <2504000>;
1968d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1978d13bc63SEmmanuel Vadot		};
1988d13bc63SEmmanuel Vadot	};
1998d13bc63SEmmanuel Vadot
2008d13bc63SEmmanuel Vadot	regulators-1 {
2018d13bc63SEmmanuel Vadot		compatible = "qcom,pm8550ve-rpmh-regulators";
2028d13bc63SEmmanuel Vadot		qcom,pmic-id = "c";
2038d13bc63SEmmanuel Vadot
2048d13bc63SEmmanuel Vadot		vdd-l1-supply = <&vreg_s5j_1p2>;
2058d13bc63SEmmanuel Vadot		vdd-l2-supply = <&vreg_s1f_0p7>;
2068d13bc63SEmmanuel Vadot		vdd-l3-supply = <&vreg_s1f_0p7>;
2078d13bc63SEmmanuel Vadot		vdd-s4-supply = <&vph_pwr>;
2088d13bc63SEmmanuel Vadot
2098d13bc63SEmmanuel Vadot		vreg_s4c_1p8: smps4 {
2108d13bc63SEmmanuel Vadot			regulator-name = "vreg_s4c_1p8";
2118d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1856000>;
2128d13bc63SEmmanuel Vadot			regulator-max-microvolt = <2000000>;
2138d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2148d13bc63SEmmanuel Vadot		};
2158d13bc63SEmmanuel Vadot
2168d13bc63SEmmanuel Vadot		vreg_l1c_1p2: ldo1 {
2178d13bc63SEmmanuel Vadot			regulator-name = "vreg_l1c_1p2";
2188d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
2198d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1200000>;
2208d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2218d13bc63SEmmanuel Vadot		};
2228d13bc63SEmmanuel Vadot
2238d13bc63SEmmanuel Vadot		vreg_l2c_0p8: ldo2 {
2248d13bc63SEmmanuel Vadot			regulator-name = "vreg_l2c_0p8";
2258d13bc63SEmmanuel Vadot			regulator-min-microvolt = <880000>;
2268d13bc63SEmmanuel Vadot			regulator-max-microvolt = <920000>;
2278d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2288d13bc63SEmmanuel Vadot		};
2298d13bc63SEmmanuel Vadot
2308d13bc63SEmmanuel Vadot		vreg_l3c_0p8: ldo3 {
2318d13bc63SEmmanuel Vadot			regulator-name = "vreg_l3c_0p8";
2328d13bc63SEmmanuel Vadot			regulator-min-microvolt = <880000>;
2338d13bc63SEmmanuel Vadot			regulator-max-microvolt = <920000>;
2348d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2358d13bc63SEmmanuel Vadot		};
2368d13bc63SEmmanuel Vadot	};
2378d13bc63SEmmanuel Vadot
2388d13bc63SEmmanuel Vadot	regulators-2 {
2398d13bc63SEmmanuel Vadot		compatible = "qcom,pmc8380-rpmh-regulators";
2408d13bc63SEmmanuel Vadot		qcom,pmic-id = "d";
2418d13bc63SEmmanuel Vadot
2428d13bc63SEmmanuel Vadot		vdd-l1-supply = <&vreg_s1f_0p7>;
2438d13bc63SEmmanuel Vadot		vdd-l2-supply = <&vreg_s1f_0p7>;
2448d13bc63SEmmanuel Vadot		vdd-l3-supply = <&vreg_s4c_1p8>;
2458d13bc63SEmmanuel Vadot		vdd-s1-supply = <&vph_pwr>;
2468d13bc63SEmmanuel Vadot
2478d13bc63SEmmanuel Vadot		vreg_l1d_0p8: ldo1 {
2488d13bc63SEmmanuel Vadot			regulator-name = "vreg_l1d_0p8";
2498d13bc63SEmmanuel Vadot			regulator-min-microvolt = <880000>;
2508d13bc63SEmmanuel Vadot			regulator-max-microvolt = <920000>;
2518d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2528d13bc63SEmmanuel Vadot		};
2538d13bc63SEmmanuel Vadot
2548d13bc63SEmmanuel Vadot		vreg_l2d_0p9: ldo2 {
2558d13bc63SEmmanuel Vadot			regulator-name = "vreg_l2d_0p9";
2568d13bc63SEmmanuel Vadot			regulator-min-microvolt = <912000>;
2578d13bc63SEmmanuel Vadot			regulator-max-microvolt = <920000>;
2588d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2598d13bc63SEmmanuel Vadot		};
2608d13bc63SEmmanuel Vadot
2618d13bc63SEmmanuel Vadot		vreg_l3d_1p8: ldo3 {
2628d13bc63SEmmanuel Vadot			regulator-name = "vreg_l3d_1p8";
2638d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
2648d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
2658d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2668d13bc63SEmmanuel Vadot		};
2678d13bc63SEmmanuel Vadot	};
2688d13bc63SEmmanuel Vadot
2698d13bc63SEmmanuel Vadot	regulators-3 {
2708d13bc63SEmmanuel Vadot		compatible = "qcom,pmc8380-rpmh-regulators";
2718d13bc63SEmmanuel Vadot		qcom,pmic-id = "e";
2728d13bc63SEmmanuel Vadot
2738d13bc63SEmmanuel Vadot		vdd-l2-supply = <&vreg_s1f_0p7>;
27401950c46SEmmanuel Vadot		vdd-l3-supply = <&vreg_s5j_1p2>;
2758d13bc63SEmmanuel Vadot
2768d13bc63SEmmanuel Vadot		vreg_l2e_0p8: ldo2 {
2778d13bc63SEmmanuel Vadot			regulator-name = "vreg_l2e_0p8";
2788d13bc63SEmmanuel Vadot			regulator-min-microvolt = <880000>;
2798d13bc63SEmmanuel Vadot			regulator-max-microvolt = <920000>;
2808d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2818d13bc63SEmmanuel Vadot		};
2828d13bc63SEmmanuel Vadot
2838d13bc63SEmmanuel Vadot		vreg_l3e_1p2: ldo3 {
2848d13bc63SEmmanuel Vadot			regulator-name = "vreg_l3e_1p2";
2858d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
2868d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1200000>;
2878d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2888d13bc63SEmmanuel Vadot		};
2898d13bc63SEmmanuel Vadot	};
2908d13bc63SEmmanuel Vadot
2918d13bc63SEmmanuel Vadot	regulators-4 {
2928d13bc63SEmmanuel Vadot		compatible = "qcom,pmc8380-rpmh-regulators";
2938d13bc63SEmmanuel Vadot		qcom,pmic-id = "f";
2948d13bc63SEmmanuel Vadot
2958d13bc63SEmmanuel Vadot		vdd-l1-supply = <&vreg_s5j_1p2>;
2968d13bc63SEmmanuel Vadot		vdd-l2-supply = <&vreg_s5j_1p2>;
2978d13bc63SEmmanuel Vadot		vdd-l3-supply = <&vreg_s5j_1p2>;
2988d13bc63SEmmanuel Vadot		vdd-s1-supply = <&vph_pwr>;
2998d13bc63SEmmanuel Vadot
3008d13bc63SEmmanuel Vadot		vreg_s1f_0p7: smps1 {
3018d13bc63SEmmanuel Vadot			regulator-name = "vreg_s1f_0p7";
3028d13bc63SEmmanuel Vadot			regulator-min-microvolt = <700000>;
3038d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1100000>;
3048d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3058d13bc63SEmmanuel Vadot		};
3068d13bc63SEmmanuel Vadot
3078d13bc63SEmmanuel Vadot		vreg_l1f_1p0: ldo1 {
3088d13bc63SEmmanuel Vadot			regulator-name = "vreg_l1f_1p0";
3098d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1024000>;
3108d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1024000>;
3118d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3128d13bc63SEmmanuel Vadot		};
3138d13bc63SEmmanuel Vadot
3148d13bc63SEmmanuel Vadot		vreg_l2f_1p0: ldo2 {
3158d13bc63SEmmanuel Vadot			regulator-name = "vreg_l2f_1p0";
3168d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1024000>;
3178d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1024000>;
3188d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3198d13bc63SEmmanuel Vadot		};
3208d13bc63SEmmanuel Vadot
3218d13bc63SEmmanuel Vadot		vreg_l3f_1p0: ldo3 {
3228d13bc63SEmmanuel Vadot			regulator-name = "vreg_l3f_1p0";
3238d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1024000>;
3248d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1024000>;
3258d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3268d13bc63SEmmanuel Vadot		};
3278d13bc63SEmmanuel Vadot	};
3288d13bc63SEmmanuel Vadot
3298d13bc63SEmmanuel Vadot	regulators-6 {
3308d13bc63SEmmanuel Vadot		compatible = "qcom,pm8550ve-rpmh-regulators";
3318d13bc63SEmmanuel Vadot		qcom,pmic-id = "i";
3328d13bc63SEmmanuel Vadot
3338d13bc63SEmmanuel Vadot		vdd-l1-supply = <&vreg_s4c_1p8>;
3348d13bc63SEmmanuel Vadot		vdd-l2-supply = <&vreg_s5j_1p2>;
3358d13bc63SEmmanuel Vadot		vdd-l3-supply = <&vreg_s1f_0p7>;
3368d13bc63SEmmanuel Vadot		vdd-s1-supply = <&vph_pwr>;
3378d13bc63SEmmanuel Vadot		vdd-s2-supply = <&vph_pwr>;
3388d13bc63SEmmanuel Vadot
3398d13bc63SEmmanuel Vadot		vreg_s1i_0p9: smps1 {
3408d13bc63SEmmanuel Vadot			regulator-name = "vreg_s1i_0p9";
3418d13bc63SEmmanuel Vadot			regulator-min-microvolt = <900000>;
3428d13bc63SEmmanuel Vadot			regulator-max-microvolt = <920000>;
3438d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3448d13bc63SEmmanuel Vadot		};
3458d13bc63SEmmanuel Vadot
3468d13bc63SEmmanuel Vadot		vreg_s2i_1p0: smps2 {
3478d13bc63SEmmanuel Vadot			regulator-name = "vreg_s2i_1p0";
3488d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1000000>;
3498d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1100000>;
3508d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3518d13bc63SEmmanuel Vadot		};
3528d13bc63SEmmanuel Vadot
3538d13bc63SEmmanuel Vadot		vreg_l1i_1p8: ldo1 {
3548d13bc63SEmmanuel Vadot			regulator-name = "vreg_l1i_1p8";
3558d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
3568d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
3578d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3588d13bc63SEmmanuel Vadot		};
3598d13bc63SEmmanuel Vadot
3608d13bc63SEmmanuel Vadot		vreg_l2i_1p2: ldo2 {
3618d13bc63SEmmanuel Vadot			regulator-name = "vreg_l2i_1p2";
3628d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
3638d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1200000>;
3648d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3658d13bc63SEmmanuel Vadot		};
3668d13bc63SEmmanuel Vadot
3678d13bc63SEmmanuel Vadot		vreg_l3i_0p8: ldo3 {
3688d13bc63SEmmanuel Vadot			regulator-name = "vreg_l3i_0p8";
3698d13bc63SEmmanuel Vadot			regulator-min-microvolt = <880000>;
3708d13bc63SEmmanuel Vadot			regulator-max-microvolt = <920000>;
3718d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3728d13bc63SEmmanuel Vadot		};
3738d13bc63SEmmanuel Vadot	};
3748d13bc63SEmmanuel Vadot
3758d13bc63SEmmanuel Vadot	regulators-7 {
3768d13bc63SEmmanuel Vadot		compatible = "qcom,pm8550ve-rpmh-regulators";
3778d13bc63SEmmanuel Vadot		qcom,pmic-id = "j";
3788d13bc63SEmmanuel Vadot
3798d13bc63SEmmanuel Vadot		vdd-l1-supply = <&vreg_s1f_0p7>;
38001950c46SEmmanuel Vadot		vdd-l2-supply = <&vreg_s5j_1p2>;
3818d13bc63SEmmanuel Vadot		vdd-l3-supply = <&vreg_s1f_0p7>;
3828d13bc63SEmmanuel Vadot		vdd-s5-supply = <&vph_pwr>;
3838d13bc63SEmmanuel Vadot
3848d13bc63SEmmanuel Vadot		vreg_s5j_1p2: smps5 {
3858d13bc63SEmmanuel Vadot			regulator-name = "vreg_s5j_1p2";
3868d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1256000>;
3878d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1304000>;
3888d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3898d13bc63SEmmanuel Vadot		};
3908d13bc63SEmmanuel Vadot
3918d13bc63SEmmanuel Vadot		vreg_l1j_0p8: ldo1 {
3928d13bc63SEmmanuel Vadot			regulator-name = "vreg_l1j_0p8";
3938d13bc63SEmmanuel Vadot			regulator-min-microvolt = <880000>;
3948d13bc63SEmmanuel Vadot			regulator-max-microvolt = <920000>;
3958d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3968d13bc63SEmmanuel Vadot		};
3978d13bc63SEmmanuel Vadot
3988d13bc63SEmmanuel Vadot		vreg_l2j_1p2: ldo2 {
3998d13bc63SEmmanuel Vadot			regulator-name = "vreg_l2j_1p2";
4008d13bc63SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
4018d13bc63SEmmanuel Vadot			regulator-max-microvolt = <1200000>;
4028d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
4038d13bc63SEmmanuel Vadot		};
4048d13bc63SEmmanuel Vadot
4058d13bc63SEmmanuel Vadot		vreg_l3j_0p8: ldo3 {
4068d13bc63SEmmanuel Vadot			regulator-name = "vreg_l3j_0p8";
4078d13bc63SEmmanuel Vadot			regulator-min-microvolt = <880000>;
4088d13bc63SEmmanuel Vadot			regulator-max-microvolt = <920000>;
4098d13bc63SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
4108d13bc63SEmmanuel Vadot		};
4118d13bc63SEmmanuel Vadot	};
4128d13bc63SEmmanuel Vadot};
4138d13bc63SEmmanuel Vadot
41401950c46SEmmanuel Vadot&mdss {
41501950c46SEmmanuel Vadot	status = "okay";
41601950c46SEmmanuel Vadot};
41701950c46SEmmanuel Vadot
41801950c46SEmmanuel Vadot&mdss_dp3 {
41901950c46SEmmanuel Vadot	compatible = "qcom,x1e80100-dp";
42001950c46SEmmanuel Vadot	/delete-property/ #sound-dai-cells;
42101950c46SEmmanuel Vadot
42201950c46SEmmanuel Vadot	status = "okay";
42301950c46SEmmanuel Vadot
42401950c46SEmmanuel Vadot	aux-bus {
42501950c46SEmmanuel Vadot		panel {
42601950c46SEmmanuel Vadot			compatible = "edp-panel";
42701950c46SEmmanuel Vadot			power-supply = <&vreg_edp_3p3>;
42801950c46SEmmanuel Vadot
42901950c46SEmmanuel Vadot			port {
43001950c46SEmmanuel Vadot				edp_panel_in: endpoint {
43101950c46SEmmanuel Vadot					remote-endpoint = <&mdss_dp3_out>;
43201950c46SEmmanuel Vadot				};
43301950c46SEmmanuel Vadot			};
43401950c46SEmmanuel Vadot		};
43501950c46SEmmanuel Vadot	};
43601950c46SEmmanuel Vadot
43701950c46SEmmanuel Vadot	ports {
43801950c46SEmmanuel Vadot		port@1 {
43901950c46SEmmanuel Vadot			reg = <1>;
44001950c46SEmmanuel Vadot			mdss_dp3_out: endpoint {
441*7d0873ebSEmmanuel Vadot				data-lanes = <0 1 2 3>;
442*7d0873ebSEmmanuel Vadot				link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
443*7d0873ebSEmmanuel Vadot
44401950c46SEmmanuel Vadot				remote-endpoint = <&edp_panel_in>;
44501950c46SEmmanuel Vadot			};
44601950c46SEmmanuel Vadot		};
44701950c46SEmmanuel Vadot	};
44801950c46SEmmanuel Vadot};
44901950c46SEmmanuel Vadot
45001950c46SEmmanuel Vadot&mdss_dp3_phy {
45101950c46SEmmanuel Vadot	vdda-phy-supply = <&vreg_l3j_0p8>;
45201950c46SEmmanuel Vadot	vdda-pll-supply = <&vreg_l2j_1p2>;
45301950c46SEmmanuel Vadot
45401950c46SEmmanuel Vadot	status = "okay";
45501950c46SEmmanuel Vadot};
45601950c46SEmmanuel Vadot
45701950c46SEmmanuel Vadot&pcie4 {
45801950c46SEmmanuel Vadot	status = "okay";
45901950c46SEmmanuel Vadot};
46001950c46SEmmanuel Vadot
46101950c46SEmmanuel Vadot&pcie4_phy {
46201950c46SEmmanuel Vadot	vdda-phy-supply = <&vreg_l3j_0p8>;
46301950c46SEmmanuel Vadot	vdda-pll-supply = <&vreg_l3e_1p2>;
46401950c46SEmmanuel Vadot
46501950c46SEmmanuel Vadot	status = "okay";
46601950c46SEmmanuel Vadot};
46701950c46SEmmanuel Vadot
46801950c46SEmmanuel Vadot&pcie6a {
46901950c46SEmmanuel Vadot	status = "okay";
47001950c46SEmmanuel Vadot};
47101950c46SEmmanuel Vadot
47201950c46SEmmanuel Vadot&pcie6a_phy {
47301950c46SEmmanuel Vadot	vdda-phy-supply = <&vreg_l3j_0p8>;
47401950c46SEmmanuel Vadot	vdda-pll-supply = <&vreg_l2j_1p2>;
47501950c46SEmmanuel Vadot
47601950c46SEmmanuel Vadot	status = "okay";
47701950c46SEmmanuel Vadot};
47801950c46SEmmanuel Vadot
47901950c46SEmmanuel Vadot&qupv3_0 {
48001950c46SEmmanuel Vadot	status = "okay";
48101950c46SEmmanuel Vadot};
48201950c46SEmmanuel Vadot
48301950c46SEmmanuel Vadot&qupv3_1 {
48401950c46SEmmanuel Vadot	status = "okay";
48501950c46SEmmanuel Vadot};
48601950c46SEmmanuel Vadot
4878d13bc63SEmmanuel Vadot&qupv3_2 {
4888d13bc63SEmmanuel Vadot	status = "okay";
4898d13bc63SEmmanuel Vadot};
4908d13bc63SEmmanuel Vadot
49101950c46SEmmanuel Vadot&remoteproc_adsp {
49201950c46SEmmanuel Vadot	firmware-name = "qcom/x1e80100/adsp.mbn",
49301950c46SEmmanuel Vadot			"qcom/x1e80100/adsp_dtb.mbn";
49401950c46SEmmanuel Vadot
49501950c46SEmmanuel Vadot	status = "okay";
49601950c46SEmmanuel Vadot};
49701950c46SEmmanuel Vadot
49801950c46SEmmanuel Vadot&remoteproc_cdsp {
49901950c46SEmmanuel Vadot	firmware-name = "qcom/x1e80100/cdsp.mbn",
50001950c46SEmmanuel Vadot			"qcom/x1e80100/cdsp_dtb.mbn";
50101950c46SEmmanuel Vadot
50201950c46SEmmanuel Vadot	status = "okay";
50301950c46SEmmanuel Vadot};
50401950c46SEmmanuel Vadot
505*7d0873ebSEmmanuel Vadot&smb2360_0_eusb2_repeater {
506*7d0873ebSEmmanuel Vadot	vdd18-supply = <&vreg_l3d_1p8>;
507*7d0873ebSEmmanuel Vadot	vdd3-supply = <&vreg_l2b_3p0>;
508*7d0873ebSEmmanuel Vadot};
509*7d0873ebSEmmanuel Vadot
510*7d0873ebSEmmanuel Vadot&smb2360_1_eusb2_repeater {
511*7d0873ebSEmmanuel Vadot	vdd18-supply = <&vreg_l3d_1p8>;
512*7d0873ebSEmmanuel Vadot	vdd3-supply = <&vreg_l14b_3p0>;
513*7d0873ebSEmmanuel Vadot};
514*7d0873ebSEmmanuel Vadot
515*7d0873ebSEmmanuel Vadot&smb2360_2_eusb2_repeater {
516*7d0873ebSEmmanuel Vadot	vdd18-supply = <&vreg_l3d_1p8>;
517*7d0873ebSEmmanuel Vadot	vdd3-supply = <&vreg_l8b_3p0>;
518*7d0873ebSEmmanuel Vadot};
519*7d0873ebSEmmanuel Vadot
5208d13bc63SEmmanuel Vadot&tlmm {
5218d13bc63SEmmanuel Vadot	gpio-reserved-ranges = <33 3>, /* Unused */
5228d13bc63SEmmanuel Vadot			       <44 4>, /* SPI (TPM) */
5238d13bc63SEmmanuel Vadot			       <238 1>; /* UFS Reset */
52401950c46SEmmanuel Vadot
52501950c46SEmmanuel Vadot	edp_reg_en: edp-reg-en-state {
52601950c46SEmmanuel Vadot		pins = "gpio70";
52701950c46SEmmanuel Vadot		function = "gpio";
52801950c46SEmmanuel Vadot		drive-strength = <16>;
52901950c46SEmmanuel Vadot		bias-disable;
53001950c46SEmmanuel Vadot	};
5318d13bc63SEmmanuel Vadot};
5328d13bc63SEmmanuel Vadot
5338d13bc63SEmmanuel Vadot&uart21 {
5348d13bc63SEmmanuel Vadot	compatible = "qcom,geni-debug-uart";
5358d13bc63SEmmanuel Vadot	status = "okay";
5368d13bc63SEmmanuel Vadot};
53701950c46SEmmanuel Vadot
53801950c46SEmmanuel Vadot&usb_1_ss0_hsphy {
53901950c46SEmmanuel Vadot	vdd-supply = <&vreg_l2e_0p8>;
54001950c46SEmmanuel Vadot	vdda12-supply = <&vreg_l3e_1p2>;
54101950c46SEmmanuel Vadot
542*7d0873ebSEmmanuel Vadot	phys = <&smb2360_0_eusb2_repeater>;
543*7d0873ebSEmmanuel Vadot
54401950c46SEmmanuel Vadot	status = "okay";
54501950c46SEmmanuel Vadot};
54601950c46SEmmanuel Vadot
54701950c46SEmmanuel Vadot&usb_1_ss0_qmpphy {
54801950c46SEmmanuel Vadot	status = "okay";
54901950c46SEmmanuel Vadot};
55001950c46SEmmanuel Vadot
55101950c46SEmmanuel Vadot&usb_1_ss0 {
55201950c46SEmmanuel Vadot	status = "okay";
55301950c46SEmmanuel Vadot};
55401950c46SEmmanuel Vadot
55501950c46SEmmanuel Vadot&usb_1_ss0_dwc3 {
55601950c46SEmmanuel Vadot	dr_mode = "host";
55701950c46SEmmanuel Vadot	usb-role-switch;
55801950c46SEmmanuel Vadot};
55901950c46SEmmanuel Vadot
56001950c46SEmmanuel Vadot&usb_1_ss1_hsphy {
56101950c46SEmmanuel Vadot	vdd-supply = <&vreg_l2e_0p8>;
56201950c46SEmmanuel Vadot	vdda12-supply = <&vreg_l3e_1p2>;
56301950c46SEmmanuel Vadot
564*7d0873ebSEmmanuel Vadot	phys = <&smb2360_1_eusb2_repeater>;
565*7d0873ebSEmmanuel Vadot
56601950c46SEmmanuel Vadot	status = "okay";
56701950c46SEmmanuel Vadot};
56801950c46SEmmanuel Vadot
56901950c46SEmmanuel Vadot&usb_1_ss1_qmpphy {
57001950c46SEmmanuel Vadot	status = "okay";
57101950c46SEmmanuel Vadot};
57201950c46SEmmanuel Vadot
57301950c46SEmmanuel Vadot&usb_1_ss1 {
57401950c46SEmmanuel Vadot	status = "okay";
57501950c46SEmmanuel Vadot};
57601950c46SEmmanuel Vadot
57701950c46SEmmanuel Vadot&usb_1_ss1_dwc3 {
57801950c46SEmmanuel Vadot	dr_mode = "host";
57901950c46SEmmanuel Vadot	usb-role-switch;
58001950c46SEmmanuel Vadot};
58101950c46SEmmanuel Vadot
58201950c46SEmmanuel Vadot&usb_1_ss2_hsphy {
58301950c46SEmmanuel Vadot	vdd-supply = <&vreg_l2e_0p8>;
58401950c46SEmmanuel Vadot	vdda12-supply = <&vreg_l3e_1p2>;
58501950c46SEmmanuel Vadot
586*7d0873ebSEmmanuel Vadot	phys = <&smb2360_2_eusb2_repeater>;
587*7d0873ebSEmmanuel Vadot
58801950c46SEmmanuel Vadot	status = "okay";
58901950c46SEmmanuel Vadot};
59001950c46SEmmanuel Vadot
59101950c46SEmmanuel Vadot&usb_1_ss2_qmpphy {
59201950c46SEmmanuel Vadot	status = "okay";
59301950c46SEmmanuel Vadot};
59401950c46SEmmanuel Vadot
59501950c46SEmmanuel Vadot&usb_1_ss2 {
59601950c46SEmmanuel Vadot	status = "okay";
59701950c46SEmmanuel Vadot};
59801950c46SEmmanuel Vadot
59901950c46SEmmanuel Vadot&usb_1_ss2_dwc3 {
60001950c46SEmmanuel Vadot	dr_mode = "host";
60101950c46SEmmanuel Vadot	usb-role-switch;
60201950c46SEmmanuel Vadot};
603