18bab661aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 28bab661aSEmmanuel Vadot/* 38bab661aSEmmanuel Vadot * SDM845 Samsung S9 (SM-G9600) (starqltechn / star2qltechn) common device tree source 48bab661aSEmmanuel Vadot * 58bab661aSEmmanuel Vadot * Copyright (c) 2020, The Linux Foundation. All rights reserved. 68bab661aSEmmanuel Vadot */ 78bab661aSEmmanuel Vadot 88bab661aSEmmanuel Vadot/dts-v1/; 98bab661aSEmmanuel Vadot 108bab661aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 118bab661aSEmmanuel Vadot#include <dt-bindings/regulator/qcom,rpmh-regulator.h> 128bab661aSEmmanuel Vadot#include "sdm845.dtsi" 138bab661aSEmmanuel Vadot 148bab661aSEmmanuel Vadot/ { 158bab661aSEmmanuel Vadot chassis-type = "handset"; 168bab661aSEmmanuel Vadot model = "Samsung Galaxy S9 SM-G9600"; 178bab661aSEmmanuel Vadot compatible = "samsung,starqltechn", "qcom,sdm845"; 188bab661aSEmmanuel Vadot 198bab661aSEmmanuel Vadot chosen { 208bab661aSEmmanuel Vadot #address-cells = <2>; 218bab661aSEmmanuel Vadot #size-cells = <2>; 228bab661aSEmmanuel Vadot ranges; 238bab661aSEmmanuel Vadot framebuffer: framebuffer@9d400000 { 248bab661aSEmmanuel Vadot compatible = "simple-framebuffer"; 258bab661aSEmmanuel Vadot reg = <0 0x9d400000 0 (2960 * 1440 * 4)>;//2400000 268bab661aSEmmanuel Vadot width = <1440>; 278bab661aSEmmanuel Vadot height = <2960>; 288bab661aSEmmanuel Vadot stride = <(1440 * 4)>; 298bab661aSEmmanuel Vadot format = "a8r8g8b8"; 308bab661aSEmmanuel Vadot }; 318bab661aSEmmanuel Vadot }; 328bab661aSEmmanuel Vadot 338bab661aSEmmanuel Vadot vph_pwr: vph-pwr-regulator { 348bab661aSEmmanuel Vadot compatible = "regulator-fixed"; 358bab661aSEmmanuel Vadot regulator-name = "vph_pwr"; 368bab661aSEmmanuel Vadot regulator-min-microvolt = <3700000>; 378bab661aSEmmanuel Vadot regulator-max-microvolt = <3700000>; 388bab661aSEmmanuel Vadot }; 398bab661aSEmmanuel Vadot 408bab661aSEmmanuel Vadot /* 418bab661aSEmmanuel Vadot * Apparently RPMh does not provide support for PM8998 S4 because it 428bab661aSEmmanuel Vadot * is always-on; model it as a fixed regulator. 438bab661aSEmmanuel Vadot */ 448bab661aSEmmanuel Vadot vreg_s4a_1p8: pm8998-smps4 { 458bab661aSEmmanuel Vadot compatible = "regulator-fixed"; 468bab661aSEmmanuel Vadot regulator-name = "vreg_s4a_1p8"; 478bab661aSEmmanuel Vadot 488bab661aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 498bab661aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 508bab661aSEmmanuel Vadot 518bab661aSEmmanuel Vadot regulator-always-on; 528bab661aSEmmanuel Vadot regulator-boot-on; 538bab661aSEmmanuel Vadot 548bab661aSEmmanuel Vadot vin-supply = <&vph_pwr>; 558bab661aSEmmanuel Vadot }; 568bab661aSEmmanuel Vadot 578bab661aSEmmanuel Vadot reserved-memory { 588bab661aSEmmanuel Vadot memory@9d400000 { 598bab661aSEmmanuel Vadot reg = <0x0 0x9d400000 0x0 0x02400000>; 608bab661aSEmmanuel Vadot no-map; 618bab661aSEmmanuel Vadot }; 628bab661aSEmmanuel Vadot 638bab661aSEmmanuel Vadot memory@a1300000 { 648bab661aSEmmanuel Vadot compatible = "ramoops"; 658bab661aSEmmanuel Vadot reg = <0x0 0xa1300000 0x0 0x100000>; 668bab661aSEmmanuel Vadot record-size = <0x40000>; 678bab661aSEmmanuel Vadot console-size = <0x40000>; 688bab661aSEmmanuel Vadot ftrace-size = <0x40000>; 698bab661aSEmmanuel Vadot pmsg-size = <0x40000>; 708bab661aSEmmanuel Vadot }; 718bab661aSEmmanuel Vadot }; 728bab661aSEmmanuel Vadot}; 738bab661aSEmmanuel Vadot 748bab661aSEmmanuel Vadot 758bab661aSEmmanuel Vadot&apps_rsc { 76*cb7aa33aSEmmanuel Vadot regulators-0 { 778bab661aSEmmanuel Vadot compatible = "qcom,pm8998-rpmh-regulators"; 788bab661aSEmmanuel Vadot qcom,pmic-id = "a"; 798bab661aSEmmanuel Vadot 808bab661aSEmmanuel Vadot vdd-s1-supply = <&vph_pwr>; 818bab661aSEmmanuel Vadot vdd-s2-supply = <&vph_pwr>; 828bab661aSEmmanuel Vadot vdd-s3-supply = <&vph_pwr>; 838bab661aSEmmanuel Vadot vdd-s4-supply = <&vph_pwr>; 848bab661aSEmmanuel Vadot vdd-s5-supply = <&vph_pwr>; 858bab661aSEmmanuel Vadot vdd-s6-supply = <&vph_pwr>; 868bab661aSEmmanuel Vadot vdd-s7-supply = <&vph_pwr>; 878bab661aSEmmanuel Vadot vdd-s8-supply = <&vph_pwr>; 888bab661aSEmmanuel Vadot vdd-s9-supply = <&vph_pwr>; 898bab661aSEmmanuel Vadot vdd-s10-supply = <&vph_pwr>; 908bab661aSEmmanuel Vadot vdd-s11-supply = <&vph_pwr>; 918bab661aSEmmanuel Vadot vdd-s12-supply = <&vph_pwr>; 928bab661aSEmmanuel Vadot vdd-s13-supply = <&vph_pwr>; 938bab661aSEmmanuel Vadot vdd-l1-l27-supply = <&vreg_s7a_1p025>; 948bab661aSEmmanuel Vadot vdd-l2-l8-l17-supply = <&vreg_s3a_1p35>; 958bab661aSEmmanuel Vadot vdd-l3-l11-supply = <&vreg_s7a_1p025>; 968bab661aSEmmanuel Vadot vdd-l4-l5-supply = <&vreg_s7a_1p025>; 978bab661aSEmmanuel Vadot vdd-l6-supply = <&vph_pwr>; 988bab661aSEmmanuel Vadot vdd-l7-l12-l14-l15-supply = <&vreg_s5a_2p04>; 998bab661aSEmmanuel Vadot vdd-l26-supply = <&vreg_s3a_1p35>; 1008bab661aSEmmanuel Vadot vin-lvs-1-2-supply = <&vreg_s4a_1p8>; 1018bab661aSEmmanuel Vadot 1028bab661aSEmmanuel Vadot vreg_s2a_1p125: smps2 { 1038bab661aSEmmanuel Vadot regulator-min-microvolt = <1100000>; 1048bab661aSEmmanuel Vadot regulator-max-microvolt = <1100000>; 1058bab661aSEmmanuel Vadot }; 1068bab661aSEmmanuel Vadot 1078bab661aSEmmanuel Vadot vreg_s3a_1p35: smps3 { 1088bab661aSEmmanuel Vadot regulator-min-microvolt = <1352000>; 1098bab661aSEmmanuel Vadot regulator-max-microvolt = <1352000>; 1108bab661aSEmmanuel Vadot }; 1118bab661aSEmmanuel Vadot 1128bab661aSEmmanuel Vadot vreg_s5a_2p04: smps5 { 1138bab661aSEmmanuel Vadot regulator-min-microvolt = <1904000>; 1148bab661aSEmmanuel Vadot regulator-max-microvolt = <2040000>; 1158bab661aSEmmanuel Vadot }; 1168bab661aSEmmanuel Vadot 1178bab661aSEmmanuel Vadot vreg_s7a_1p025: smps7 { 1188bab661aSEmmanuel Vadot regulator-min-microvolt = <900000>; 1198bab661aSEmmanuel Vadot regulator-max-microvolt = <1028000>; 1208bab661aSEmmanuel Vadot }; 1218bab661aSEmmanuel Vadot 1228bab661aSEmmanuel Vadot vdd_qusb_hs0: 1238bab661aSEmmanuel Vadot vdda_hp_pcie_core: 1248bab661aSEmmanuel Vadot vdda_mipi_csi0_0p9: 1258bab661aSEmmanuel Vadot vdda_mipi_csi1_0p9: 1268bab661aSEmmanuel Vadot vdda_mipi_csi2_0p9: 1278bab661aSEmmanuel Vadot vdda_mipi_dsi0_pll: 1288bab661aSEmmanuel Vadot vdda_mipi_dsi1_pll: 1298bab661aSEmmanuel Vadot vdda_qlink_lv: 1308bab661aSEmmanuel Vadot vdda_qlink_lv_ck: 1318bab661aSEmmanuel Vadot vdda_qrefs_0p875: 1328bab661aSEmmanuel Vadot vdda_pcie_core: 1338bab661aSEmmanuel Vadot vdda_pll_cc_ebi01: 1348bab661aSEmmanuel Vadot vdda_pll_cc_ebi23: 1358bab661aSEmmanuel Vadot vdda_sp_sensor: 1368bab661aSEmmanuel Vadot vdda_ufs1_core: 1378bab661aSEmmanuel Vadot vdda_ufs2_core: 1388bab661aSEmmanuel Vadot vdda_usb1_ss_core: 1398bab661aSEmmanuel Vadot vdda_usb2_ss_core: 1408bab661aSEmmanuel Vadot vreg_l1a_0p875: ldo1 { 1418bab661aSEmmanuel Vadot regulator-min-microvolt = <880000>; 1428bab661aSEmmanuel Vadot regulator-max-microvolt = <880000>; 1438bab661aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 1448bab661aSEmmanuel Vadot }; 1458bab661aSEmmanuel Vadot 1468bab661aSEmmanuel Vadot vddpx_10: 1478bab661aSEmmanuel Vadot vreg_l2a_1p2: ldo2 { 1488bab661aSEmmanuel Vadot regulator-min-microvolt = <1200000>; 1498bab661aSEmmanuel Vadot regulator-max-microvolt = <1200000>; 1508bab661aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 1518bab661aSEmmanuel Vadot regulator-always-on; 1528bab661aSEmmanuel Vadot }; 1538bab661aSEmmanuel Vadot 1548bab661aSEmmanuel Vadot vreg_l3a_1p0: ldo3 { 1558bab661aSEmmanuel Vadot regulator-min-microvolt = <1000000>; 1568bab661aSEmmanuel Vadot regulator-max-microvolt = <1000000>; 1578bab661aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 1588bab661aSEmmanuel Vadot }; 1598bab661aSEmmanuel Vadot 1608bab661aSEmmanuel Vadot vdd_wcss_cx: 1618bab661aSEmmanuel Vadot vdd_wcss_mx: 1628bab661aSEmmanuel Vadot vdda_wcss_pll: 1638bab661aSEmmanuel Vadot vreg_l5a_0p8: ldo5 { 1648bab661aSEmmanuel Vadot regulator-min-microvolt = <800000>; 1658bab661aSEmmanuel Vadot regulator-max-microvolt = <800000>; 1668bab661aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 1678bab661aSEmmanuel Vadot }; 1688bab661aSEmmanuel Vadot 1698bab661aSEmmanuel Vadot vddpx_13: 1708bab661aSEmmanuel Vadot vreg_l6a_1p8: ldo6 { 1718bab661aSEmmanuel Vadot regulator-min-microvolt = <1856000>; 1728bab661aSEmmanuel Vadot regulator-max-microvolt = <1856000>; 1738bab661aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 1748bab661aSEmmanuel Vadot }; 1758bab661aSEmmanuel Vadot 1768bab661aSEmmanuel Vadot vreg_l7a_1p8: ldo7 { 1778bab661aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 1788bab661aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 1798bab661aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 1808bab661aSEmmanuel Vadot }; 1818bab661aSEmmanuel Vadot 1828bab661aSEmmanuel Vadot vreg_l8a_1p2: ldo8 { 1838bab661aSEmmanuel Vadot regulator-min-microvolt = <1200000>; 1848bab661aSEmmanuel Vadot regulator-max-microvolt = <1248000>; 1858bab661aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 1868bab661aSEmmanuel Vadot }; 1878bab661aSEmmanuel Vadot 1888bab661aSEmmanuel Vadot vreg_l9a_1p8: ldo9 { 1898bab661aSEmmanuel Vadot regulator-min-microvolt = <1704000>; 1908bab661aSEmmanuel Vadot regulator-max-microvolt = <2928000>; 1918bab661aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 1928bab661aSEmmanuel Vadot }; 1938bab661aSEmmanuel Vadot 1948bab661aSEmmanuel Vadot vreg_l10a_1p8: ldo10 { 1958bab661aSEmmanuel Vadot regulator-min-microvolt = <1704000>; 1968bab661aSEmmanuel Vadot regulator-max-microvolt = <2928000>; 1978bab661aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 1988bab661aSEmmanuel Vadot }; 1998bab661aSEmmanuel Vadot 2008bab661aSEmmanuel Vadot vreg_l11a_1p0: ldo11 { 2018bab661aSEmmanuel Vadot regulator-min-microvolt = <1000000>; 2028bab661aSEmmanuel Vadot regulator-max-microvolt = <1048000>; 2038bab661aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2048bab661aSEmmanuel Vadot }; 2058bab661aSEmmanuel Vadot 2068bab661aSEmmanuel Vadot vdd_qfprom: 2078bab661aSEmmanuel Vadot vdd_qfprom_sp: 2088bab661aSEmmanuel Vadot vdda_apc1_cs_1p8: 2098bab661aSEmmanuel Vadot vdda_gfx_cs_1p8: 2108bab661aSEmmanuel Vadot vdda_qrefs_1p8: 2118bab661aSEmmanuel Vadot vdda_qusb_hs0_1p8: 2128bab661aSEmmanuel Vadot vddpx_11: 2138bab661aSEmmanuel Vadot vreg_l12a_1p8: ldo12 { 2148bab661aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 2158bab661aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 2168bab661aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2178bab661aSEmmanuel Vadot }; 2188bab661aSEmmanuel Vadot 2198bab661aSEmmanuel Vadot vddpx_2: 2208bab661aSEmmanuel Vadot vreg_l13a_2p95: ldo13 { 2218bab661aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 2228bab661aSEmmanuel Vadot regulator-max-microvolt = <2960000>; 2238bab661aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2248bab661aSEmmanuel Vadot }; 2258bab661aSEmmanuel Vadot 2268bab661aSEmmanuel Vadot vreg_l14a_1p88: ldo14 { 2278bab661aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 2288bab661aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 2298bab661aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2308bab661aSEmmanuel Vadot }; 2318bab661aSEmmanuel Vadot 2328bab661aSEmmanuel Vadot vreg_l15a_1p8: ldo15 { 2338bab661aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 2348bab661aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 2358bab661aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2368bab661aSEmmanuel Vadot }; 2378bab661aSEmmanuel Vadot 2388bab661aSEmmanuel Vadot vreg_l16a_2p7: ldo16 { 2398bab661aSEmmanuel Vadot regulator-min-microvolt = <2704000>; 2408bab661aSEmmanuel Vadot regulator-max-microvolt = <2704000>; 2418bab661aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2428bab661aSEmmanuel Vadot }; 2438bab661aSEmmanuel Vadot 2448bab661aSEmmanuel Vadot vreg_l17a_1p3: ldo17 { 2458bab661aSEmmanuel Vadot regulator-min-microvolt = <1304000>; 2468bab661aSEmmanuel Vadot regulator-max-microvolt = <1304000>; 2478bab661aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2488bab661aSEmmanuel Vadot }; 2498bab661aSEmmanuel Vadot 2508bab661aSEmmanuel Vadot vreg_l18a_2p7: ldo18 { 2518bab661aSEmmanuel Vadot regulator-min-microvolt = <2704000>; 2528bab661aSEmmanuel Vadot regulator-max-microvolt = <2960000>; 2538bab661aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2548bab661aSEmmanuel Vadot }; 2558bab661aSEmmanuel Vadot 2568bab661aSEmmanuel Vadot vreg_l19a_3p0: ldo19 { 2578bab661aSEmmanuel Vadot regulator-min-microvolt = <2856000>; 2588bab661aSEmmanuel Vadot regulator-max-microvolt = <3104000>; 2598bab661aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2608bab661aSEmmanuel Vadot }; 2618bab661aSEmmanuel Vadot 2628bab661aSEmmanuel Vadot vreg_l20a_2p95: ldo20 { 2638bab661aSEmmanuel Vadot regulator-min-microvolt = <2704000>; 2648bab661aSEmmanuel Vadot regulator-max-microvolt = <2960000>; 2658bab661aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2668bab661aSEmmanuel Vadot }; 2678bab661aSEmmanuel Vadot 2688bab661aSEmmanuel Vadot vreg_l21a_2p95: ldo21 { 2698bab661aSEmmanuel Vadot regulator-min-microvolt = <2704000>; 2708bab661aSEmmanuel Vadot regulator-max-microvolt = <2960000>; 2718bab661aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2728bab661aSEmmanuel Vadot }; 2738bab661aSEmmanuel Vadot 2748bab661aSEmmanuel Vadot vreg_l22a_2p85: ldo22 { 2758bab661aSEmmanuel Vadot regulator-min-microvolt = <2864000>; 2768bab661aSEmmanuel Vadot regulator-max-microvolt = <3312000>; 2778bab661aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2788bab661aSEmmanuel Vadot }; 2798bab661aSEmmanuel Vadot 2808bab661aSEmmanuel Vadot vreg_l23a_3p3: ldo23 { 2818bab661aSEmmanuel Vadot regulator-min-microvolt = <3000000>; 2828bab661aSEmmanuel Vadot regulator-max-microvolt = <3312000>; 2838bab661aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2848bab661aSEmmanuel Vadot }; 2858bab661aSEmmanuel Vadot 2868bab661aSEmmanuel Vadot vdda_qusb_hs0_3p1: 2878bab661aSEmmanuel Vadot vreg_l24a_3p075: ldo24 { 2888bab661aSEmmanuel Vadot regulator-min-microvolt = <3088000>; 2898bab661aSEmmanuel Vadot regulator-max-microvolt = <3088000>; 2908bab661aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2918bab661aSEmmanuel Vadot }; 2928bab661aSEmmanuel Vadot 2938bab661aSEmmanuel Vadot vreg_l25a_3p3: ldo25 { 2948bab661aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 2958bab661aSEmmanuel Vadot regulator-max-microvolt = <3312000>; 2968bab661aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2978bab661aSEmmanuel Vadot }; 2988bab661aSEmmanuel Vadot 2998bab661aSEmmanuel Vadot vdda_hp_pcie_1p2: 3008bab661aSEmmanuel Vadot vdda_hv_ebi0: 3018bab661aSEmmanuel Vadot vdda_hv_ebi1: 3028bab661aSEmmanuel Vadot vdda_hv_ebi2: 3038bab661aSEmmanuel Vadot vdda_hv_ebi3: 3048bab661aSEmmanuel Vadot vdda_mipi_csi_1p25: 3058bab661aSEmmanuel Vadot vdda_mipi_dsi0_1p2: 3068bab661aSEmmanuel Vadot vdda_mipi_dsi1_1p2: 3078bab661aSEmmanuel Vadot vdda_pcie_1p2: 3088bab661aSEmmanuel Vadot vdda_ufs1_1p2: 3098bab661aSEmmanuel Vadot vdda_ufs2_1p2: 3108bab661aSEmmanuel Vadot vdda_usb1_ss_1p2: 3118bab661aSEmmanuel Vadot vdda_usb2_ss_1p2: 3128bab661aSEmmanuel Vadot vreg_l26a_1p2: ldo26 { 3138bab661aSEmmanuel Vadot regulator-min-microvolt = <1200000>; 3148bab661aSEmmanuel Vadot regulator-max-microvolt = <1200000>; 3158bab661aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3168bab661aSEmmanuel Vadot }; 3178bab661aSEmmanuel Vadot 3188bab661aSEmmanuel Vadot vreg_l28a_3p0: ldo28 { 3198bab661aSEmmanuel Vadot regulator-min-microvolt = <2856000>; 3208bab661aSEmmanuel Vadot regulator-max-microvolt = <3008000>; 3218bab661aSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3228bab661aSEmmanuel Vadot }; 3238bab661aSEmmanuel Vadot 3248bab661aSEmmanuel Vadot vreg_lvs1a_1p8: lvs1 { 3258bab661aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 3268bab661aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 3278bab661aSEmmanuel Vadot }; 3288bab661aSEmmanuel Vadot 3298bab661aSEmmanuel Vadot vreg_lvs2a_1p8: lvs2 { 3308bab661aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 3318bab661aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 3328bab661aSEmmanuel Vadot }; 3338bab661aSEmmanuel Vadot }; 3348bab661aSEmmanuel Vadot 335*cb7aa33aSEmmanuel Vadot regulators-1 { 3368bab661aSEmmanuel Vadot compatible = "qcom,pm8005-rpmh-regulators"; 3378bab661aSEmmanuel Vadot qcom,pmic-id = "c"; 3388bab661aSEmmanuel Vadot 3398bab661aSEmmanuel Vadot vdd-s1-supply = <&vph_pwr>; 3408bab661aSEmmanuel Vadot vdd-s2-supply = <&vph_pwr>; 3418bab661aSEmmanuel Vadot vdd-s3-supply = <&vph_pwr>; 3428bab661aSEmmanuel Vadot vdd-s4-supply = <&vph_pwr>; 3438bab661aSEmmanuel Vadot 3448bab661aSEmmanuel Vadot vreg_s3c_0p6: smps3 { 3458bab661aSEmmanuel Vadot regulator-min-microvolt = <600000>; 3468bab661aSEmmanuel Vadot regulator-max-microvolt = <600000>; 3478bab661aSEmmanuel Vadot }; 3488bab661aSEmmanuel Vadot }; 3498bab661aSEmmanuel Vadot}; 3508bab661aSEmmanuel Vadot 3518bab661aSEmmanuel Vadot&gcc { 3528bab661aSEmmanuel Vadot protected-clocks = <GCC_QSPI_CORE_CLK>, 3538bab661aSEmmanuel Vadot <GCC_QSPI_CORE_CLK_SRC>, 3548bab661aSEmmanuel Vadot <GCC_QSPI_CNOC_PERIPH_AHB_CLK>, 3558bab661aSEmmanuel Vadot <GCC_LPASS_Q6_AXI_CLK>, 3568bab661aSEmmanuel Vadot <GCC_LPASS_SWAY_CLK>; 3578bab661aSEmmanuel Vadot}; 3588bab661aSEmmanuel Vadot 3598bab661aSEmmanuel Vadot&i2c10 { 3608bab661aSEmmanuel Vadot clock-frequency = <400000>; 3618bab661aSEmmanuel Vadot status = "okay"; 3628bab661aSEmmanuel Vadot}; 3638bab661aSEmmanuel Vadot 3648bab661aSEmmanuel Vadot&qupv3_id_1 { 3658bab661aSEmmanuel Vadot status = "okay"; 3668bab661aSEmmanuel Vadot}; 3678bab661aSEmmanuel Vadot 3688bab661aSEmmanuel Vadot&uart9 { 3698bab661aSEmmanuel Vadot status = "okay"; 3708bab661aSEmmanuel Vadot}; 3718bab661aSEmmanuel Vadot 3728bab661aSEmmanuel Vadot&ufs_mem_hc { 3738bab661aSEmmanuel Vadot reset-gpios = <&tlmm 150 GPIO_ACTIVE_LOW>; 3748bab661aSEmmanuel Vadot vcc-supply = <&vreg_l20a_2p95>; 3758bab661aSEmmanuel Vadot vcc-max-microamp = <600000>; 3768bab661aSEmmanuel Vadot status = "okay"; 3778bab661aSEmmanuel Vadot}; 3788bab661aSEmmanuel Vadot 3798bab661aSEmmanuel Vadot&ufs_mem_phy { 3808bab661aSEmmanuel Vadot vdda-phy-supply = <&vdda_ufs1_core>; 3818bab661aSEmmanuel Vadot vdda-pll-supply = <&vdda_ufs1_1p2>; 3828bab661aSEmmanuel Vadot status = "okay"; 3838bab661aSEmmanuel Vadot}; 3848bab661aSEmmanuel Vadot 3858bab661aSEmmanuel Vadot&sdhc_2 { 3868bab661aSEmmanuel Vadot pinctrl-names = "default"; 3878bab661aSEmmanuel Vadot pinctrl-0 = <&sdc2_clk_state &sdc2_cmd_state &sdc2_data_state &sd_card_det_n_state>; 3888bab661aSEmmanuel Vadot cd-gpios = <&tlmm 126 GPIO_ACTIVE_LOW>; 3898bab661aSEmmanuel Vadot vmmc-supply = <&vreg_l21a_2p95>; 3908bab661aSEmmanuel Vadot vqmmc-supply = <&vddpx_2>; 3918bab661aSEmmanuel Vadot status = "okay"; 3928bab661aSEmmanuel Vadot}; 3938bab661aSEmmanuel Vadot 3948bab661aSEmmanuel Vadot&usb_1 { 3958bab661aSEmmanuel Vadot status = "okay"; 3968bab661aSEmmanuel Vadot}; 3978bab661aSEmmanuel Vadot 3988bab661aSEmmanuel Vadot&usb_1_dwc3 { 3998bab661aSEmmanuel Vadot /* Until we have Type C hooked up we'll force this as peripheral. */ 4008bab661aSEmmanuel Vadot dr_mode = "peripheral"; 4018bab661aSEmmanuel Vadot}; 4028bab661aSEmmanuel Vadot 4038bab661aSEmmanuel Vadot&usb_1_hsphy { 4048bab661aSEmmanuel Vadot vdd-supply = <&vdda_usb1_ss_core>; 4058bab661aSEmmanuel Vadot vdda-pll-supply = <&vdda_qusb_hs0_1p8>; 4068bab661aSEmmanuel Vadot vdda-phy-dpdm-supply = <&vdda_qusb_hs0_3p1>; 4078bab661aSEmmanuel Vadot 4088bab661aSEmmanuel Vadot qcom,imp-res-offset-value = <8>; 4098bab661aSEmmanuel Vadot qcom,hstx-trim-value = <QUSB2_V2_HSTX_TRIM_21_6_MA>; 4108bab661aSEmmanuel Vadot qcom,preemphasis-level = <QUSB2_V2_PREEMPHASIS_5_PERCENT>; 4118bab661aSEmmanuel Vadot qcom,preemphasis-width = <QUSB2_V2_PREEMPHASIS_WIDTH_HALF_BIT>; 4128bab661aSEmmanuel Vadot status = "okay"; 4138bab661aSEmmanuel Vadot}; 4148bab661aSEmmanuel Vadot 4158bab661aSEmmanuel Vadot&usb_1_qmpphy { 4168bab661aSEmmanuel Vadot vdda-phy-supply = <&vdda_usb1_ss_1p2>; 4178bab661aSEmmanuel Vadot vdda-pll-supply = <&vdda_usb1_ss_core>; 4188bab661aSEmmanuel Vadot status = "okay"; 4198bab661aSEmmanuel Vadot}; 4208bab661aSEmmanuel Vadot 4218bab661aSEmmanuel Vadot&wifi { 4228bab661aSEmmanuel Vadot vdd-0.8-cx-mx-supply = <&vreg_l5a_0p8>; 4238bab661aSEmmanuel Vadot vdd-1.8-xo-supply = <&vreg_l7a_1p8>; 4248bab661aSEmmanuel Vadot vdd-1.3-rfa-supply = <&vreg_l17a_1p3>; 4258bab661aSEmmanuel Vadot vdd-3.3-ch0-supply = <&vreg_l25a_3p3>; 4268bab661aSEmmanuel Vadot status = "okay"; 4278bab661aSEmmanuel Vadot}; 4288bab661aSEmmanuel Vadot 4298bab661aSEmmanuel Vadot&tlmm { 4308bab661aSEmmanuel Vadot gpio-reserved-ranges = <0 4>, <27 4>, <81 4>, <85 4>; 4318bab661aSEmmanuel Vadot 4328bab661aSEmmanuel Vadot sdc2_clk_state: sdc2-clk-state { 4338bab661aSEmmanuel Vadot pins = "sdc2_clk"; 4348bab661aSEmmanuel Vadot bias-disable; 4358bab661aSEmmanuel Vadot 4368bab661aSEmmanuel Vadot /* 4378bab661aSEmmanuel Vadot * It seems that mmc_test reports errors if drive 4388bab661aSEmmanuel Vadot * strength is not 16 on clk, cmd, and data pins. 4398bab661aSEmmanuel Vadot */ 4408bab661aSEmmanuel Vadot drive-strength = <16>; 4418bab661aSEmmanuel Vadot }; 4428bab661aSEmmanuel Vadot 4438bab661aSEmmanuel Vadot sdc2_cmd_state: sdc2-cmd-state { 4448bab661aSEmmanuel Vadot pins = "sdc2_cmd"; 4458bab661aSEmmanuel Vadot bias-pull-up; 4468bab661aSEmmanuel Vadot drive-strength = <16>; 4478bab661aSEmmanuel Vadot }; 4488bab661aSEmmanuel Vadot 4498bab661aSEmmanuel Vadot sdc2_data_state: sdc2-data-state { 4508bab661aSEmmanuel Vadot pins = "sdc2_data"; 4518bab661aSEmmanuel Vadot bias-pull-up; 4528bab661aSEmmanuel Vadot drive-strength = <16>; 4538bab661aSEmmanuel Vadot }; 4548bab661aSEmmanuel Vadot 4558bab661aSEmmanuel Vadot sd_card_det_n_state: sd-card-det-n-state { 4568bab661aSEmmanuel Vadot pins = "gpio126"; 4578bab661aSEmmanuel Vadot function = "gpio"; 4588bab661aSEmmanuel Vadot bias-pull-up; 4598bab661aSEmmanuel Vadot }; 4608bab661aSEmmanuel Vadot}; 461