15956d97fSEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause 25956d97fSEmmanuel Vadot/* 35956d97fSEmmanuel Vadot * Copyright (c) 2021, Konrad Dybcio <konrad.dybcio@somainline.org> 45956d97fSEmmanuel Vadot */ 55956d97fSEmmanuel Vadot 65956d97fSEmmanuel Vadot#include <dt-bindings/regulator/qcom,rpmh-regulator.h> 75956d97fSEmmanuel Vadot#include "sm8250.dtsi" 85956d97fSEmmanuel Vadot#include "pm8150.dtsi" 95956d97fSEmmanuel Vadot#include "pm8150b.dtsi" 105956d97fSEmmanuel Vadot#include "pm8150l.dtsi" 115956d97fSEmmanuel Vadot#include "pm8009.dtsi" 125956d97fSEmmanuel Vadot 135956d97fSEmmanuel Vadot/delete-node/ &adsp_mem; 145956d97fSEmmanuel Vadot/delete-node/ &spss_mem; 155956d97fSEmmanuel Vadot/delete-node/ &cdsp_secure_heap; 165956d97fSEmmanuel Vadot 175956d97fSEmmanuel Vadot/ { 185956d97fSEmmanuel Vadot qcom,msm-id = <356 0x20001>; /* SM8250 v2.1 */ 195956d97fSEmmanuel Vadot qcom,board-id = <0x10008 0>; 205956d97fSEmmanuel Vadot 2184943d6fSEmmanuel Vadot aliases { 2284943d6fSEmmanuel Vadot serial0 = &uart12; 2384943d6fSEmmanuel Vadot }; 2484943d6fSEmmanuel Vadot 255956d97fSEmmanuel Vadot chosen { 2684943d6fSEmmanuel Vadot stdout-path = "serial0:115200n8"; 275956d97fSEmmanuel Vadot #address-cells = <2>; 285956d97fSEmmanuel Vadot #size-cells = <2>; 295956d97fSEmmanuel Vadot ranges; 305956d97fSEmmanuel Vadot 315956d97fSEmmanuel Vadot framebuffer: framebuffer@9c000000 { 325956d97fSEmmanuel Vadot compatible = "simple-framebuffer"; 335956d97fSEmmanuel Vadot reg = <0 0x9c000000 0 0x2300000>; 34f126890aSEmmanuel Vadot /* pdx203 BL initializes in 2.5k mode, not 4k */ 35f126890aSEmmanuel Vadot width = <1096>; 36f126890aSEmmanuel Vadot height = <2560>; 37f126890aSEmmanuel Vadot stride = <(1096 * 4)>; 385956d97fSEmmanuel Vadot format = "a8r8g8b8"; 395956d97fSEmmanuel Vadot /* 405956d97fSEmmanuel Vadot * That's a lot of clocks, but it's necessary due 415956d97fSEmmanuel Vadot * to unused clk cleanup & no panel driver yet.. 425956d97fSEmmanuel Vadot */ 435956d97fSEmmanuel Vadot clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, 445956d97fSEmmanuel Vadot <&gcc GCC_DISP_HF_AXI_CLK>, 455956d97fSEmmanuel Vadot <&gcc GCC_DISP_SF_AXI_CLK>, 465956d97fSEmmanuel Vadot <&dispcc DISP_CC_MDSS_VSYNC_CLK>, 475956d97fSEmmanuel Vadot <&dispcc DISP_CC_MDSS_MDP_CLK>, 485956d97fSEmmanuel Vadot <&dispcc DISP_CC_MDSS_BYTE0_CLK>, 495956d97fSEmmanuel Vadot <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>, 505956d97fSEmmanuel Vadot <&dispcc DISP_CC_MDSS_PCLK0_CLK>, 515956d97fSEmmanuel Vadot <&dispcc DISP_CC_MDSS_ESC0_CLK>; 525956d97fSEmmanuel Vadot power-domains = <&dispcc MDSS_GDSC>; 535956d97fSEmmanuel Vadot }; 545956d97fSEmmanuel Vadot }; 555956d97fSEmmanuel Vadot 565956d97fSEmmanuel Vadot gpio_keys: gpio-keys { 575956d97fSEmmanuel Vadot compatible = "gpio-keys"; 585956d97fSEmmanuel Vadot 59aa1a8ff2SEmmanuel Vadot pinctrl-0 = <&focus_n &snapshot_n &vol_down_n>; 60aa1a8ff2SEmmanuel Vadot pinctrl-names = "default"; 61aa1a8ff2SEmmanuel Vadot 62aa1a8ff2SEmmanuel Vadot key-camera-focus { 63aa1a8ff2SEmmanuel Vadot label = "Camera Focus"; 64aa1a8ff2SEmmanuel Vadot linux,code = <KEY_CAMERA_FOCUS>; 65aa1a8ff2SEmmanuel Vadot gpios = <&pm8150b_gpios 2 GPIO_ACTIVE_LOW>; 66aa1a8ff2SEmmanuel Vadot debounce-interval = <15>; 67aa1a8ff2SEmmanuel Vadot linux,can-disable; 68aa1a8ff2SEmmanuel Vadot wakeup-source; 69aa1a8ff2SEmmanuel Vadot }; 70aa1a8ff2SEmmanuel Vadot 71aa1a8ff2SEmmanuel Vadot key-camera-snapshot { 72aa1a8ff2SEmmanuel Vadot label = "Camera Snapshot"; 73aa1a8ff2SEmmanuel Vadot linux,code = <KEY_CAMERA>; 74aa1a8ff2SEmmanuel Vadot gpios = <&pm8150b_gpios 1 GPIO_ACTIVE_LOW>; 75aa1a8ff2SEmmanuel Vadot debounce-interval = <15>; 76aa1a8ff2SEmmanuel Vadot linux,can-disable; 77aa1a8ff2SEmmanuel Vadot wakeup-source; 78aa1a8ff2SEmmanuel Vadot }; 795956d97fSEmmanuel Vadot 80b97ee269SEmmanuel Vadot key-vol-down { 815956d97fSEmmanuel Vadot label = "Volume Down"; 825956d97fSEmmanuel Vadot linux,code = <KEY_VOLUMEDOWN>; 835956d97fSEmmanuel Vadot gpios = <&pm8150_gpios 1 GPIO_ACTIVE_LOW>; 845956d97fSEmmanuel Vadot debounce-interval = <15>; 855956d97fSEmmanuel Vadot linux,can-disable; 86fac71e4eSEmmanuel Vadot wakeup-source; 875956d97fSEmmanuel Vadot }; 885956d97fSEmmanuel Vadot }; 895956d97fSEmmanuel Vadot 905956d97fSEmmanuel Vadot vph_pwr: vph-pwr-regulator { 915956d97fSEmmanuel Vadot compatible = "regulator-fixed"; 925956d97fSEmmanuel Vadot regulator-name = "vph_pwr"; 935956d97fSEmmanuel Vadot regulator-min-microvolt = <3700000>; 945956d97fSEmmanuel Vadot regulator-max-microvolt = <3700000>; 955956d97fSEmmanuel Vadot }; 965956d97fSEmmanuel Vadot 975956d97fSEmmanuel Vadot /* S6c is really ebi.lvl but it's there for supply map completeness sake. */ 985956d97fSEmmanuel Vadot vreg_s6c_0p88: smpc6-regulator { 995956d97fSEmmanuel Vadot compatible = "regulator-fixed"; 1005956d97fSEmmanuel Vadot regulator-name = "vreg_s6c_0p88"; 1015956d97fSEmmanuel Vadot 1025956d97fSEmmanuel Vadot regulator-min-microvolt = <880000>; 1035956d97fSEmmanuel Vadot regulator-max-microvolt = <880000>; 1045956d97fSEmmanuel Vadot regulator-always-on; 1055956d97fSEmmanuel Vadot vin-supply = <&vph_pwr>; 1065956d97fSEmmanuel Vadot }; 1075956d97fSEmmanuel Vadot 1085956d97fSEmmanuel Vadot reserved-memory { 1095956d97fSEmmanuel Vadot adsp_mem: memory@8a100000 { 1105956d97fSEmmanuel Vadot reg = <0x0 0x8a100000 0x0 0x2500000>; 1115956d97fSEmmanuel Vadot no-map; 1125956d97fSEmmanuel Vadot }; 1135956d97fSEmmanuel Vadot 1145956d97fSEmmanuel Vadot spss_mem: memory@8c600000 { 1155956d97fSEmmanuel Vadot reg = <0x0 0x8c600000 0x0 0x100000>; 1165956d97fSEmmanuel Vadot no-map; 1175956d97fSEmmanuel Vadot }; 1185956d97fSEmmanuel Vadot 1195956d97fSEmmanuel Vadot cdsp_secure_heap: memory@8c700000 { 1205956d97fSEmmanuel Vadot reg = <0x0 0x8c700000 0x0 0x4600000>; 1215956d97fSEmmanuel Vadot no-map; 1225956d97fSEmmanuel Vadot }; 1235956d97fSEmmanuel Vadot 1245956d97fSEmmanuel Vadot cont_splash_mem: memory@9c000000 { 1255956d97fSEmmanuel Vadot reg = <0x0 0x9c000000 0x0 0x2300000>; 1265956d97fSEmmanuel Vadot no-map; 1275956d97fSEmmanuel Vadot }; 1285956d97fSEmmanuel Vadot 1295956d97fSEmmanuel Vadot ramoops@ffc00000 { 1305956d97fSEmmanuel Vadot compatible = "ramoops"; 1315956d97fSEmmanuel Vadot reg = <0x0 0xffc00000 0x0 0x100000>; 1325956d97fSEmmanuel Vadot record-size = <0x1000>; 1335956d97fSEmmanuel Vadot console-size = <0x40000>; 134aa1a8ff2SEmmanuel Vadot pmsg-size = <0x20000>; 1355956d97fSEmmanuel Vadot ecc-size = <16>; 1365956d97fSEmmanuel Vadot no-map; 1375956d97fSEmmanuel Vadot }; 1385956d97fSEmmanuel Vadot }; 1395956d97fSEmmanuel Vadot}; 1405956d97fSEmmanuel Vadot 1415956d97fSEmmanuel Vadot&adsp { 1425956d97fSEmmanuel Vadot status = "okay"; 1435956d97fSEmmanuel Vadot}; 1445956d97fSEmmanuel Vadot 1455956d97fSEmmanuel Vadot&apps_rsc { 146cb7aa33aSEmmanuel Vadot regulators-0 { 1475956d97fSEmmanuel Vadot compatible = "qcom,pm8150-rpmh-regulators"; 1485956d97fSEmmanuel Vadot qcom,pmic-id = "a"; 1495956d97fSEmmanuel Vadot 1505956d97fSEmmanuel Vadot vdd-s1-supply = <&vph_pwr>; 1515956d97fSEmmanuel Vadot vdd-s2-supply = <&vph_pwr>; 1525956d97fSEmmanuel Vadot vdd-s3-supply = <&vph_pwr>; 1535956d97fSEmmanuel Vadot vdd-s4-supply = <&vph_pwr>; 1545956d97fSEmmanuel Vadot vdd-s5-supply = <&vph_pwr>; 1555956d97fSEmmanuel Vadot vdd-s6-supply = <&vph_pwr>; 1565956d97fSEmmanuel Vadot vdd-s7-supply = <&vph_pwr>; 1575956d97fSEmmanuel Vadot vdd-s8-supply = <&vph_pwr>; 1585956d97fSEmmanuel Vadot vdd-s9-supply = <&vph_pwr>; 1595956d97fSEmmanuel Vadot vdd-s10-supply = <&vph_pwr>; 1605956d97fSEmmanuel Vadot vdd-l1-l8-l11-supply = <&vreg_s6c_0p88>; 1615956d97fSEmmanuel Vadot vdd-l2-l10-supply = <&vreg_bob>; 1625956d97fSEmmanuel Vadot vdd-l3-l4-l5-l18-supply = <&vreg_s6a_0p6>; 1635956d97fSEmmanuel Vadot vdd-l6-l9-supply = <&vreg_s8c_1p2>; 1645956d97fSEmmanuel Vadot vdd-l7-l12-l14-l15-supply = <&vreg_s5a_1p9>; 1655956d97fSEmmanuel Vadot vdd-l13-l16-l17-supply = <&vreg_bob>; 1665956d97fSEmmanuel Vadot 1675956d97fSEmmanuel Vadot /* (S1+S2+S3) - cx.lvl (ARC) */ 1685956d97fSEmmanuel Vadot 1695956d97fSEmmanuel Vadot vreg_s4a_1p8: smps4 { 1705956d97fSEmmanuel Vadot regulator-name = "vreg_s4a_1p8"; 1715956d97fSEmmanuel Vadot regulator-min-microvolt = <1800000>; 1725956d97fSEmmanuel Vadot regulator-max-microvolt = <1920000>; 1735956d97fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 1745956d97fSEmmanuel Vadot }; 1755956d97fSEmmanuel Vadot 1765956d97fSEmmanuel Vadot vreg_s5a_1p9: smps5 { 1775956d97fSEmmanuel Vadot regulator-name = "vreg_s5a_1p9"; 1785956d97fSEmmanuel Vadot regulator-min-microvolt = <1824000>; 1795956d97fSEmmanuel Vadot regulator-max-microvolt = <2040000>; 1805956d97fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 1815956d97fSEmmanuel Vadot }; 1825956d97fSEmmanuel Vadot 1835956d97fSEmmanuel Vadot vreg_s6a_0p6: smps6 { 1845956d97fSEmmanuel Vadot regulator-name = "vreg_s6a_0p6"; 1855956d97fSEmmanuel Vadot regulator-min-microvolt = <600000>; 1865956d97fSEmmanuel Vadot regulator-max-microvolt = <1128000>; 1875956d97fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 1885956d97fSEmmanuel Vadot }; 1895956d97fSEmmanuel Vadot 1905956d97fSEmmanuel Vadot vreg_l2a_3p1: ldo2 { 1915956d97fSEmmanuel Vadot regulator-name = "vreg_l2a_3p1"; 1925956d97fSEmmanuel Vadot regulator-min-microvolt = <3072000>; 1935956d97fSEmmanuel Vadot regulator-max-microvolt = <3072000>; 1945956d97fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 1955956d97fSEmmanuel Vadot }; 1965956d97fSEmmanuel Vadot 1975956d97fSEmmanuel Vadot vreg_l3a_0p9: ldo3 { 1985956d97fSEmmanuel Vadot regulator-name = "vreg_l3a_0p9"; 1995956d97fSEmmanuel Vadot regulator-min-microvolt = <928000>; 2005956d97fSEmmanuel Vadot regulator-max-microvolt = <932000>; 2015956d97fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2025956d97fSEmmanuel Vadot }; 2035956d97fSEmmanuel Vadot 2045956d97fSEmmanuel Vadot /* L4 - lmx.lvl (ARC) */ 2055956d97fSEmmanuel Vadot 2065956d97fSEmmanuel Vadot vreg_l5a_0p88: ldo5 { 2075956d97fSEmmanuel Vadot regulator-name = "vreg_l5a_0p88"; 2085956d97fSEmmanuel Vadot regulator-min-microvolt = <880000>; 2095956d97fSEmmanuel Vadot regulator-max-microvolt = <880000>; 2105956d97fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2115956d97fSEmmanuel Vadot }; 2125956d97fSEmmanuel Vadot 2135956d97fSEmmanuel Vadot vreg_l6a_1p2: ldo6 { 2145956d97fSEmmanuel Vadot regulator-name = "vreg_l6a_1p2"; 2155956d97fSEmmanuel Vadot regulator-min-microvolt = <1200000>; 2165956d97fSEmmanuel Vadot regulator-max-microvolt = <1200000>; 2175956d97fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2185956d97fSEmmanuel Vadot }; 2195956d97fSEmmanuel Vadot 2205956d97fSEmmanuel Vadot /* L7 is unused. */ 2215956d97fSEmmanuel Vadot 2225956d97fSEmmanuel Vadot vreg_l9a_1p2: ldo9 { 2235956d97fSEmmanuel Vadot regulator-name = "vreg_l9a_1p2"; 2245956d97fSEmmanuel Vadot regulator-min-microvolt = <1200000>; 2255956d97fSEmmanuel Vadot regulator-max-microvolt = <1200000>; 2265956d97fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2275956d97fSEmmanuel Vadot }; 2285956d97fSEmmanuel Vadot 2295956d97fSEmmanuel Vadot /* L10 is unused, L11 - lcx.lvl (ARC) */ 2305956d97fSEmmanuel Vadot 2315956d97fSEmmanuel Vadot vreg_l12a_1p8: ldo12 { 2325956d97fSEmmanuel Vadot regulator-name = "vreg_l12a_1p8"; 2335956d97fSEmmanuel Vadot regulator-min-microvolt = <1800000>; 2345956d97fSEmmanuel Vadot regulator-max-microvolt = <1800000>; 2355956d97fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2365956d97fSEmmanuel Vadot }; 2375956d97fSEmmanuel Vadot 2385956d97fSEmmanuel Vadot /* L13 is unused. */ 2395956d97fSEmmanuel Vadot 2405956d97fSEmmanuel Vadot vreg_l14a_1p8: ldo14 { 2415956d97fSEmmanuel Vadot regulator-name = "vreg_l14a_1p8"; 2425956d97fSEmmanuel Vadot regulator-min-microvolt = <1800000>; 2435956d97fSEmmanuel Vadot regulator-max-microvolt = <1880000>; 2445956d97fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2455956d97fSEmmanuel Vadot }; 2465956d97fSEmmanuel Vadot 2475956d97fSEmmanuel Vadot /* L15 & L16 are unused. */ 2485956d97fSEmmanuel Vadot 2495956d97fSEmmanuel Vadot vreg_l17a_3p0: ldo17 { 2505956d97fSEmmanuel Vadot regulator-name = "vreg_l17a_3p0"; 2515956d97fSEmmanuel Vadot regulator-min-microvolt = <2496000>; 2525956d97fSEmmanuel Vadot regulator-max-microvolt = <3008000>; 2535956d97fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2545956d97fSEmmanuel Vadot }; 2555956d97fSEmmanuel Vadot 2565956d97fSEmmanuel Vadot vreg_l18a_0p9: ldo18 { 2575956d97fSEmmanuel Vadot regulator-name = "vreg_l18a_0p9"; 2585956d97fSEmmanuel Vadot regulator-min-microvolt = <800000>; 2595956d97fSEmmanuel Vadot regulator-max-microvolt = <920000>; 2605956d97fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2615956d97fSEmmanuel Vadot }; 2625956d97fSEmmanuel Vadot }; 2635956d97fSEmmanuel Vadot 2645956d97fSEmmanuel Vadot /* 2655956d97fSEmmanuel Vadot * Remaining regulators that are not yet supported: 2665956d97fSEmmanuel Vadot * OLEDB: 4925000-8100000 2675956d97fSEmmanuel Vadot * ab: 4600000-6100000 2685956d97fSEmmanuel Vadot * ibb: 800000-5400000 2695956d97fSEmmanuel Vadot */ 270cb7aa33aSEmmanuel Vadot regulators-1 { 2715956d97fSEmmanuel Vadot compatible = "qcom,pm8150l-rpmh-regulators"; 2725956d97fSEmmanuel Vadot qcom,pmic-id = "c"; 2735956d97fSEmmanuel Vadot 2745956d97fSEmmanuel Vadot vdd-s1-supply = <&vph_pwr>; 2755956d97fSEmmanuel Vadot vdd-s2-supply = <&vph_pwr>; 2765956d97fSEmmanuel Vadot vdd-s3-supply = <&vph_pwr>; 2775956d97fSEmmanuel Vadot vdd-s4-supply = <&vph_pwr>; 2785956d97fSEmmanuel Vadot vdd-s5-supply = <&vph_pwr>; 2795956d97fSEmmanuel Vadot vdd-s6-supply = <&vph_pwr>; 2805956d97fSEmmanuel Vadot vdd-s7-supply = <&vph_pwr>; 2815956d97fSEmmanuel Vadot vdd-s8-supply = <&vph_pwr>; 2825956d97fSEmmanuel Vadot vdd-l1-l8-supply = <&vreg_s4a_1p8>; 2835956d97fSEmmanuel Vadot vdd-l2-l3-supply = <&vreg_s8c_1p2>; 2845956d97fSEmmanuel Vadot vdd-l4-l5-l6-supply = <&vreg_bob>; 2855956d97fSEmmanuel Vadot vdd-l7-l11-supply = <&vreg_bob>; 2865956d97fSEmmanuel Vadot vdd-l9-l10-supply = <&vreg_bob>; 2875956d97fSEmmanuel Vadot vdd-bob-supply = <&vph_pwr>; 2885956d97fSEmmanuel Vadot 2895956d97fSEmmanuel Vadot vreg_bob: bob { 2905956d97fSEmmanuel Vadot regulator-name = "vreg_bob"; 2915956d97fSEmmanuel Vadot regulator-min-microvolt = <3350000>; 2925956d97fSEmmanuel Vadot regulator-max-microvolt = <3960000>; 2935956d97fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>; 2945956d97fSEmmanuel Vadot }; 2955956d97fSEmmanuel Vadot 2965956d97fSEmmanuel Vadot /* 2975956d97fSEmmanuel Vadot * S1-S6 are ARCs: 2985956d97fSEmmanuel Vadot * (S1+S2) - gfx.lvl, 2995956d97fSEmmanuel Vadot * S3 - mx.lvl, 3005956d97fSEmmanuel Vadot * (S4+S5) - mmcx.lvl, 3015956d97fSEmmanuel Vadot * S6 - ebi.lvl 3025956d97fSEmmanuel Vadot */ 3035956d97fSEmmanuel Vadot 3045956d97fSEmmanuel Vadot vreg_s7c_0p35: smps7 { 3055956d97fSEmmanuel Vadot regulator-name = "vreg_s7c_0p35"; 3065956d97fSEmmanuel Vadot regulator-min-microvolt = <348000>; 3075956d97fSEmmanuel Vadot regulator-max-microvolt = <1000000>; 3085956d97fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3095956d97fSEmmanuel Vadot }; 3105956d97fSEmmanuel Vadot 3115956d97fSEmmanuel Vadot vreg_s8c_1p2: smps8 { 3125956d97fSEmmanuel Vadot regulator-name = "vreg_s8c_1p2"; 3135956d97fSEmmanuel Vadot regulator-min-microvolt = <1200000>; 3145956d97fSEmmanuel Vadot regulator-max-microvolt = <1400000>; 3155956d97fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3165956d97fSEmmanuel Vadot }; 3175956d97fSEmmanuel Vadot 3185956d97fSEmmanuel Vadot vreg_l1c_1p8: ldo1 { 3195956d97fSEmmanuel Vadot regulator-name = "vreg_l1c_1p8"; 3205956d97fSEmmanuel Vadot regulator-min-microvolt = <1800000>; 3215956d97fSEmmanuel Vadot regulator-max-microvolt = <1800000>; 3225956d97fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3235956d97fSEmmanuel Vadot }; 3245956d97fSEmmanuel Vadot 3255956d97fSEmmanuel Vadot /* L2-4 are unused. */ 3265956d97fSEmmanuel Vadot 3275956d97fSEmmanuel Vadot vreg_l5c_1p8: ldo5 { 3285956d97fSEmmanuel Vadot regulator-name = "vreg_l5c_1p8"; 3295956d97fSEmmanuel Vadot regulator-min-microvolt = <1800000>; 3305956d97fSEmmanuel Vadot regulator-max-microvolt = <2800000>; 3315956d97fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3325956d97fSEmmanuel Vadot }; 3335956d97fSEmmanuel Vadot 3345956d97fSEmmanuel Vadot vreg_l6c_2p9: ldo6 { 3355956d97fSEmmanuel Vadot regulator-name = "vreg_l6c_2p9"; 3365956d97fSEmmanuel Vadot regulator-min-microvolt = <1800000>; 3375956d97fSEmmanuel Vadot regulator-max-microvolt = <2960000>; 3385956d97fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3395956d97fSEmmanuel Vadot regulator-allow-set-load; 3408bab661aSEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 3417ef62cebSEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 3425956d97fSEmmanuel Vadot }; 3435956d97fSEmmanuel Vadot 3445956d97fSEmmanuel Vadot vreg_l7c_2p85: ldo7 { 3455956d97fSEmmanuel Vadot regulator-name = "vreg_l7c_2p85"; 3465956d97fSEmmanuel Vadot regulator-min-microvolt = <2856000>; 3475956d97fSEmmanuel Vadot regulator-max-microvolt = <3104000>; 3485956d97fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3495956d97fSEmmanuel Vadot }; 3505956d97fSEmmanuel Vadot 3515956d97fSEmmanuel Vadot vreg_l8c_1p8: ldo8 { 3525956d97fSEmmanuel Vadot regulator-name = "vreg_l8c_1p8"; 3535956d97fSEmmanuel Vadot regulator-min-microvolt = <1800000>; 3545956d97fSEmmanuel Vadot regulator-max-microvolt = <1800000>; 3555956d97fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3565956d97fSEmmanuel Vadot }; 3575956d97fSEmmanuel Vadot 3585956d97fSEmmanuel Vadot vreg_l9c_2p9: ldo9 { 3595956d97fSEmmanuel Vadot regulator-name = "vreg_l9c_2p9"; 3605956d97fSEmmanuel Vadot regulator-min-microvolt = <2704000>; 3615956d97fSEmmanuel Vadot regulator-max-microvolt = <2960000>; 3625956d97fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3635956d97fSEmmanuel Vadot regulator-allow-set-load; 3648bab661aSEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 3657ef62cebSEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 3665956d97fSEmmanuel Vadot }; 3675956d97fSEmmanuel Vadot 3685956d97fSEmmanuel Vadot vreg_l10c_3p3: ldo10 { 3695956d97fSEmmanuel Vadot regulator-name = "vreg_l10c_3p3"; 3705956d97fSEmmanuel Vadot regulator-min-microvolt = <3296000>; 3715956d97fSEmmanuel Vadot regulator-max-microvolt = <3296000>; 3725956d97fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3735956d97fSEmmanuel Vadot }; 3745956d97fSEmmanuel Vadot 3755956d97fSEmmanuel Vadot vreg_l11c_3p0: ldo11 { 3765956d97fSEmmanuel Vadot regulator-name = "vreg_l11c_3p0"; 3775956d97fSEmmanuel Vadot regulator-min-microvolt = <3000000>; 3785956d97fSEmmanuel Vadot regulator-max-microvolt = <3000000>; 3795956d97fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3805956d97fSEmmanuel Vadot }; 3815956d97fSEmmanuel Vadot }; 3825956d97fSEmmanuel Vadot 383cb7aa33aSEmmanuel Vadot regulators-2 { 3845956d97fSEmmanuel Vadot compatible = "qcom,pm8009-rpmh-regulators"; 3855956d97fSEmmanuel Vadot qcom,pmic-id = "f"; 3865956d97fSEmmanuel Vadot 3875956d97fSEmmanuel Vadot vdd-s1-supply = <&vph_pwr>; 3885956d97fSEmmanuel Vadot vdd-s2-supply = <&vreg_bob>; 3895956d97fSEmmanuel Vadot vdd-l2-supply = <&vreg_s8c_1p2>; 3905956d97fSEmmanuel Vadot vdd-l5-l6-supply = <&vreg_bob>; 3915956d97fSEmmanuel Vadot vdd-l7-supply = <&vreg_s4a_1p8>; 3925956d97fSEmmanuel Vadot 3935956d97fSEmmanuel Vadot vreg_s1f_1p2: smps1 { 3945956d97fSEmmanuel Vadot regulator-name = "vreg_s1f_1p2"; 3955956d97fSEmmanuel Vadot regulator-min-microvolt = <1200000>; 3965956d97fSEmmanuel Vadot regulator-max-microvolt = <1200000>; 3975956d97fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3985956d97fSEmmanuel Vadot }; 3995956d97fSEmmanuel Vadot 4005956d97fSEmmanuel Vadot vreg_s2f_0p5: smps2 { 4015956d97fSEmmanuel Vadot regulator-name = "vreg_s2f_0p5"; 4025956d97fSEmmanuel Vadot regulator-min-microvolt = <512000>; 4035956d97fSEmmanuel Vadot regulator-max-microvolt = <1100000>; 4045956d97fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4055956d97fSEmmanuel Vadot }; 4065956d97fSEmmanuel Vadot 4075956d97fSEmmanuel Vadot /* L1 is unused. */ 4085956d97fSEmmanuel Vadot 4095956d97fSEmmanuel Vadot vreg_l2f_1p3: ldo2 { 4105956d97fSEmmanuel Vadot regulator-name = "vreg_l2f_1p3"; 4115956d97fSEmmanuel Vadot regulator-min-microvolt = <1304000>; 4125956d97fSEmmanuel Vadot regulator-max-microvolt = <1304000>; 4135956d97fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4145956d97fSEmmanuel Vadot }; 4155956d97fSEmmanuel Vadot 4165956d97fSEmmanuel Vadot /* L3 & L4 are unused. */ 4175956d97fSEmmanuel Vadot 4185956d97fSEmmanuel Vadot vreg_l5f_2p8: ldo5 { 4195956d97fSEmmanuel Vadot regulator-name = "vreg_l5f_2p85"; 4205956d97fSEmmanuel Vadot regulator-min-microvolt = <2800000>; 4215956d97fSEmmanuel Vadot regulator-max-microvolt = <2800000>; 4225956d97fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4235956d97fSEmmanuel Vadot }; 4245956d97fSEmmanuel Vadot 4255956d97fSEmmanuel Vadot vreg_l6f_2p8: ldo6 { 4265956d97fSEmmanuel Vadot regulator-name = "vreg_l6f_2p8"; 4275956d97fSEmmanuel Vadot regulator-min-microvolt = <2800000>; 4285956d97fSEmmanuel Vadot regulator-max-microvolt = <2800000>; 4295956d97fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4305956d97fSEmmanuel Vadot }; 4315956d97fSEmmanuel Vadot 4325956d97fSEmmanuel Vadot vreg_l7f_1p8: ldo7 { 4335956d97fSEmmanuel Vadot regulator-name = "vreg_l7f_1p8"; 4345956d97fSEmmanuel Vadot regulator-min-microvolt = <1800000>; 4355956d97fSEmmanuel Vadot regulator-max-microvolt = <1800000>; 4365956d97fSEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4375956d97fSEmmanuel Vadot }; 4385956d97fSEmmanuel Vadot }; 4395956d97fSEmmanuel Vadot}; 4405956d97fSEmmanuel Vadot 4415956d97fSEmmanuel Vadot&cdsp { 4425956d97fSEmmanuel Vadot status = "okay"; 4435956d97fSEmmanuel Vadot}; 4445956d97fSEmmanuel Vadot 4455956d97fSEmmanuel Vadot&gpi_dma0 { 4465956d97fSEmmanuel Vadot status = "okay"; 4475956d97fSEmmanuel Vadot}; 4485956d97fSEmmanuel Vadot 4495956d97fSEmmanuel Vadot&gpi_dma1 { 4505956d97fSEmmanuel Vadot status = "okay"; 4515956d97fSEmmanuel Vadot}; 4525956d97fSEmmanuel Vadot 4535956d97fSEmmanuel Vadot&gpi_dma2 { 4545956d97fSEmmanuel Vadot status = "okay"; 4555956d97fSEmmanuel Vadot}; 4565956d97fSEmmanuel Vadot 4575956d97fSEmmanuel Vadot&i2c1 { 4585956d97fSEmmanuel Vadot status = "okay"; 4595956d97fSEmmanuel Vadot clock-frequency = <400000>; 4605956d97fSEmmanuel Vadot 4618bab661aSEmmanuel Vadot nfc@28 { 4628bab661aSEmmanuel Vadot compatible = "nxp,nxp-nci-i2c"; 4638bab661aSEmmanuel Vadot reg = <0x28>; 4648bab661aSEmmanuel Vadot 4658bab661aSEmmanuel Vadot interrupt-parent = <&tlmm>; 4668bab661aSEmmanuel Vadot interrupts = <111 IRQ_TYPE_EDGE_RISING>; 4678bab661aSEmmanuel Vadot 4688bab661aSEmmanuel Vadot enable-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>; 4698bab661aSEmmanuel Vadot firmware-gpios = <&tlmm 110 GPIO_ACTIVE_HIGH>; 4708bab661aSEmmanuel Vadot }; 4715956d97fSEmmanuel Vadot}; 4725956d97fSEmmanuel Vadot 4735956d97fSEmmanuel Vadot&i2c2 { 4745956d97fSEmmanuel Vadot status = "okay"; 4755956d97fSEmmanuel Vadot clock-frequency = <1000000>; 4765956d97fSEmmanuel Vadot 477cb7aa33aSEmmanuel Vadot cs35l41_l: speaker-amp@40 { 478d5b0e70fSEmmanuel Vadot compatible = "cirrus,cs35l41"; 479d5b0e70fSEmmanuel Vadot reg = <0x40>; 480d5b0e70fSEmmanuel Vadot interrupt-parent = <&tlmm>; 481d5b0e70fSEmmanuel Vadot interrupts = <11 IRQ_TYPE_LEVEL_LOW>; 482d5b0e70fSEmmanuel Vadot reset-gpios = <&tlmm 10 GPIO_ACTIVE_HIGH>; 483d5b0e70fSEmmanuel Vadot cirrus,boost-peak-milliamp = <4000>; 484d5b0e70fSEmmanuel Vadot cirrus,boost-ind-nanohenry = <1000>; 485d5b0e70fSEmmanuel Vadot cirrus,boost-cap-microfarad = <15>; 486d5b0e70fSEmmanuel Vadot cirrus,asp-sdout-hiz = <3>; 487d5b0e70fSEmmanuel Vadot cirrus,gpio2-src-select = <2>; 488d5b0e70fSEmmanuel Vadot cirrus,gpio2-output-enable; 489d5b0e70fSEmmanuel Vadot #sound-dai-cells = <1>; 490d5b0e70fSEmmanuel Vadot }; 491d5b0e70fSEmmanuel Vadot 492cb7aa33aSEmmanuel Vadot cs35l41_r: speaker-amp@41 { 493d5b0e70fSEmmanuel Vadot compatible = "cirrus,cs35l41"; 494d5b0e70fSEmmanuel Vadot reg = <0x41>; 495d5b0e70fSEmmanuel Vadot interrupt-parent = <&tlmm>; 496d5b0e70fSEmmanuel Vadot interrupts = <11 IRQ_TYPE_LEVEL_LOW>; 497d5b0e70fSEmmanuel Vadot reset-gpios = <&tlmm 10 GPIO_ACTIVE_HIGH>; 498d5b0e70fSEmmanuel Vadot cirrus,boost-peak-milliamp = <4000>; 499d5b0e70fSEmmanuel Vadot cirrus,boost-ind-nanohenry = <1000>; 500d5b0e70fSEmmanuel Vadot cirrus,boost-cap-microfarad = <15>; 501d5b0e70fSEmmanuel Vadot cirrus,asp-sdout-hiz = <3>; 502d5b0e70fSEmmanuel Vadot cirrus,gpio2-src-select = <2>; 503d5b0e70fSEmmanuel Vadot cirrus,gpio2-output-enable; 504d5b0e70fSEmmanuel Vadot #sound-dai-cells = <1>; 505d5b0e70fSEmmanuel Vadot }; 5065956d97fSEmmanuel Vadot}; 5075956d97fSEmmanuel Vadot 5085956d97fSEmmanuel Vadot&i2c9 { 5095956d97fSEmmanuel Vadot status = "okay"; 5105956d97fSEmmanuel Vadot clock-frequency = <400000>; 5115956d97fSEmmanuel Vadot 5125956d97fSEmmanuel Vadot /* AMS TCS3490 RGB+IR color sensor @ 72 */ 5135956d97fSEmmanuel Vadot}; 5145956d97fSEmmanuel Vadot 5155956d97fSEmmanuel Vadot&i2c13 { 5165956d97fSEmmanuel Vadot status = "okay"; 5175956d97fSEmmanuel Vadot clock-frequency = <400000>; 5185956d97fSEmmanuel Vadot 5195956d97fSEmmanuel Vadot touchscreen@48 { 5205956d97fSEmmanuel Vadot compatible = "samsung,s6sy761"; 5215956d97fSEmmanuel Vadot reg = <0x48>; 5225956d97fSEmmanuel Vadot interrupt-parent = <&tlmm>; 523*0e8011faSEmmanuel Vadot interrupts = <39 IRQ_TYPE_LEVEL_LOW>; 5245956d97fSEmmanuel Vadot /* It's "vddio" downstream but it works anyway! */ 5255956d97fSEmmanuel Vadot vdd-supply = <&vreg_l1c_1p8>; 5265956d97fSEmmanuel Vadot avdd-supply = <&vreg_l10c_3p3>; 5275956d97fSEmmanuel Vadot 5285956d97fSEmmanuel Vadot pinctrl-names = "default"; 5295956d97fSEmmanuel Vadot pinctrl-0 = <&ts_int_default>; 5305956d97fSEmmanuel Vadot }; 5315956d97fSEmmanuel Vadot}; 5325956d97fSEmmanuel Vadot 5335956d97fSEmmanuel Vadot&i2c15 { 5345956d97fSEmmanuel Vadot status = "okay"; 5355956d97fSEmmanuel Vadot clock-frequency = <400000>; 5365956d97fSEmmanuel Vadot 5375956d97fSEmmanuel Vadot /* Qcom SMB1390 @ 10 */ 5385956d97fSEmmanuel Vadot /* Qcom SMB1390_slave @ 18 */ 5395956d97fSEmmanuel Vadot /* HALO HL6111R Qi charger @ 25 */ 5405956d97fSEmmanuel Vadot}; 5415956d97fSEmmanuel Vadot 5425956d97fSEmmanuel Vadot&pcie0 { 5435956d97fSEmmanuel Vadot status = "okay"; 5445956d97fSEmmanuel Vadot}; 5455956d97fSEmmanuel Vadot 5465956d97fSEmmanuel Vadot&pcie0_phy { 5475956d97fSEmmanuel Vadot status = "okay"; 5485956d97fSEmmanuel Vadot 5495956d97fSEmmanuel Vadot vdda-phy-supply = <&vreg_l5a_0p88>; 5505956d97fSEmmanuel Vadot vdda-pll-supply = <&vreg_l9a_1p2>; 5515956d97fSEmmanuel Vadot}; 5525956d97fSEmmanuel Vadot 5535956d97fSEmmanuel Vadot&pcie2 { 5545956d97fSEmmanuel Vadot status = "okay"; 5555956d97fSEmmanuel Vadot 5565956d97fSEmmanuel Vadot pinctrl-0 = <&pcie2_default_state &mdm2ap_default &ap2mdm_default>; 5575956d97fSEmmanuel Vadot}; 5585956d97fSEmmanuel Vadot 5595956d97fSEmmanuel Vadot&pcie2_phy { 5605956d97fSEmmanuel Vadot status = "okay"; 5615956d97fSEmmanuel Vadot 5625956d97fSEmmanuel Vadot vdda-phy-supply = <&vreg_l5a_0p88>; 5635956d97fSEmmanuel Vadot vdda-pll-supply = <&vreg_l9a_1p2>; 5645956d97fSEmmanuel Vadot}; 5655956d97fSEmmanuel Vadot 566aa1a8ff2SEmmanuel Vadot&pm8150_gpios { 567aa1a8ff2SEmmanuel Vadot vol_down_n: vol-down-n-state { 568aa1a8ff2SEmmanuel Vadot pins = "gpio1"; 569aa1a8ff2SEmmanuel Vadot function = "normal"; 570aa1a8ff2SEmmanuel Vadot power-source = <0>; 571aa1a8ff2SEmmanuel Vadot bias-pull-up; 572aa1a8ff2SEmmanuel Vadot input-enable; 573aa1a8ff2SEmmanuel Vadot }; 574aa1a8ff2SEmmanuel Vadot}; 575aa1a8ff2SEmmanuel Vadot 576aa1a8ff2SEmmanuel Vadot&pm8150b_gpios { 577aa1a8ff2SEmmanuel Vadot snapshot_n: snapshot-n-state { 578aa1a8ff2SEmmanuel Vadot pins = "gpio1"; 579aa1a8ff2SEmmanuel Vadot function = "normal"; 580aa1a8ff2SEmmanuel Vadot power-source = <0>; 581aa1a8ff2SEmmanuel Vadot bias-pull-up; 582aa1a8ff2SEmmanuel Vadot input-enable; 583aa1a8ff2SEmmanuel Vadot }; 584aa1a8ff2SEmmanuel Vadot 585aa1a8ff2SEmmanuel Vadot focus_n: focus-n-state { 586aa1a8ff2SEmmanuel Vadot pins = "gpio2"; 587aa1a8ff2SEmmanuel Vadot function = "normal"; 588aa1a8ff2SEmmanuel Vadot power-source = <0>; 589aa1a8ff2SEmmanuel Vadot bias-pull-up; 590aa1a8ff2SEmmanuel Vadot input-enable; 591aa1a8ff2SEmmanuel Vadot }; 592aa1a8ff2SEmmanuel Vadot}; 593aa1a8ff2SEmmanuel Vadot 5945956d97fSEmmanuel Vadot&pon_pwrkey { 5955956d97fSEmmanuel Vadot status = "okay"; 5965956d97fSEmmanuel Vadot}; 5975956d97fSEmmanuel Vadot 5985956d97fSEmmanuel Vadot&pon_resin { 5995956d97fSEmmanuel Vadot status = "okay"; 6005956d97fSEmmanuel Vadot 6015956d97fSEmmanuel Vadot linux,code = <KEY_VOLUMEUP>; 6025956d97fSEmmanuel Vadot}; 6035956d97fSEmmanuel Vadot 6045956d97fSEmmanuel Vadot&qupv3_id_0 { 6055956d97fSEmmanuel Vadot status = "okay"; 6065956d97fSEmmanuel Vadot}; 6075956d97fSEmmanuel Vadot 6085956d97fSEmmanuel Vadot&qupv3_id_1 { 6095956d97fSEmmanuel Vadot status = "okay"; 6105956d97fSEmmanuel Vadot}; 6115956d97fSEmmanuel Vadot 6125956d97fSEmmanuel Vadot&qupv3_id_2 { 6135956d97fSEmmanuel Vadot status = "okay"; 6145956d97fSEmmanuel Vadot}; 6155956d97fSEmmanuel Vadot 6165956d97fSEmmanuel Vadot&sdhc_2 { 6175956d97fSEmmanuel Vadot status = "okay"; 6185956d97fSEmmanuel Vadot 6195956d97fSEmmanuel Vadot cd-gpios = <&tlmm 77 GPIO_ACTIVE_HIGH>; 6205956d97fSEmmanuel Vadot pinctrl-names = "default", "sleep"; 6215956d97fSEmmanuel Vadot pinctrl-0 = <&sdc2_default_state &sdc2_card_det_n>; 6225956d97fSEmmanuel Vadot pinctrl-1 = <&sdc2_sleep_state &sdc2_card_det_n>; 6235956d97fSEmmanuel Vadot vmmc-supply = <&vreg_l9c_2p9>; 6245956d97fSEmmanuel Vadot vqmmc-supply = <&vreg_l6c_2p9>; 6255956d97fSEmmanuel Vadot bus-width = <4>; 6265956d97fSEmmanuel Vadot no-sdio; 6278bab661aSEmmanuel Vadot no-mmc; 6285956d97fSEmmanuel Vadot}; 6295956d97fSEmmanuel Vadot 6305956d97fSEmmanuel Vadot&slpi { 6315956d97fSEmmanuel Vadot status = "okay"; 6325956d97fSEmmanuel Vadot}; 6335956d97fSEmmanuel Vadot 6345956d97fSEmmanuel Vadot&tlmm { 6355956d97fSEmmanuel Vadot gpio-reserved-ranges = <40 4>, <52 4>; 6365956d97fSEmmanuel Vadot 6378bab661aSEmmanuel Vadot sdc2_default_state: sdc2-default-state { 6388bab661aSEmmanuel Vadot clk-pins { 6395956d97fSEmmanuel Vadot pins = "sdc2_clk"; 6405956d97fSEmmanuel Vadot drive-strength = <16>; 6415956d97fSEmmanuel Vadot bias-disable; 6425956d97fSEmmanuel Vadot }; 6435956d97fSEmmanuel Vadot 6448bab661aSEmmanuel Vadot cmd-pins { 6455956d97fSEmmanuel Vadot pins = "sdc2_cmd"; 6465956d97fSEmmanuel Vadot drive-strength = <16>; 6475956d97fSEmmanuel Vadot bias-pull-up; 6485956d97fSEmmanuel Vadot }; 6495956d97fSEmmanuel Vadot 6508bab661aSEmmanuel Vadot data-pins { 6515956d97fSEmmanuel Vadot pins = "sdc2_data"; 6525956d97fSEmmanuel Vadot drive-strength = <16>; 6535956d97fSEmmanuel Vadot bias-pull-up; 6545956d97fSEmmanuel Vadot }; 6555956d97fSEmmanuel Vadot }; 6565956d97fSEmmanuel Vadot 6578bab661aSEmmanuel Vadot mdm2ap_default: mdm2ap-default-state { 6585956d97fSEmmanuel Vadot pins = "gpio1", "gpio3"; 6595956d97fSEmmanuel Vadot function = "gpio"; 6605956d97fSEmmanuel Vadot drive-strength = <8>; 6615956d97fSEmmanuel Vadot bias-disable; 6625956d97fSEmmanuel Vadot }; 6635956d97fSEmmanuel Vadot 6648bab661aSEmmanuel Vadot ts_int_default: ts-int-default-state { 6655956d97fSEmmanuel Vadot pins = "gpio39"; 6665956d97fSEmmanuel Vadot function = "gpio"; 6675956d97fSEmmanuel Vadot drive-strength = <2>; 6688bab661aSEmmanuel Vadot bias-disable; 6695956d97fSEmmanuel Vadot }; 6705956d97fSEmmanuel Vadot 6718bab661aSEmmanuel Vadot ap2mdm_default: ap2mdm-default-state { 6725956d97fSEmmanuel Vadot pins = "gpio56", "gpio57"; 6735956d97fSEmmanuel Vadot function = "gpio"; 6745956d97fSEmmanuel Vadot drive-strength = <16>; 6755956d97fSEmmanuel Vadot bias-disable; 6765956d97fSEmmanuel Vadot }; 6775956d97fSEmmanuel Vadot 6788bab661aSEmmanuel Vadot sdc2_card_det_n: sd-card-det-n-state { 6795956d97fSEmmanuel Vadot pins = "gpio77"; 6805956d97fSEmmanuel Vadot function = "gpio"; 6815956d97fSEmmanuel Vadot bias-pull-up; 6825956d97fSEmmanuel Vadot drive-strength = <2>; 6835956d97fSEmmanuel Vadot }; 6845956d97fSEmmanuel Vadot}; 6855956d97fSEmmanuel Vadot 6865956d97fSEmmanuel Vadot&uart12 { 6875956d97fSEmmanuel Vadot status = "okay"; 6885956d97fSEmmanuel Vadot}; 6895956d97fSEmmanuel Vadot 6905956d97fSEmmanuel Vadot/* BIG WARNING! DO NOT TOUCH UFS, YOUR DEVICE WILL DIE! */ 6915956d97fSEmmanuel Vadot&ufs_mem_hc { status = "disabled"; }; 6925956d97fSEmmanuel Vadot&ufs_mem_phy { status = "disabled"; }; 6935956d97fSEmmanuel Vadot 6945956d97fSEmmanuel Vadot&usb_1 { 6955956d97fSEmmanuel Vadot status = "okay"; 6965956d97fSEmmanuel Vadot}; 6975956d97fSEmmanuel Vadot 6985956d97fSEmmanuel Vadot&usb_1_dwc3 { 6995956d97fSEmmanuel Vadot dr_mode = "peripheral"; 7005956d97fSEmmanuel Vadot}; 7015956d97fSEmmanuel Vadot 7025956d97fSEmmanuel Vadot&usb_1_hsphy { 7035956d97fSEmmanuel Vadot status = "okay"; 7045956d97fSEmmanuel Vadot 7055956d97fSEmmanuel Vadot vdda-pll-supply = <&vreg_l5a_0p88>; 7065956d97fSEmmanuel Vadot vdda18-supply = <&vreg_l12a_1p8>; 7075956d97fSEmmanuel Vadot vdda33-supply = <&vreg_l2a_3p1>; 7085956d97fSEmmanuel Vadot}; 7095956d97fSEmmanuel Vadot 7105956d97fSEmmanuel Vadot&usb_1_qmpphy { 7115956d97fSEmmanuel Vadot status = "okay"; 7125956d97fSEmmanuel Vadot 7135956d97fSEmmanuel Vadot vdda-phy-supply = <&vreg_l9a_1p2>; 7145956d97fSEmmanuel Vadot vdda-pll-supply = <&vreg_l18a_0p9>; 7155956d97fSEmmanuel Vadot}; 716f126890aSEmmanuel Vadot 717f126890aSEmmanuel Vadot&venus { 718f126890aSEmmanuel Vadot firmware-name = "qcom/sm8250/Sony/edo/venus.mbn"; 719f126890aSEmmanuel Vadot status = "okay"; 720f126890aSEmmanuel Vadot}; 721