18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: BSD-3-Clause
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
48c2ecf20Sopenharmony_ci * Copyright (c) 2019, Linaro Limited
58c2ecf20Sopenharmony_ci */
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci/dts-v1/;
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
108c2ecf20Sopenharmony_ci#include <dt-bindings/gpio/gpio.h>
118c2ecf20Sopenharmony_ci#include "sm8150.dtsi"
128c2ecf20Sopenharmony_ci#include "pm8150.dtsi"
138c2ecf20Sopenharmony_ci#include "pm8150b.dtsi"
148c2ecf20Sopenharmony_ci#include "pm8150l.dtsi"
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci/ {
178c2ecf20Sopenharmony_ci	model = "Qualcomm Technologies, Inc. SM8150 MTP";
188c2ecf20Sopenharmony_ci	compatible = "qcom,sm8150-mtp";
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ci	aliases {
218c2ecf20Sopenharmony_ci		serial0 = &uart2;
228c2ecf20Sopenharmony_ci	};
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci	chosen {
258c2ecf20Sopenharmony_ci		stdout-path = "serial0:115200n8";
268c2ecf20Sopenharmony_ci	};
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ci	vph_pwr: vph-pwr-regulator {
298c2ecf20Sopenharmony_ci		compatible = "regulator-fixed";
308c2ecf20Sopenharmony_ci		regulator-name = "vph_pwr";
318c2ecf20Sopenharmony_ci		regulator-min-microvolt = <3700000>;
328c2ecf20Sopenharmony_ci		regulator-max-microvolt = <3700000>;
338c2ecf20Sopenharmony_ci	};
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ci	/*
368c2ecf20Sopenharmony_ci	 * Apparently RPMh does not provide support for PM8150 S4 because it
378c2ecf20Sopenharmony_ci	 * is always-on; model it as a fixed regulator.
388c2ecf20Sopenharmony_ci	 */
398c2ecf20Sopenharmony_ci	vreg_s4a_1p8: pm8150-s4 {
408c2ecf20Sopenharmony_ci		compatible = "regulator-fixed";
418c2ecf20Sopenharmony_ci		regulator-name = "vreg_s4a_1p8";
428c2ecf20Sopenharmony_ci
438c2ecf20Sopenharmony_ci		regulator-min-microvolt = <1800000>;
448c2ecf20Sopenharmony_ci		regulator-max-microvolt = <1800000>;
458c2ecf20Sopenharmony_ci
468c2ecf20Sopenharmony_ci		regulator-always-on;
478c2ecf20Sopenharmony_ci		regulator-boot-on;
488c2ecf20Sopenharmony_ci
498c2ecf20Sopenharmony_ci		vin-supply = <&vph_pwr>;
508c2ecf20Sopenharmony_ci	};
518c2ecf20Sopenharmony_ci};
528c2ecf20Sopenharmony_ci
538c2ecf20Sopenharmony_ci&apps_rsc {
548c2ecf20Sopenharmony_ci	pm8150-rpmh-regulators {
558c2ecf20Sopenharmony_ci		compatible = "qcom,pm8150-rpmh-regulators";
568c2ecf20Sopenharmony_ci		qcom,pmic-id = "a";
578c2ecf20Sopenharmony_ci
588c2ecf20Sopenharmony_ci		vdd-s1-supply = <&vph_pwr>;
598c2ecf20Sopenharmony_ci		vdd-s2-supply = <&vph_pwr>;
608c2ecf20Sopenharmony_ci		vdd-s3-supply = <&vph_pwr>;
618c2ecf20Sopenharmony_ci		vdd-s4-supply = <&vph_pwr>;
628c2ecf20Sopenharmony_ci		vdd-s5-supply = <&vph_pwr>;
638c2ecf20Sopenharmony_ci		vdd-s6-supply = <&vph_pwr>;
648c2ecf20Sopenharmony_ci		vdd-s7-supply = <&vph_pwr>;
658c2ecf20Sopenharmony_ci		vdd-s8-supply = <&vph_pwr>;
668c2ecf20Sopenharmony_ci		vdd-s9-supply = <&vph_pwr>;
678c2ecf20Sopenharmony_ci		vdd-s10-supply = <&vph_pwr>;
688c2ecf20Sopenharmony_ci
698c2ecf20Sopenharmony_ci		vdd-l1-l8-l11-supply = <&vreg_s6a_0p9>;
708c2ecf20Sopenharmony_ci		vdd-l2-l10-supply = <&vreg_bob>;
718c2ecf20Sopenharmony_ci		vdd-l3-l4-l5-l18-supply = <&vreg_s6a_0p9>;
728c2ecf20Sopenharmony_ci		vdd-l6-l9-supply = <&vreg_s8c_1p3>;
738c2ecf20Sopenharmony_ci		vdd-l7-l12-l14-l15-supply = <&vreg_s5a_2p0>;
748c2ecf20Sopenharmony_ci		vdd-l13-l16-l17-supply = <&vreg_bob>;
758c2ecf20Sopenharmony_ci
768c2ecf20Sopenharmony_ci		vreg_s5a_2p0: smps5 {
778c2ecf20Sopenharmony_ci			regulator-min-microvolt = <1904000>;
788c2ecf20Sopenharmony_ci			regulator-max-microvolt = <2000000>;
798c2ecf20Sopenharmony_ci		};
808c2ecf20Sopenharmony_ci
818c2ecf20Sopenharmony_ci		vreg_s6a_0p9: smps6 {
828c2ecf20Sopenharmony_ci			regulator-min-microvolt = <920000>;
838c2ecf20Sopenharmony_ci			regulator-max-microvolt = <1128000>;
848c2ecf20Sopenharmony_ci		};
858c2ecf20Sopenharmony_ci
868c2ecf20Sopenharmony_ci		vdda_wcss_pll:
878c2ecf20Sopenharmony_ci		vreg_l1a_0p75: ldo1 {
888c2ecf20Sopenharmony_ci			regulator-min-microvolt = <752000>;
898c2ecf20Sopenharmony_ci			regulator-max-microvolt = <752000>;
908c2ecf20Sopenharmony_ci			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
918c2ecf20Sopenharmony_ci		};
928c2ecf20Sopenharmony_ci
938c2ecf20Sopenharmony_ci		vdd_pdphy:
948c2ecf20Sopenharmony_ci		vdda_usb_hs_3p1:
958c2ecf20Sopenharmony_ci		vreg_l2a_3p1: ldo2 {
968c2ecf20Sopenharmony_ci			regulator-min-microvolt = <3072000>;
978c2ecf20Sopenharmony_ci			regulator-max-microvolt = <3072000>;
988c2ecf20Sopenharmony_ci			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
998c2ecf20Sopenharmony_ci		};
1008c2ecf20Sopenharmony_ci
1018c2ecf20Sopenharmony_ci		vreg_l3a_0p8: ldo3 {
1028c2ecf20Sopenharmony_ci			regulator-min-microvolt = <480000>;
1038c2ecf20Sopenharmony_ci			regulator-max-microvolt = <932000>;
1048c2ecf20Sopenharmony_ci			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1058c2ecf20Sopenharmony_ci		};
1068c2ecf20Sopenharmony_ci
1078c2ecf20Sopenharmony_ci		vdd_usb_hs_core:
1088c2ecf20Sopenharmony_ci		vdda_csi_0_0p9:
1098c2ecf20Sopenharmony_ci		vdda_csi_1_0p9:
1108c2ecf20Sopenharmony_ci		vdda_csi_2_0p9:
1118c2ecf20Sopenharmony_ci		vdda_csi_3_0p9:
1128c2ecf20Sopenharmony_ci		vdda_dsi_0_0p9:
1138c2ecf20Sopenharmony_ci		vdda_dsi_1_0p9:
1148c2ecf20Sopenharmony_ci		vdda_dsi_0_pll_0p9:
1158c2ecf20Sopenharmony_ci		vdda_dsi_1_pll_0p9:
1168c2ecf20Sopenharmony_ci		vdda_pcie_1ln_core:
1178c2ecf20Sopenharmony_ci		vdda_pcie_2ln_core:
1188c2ecf20Sopenharmony_ci		vdda_pll_hv_cc_ebi01:
1198c2ecf20Sopenharmony_ci		vdda_pll_hv_cc_ebi23:
1208c2ecf20Sopenharmony_ci		vdda_qrefs_0p875_5:
1218c2ecf20Sopenharmony_ci		vdda_sp_sensor:
1228c2ecf20Sopenharmony_ci		vdda_ufs_2ln_core_1:
1238c2ecf20Sopenharmony_ci		vdda_ufs_2ln_core_2:
1248c2ecf20Sopenharmony_ci		vdda_usb_ss_dp_core_1:
1258c2ecf20Sopenharmony_ci		vdda_usb_ss_dp_core_2:
1268c2ecf20Sopenharmony_ci		vdda_qlink_lv:
1278c2ecf20Sopenharmony_ci		vdda_qlink_lv_ck:
1288c2ecf20Sopenharmony_ci		vreg_l5a_0p875: ldo5 {
1298c2ecf20Sopenharmony_ci			regulator-min-microvolt = <880000>;
1308c2ecf20Sopenharmony_ci			regulator-max-microvolt = <880000>;
1318c2ecf20Sopenharmony_ci			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1328c2ecf20Sopenharmony_ci		};
1338c2ecf20Sopenharmony_ci
1348c2ecf20Sopenharmony_ci		vreg_l6a_1p2: ldo6 {
1358c2ecf20Sopenharmony_ci			regulator-min-microvolt = <1200000>;
1368c2ecf20Sopenharmony_ci			regulator-max-microvolt = <1200000>;
1378c2ecf20Sopenharmony_ci			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1388c2ecf20Sopenharmony_ci		};
1398c2ecf20Sopenharmony_ci
1408c2ecf20Sopenharmony_ci		vreg_l7a_1p8: ldo7 {
1418c2ecf20Sopenharmony_ci			regulator-min-microvolt = <1800000>;
1428c2ecf20Sopenharmony_ci			regulator-max-microvolt = <1800000>;
1438c2ecf20Sopenharmony_ci			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1448c2ecf20Sopenharmony_ci		};
1458c2ecf20Sopenharmony_ci
1468c2ecf20Sopenharmony_ci		vddpx_10:
1478c2ecf20Sopenharmony_ci		vreg_l9a_1p2: ldo9 {
1488c2ecf20Sopenharmony_ci			regulator-min-microvolt = <1200000>;
1498c2ecf20Sopenharmony_ci			regulator-max-microvolt = <1200000>;
1508c2ecf20Sopenharmony_ci			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1518c2ecf20Sopenharmony_ci		};
1528c2ecf20Sopenharmony_ci
1538c2ecf20Sopenharmony_ci		vreg_l10a_2p5: ldo10 {
1548c2ecf20Sopenharmony_ci			regulator-min-microvolt = <2504000>;
1558c2ecf20Sopenharmony_ci			regulator-max-microvolt = <2960000>;
1568c2ecf20Sopenharmony_ci			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1578c2ecf20Sopenharmony_ci		};
1588c2ecf20Sopenharmony_ci
1598c2ecf20Sopenharmony_ci		vreg_l11a_0p8: ldo11 {
1608c2ecf20Sopenharmony_ci			regulator-min-microvolt = <800000>;
1618c2ecf20Sopenharmony_ci			regulator-max-microvolt = <800000>;
1628c2ecf20Sopenharmony_ci			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1638c2ecf20Sopenharmony_ci		};
1648c2ecf20Sopenharmony_ci
1658c2ecf20Sopenharmony_ci		vdd_qfprom:
1668c2ecf20Sopenharmony_ci		vdd_qfprom_sp:
1678c2ecf20Sopenharmony_ci		vdda_apc_cs_1p8:
1688c2ecf20Sopenharmony_ci		vdda_gfx_cs_1p8:
1698c2ecf20Sopenharmony_ci		vdda_usb_hs_1p8:
1708c2ecf20Sopenharmony_ci		vdda_qrefs_vref_1p8:
1718c2ecf20Sopenharmony_ci		vddpx_10_a:
1728c2ecf20Sopenharmony_ci		vreg_l12a_1p8: ldo12 {
1738c2ecf20Sopenharmony_ci			regulator-min-microvolt = <1800000>;
1748c2ecf20Sopenharmony_ci			regulator-max-microvolt = <1800000>;
1758c2ecf20Sopenharmony_ci			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1768c2ecf20Sopenharmony_ci		};
1778c2ecf20Sopenharmony_ci
1788c2ecf20Sopenharmony_ci		vreg_l13a_2p7: ldo13 {
1798c2ecf20Sopenharmony_ci			regulator-min-microvolt = <2704000>;
1808c2ecf20Sopenharmony_ci			regulator-max-microvolt = <2704000>;
1818c2ecf20Sopenharmony_ci			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1828c2ecf20Sopenharmony_ci		};
1838c2ecf20Sopenharmony_ci
1848c2ecf20Sopenharmony_ci		vreg_l14a_1p8: ldo14 {
1858c2ecf20Sopenharmony_ci			regulator-min-microvolt = <1800000>;
1868c2ecf20Sopenharmony_ci			regulator-max-microvolt = <1880000>;
1878c2ecf20Sopenharmony_ci			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1888c2ecf20Sopenharmony_ci		};
1898c2ecf20Sopenharmony_ci
1908c2ecf20Sopenharmony_ci		vreg_l15a_1p7: ldo15 {
1918c2ecf20Sopenharmony_ci			regulator-min-microvolt = <1704000>;
1928c2ecf20Sopenharmony_ci			regulator-max-microvolt = <1704000>;
1938c2ecf20Sopenharmony_ci			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1948c2ecf20Sopenharmony_ci		};
1958c2ecf20Sopenharmony_ci
1968c2ecf20Sopenharmony_ci		vreg_l16a_2p7: ldo16 {
1978c2ecf20Sopenharmony_ci			regulator-min-microvolt = <2704000>;
1988c2ecf20Sopenharmony_ci			regulator-max-microvolt = <2960000>;
1998c2ecf20Sopenharmony_ci			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2008c2ecf20Sopenharmony_ci		};
2018c2ecf20Sopenharmony_ci
2028c2ecf20Sopenharmony_ci		vreg_l17a_3p0: ldo17 {
2038c2ecf20Sopenharmony_ci			regulator-min-microvolt = <2856000>;
2048c2ecf20Sopenharmony_ci			regulator-max-microvolt = <3008000>;
2058c2ecf20Sopenharmony_ci			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2068c2ecf20Sopenharmony_ci		};
2078c2ecf20Sopenharmony_ci	};
2088c2ecf20Sopenharmony_ci
2098c2ecf20Sopenharmony_ci	pm8150l-rpmh-regulators {
2108c2ecf20Sopenharmony_ci		compatible = "qcom,pm8150l-rpmh-regulators";
2118c2ecf20Sopenharmony_ci		qcom,pmic-id = "c";
2128c2ecf20Sopenharmony_ci
2138c2ecf20Sopenharmony_ci		vdd-s1-supply = <&vph_pwr>;
2148c2ecf20Sopenharmony_ci		vdd-s2-supply = <&vph_pwr>;
2158c2ecf20Sopenharmony_ci		vdd-s3-supply = <&vph_pwr>;
2168c2ecf20Sopenharmony_ci		vdd-s4-supply = <&vph_pwr>;
2178c2ecf20Sopenharmony_ci		vdd-s5-supply = <&vph_pwr>;
2188c2ecf20Sopenharmony_ci		vdd-s6-supply = <&vph_pwr>;
2198c2ecf20Sopenharmony_ci		vdd-s7-supply = <&vph_pwr>;
2208c2ecf20Sopenharmony_ci		vdd-s8-supply = <&vph_pwr>;
2218c2ecf20Sopenharmony_ci
2228c2ecf20Sopenharmony_ci		vdd-l1-l8-supply = <&vreg_s4a_1p8>;
2238c2ecf20Sopenharmony_ci		vdd-l2-l3-supply = <&vreg_s8c_1p3>;
2248c2ecf20Sopenharmony_ci		vdd-l4-l5-l6-supply = <&vreg_bob>;
2258c2ecf20Sopenharmony_ci		vdd-l7-l11-supply = <&vreg_bob>;
2268c2ecf20Sopenharmony_ci		vdd-l9-l10-supply = <&vreg_bob>;
2278c2ecf20Sopenharmony_ci
2288c2ecf20Sopenharmony_ci		vdd-bob-supply = <&vph_pwr>;
2298c2ecf20Sopenharmony_ci		vdd-flash-supply = <&vreg_bob>;
2308c2ecf20Sopenharmony_ci		vdd-rgb-supply = <&vreg_bob>;
2318c2ecf20Sopenharmony_ci
2328c2ecf20Sopenharmony_ci		vreg_bob: bob {
2338c2ecf20Sopenharmony_ci			regulator-min-microvolt = <3008000>;
2348c2ecf20Sopenharmony_ci			regulator-max-microvolt = <4000000>;
2358c2ecf20Sopenharmony_ci			regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>;
2368c2ecf20Sopenharmony_ci			regulator-allow-bypass;
2378c2ecf20Sopenharmony_ci		};
2388c2ecf20Sopenharmony_ci
2398c2ecf20Sopenharmony_ci		vreg_s8c_1p3: smps8 {
2408c2ecf20Sopenharmony_ci			regulator-min-microvolt = <1352000>;
2418c2ecf20Sopenharmony_ci			regulator-max-microvolt = <1352000>;
2428c2ecf20Sopenharmony_ci		};
2438c2ecf20Sopenharmony_ci
2448c2ecf20Sopenharmony_ci		vreg_l1c_1p8: ldo1 {
2458c2ecf20Sopenharmony_ci			regulator-min-microvolt = <1800000>;
2468c2ecf20Sopenharmony_ci			regulator-max-microvolt = <1800000>;
2478c2ecf20Sopenharmony_ci			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2488c2ecf20Sopenharmony_ci		};
2498c2ecf20Sopenharmony_ci
2508c2ecf20Sopenharmony_ci		vdda_wcss_adcdac_1:
2518c2ecf20Sopenharmony_ci		vdda_wcss_adcdac_22:
2528c2ecf20Sopenharmony_ci		vreg_l2c_1p3: ldo2 {
2538c2ecf20Sopenharmony_ci			regulator-min-microvolt = <1304000>;
2548c2ecf20Sopenharmony_ci			regulator-max-microvolt = <1304000>;
2558c2ecf20Sopenharmony_ci			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2568c2ecf20Sopenharmony_ci		};
2578c2ecf20Sopenharmony_ci
2588c2ecf20Sopenharmony_ci		vdda_hv_ebi0:
2598c2ecf20Sopenharmony_ci		vdda_hv_ebi1:
2608c2ecf20Sopenharmony_ci		vdda_hv_ebi2:
2618c2ecf20Sopenharmony_ci		vdda_hv_ebi3:
2628c2ecf20Sopenharmony_ci		vdda_hv_refgen0:
2638c2ecf20Sopenharmony_ci		vdda_qlink_hv_ck:
2648c2ecf20Sopenharmony_ci		vreg_l3c_1p2: ldo3 {
2658c2ecf20Sopenharmony_ci			regulator-min-microvolt = <1200000>;
2668c2ecf20Sopenharmony_ci			regulator-max-microvolt = <1200000>;
2678c2ecf20Sopenharmony_ci			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2688c2ecf20Sopenharmony_ci		};
2698c2ecf20Sopenharmony_ci
2708c2ecf20Sopenharmony_ci		vddpx_5:
2718c2ecf20Sopenharmony_ci		vreg_l4c_1p8: ldo4 {
2728c2ecf20Sopenharmony_ci			regulator-min-microvolt = <1704000>;
2738c2ecf20Sopenharmony_ci			regulator-max-microvolt = <2928000>;
2748c2ecf20Sopenharmony_ci			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2758c2ecf20Sopenharmony_ci		};
2768c2ecf20Sopenharmony_ci
2778c2ecf20Sopenharmony_ci		vddpx_6:
2788c2ecf20Sopenharmony_ci		vreg_l5c_1p8: ldo5 {
2798c2ecf20Sopenharmony_ci			regulator-min-microvolt = <1704000>;
2808c2ecf20Sopenharmony_ci			regulator-max-microvolt = <2928000>;
2818c2ecf20Sopenharmony_ci			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2828c2ecf20Sopenharmony_ci		};
2838c2ecf20Sopenharmony_ci
2848c2ecf20Sopenharmony_ci		vddpx_2:
2858c2ecf20Sopenharmony_ci		vreg_l6c_2p9: ldo6 {
2868c2ecf20Sopenharmony_ci			regulator-min-microvolt = <1800000>;
2878c2ecf20Sopenharmony_ci			regulator-max-microvolt = <2960000>;
2888c2ecf20Sopenharmony_ci			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2898c2ecf20Sopenharmony_ci		};
2908c2ecf20Sopenharmony_ci
2918c2ecf20Sopenharmony_ci		vreg_l7c_3p0: ldo7 {
2928c2ecf20Sopenharmony_ci			regulator-min-microvolt = <2856000>;
2938c2ecf20Sopenharmony_ci			regulator-max-microvolt = <3104000>;
2948c2ecf20Sopenharmony_ci			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2958c2ecf20Sopenharmony_ci		};
2968c2ecf20Sopenharmony_ci
2978c2ecf20Sopenharmony_ci		vreg_l8c_1p8: ldo8 {
2988c2ecf20Sopenharmony_ci			regulator-min-microvolt = <1800000>;
2998c2ecf20Sopenharmony_ci			regulator-max-microvolt = <1800000>;
3008c2ecf20Sopenharmony_ci			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3018c2ecf20Sopenharmony_ci		};
3028c2ecf20Sopenharmony_ci
3038c2ecf20Sopenharmony_ci		vreg_l9c_2p9: ldo9 {
3048c2ecf20Sopenharmony_ci			regulator-min-microvolt = <2704000>;
3058c2ecf20Sopenharmony_ci			regulator-max-microvolt = <2960000>;
3068c2ecf20Sopenharmony_ci			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3078c2ecf20Sopenharmony_ci		};
3088c2ecf20Sopenharmony_ci
3098c2ecf20Sopenharmony_ci		vreg_l10c_3p3: ldo10 {
3108c2ecf20Sopenharmony_ci			regulator-min-microvolt = <3000000>;
3118c2ecf20Sopenharmony_ci			regulator-max-microvolt = <3312000>;
3128c2ecf20Sopenharmony_ci			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3138c2ecf20Sopenharmony_ci		};
3148c2ecf20Sopenharmony_ci
3158c2ecf20Sopenharmony_ci		vreg_l11c_3p3: ldo11 {
3168c2ecf20Sopenharmony_ci			regulator-min-microvolt = <3000000>;
3178c2ecf20Sopenharmony_ci			regulator-max-microvolt = <3312000>;
3188c2ecf20Sopenharmony_ci			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3198c2ecf20Sopenharmony_ci		};
3208c2ecf20Sopenharmony_ci	};
3218c2ecf20Sopenharmony_ci
3228c2ecf20Sopenharmony_ci	pm8009-rpmh-regulators {
3238c2ecf20Sopenharmony_ci		compatible = "qcom,pm8009-rpmh-regulators";
3248c2ecf20Sopenharmony_ci		qcom,pmic-id = "f";
3258c2ecf20Sopenharmony_ci
3268c2ecf20Sopenharmony_ci		vdd-s1-supply = <&vph_pwr>;
3278c2ecf20Sopenharmony_ci		vdd-s2-supply = <&vreg_bob>;
3288c2ecf20Sopenharmony_ci
3298c2ecf20Sopenharmony_ci		vdd-l2-supply = <&vreg_s8c_1p3>;
3308c2ecf20Sopenharmony_ci		vdd-l5-l6-supply = <&vreg_bob>;
3318c2ecf20Sopenharmony_ci
3328c2ecf20Sopenharmony_ci		vreg_l2f_1p2: ldo2 {
3338c2ecf20Sopenharmony_ci			regulator-min-microvolt = <1200000>;
3348c2ecf20Sopenharmony_ci			regulator-max-microvolt = <1200000>;
3358c2ecf20Sopenharmony_ci			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3368c2ecf20Sopenharmony_ci		};
3378c2ecf20Sopenharmony_ci
3388c2ecf20Sopenharmony_ci		vreg_l5f_2p85: ldo5 {
3398c2ecf20Sopenharmony_ci			regulator-min-microvolt = <2800000>;
3408c2ecf20Sopenharmony_ci			regulator-max-microvolt = <2800000>;
3418c2ecf20Sopenharmony_ci			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3428c2ecf20Sopenharmony_ci		};
3438c2ecf20Sopenharmony_ci
3448c2ecf20Sopenharmony_ci		vreg_l6f_2p85: ldo6 {
3458c2ecf20Sopenharmony_ci			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3468c2ecf20Sopenharmony_ci			regulator-min-microvolt = <2856000>;
3478c2ecf20Sopenharmony_ci			regulator-max-microvolt = <2856000>;
3488c2ecf20Sopenharmony_ci		};
3498c2ecf20Sopenharmony_ci	};
3508c2ecf20Sopenharmony_ci};
3518c2ecf20Sopenharmony_ci
3528c2ecf20Sopenharmony_ci&qupv3_id_1 {
3538c2ecf20Sopenharmony_ci	status = "okay";
3548c2ecf20Sopenharmony_ci};
3558c2ecf20Sopenharmony_ci
3568c2ecf20Sopenharmony_ci&pon {
3578c2ecf20Sopenharmony_ci	pwrkey {
3588c2ecf20Sopenharmony_ci		status = "okay";
3598c2ecf20Sopenharmony_ci	};
3608c2ecf20Sopenharmony_ci
3618c2ecf20Sopenharmony_ci	resin {
3628c2ecf20Sopenharmony_ci		compatible = "qcom,pm8941-resin";
3638c2ecf20Sopenharmony_ci		interrupts = <0x0 0x8 0x1 IRQ_TYPE_EDGE_BOTH>;
3648c2ecf20Sopenharmony_ci		debounce = <15625>;
3658c2ecf20Sopenharmony_ci		bias-pull-up;
3668c2ecf20Sopenharmony_ci		linux,code = <KEY_VOLUMEDOWN>;
3678c2ecf20Sopenharmony_ci	};
3688c2ecf20Sopenharmony_ci};
3698c2ecf20Sopenharmony_ci
3708c2ecf20Sopenharmony_ci&remoteproc_adsp {
3718c2ecf20Sopenharmony_ci	status = "okay";
3728c2ecf20Sopenharmony_ci};
3738c2ecf20Sopenharmony_ci
3748c2ecf20Sopenharmony_ci&remoteproc_cdsp {
3758c2ecf20Sopenharmony_ci	status = "okay";
3768c2ecf20Sopenharmony_ci};
3778c2ecf20Sopenharmony_ci
3788c2ecf20Sopenharmony_ci&remoteproc_slpi {
3798c2ecf20Sopenharmony_ci	status = "okay";
3808c2ecf20Sopenharmony_ci};
3818c2ecf20Sopenharmony_ci
3828c2ecf20Sopenharmony_ci&tlmm {
3838c2ecf20Sopenharmony_ci	gpio-reserved-ranges = <0 4>, <126 4>;
3848c2ecf20Sopenharmony_ci};
3858c2ecf20Sopenharmony_ci
3868c2ecf20Sopenharmony_ci&uart2 {
3878c2ecf20Sopenharmony_ci	status = "okay";
3888c2ecf20Sopenharmony_ci};
3898c2ecf20Sopenharmony_ci
3908c2ecf20Sopenharmony_ci&ufs_mem_hc {
3918c2ecf20Sopenharmony_ci	status = "okay";
3928c2ecf20Sopenharmony_ci
3938c2ecf20Sopenharmony_ci	reset-gpios = <&tlmm 175 GPIO_ACTIVE_LOW>;
3948c2ecf20Sopenharmony_ci
3958c2ecf20Sopenharmony_ci	vcc-supply = <&vreg_l10a_2p5>;
3968c2ecf20Sopenharmony_ci	vcc-max-microamp = <750000>;
3978c2ecf20Sopenharmony_ci	vccq-supply = <&vreg_l9a_1p2>;
3988c2ecf20Sopenharmony_ci	vccq-max-microamp = <700000>;
3998c2ecf20Sopenharmony_ci	vccq2-supply = <&vreg_s4a_1p8>;
4008c2ecf20Sopenharmony_ci	vccq2-max-microamp = <750000>;
4018c2ecf20Sopenharmony_ci};
4028c2ecf20Sopenharmony_ci
4038c2ecf20Sopenharmony_ci&ufs_mem_phy {
4048c2ecf20Sopenharmony_ci	status = "okay";
4058c2ecf20Sopenharmony_ci
4068c2ecf20Sopenharmony_ci	vdda-phy-supply = <&vdda_ufs_2ln_core_1>;
4078c2ecf20Sopenharmony_ci	vdda-max-microamp = <90200>;
4088c2ecf20Sopenharmony_ci	vdda-pll-supply = <&vreg_l3c_1p2>;
4098c2ecf20Sopenharmony_ci	vdda-pll-max-microamp = <19000>;
4108c2ecf20Sopenharmony_ci};
4118c2ecf20Sopenharmony_ci
4128c2ecf20Sopenharmony_ci&usb_1_hsphy {
4138c2ecf20Sopenharmony_ci	status = "okay";
4148c2ecf20Sopenharmony_ci	vdda-pll-supply = <&vdd_usb_hs_core>;
4158c2ecf20Sopenharmony_ci	vdda33-supply = <&vdda_usb_hs_3p1>;
4168c2ecf20Sopenharmony_ci	vdda18-supply = <&vdda_usb_hs_1p8>;
4178c2ecf20Sopenharmony_ci};
4188c2ecf20Sopenharmony_ci
4198c2ecf20Sopenharmony_ci&usb_1_qmpphy {
4208c2ecf20Sopenharmony_ci	status = "okay";
4218c2ecf20Sopenharmony_ci	vdda-phy-supply = <&vreg_l3c_1p2>;
4228c2ecf20Sopenharmony_ci	vdda-pll-supply = <&vdda_usb_ss_dp_core_1>;
4238c2ecf20Sopenharmony_ci};
4248c2ecf20Sopenharmony_ci
4258c2ecf20Sopenharmony_ci&usb_1 {
4268c2ecf20Sopenharmony_ci	status = "okay";
4278c2ecf20Sopenharmony_ci};
4288c2ecf20Sopenharmony_ci
4298c2ecf20Sopenharmony_ci&usb_1_dwc3 {
4308c2ecf20Sopenharmony_ci	dr_mode = "peripheral";
4318c2ecf20Sopenharmony_ci};
432