11537cf73SEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause 21537cf73SEmmanuel Vadot/* 31537cf73SEmmanuel Vadot * Copyright (c) 2023, Linaro Limited 41537cf73SEmmanuel Vadot */ 51537cf73SEmmanuel Vadot 61537cf73SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 71537cf73SEmmanuel Vadot#include <dt-bindings/regulator/qcom,rpmh-regulator.h> 81537cf73SEmmanuel Vadot 91537cf73SEmmanuel Vadot/ { 101537cf73SEmmanuel Vadot aliases { 111537cf73SEmmanuel Vadot i2c11 = &i2c11; 121537cf73SEmmanuel Vadot i2c18 = &i2c18; 131537cf73SEmmanuel Vadot serial0 = &uart10; 141537cf73SEmmanuel Vadot serial1 = &uart12; 151537cf73SEmmanuel Vadot serial2 = &uart17; 161537cf73SEmmanuel Vadot spi16 = &spi16; 171537cf73SEmmanuel Vadot ufshc1 = &ufs_mem_hc; 181537cf73SEmmanuel Vadot }; 191537cf73SEmmanuel Vadot 201537cf73SEmmanuel Vadot chosen { 211537cf73SEmmanuel Vadot stdout-path = "serial0:115200n8"; 221537cf73SEmmanuel Vadot }; 231537cf73SEmmanuel Vadot 241537cf73SEmmanuel Vadot vreg_1p8: vreg-1p8-regulator { 251537cf73SEmmanuel Vadot compatible = "regulator-fixed"; 261537cf73SEmmanuel Vadot regulator-name = "VREG_1P8"; 271537cf73SEmmanuel Vadot 281537cf73SEmmanuel Vadot regulator-always-on; 291537cf73SEmmanuel Vadot regulator-boot-on; 301537cf73SEmmanuel Vadot regulator-min-microvolt = <1800000>; 311537cf73SEmmanuel Vadot regulator-max-microvolt = <1800000>; 321537cf73SEmmanuel Vadot }; 331537cf73SEmmanuel Vadot 341537cf73SEmmanuel Vadot vreg_1p0: vreg-1p0-regulator { 351537cf73SEmmanuel Vadot compatible = "regulator-fixed"; 361537cf73SEmmanuel Vadot regulator-name = "VREG_1P0"; 371537cf73SEmmanuel Vadot 381537cf73SEmmanuel Vadot regulator-always-on; 391537cf73SEmmanuel Vadot regulator-boot-on; 401537cf73SEmmanuel Vadot regulator-min-microvolt = <1000000>; 411537cf73SEmmanuel Vadot regulator-max-microvolt = <1000000>; 421537cf73SEmmanuel Vadot 431537cf73SEmmanuel Vadot vin-supply = <&vreg_1p8>; 441537cf73SEmmanuel Vadot }; 451537cf73SEmmanuel Vadot 461537cf73SEmmanuel Vadot vreg_3p0: vreg-3p0-regulator { 471537cf73SEmmanuel Vadot compatible = "regulator-fixed"; 481537cf73SEmmanuel Vadot regulator-name = "VREG_3P0"; 491537cf73SEmmanuel Vadot 501537cf73SEmmanuel Vadot regulator-always-on; 511537cf73SEmmanuel Vadot regulator-boot-on; 521537cf73SEmmanuel Vadot regulator-min-microvolt = <3000000>; 531537cf73SEmmanuel Vadot regulator-max-microvolt = <3000000>; 541537cf73SEmmanuel Vadot }; 551537cf73SEmmanuel Vadot 561537cf73SEmmanuel Vadot vreg_conn_1p8: vreg_conn_1p8 { 571537cf73SEmmanuel Vadot compatible = "regulator-fixed"; 581537cf73SEmmanuel Vadot regulator-name = "vreg_conn_1p8"; 591537cf73SEmmanuel Vadot startup-delay-us = <4000>; 601537cf73SEmmanuel Vadot enable-active-high; 611537cf73SEmmanuel Vadot gpio = <&pmm8654au_1_gpios 4 GPIO_ACTIVE_HIGH>; 621537cf73SEmmanuel Vadot }; 631537cf73SEmmanuel Vadot 641537cf73SEmmanuel Vadot vreg_conn_pa: vreg_conn_pa { 651537cf73SEmmanuel Vadot compatible = "regulator-fixed"; 661537cf73SEmmanuel Vadot regulator-name = "vreg_conn_pa"; 671537cf73SEmmanuel Vadot startup-delay-us = <4000>; 681537cf73SEmmanuel Vadot enable-active-high; 691537cf73SEmmanuel Vadot gpio = <&pmm8654au_1_gpios 6 GPIO_ACTIVE_HIGH>; 701537cf73SEmmanuel Vadot }; 711537cf73SEmmanuel Vadot 721537cf73SEmmanuel Vadot wcn6855-pmu { 731537cf73SEmmanuel Vadot compatible = "qcom,wcn6855-pmu"; 741537cf73SEmmanuel Vadot 751537cf73SEmmanuel Vadot pinctrl-names = "default"; 761537cf73SEmmanuel Vadot pinctrl-0 = <&bt_en_state>, <&wlan_en_state>; 771537cf73SEmmanuel Vadot 781537cf73SEmmanuel Vadot vddio-supply = <&vreg_conn_pa>; 791537cf73SEmmanuel Vadot vddaon-supply = <&vreg_l2c>; 801537cf73SEmmanuel Vadot vddpmu-supply = <&vreg_conn_1p8>; 811537cf73SEmmanuel Vadot vddrfa0p95-supply = <&vreg_l2c>; 821537cf73SEmmanuel Vadot vddrfa1p3-supply = <&vreg_l6e>; 831537cf73SEmmanuel Vadot vddrfa1p9-supply = <&vreg_s5a>; 841537cf73SEmmanuel Vadot vddpcie1p3-supply = <&vreg_l6e>; 851537cf73SEmmanuel Vadot vddpcie1p9-supply = <&vreg_s5a>; 861537cf73SEmmanuel Vadot 871537cf73SEmmanuel Vadot bt-enable-gpios = <&pmm8654au_1_gpios 8 GPIO_ACTIVE_HIGH>; 881537cf73SEmmanuel Vadot wlan-enable-gpios = <&pmm8654au_1_gpios 7 GPIO_ACTIVE_HIGH>; 891537cf73SEmmanuel Vadot 901537cf73SEmmanuel Vadot regulators { 911537cf73SEmmanuel Vadot vreg_pmu_rfa_cmn: ldo0 { 921537cf73SEmmanuel Vadot regulator-name = "vreg_pmu_rfa_cmn"; 931537cf73SEmmanuel Vadot }; 941537cf73SEmmanuel Vadot 951537cf73SEmmanuel Vadot vreg_pmu_aon_0p59: ldo1 { 961537cf73SEmmanuel Vadot regulator-name = "vreg_pmu_aon_0p59"; 971537cf73SEmmanuel Vadot }; 981537cf73SEmmanuel Vadot 991537cf73SEmmanuel Vadot vreg_pmu_wlcx_0p8: ldo2 { 1001537cf73SEmmanuel Vadot regulator-name = "vreg_pmu_wlcx_0p8"; 1011537cf73SEmmanuel Vadot }; 1021537cf73SEmmanuel Vadot 1031537cf73SEmmanuel Vadot vreg_pmu_wlmx_0p85: ldo3 { 1041537cf73SEmmanuel Vadot regulator-name = "vreg_pmu_wlmx_0p85"; 1051537cf73SEmmanuel Vadot }; 1061537cf73SEmmanuel Vadot 1071537cf73SEmmanuel Vadot vreg_pmu_btcmx_0p85: ldo4 { 1081537cf73SEmmanuel Vadot regulator-name = "vreg_pmu_btcmx_0p85"; 1091537cf73SEmmanuel Vadot }; 1101537cf73SEmmanuel Vadot 1111537cf73SEmmanuel Vadot vreg_pmu_rfa_0p8: ldo5 { 1121537cf73SEmmanuel Vadot regulator-name = "vreg_pmu_rfa_0p8"; 1131537cf73SEmmanuel Vadot }; 1141537cf73SEmmanuel Vadot 1151537cf73SEmmanuel Vadot vreg_pmu_rfa_1p2: ldo6 { 1161537cf73SEmmanuel Vadot regulator-name = "vreg_pmu_rfa_1p2"; 1171537cf73SEmmanuel Vadot }; 1181537cf73SEmmanuel Vadot 1191537cf73SEmmanuel Vadot vreg_pmu_rfa_1p7: ldo7 { 1201537cf73SEmmanuel Vadot regulator-name = "vreg_pmu_rfa_1p7"; 1211537cf73SEmmanuel Vadot }; 1221537cf73SEmmanuel Vadot 1231537cf73SEmmanuel Vadot vreg_pmu_pcie_0p9: ldo8 { 1241537cf73SEmmanuel Vadot regulator-name = "vreg_pmu_pcie_0p9"; 1251537cf73SEmmanuel Vadot }; 1261537cf73SEmmanuel Vadot 1271537cf73SEmmanuel Vadot vreg_pmu_pcie_1p8: ldo9 { 1281537cf73SEmmanuel Vadot regulator-name = "vreg_pmu_pcie_1p8"; 1291537cf73SEmmanuel Vadot }; 1301537cf73SEmmanuel Vadot }; 1311537cf73SEmmanuel Vadot }; 1321537cf73SEmmanuel Vadot 1331537cf73SEmmanuel Vadot dp0-connector { 1341537cf73SEmmanuel Vadot compatible = "dp-connector"; 1351537cf73SEmmanuel Vadot label = "eDP0"; 1361537cf73SEmmanuel Vadot type = "full-size"; 1371537cf73SEmmanuel Vadot 1381537cf73SEmmanuel Vadot port { 1391537cf73SEmmanuel Vadot dp0_connector_in: endpoint { 1401537cf73SEmmanuel Vadot remote-endpoint = <&mdss0_dp0_out>; 1411537cf73SEmmanuel Vadot }; 1421537cf73SEmmanuel Vadot }; 1431537cf73SEmmanuel Vadot }; 1441537cf73SEmmanuel Vadot 1451537cf73SEmmanuel Vadot dp1-connector { 1461537cf73SEmmanuel Vadot compatible = "dp-connector"; 1471537cf73SEmmanuel Vadot label = "eDP1"; 1481537cf73SEmmanuel Vadot type = "full-size"; 1491537cf73SEmmanuel Vadot 1501537cf73SEmmanuel Vadot port { 1511537cf73SEmmanuel Vadot dp1_connector_in: endpoint { 1521537cf73SEmmanuel Vadot remote-endpoint = <&mdss0_dp1_out>; 1531537cf73SEmmanuel Vadot }; 1541537cf73SEmmanuel Vadot }; 1551537cf73SEmmanuel Vadot }; 1561537cf73SEmmanuel Vadot 1571537cf73SEmmanuel Vadot dp-dsi0-connector { 1581537cf73SEmmanuel Vadot compatible = "dp-connector"; 1591537cf73SEmmanuel Vadot label = "DSI0"; 1601537cf73SEmmanuel Vadot type = "full-size"; 1611537cf73SEmmanuel Vadot 1621537cf73SEmmanuel Vadot port { 1631537cf73SEmmanuel Vadot dp_dsi0_connector_in: endpoint { 1641537cf73SEmmanuel Vadot remote-endpoint = <&dsi2dp_bridge0_out>; 1651537cf73SEmmanuel Vadot }; 1661537cf73SEmmanuel Vadot }; 1671537cf73SEmmanuel Vadot }; 1681537cf73SEmmanuel Vadot 1691537cf73SEmmanuel Vadot dp-dsi1-connector { 1701537cf73SEmmanuel Vadot compatible = "dp-connector"; 1711537cf73SEmmanuel Vadot label = "DSI1"; 1721537cf73SEmmanuel Vadot type = "full-size"; 1731537cf73SEmmanuel Vadot 1741537cf73SEmmanuel Vadot port { 1751537cf73SEmmanuel Vadot dp_dsi1_connector_in: endpoint { 1761537cf73SEmmanuel Vadot remote-endpoint = <&dsi2dp_bridge1_out>; 1771537cf73SEmmanuel Vadot }; 1781537cf73SEmmanuel Vadot }; 1791537cf73SEmmanuel Vadot }; 1801537cf73SEmmanuel Vadot}; 1811537cf73SEmmanuel Vadot 1821537cf73SEmmanuel Vadot&apps_rsc { 1831537cf73SEmmanuel Vadot regulators-0 { 1841537cf73SEmmanuel Vadot compatible = "qcom,pmm8654au-rpmh-regulators"; 1851537cf73SEmmanuel Vadot qcom,pmic-id = "a"; 1861537cf73SEmmanuel Vadot 1871537cf73SEmmanuel Vadot vreg_s4a: smps4 { 1881537cf73SEmmanuel Vadot regulator-name = "vreg_s4a"; 1891537cf73SEmmanuel Vadot regulator-min-microvolt = <1800000>; 1901537cf73SEmmanuel Vadot regulator-max-microvolt = <1816000>; 1911537cf73SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 1921537cf73SEmmanuel Vadot }; 1931537cf73SEmmanuel Vadot 1941537cf73SEmmanuel Vadot vreg_s5a: smps5 { 1951537cf73SEmmanuel Vadot regulator-name = "vreg_s5a"; 1961537cf73SEmmanuel Vadot regulator-min-microvolt = <1850000>; 1971537cf73SEmmanuel Vadot regulator-max-microvolt = <1996000>; 1981537cf73SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 1991537cf73SEmmanuel Vadot }; 2001537cf73SEmmanuel Vadot 2011537cf73SEmmanuel Vadot vreg_s9a: smps9 { 2021537cf73SEmmanuel Vadot regulator-name = "vreg_s9a"; 2031537cf73SEmmanuel Vadot regulator-min-microvolt = <535000>; 2041537cf73SEmmanuel Vadot regulator-max-microvolt = <1120000>; 2051537cf73SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2061537cf73SEmmanuel Vadot }; 2071537cf73SEmmanuel Vadot 2081537cf73SEmmanuel Vadot vreg_l4a: ldo4 { 2091537cf73SEmmanuel Vadot regulator-name = "vreg_l4a"; 2101537cf73SEmmanuel Vadot regulator-min-microvolt = <788000>; 2111537cf73SEmmanuel Vadot regulator-max-microvolt = <1050000>; 2121537cf73SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2131537cf73SEmmanuel Vadot regulator-allow-set-load; 2141537cf73SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 2151537cf73SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 2161537cf73SEmmanuel Vadot }; 2171537cf73SEmmanuel Vadot 2181537cf73SEmmanuel Vadot vreg_l5a: ldo5 { 2191537cf73SEmmanuel Vadot regulator-name = "vreg_l5a"; 2201537cf73SEmmanuel Vadot regulator-min-microvolt = <870000>; 2211537cf73SEmmanuel Vadot regulator-max-microvolt = <950000>; 2221537cf73SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2231537cf73SEmmanuel Vadot regulator-allow-set-load; 2241537cf73SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 2251537cf73SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 2261537cf73SEmmanuel Vadot }; 2271537cf73SEmmanuel Vadot 2281537cf73SEmmanuel Vadot vreg_l6a: ldo6 { 2291537cf73SEmmanuel Vadot regulator-name = "vreg_l6a"; 2301537cf73SEmmanuel Vadot regulator-min-microvolt = <870000>; 2311537cf73SEmmanuel Vadot regulator-max-microvolt = <970000>; 2321537cf73SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2331537cf73SEmmanuel Vadot regulator-allow-set-load; 2341537cf73SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 2351537cf73SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 2361537cf73SEmmanuel Vadot }; 2371537cf73SEmmanuel Vadot 2381537cf73SEmmanuel Vadot vreg_l7a: ldo7 { 2391537cf73SEmmanuel Vadot regulator-name = "vreg_l7a"; 2401537cf73SEmmanuel Vadot regulator-min-microvolt = <720000>; 2411537cf73SEmmanuel Vadot regulator-max-microvolt = <950000>; 2421537cf73SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2431537cf73SEmmanuel Vadot regulator-allow-set-load; 2441537cf73SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 2451537cf73SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 2461537cf73SEmmanuel Vadot }; 2471537cf73SEmmanuel Vadot 2481537cf73SEmmanuel Vadot vreg_l8a: ldo8 { 2491537cf73SEmmanuel Vadot regulator-name = "vreg_l8a"; 2501537cf73SEmmanuel Vadot regulator-min-microvolt = <2504000>; 2511537cf73SEmmanuel Vadot regulator-max-microvolt = <3300000>; 2521537cf73SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2531537cf73SEmmanuel Vadot regulator-allow-set-load; 2541537cf73SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 2551537cf73SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 2561537cf73SEmmanuel Vadot }; 2571537cf73SEmmanuel Vadot 2581537cf73SEmmanuel Vadot vreg_l9a: ldo9 { 2591537cf73SEmmanuel Vadot regulator-name = "vreg_l9a"; 2601537cf73SEmmanuel Vadot regulator-min-microvolt = <2970000>; 2611537cf73SEmmanuel Vadot regulator-max-microvolt = <3544000>; 2621537cf73SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2631537cf73SEmmanuel Vadot regulator-allow-set-load; 2641537cf73SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 2651537cf73SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 2661537cf73SEmmanuel Vadot }; 2671537cf73SEmmanuel Vadot }; 2681537cf73SEmmanuel Vadot 2691537cf73SEmmanuel Vadot regulators-1 { 2701537cf73SEmmanuel Vadot compatible = "qcom,pmm8654au-rpmh-regulators"; 2711537cf73SEmmanuel Vadot qcom,pmic-id = "c"; 2721537cf73SEmmanuel Vadot 2731537cf73SEmmanuel Vadot vreg_l1c: ldo1 { 2741537cf73SEmmanuel Vadot regulator-name = "vreg_l1c"; 2751537cf73SEmmanuel Vadot regulator-min-microvolt = <1140000>; 2761537cf73SEmmanuel Vadot regulator-max-microvolt = <1260000>; 2771537cf73SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2781537cf73SEmmanuel Vadot regulator-allow-set-load; 2791537cf73SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 2801537cf73SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 2811537cf73SEmmanuel Vadot }; 2821537cf73SEmmanuel Vadot 2831537cf73SEmmanuel Vadot vreg_l2c: ldo2 { 2841537cf73SEmmanuel Vadot regulator-name = "vreg_l2c"; 2851537cf73SEmmanuel Vadot regulator-min-microvolt = <900000>; 2861537cf73SEmmanuel Vadot regulator-max-microvolt = <1100000>; 2871537cf73SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2881537cf73SEmmanuel Vadot regulator-allow-set-load; 2891537cf73SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 2901537cf73SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 2911537cf73SEmmanuel Vadot }; 2921537cf73SEmmanuel Vadot 2931537cf73SEmmanuel Vadot vreg_l3c: ldo3 { 2941537cf73SEmmanuel Vadot regulator-name = "vreg_l3c"; 2951537cf73SEmmanuel Vadot regulator-min-microvolt = <1100000>; 2961537cf73SEmmanuel Vadot regulator-max-microvolt = <1300000>; 2971537cf73SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 2981537cf73SEmmanuel Vadot regulator-allow-set-load; 2991537cf73SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 3001537cf73SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 3011537cf73SEmmanuel Vadot }; 3021537cf73SEmmanuel Vadot 3031537cf73SEmmanuel Vadot vreg_l4c: ldo4 { 3041537cf73SEmmanuel Vadot regulator-name = "vreg_l4c"; 3051537cf73SEmmanuel Vadot regulator-min-microvolt = <1200000>; 3061537cf73SEmmanuel Vadot regulator-max-microvolt = <1200000>; 3071537cf73SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3081537cf73SEmmanuel Vadot /* 3091537cf73SEmmanuel Vadot * FIXME: This should have regulator-allow-set-load but 3101537cf73SEmmanuel Vadot * we're getting an over-current fault from the PMIC 3111537cf73SEmmanuel Vadot * when switching to LPM. 3121537cf73SEmmanuel Vadot */ 3131537cf73SEmmanuel Vadot }; 3141537cf73SEmmanuel Vadot 3151537cf73SEmmanuel Vadot vreg_l5c: ldo5 { 3161537cf73SEmmanuel Vadot regulator-name = "vreg_l5c"; 3171537cf73SEmmanuel Vadot regulator-min-microvolt = <1100000>; 3181537cf73SEmmanuel Vadot regulator-max-microvolt = <1300000>; 3191537cf73SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3201537cf73SEmmanuel Vadot regulator-allow-set-load; 3211537cf73SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 3221537cf73SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 3231537cf73SEmmanuel Vadot }; 3241537cf73SEmmanuel Vadot 3251537cf73SEmmanuel Vadot vreg_l6c: ldo6 { 3261537cf73SEmmanuel Vadot regulator-name = "vreg_l6c"; 3271537cf73SEmmanuel Vadot regulator-min-microvolt = <1620000>; 3281537cf73SEmmanuel Vadot regulator-max-microvolt = <1980000>; 3291537cf73SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3301537cf73SEmmanuel Vadot regulator-allow-set-load; 3311537cf73SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 3321537cf73SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 3331537cf73SEmmanuel Vadot }; 3341537cf73SEmmanuel Vadot 3351537cf73SEmmanuel Vadot vreg_l7c: ldo7 { 3361537cf73SEmmanuel Vadot regulator-name = "vreg_l7c"; 3371537cf73SEmmanuel Vadot regulator-min-microvolt = <1620000>; 3381537cf73SEmmanuel Vadot regulator-max-microvolt = <2000000>; 3391537cf73SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3401537cf73SEmmanuel Vadot regulator-allow-set-load; 3411537cf73SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 3421537cf73SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 3431537cf73SEmmanuel Vadot }; 3441537cf73SEmmanuel Vadot 3451537cf73SEmmanuel Vadot vreg_l8c: ldo8 { 3461537cf73SEmmanuel Vadot regulator-name = "vreg_l8c"; 3471537cf73SEmmanuel Vadot regulator-min-microvolt = <2400000>; 3481537cf73SEmmanuel Vadot regulator-max-microvolt = <3300000>; 3491537cf73SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3501537cf73SEmmanuel Vadot regulator-allow-set-load; 3511537cf73SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 3521537cf73SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 3531537cf73SEmmanuel Vadot }; 3541537cf73SEmmanuel Vadot 3551537cf73SEmmanuel Vadot vreg_l9c: ldo9 { 3561537cf73SEmmanuel Vadot regulator-name = "vreg_l9c"; 3571537cf73SEmmanuel Vadot regulator-min-microvolt = <1650000>; 3581537cf73SEmmanuel Vadot regulator-max-microvolt = <2700000>; 3591537cf73SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3601537cf73SEmmanuel Vadot regulator-allow-set-load; 3611537cf73SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 3621537cf73SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 3631537cf73SEmmanuel Vadot }; 3641537cf73SEmmanuel Vadot }; 3651537cf73SEmmanuel Vadot 3661537cf73SEmmanuel Vadot regulators-2 { 3671537cf73SEmmanuel Vadot compatible = "qcom,pmm8654au-rpmh-regulators"; 3681537cf73SEmmanuel Vadot qcom,pmic-id = "e"; 3691537cf73SEmmanuel Vadot 3701537cf73SEmmanuel Vadot vreg_s4e: smps4 { 3711537cf73SEmmanuel Vadot regulator-name = "vreg_s4e"; 3721537cf73SEmmanuel Vadot regulator-min-microvolt = <970000>; 3731537cf73SEmmanuel Vadot regulator-max-microvolt = <1520000>; 3741537cf73SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3751537cf73SEmmanuel Vadot }; 3761537cf73SEmmanuel Vadot 3771537cf73SEmmanuel Vadot vreg_s7e: smps7 { 3781537cf73SEmmanuel Vadot regulator-name = "vreg_s7e"; 3791537cf73SEmmanuel Vadot regulator-min-microvolt = <1010000>; 3801537cf73SEmmanuel Vadot regulator-max-microvolt = <1170000>; 3811537cf73SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3821537cf73SEmmanuel Vadot }; 3831537cf73SEmmanuel Vadot 3841537cf73SEmmanuel Vadot vreg_s9e: smps9 { 3851537cf73SEmmanuel Vadot regulator-name = "vreg_s9e"; 3861537cf73SEmmanuel Vadot regulator-min-microvolt = <300000>; 3871537cf73SEmmanuel Vadot regulator-max-microvolt = <570000>; 3881537cf73SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3891537cf73SEmmanuel Vadot }; 3901537cf73SEmmanuel Vadot 3911537cf73SEmmanuel Vadot vreg_l6e: ldo6 { 3921537cf73SEmmanuel Vadot regulator-name = "vreg_l6e"; 3931537cf73SEmmanuel Vadot regulator-min-microvolt = <1280000>; 3941537cf73SEmmanuel Vadot regulator-max-microvolt = <1450000>; 3951537cf73SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 3961537cf73SEmmanuel Vadot regulator-allow-set-load; 3971537cf73SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 3981537cf73SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 3991537cf73SEmmanuel Vadot }; 4001537cf73SEmmanuel Vadot 4011537cf73SEmmanuel Vadot vreg_l8e: ldo8 { 4021537cf73SEmmanuel Vadot regulator-name = "vreg_l8e"; 4031537cf73SEmmanuel Vadot regulator-min-microvolt = <1800000>; 4041537cf73SEmmanuel Vadot regulator-max-microvolt = <1950000>; 4051537cf73SEmmanuel Vadot regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; 4061537cf73SEmmanuel Vadot regulator-allow-set-load; 4071537cf73SEmmanuel Vadot regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 4081537cf73SEmmanuel Vadot RPMH_REGULATOR_MODE_HPM>; 4091537cf73SEmmanuel Vadot }; 4101537cf73SEmmanuel Vadot }; 4111537cf73SEmmanuel Vadot}; 4121537cf73SEmmanuel Vadot 413*0cd4430aSEmmanuel Vadot&gpu { 414*0cd4430aSEmmanuel Vadot status = "okay"; 415*0cd4430aSEmmanuel Vadot}; 416*0cd4430aSEmmanuel Vadot 417*0cd4430aSEmmanuel Vadot&gpu_zap_shader { 418*0cd4430aSEmmanuel Vadot firmware-name = "qcom/sa8775p/a663_zap.mbn"; 419*0cd4430aSEmmanuel Vadot}; 420*0cd4430aSEmmanuel Vadot 4211537cf73SEmmanuel Vadot&i2c11 { 4221537cf73SEmmanuel Vadot clock-frequency = <400000>; 4231537cf73SEmmanuel Vadot status = "okay"; 4241537cf73SEmmanuel Vadot}; 4251537cf73SEmmanuel Vadot 4261537cf73SEmmanuel Vadot&i2c18 { 4271537cf73SEmmanuel Vadot clock-frequency = <400000>; 4281537cf73SEmmanuel Vadot 4291537cf73SEmmanuel Vadot status = "okay"; 4301537cf73SEmmanuel Vadot 4311537cf73SEmmanuel Vadot io_expander: gpio@74 { 4321537cf73SEmmanuel Vadot compatible = "ti,tca9539"; 4331537cf73SEmmanuel Vadot reg = <0x74>; 4341537cf73SEmmanuel Vadot interrupts-extended = <&tlmm 98 IRQ_TYPE_EDGE_BOTH>; 4351537cf73SEmmanuel Vadot gpio-controller; 4361537cf73SEmmanuel Vadot #gpio-cells = <2>; 4371537cf73SEmmanuel Vadot interrupt-controller; 4381537cf73SEmmanuel Vadot #interrupt-cells = <2>; 4391537cf73SEmmanuel Vadot reset-gpios = <&tlmm 97 GPIO_ACTIVE_LOW>; 4401537cf73SEmmanuel Vadot 4411537cf73SEmmanuel Vadot pinctrl-0 = <&io_expander_intr_active>, 4421537cf73SEmmanuel Vadot <&io_expander_reset_active>; 4431537cf73SEmmanuel Vadot pinctrl-names = "default"; 4441537cf73SEmmanuel Vadot }; 4451537cf73SEmmanuel Vadot 4461537cf73SEmmanuel Vadot i2c-mux@70 { 4471537cf73SEmmanuel Vadot compatible = "nxp,pca9543"; 4481537cf73SEmmanuel Vadot #address-cells = <1>; 4491537cf73SEmmanuel Vadot 4501537cf73SEmmanuel Vadot #size-cells = <0>; 4511537cf73SEmmanuel Vadot reg = <0x70>; 4521537cf73SEmmanuel Vadot 4531537cf73SEmmanuel Vadot i2c@0 { 4541537cf73SEmmanuel Vadot reg = <0>; 4551537cf73SEmmanuel Vadot #address-cells = <1>; 4561537cf73SEmmanuel Vadot #size-cells = <0>; 4571537cf73SEmmanuel Vadot 4581537cf73SEmmanuel Vadot bridge@58 { 4591537cf73SEmmanuel Vadot compatible = "analogix,anx7625"; 4601537cf73SEmmanuel Vadot reg = <0x58>; 4611537cf73SEmmanuel Vadot interrupts-extended = <&io_expander 2 IRQ_TYPE_EDGE_FALLING>; 4621537cf73SEmmanuel Vadot enable-gpios = <&io_expander 1 GPIO_ACTIVE_HIGH>; 4631537cf73SEmmanuel Vadot reset-gpios = <&io_expander 0 GPIO_ACTIVE_HIGH>; 4641537cf73SEmmanuel Vadot vdd10-supply = <&vreg_1p0>; 4651537cf73SEmmanuel Vadot vdd18-supply = <&vreg_1p8>; 4661537cf73SEmmanuel Vadot vdd33-supply = <&vreg_3p0>; 4671537cf73SEmmanuel Vadot 4681537cf73SEmmanuel Vadot ports { 4691537cf73SEmmanuel Vadot #address-cells = <1>; 4701537cf73SEmmanuel Vadot #size-cells = <0>; 4711537cf73SEmmanuel Vadot 4721537cf73SEmmanuel Vadot port@0 { 4731537cf73SEmmanuel Vadot reg = <0>; 4741537cf73SEmmanuel Vadot 4751537cf73SEmmanuel Vadot dsi2dp_bridge0_in: endpoint { 4761537cf73SEmmanuel Vadot remote-endpoint = <&mdss0_dsi0_out>; 4771537cf73SEmmanuel Vadot }; 4781537cf73SEmmanuel Vadot }; 4791537cf73SEmmanuel Vadot 4801537cf73SEmmanuel Vadot port@1 { 4811537cf73SEmmanuel Vadot reg = <1>; 4821537cf73SEmmanuel Vadot 4831537cf73SEmmanuel Vadot dsi2dp_bridge0_out: endpoint { 4841537cf73SEmmanuel Vadot remote-endpoint = <&dp_dsi0_connector_in>; 4851537cf73SEmmanuel Vadot }; 4861537cf73SEmmanuel Vadot }; 4871537cf73SEmmanuel Vadot }; 4881537cf73SEmmanuel Vadot }; 4891537cf73SEmmanuel Vadot }; 4901537cf73SEmmanuel Vadot 4911537cf73SEmmanuel Vadot i2c@1 { 4921537cf73SEmmanuel Vadot reg = <1>; 4931537cf73SEmmanuel Vadot #address-cells = <1>; 4941537cf73SEmmanuel Vadot #size-cells = <0>; 4951537cf73SEmmanuel Vadot 4961537cf73SEmmanuel Vadot bridge@58 { 4971537cf73SEmmanuel Vadot compatible = "analogix,anx7625"; 4981537cf73SEmmanuel Vadot reg = <0x58>; 4991537cf73SEmmanuel Vadot interrupts-extended = <&io_expander 10 IRQ_TYPE_EDGE_FALLING>; 5001537cf73SEmmanuel Vadot enable-gpios = <&io_expander 9 GPIO_ACTIVE_HIGH>; 5011537cf73SEmmanuel Vadot reset-gpios = <&io_expander 8 GPIO_ACTIVE_HIGH>; 5021537cf73SEmmanuel Vadot vdd10-supply = <&vreg_1p0>; 5031537cf73SEmmanuel Vadot vdd18-supply = <&vreg_1p8>; 5041537cf73SEmmanuel Vadot vdd33-supply = <&vreg_3p0>; 5051537cf73SEmmanuel Vadot 5061537cf73SEmmanuel Vadot ports { 5071537cf73SEmmanuel Vadot #address-cells = <1>; 5081537cf73SEmmanuel Vadot #size-cells = <0>; 5091537cf73SEmmanuel Vadot 5101537cf73SEmmanuel Vadot port@0 { 5111537cf73SEmmanuel Vadot reg = <0>; 5121537cf73SEmmanuel Vadot 5131537cf73SEmmanuel Vadot dsi2dp_bridge1_in: endpoint { 5141537cf73SEmmanuel Vadot remote-endpoint = <&mdss0_dsi1_out>; 5151537cf73SEmmanuel Vadot }; 5161537cf73SEmmanuel Vadot }; 5171537cf73SEmmanuel Vadot 5181537cf73SEmmanuel Vadot port@1 { 5191537cf73SEmmanuel Vadot reg = <1>; 5201537cf73SEmmanuel Vadot 5211537cf73SEmmanuel Vadot dsi2dp_bridge1_out: endpoint { 5221537cf73SEmmanuel Vadot remote-endpoint = <&dp_dsi1_connector_in>; 5231537cf73SEmmanuel Vadot }; 5241537cf73SEmmanuel Vadot }; 5251537cf73SEmmanuel Vadot }; 5261537cf73SEmmanuel Vadot }; 5271537cf73SEmmanuel Vadot }; 5281537cf73SEmmanuel Vadot }; 5291537cf73SEmmanuel Vadot 5301537cf73SEmmanuel Vadot}; 5311537cf73SEmmanuel Vadot 5321537cf73SEmmanuel Vadot&iris { 5331537cf73SEmmanuel Vadot firmware-name = "qcom/vpu/vpu30_p4_s6.mbn"; 5341537cf73SEmmanuel Vadot 5351537cf73SEmmanuel Vadot status = "okay"; 5361537cf73SEmmanuel Vadot}; 5371537cf73SEmmanuel Vadot 5381537cf73SEmmanuel Vadot&mdss0 { 5391537cf73SEmmanuel Vadot status = "okay"; 5401537cf73SEmmanuel Vadot}; 5411537cf73SEmmanuel Vadot 5421537cf73SEmmanuel Vadot&mdss0_dp0 { 5431537cf73SEmmanuel Vadot pinctrl-0 = <&dp0_hot_plug_det>; 5441537cf73SEmmanuel Vadot pinctrl-names = "default"; 5451537cf73SEmmanuel Vadot 5461537cf73SEmmanuel Vadot status = "okay"; 5471537cf73SEmmanuel Vadot}; 5481537cf73SEmmanuel Vadot 5491537cf73SEmmanuel Vadot&mdss0_dp0_out { 5501537cf73SEmmanuel Vadot data-lanes = <0 1 2 3>; 5511537cf73SEmmanuel Vadot link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>; 5521537cf73SEmmanuel Vadot remote-endpoint = <&dp0_connector_in>; 5531537cf73SEmmanuel Vadot}; 5541537cf73SEmmanuel Vadot 5551537cf73SEmmanuel Vadot&mdss0_dp0_phy { 5561537cf73SEmmanuel Vadot vdda-phy-supply = <&vreg_l1c>; 5571537cf73SEmmanuel Vadot vdda-pll-supply = <&vreg_l4a>; 5581537cf73SEmmanuel Vadot 5591537cf73SEmmanuel Vadot status = "okay"; 5601537cf73SEmmanuel Vadot}; 5611537cf73SEmmanuel Vadot 5621537cf73SEmmanuel Vadot&mdss0_dp1 { 5631537cf73SEmmanuel Vadot pinctrl-0 = <&dp1_hot_plug_det>; 5641537cf73SEmmanuel Vadot pinctrl-names = "default"; 5651537cf73SEmmanuel Vadot 5661537cf73SEmmanuel Vadot status = "okay"; 5671537cf73SEmmanuel Vadot}; 5681537cf73SEmmanuel Vadot 5691537cf73SEmmanuel Vadot&mdss0_dp1_out { 5701537cf73SEmmanuel Vadot data-lanes = <0 1 2 3>; 5711537cf73SEmmanuel Vadot link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>; 5721537cf73SEmmanuel Vadot remote-endpoint = <&dp1_connector_in>; 5731537cf73SEmmanuel Vadot}; 5741537cf73SEmmanuel Vadot 5751537cf73SEmmanuel Vadot&mdss0_dp1_phy { 5761537cf73SEmmanuel Vadot vdda-phy-supply = <&vreg_l1c>; 5771537cf73SEmmanuel Vadot vdda-pll-supply = <&vreg_l4a>; 5781537cf73SEmmanuel Vadot 5791537cf73SEmmanuel Vadot status = "okay"; 5801537cf73SEmmanuel Vadot}; 5811537cf73SEmmanuel Vadot 5821537cf73SEmmanuel Vadot&mdss0_dsi0 { 5831537cf73SEmmanuel Vadot vdda-supply = <&vreg_l1c>; 5841537cf73SEmmanuel Vadot 5851537cf73SEmmanuel Vadot status = "okay"; 5861537cf73SEmmanuel Vadot}; 5871537cf73SEmmanuel Vadot 5881537cf73SEmmanuel Vadot&mdss0_dsi0_out { 5891537cf73SEmmanuel Vadot data-lanes = <0 1 2 3>; 5901537cf73SEmmanuel Vadot remote-endpoint = <&dsi2dp_bridge0_in>; 5911537cf73SEmmanuel Vadot}; 5921537cf73SEmmanuel Vadot 5931537cf73SEmmanuel Vadot&mdss0_dsi0_phy { 5941537cf73SEmmanuel Vadot vdds-supply = <&vreg_l4a>; 5951537cf73SEmmanuel Vadot 5961537cf73SEmmanuel Vadot status = "okay"; 5971537cf73SEmmanuel Vadot}; 5981537cf73SEmmanuel Vadot 5991537cf73SEmmanuel Vadot&mdss0_dsi1 { 6001537cf73SEmmanuel Vadot vdda-supply = <&vreg_l1c>; 6011537cf73SEmmanuel Vadot 6021537cf73SEmmanuel Vadot status = "okay"; 6031537cf73SEmmanuel Vadot}; 6041537cf73SEmmanuel Vadot 6051537cf73SEmmanuel Vadot&mdss0_dsi1_out { 6061537cf73SEmmanuel Vadot data-lanes = <0 1 2 3>; 6071537cf73SEmmanuel Vadot remote-endpoint = <&dsi2dp_bridge1_in>; 6081537cf73SEmmanuel Vadot}; 6091537cf73SEmmanuel Vadot 6101537cf73SEmmanuel Vadot&mdss0_dsi1_phy { 6111537cf73SEmmanuel Vadot vdds-supply = <&vreg_l4a>; 6121537cf73SEmmanuel Vadot 6131537cf73SEmmanuel Vadot status = "okay"; 6141537cf73SEmmanuel Vadot}; 6151537cf73SEmmanuel Vadot 6161537cf73SEmmanuel Vadot&pmm8654au_0_gpios { 6171537cf73SEmmanuel Vadot gpio-line-names = "DS_EN", 6181537cf73SEmmanuel Vadot "POFF_COMPLETE", 6191537cf73SEmmanuel Vadot "UFS0_VER_ID", 6201537cf73SEmmanuel Vadot "FAST_POFF", 6211537cf73SEmmanuel Vadot "DBU1_PON_DONE", 6221537cf73SEmmanuel Vadot "AOSS_SLEEP", 6231537cf73SEmmanuel Vadot "CAM_DES0_EN", 6241537cf73SEmmanuel Vadot "CAM_DES1_EN", 6251537cf73SEmmanuel Vadot "CAM_DES2_EN", 6261537cf73SEmmanuel Vadot "CAM_DES3_EN", 6271537cf73SEmmanuel Vadot "UEFI", 6281537cf73SEmmanuel Vadot "ANALOG_PON_OPT"; 6291537cf73SEmmanuel Vadot}; 6301537cf73SEmmanuel Vadot 6311537cf73SEmmanuel Vadot&pmm8654au_0_pon_resin { 6321537cf73SEmmanuel Vadot linux,code = <KEY_VOLUMEDOWN>; 6331537cf73SEmmanuel Vadot status = "okay"; 6341537cf73SEmmanuel Vadot}; 6351537cf73SEmmanuel Vadot 6361537cf73SEmmanuel Vadot&pmm8654au_1_gpios { 6371537cf73SEmmanuel Vadot gpio-line-names = "PMIC_C_ID0", 6381537cf73SEmmanuel Vadot "PMIC_C_ID1", 6391537cf73SEmmanuel Vadot "UFS1_VER_ID", 6401537cf73SEmmanuel Vadot "IPA_PWR", 6411537cf73SEmmanuel Vadot "", 6421537cf73SEmmanuel Vadot "WLAN_DBU4_EN", 6431537cf73SEmmanuel Vadot "WLAN_EN", 6441537cf73SEmmanuel Vadot "BT_EN", 6451537cf73SEmmanuel Vadot "USB2_PWR_EN", 6461537cf73SEmmanuel Vadot "USB2_FAULT"; 6471537cf73SEmmanuel Vadot 6481537cf73SEmmanuel Vadot wlan_en_state: wlan-en-state { 6491537cf73SEmmanuel Vadot pins = "gpio7"; 6501537cf73SEmmanuel Vadot function = "normal"; 6511537cf73SEmmanuel Vadot output-low; 6521537cf73SEmmanuel Vadot bias-pull-down; 6531537cf73SEmmanuel Vadot }; 6541537cf73SEmmanuel Vadot 6551537cf73SEmmanuel Vadot bt_en_state: bt-en-state { 6561537cf73SEmmanuel Vadot pins = "gpio8"; 6571537cf73SEmmanuel Vadot function = "normal"; 6581537cf73SEmmanuel Vadot output-low; 6591537cf73SEmmanuel Vadot bias-pull-down; 6601537cf73SEmmanuel Vadot }; 6611537cf73SEmmanuel Vadot 6621537cf73SEmmanuel Vadot usb2_en_state: usb2-en-state { 6631537cf73SEmmanuel Vadot pins = "gpio9"; 6641537cf73SEmmanuel Vadot function = "normal"; 6651537cf73SEmmanuel Vadot output-high; 6661537cf73SEmmanuel Vadot power-source = <0>; 6671537cf73SEmmanuel Vadot }; 6681537cf73SEmmanuel Vadot}; 6691537cf73SEmmanuel Vadot 6701537cf73SEmmanuel Vadot&pmm8654au_2_gpios { 6711537cf73SEmmanuel Vadot gpio-line-names = "PMIC_E_ID0", 6721537cf73SEmmanuel Vadot "PMIC_E_ID1", 6731537cf73SEmmanuel Vadot "USB0_PWR_EN", 6741537cf73SEmmanuel Vadot "USB0_FAULT", 6751537cf73SEmmanuel Vadot "SENSOR_IRQ_1", 6761537cf73SEmmanuel Vadot "SENSOR_IRQ_2", 6771537cf73SEmmanuel Vadot "SENSOR_RST", 6781537cf73SEmmanuel Vadot "SGMIIO0_RST", 6791537cf73SEmmanuel Vadot "SGMIIO1_RST", 6801537cf73SEmmanuel Vadot "USB1_PWR_ENABLE", 6811537cf73SEmmanuel Vadot "USB1_FAULT", 6821537cf73SEmmanuel Vadot "VMON_SPX8"; 6831537cf73SEmmanuel Vadot 6841537cf73SEmmanuel Vadot usb0_en_state: usb0-en-state { 6851537cf73SEmmanuel Vadot pins = "gpio3"; 6861537cf73SEmmanuel Vadot function = "normal"; 6871537cf73SEmmanuel Vadot output-high; 6881537cf73SEmmanuel Vadot power-source = <0>; 6891537cf73SEmmanuel Vadot }; 6901537cf73SEmmanuel Vadot 6911537cf73SEmmanuel Vadot usb1_en_state: usb1-en-state { 6921537cf73SEmmanuel Vadot pins = "gpio10"; 6931537cf73SEmmanuel Vadot function = "normal"; 6941537cf73SEmmanuel Vadot output-high; 6951537cf73SEmmanuel Vadot power-source = <0>; 6961537cf73SEmmanuel Vadot }; 6971537cf73SEmmanuel Vadot}; 6981537cf73SEmmanuel Vadot 6991537cf73SEmmanuel Vadot&pmm8654au_3_gpios { 7001537cf73SEmmanuel Vadot gpio-line-names = "PMIC_G_ID0", 7011537cf73SEmmanuel Vadot "PMIC_G_ID1", 7021537cf73SEmmanuel Vadot "GNSS_RST", 7031537cf73SEmmanuel Vadot "GNSS_EN", 7041537cf73SEmmanuel Vadot "GNSS_BOOT_MODE"; 7051537cf73SEmmanuel Vadot}; 7061537cf73SEmmanuel Vadot 7071537cf73SEmmanuel Vadot&qupv3_id_1 { 7081537cf73SEmmanuel Vadot status = "okay"; 7091537cf73SEmmanuel Vadot}; 7101537cf73SEmmanuel Vadot 7111537cf73SEmmanuel Vadot&qupv3_id_2 { 7121537cf73SEmmanuel Vadot status = "okay"; 7131537cf73SEmmanuel Vadot}; 7141537cf73SEmmanuel Vadot 7151537cf73SEmmanuel Vadot&qup_spi16_default { 7161537cf73SEmmanuel Vadot drive-strength = <6>; 7171537cf73SEmmanuel Vadot bias-disable; 7181537cf73SEmmanuel Vadot}; 7191537cf73SEmmanuel Vadot 7201537cf73SEmmanuel Vadot&qup_i2c11_default { 7211537cf73SEmmanuel Vadot drive-strength = <2>; 7221537cf73SEmmanuel Vadot bias-pull-up; 7231537cf73SEmmanuel Vadot}; 7241537cf73SEmmanuel Vadot 7251537cf73SEmmanuel Vadot&qup_i2c18_default { 7261537cf73SEmmanuel Vadot drive-strength = <2>; 7271537cf73SEmmanuel Vadot bias-pull-up; 7281537cf73SEmmanuel Vadot}; 7291537cf73SEmmanuel Vadot 7301537cf73SEmmanuel Vadot&qup_uart12_cts { 7311537cf73SEmmanuel Vadot bias-disable; 7321537cf73SEmmanuel Vadot}; 7331537cf73SEmmanuel Vadot 7341537cf73SEmmanuel Vadot&qup_uart12_rts { 7351537cf73SEmmanuel Vadot bias-pull-down; 7361537cf73SEmmanuel Vadot}; 7371537cf73SEmmanuel Vadot 7381537cf73SEmmanuel Vadot&qup_uart12_tx { 7391537cf73SEmmanuel Vadot bias-pull-up; 7401537cf73SEmmanuel Vadot}; 7411537cf73SEmmanuel Vadot 7421537cf73SEmmanuel Vadot&qup_uart12_rx { 7431537cf73SEmmanuel Vadot bias-pull-down; 7441537cf73SEmmanuel Vadot}; 7451537cf73SEmmanuel Vadot 7461537cf73SEmmanuel Vadot&qup_uart17_cts { 7471537cf73SEmmanuel Vadot bias-disable; 7481537cf73SEmmanuel Vadot}; 7491537cf73SEmmanuel Vadot 7501537cf73SEmmanuel Vadot&qup_uart17_rts { 7511537cf73SEmmanuel Vadot bias-pull-down; 7521537cf73SEmmanuel Vadot}; 7531537cf73SEmmanuel Vadot 7541537cf73SEmmanuel Vadot&qup_uart17_tx { 7551537cf73SEmmanuel Vadot bias-pull-up; 7561537cf73SEmmanuel Vadot}; 7571537cf73SEmmanuel Vadot 7581537cf73SEmmanuel Vadot&qup_uart17_rx { 7591537cf73SEmmanuel Vadot bias-pull-down; 7601537cf73SEmmanuel Vadot}; 7611537cf73SEmmanuel Vadot 7621537cf73SEmmanuel Vadot&serdes0 { 7631537cf73SEmmanuel Vadot phy-supply = <&vreg_l5a>; 7641537cf73SEmmanuel Vadot status = "okay"; 7651537cf73SEmmanuel Vadot}; 7661537cf73SEmmanuel Vadot 7671537cf73SEmmanuel Vadot&serdes1 { 7681537cf73SEmmanuel Vadot phy-supply = <&vreg_l5a>; 7691537cf73SEmmanuel Vadot status = "okay"; 7701537cf73SEmmanuel Vadot}; 7711537cf73SEmmanuel Vadot 7721537cf73SEmmanuel Vadot&sleep_clk { 7731537cf73SEmmanuel Vadot clock-frequency = <32000>; 7741537cf73SEmmanuel Vadot}; 7751537cf73SEmmanuel Vadot 7761537cf73SEmmanuel Vadot&spi16 { 7771537cf73SEmmanuel Vadot status = "okay"; 7781537cf73SEmmanuel Vadot}; 7791537cf73SEmmanuel Vadot 7801537cf73SEmmanuel Vadot&tlmm { 7811537cf73SEmmanuel Vadot dp0_hot_plug_det: dp0-hot-plug-det-state { 7821537cf73SEmmanuel Vadot pins = "gpio101"; 7831537cf73SEmmanuel Vadot function = "edp0_hot"; 7841537cf73SEmmanuel Vadot bias-disable; 7851537cf73SEmmanuel Vadot }; 7861537cf73SEmmanuel Vadot 7871537cf73SEmmanuel Vadot dp1_hot_plug_det: dp1-hot-plug-det-state { 7881537cf73SEmmanuel Vadot pins = "gpio102"; 7891537cf73SEmmanuel Vadot function = "edp1_hot"; 7901537cf73SEmmanuel Vadot bias-disable; 7911537cf73SEmmanuel Vadot }; 7921537cf73SEmmanuel Vadot 7931537cf73SEmmanuel Vadot io_expander_intr_active: io-expander-intr-active-state { 7941537cf73SEmmanuel Vadot pins = "gpio98"; 7951537cf73SEmmanuel Vadot function = "gpio"; 7961537cf73SEmmanuel Vadot drive-strength = <2>; 7971537cf73SEmmanuel Vadot bias-disable; 7981537cf73SEmmanuel Vadot }; 7991537cf73SEmmanuel Vadot 8001537cf73SEmmanuel Vadot io_expander_reset_active: io-expander-reset-active-state { 8011537cf73SEmmanuel Vadot pins = "gpio97"; 8021537cf73SEmmanuel Vadot function = "gpio"; 8031537cf73SEmmanuel Vadot drive-strength = <2>; 8041537cf73SEmmanuel Vadot bias-disable; 8051537cf73SEmmanuel Vadot output-high; 8061537cf73SEmmanuel Vadot }; 8071537cf73SEmmanuel Vadot 8081537cf73SEmmanuel Vadot pcie0_default_state: pcie0-default-state { 8091537cf73SEmmanuel Vadot perst-pins { 8101537cf73SEmmanuel Vadot pins = "gpio2"; 8111537cf73SEmmanuel Vadot function = "gpio"; 8121537cf73SEmmanuel Vadot drive-strength = <2>; 8131537cf73SEmmanuel Vadot bias-pull-down; 8141537cf73SEmmanuel Vadot }; 8151537cf73SEmmanuel Vadot 8161537cf73SEmmanuel Vadot clkreq-pins { 8171537cf73SEmmanuel Vadot pins = "gpio1"; 8181537cf73SEmmanuel Vadot function = "pcie0_clkreq"; 8191537cf73SEmmanuel Vadot drive-strength = <2>; 8201537cf73SEmmanuel Vadot bias-pull-up; 8211537cf73SEmmanuel Vadot }; 8221537cf73SEmmanuel Vadot 8231537cf73SEmmanuel Vadot wake-pins { 8241537cf73SEmmanuel Vadot pins = "gpio0"; 8251537cf73SEmmanuel Vadot function = "gpio"; 8261537cf73SEmmanuel Vadot drive-strength = <2>; 8271537cf73SEmmanuel Vadot bias-pull-up; 8281537cf73SEmmanuel Vadot }; 8291537cf73SEmmanuel Vadot }; 8301537cf73SEmmanuel Vadot 8311537cf73SEmmanuel Vadot pcie1_default_state: pcie1-default-state { 8321537cf73SEmmanuel Vadot perst-pins { 8331537cf73SEmmanuel Vadot pins = "gpio4"; 8341537cf73SEmmanuel Vadot function = "gpio"; 8351537cf73SEmmanuel Vadot drive-strength = <2>; 8361537cf73SEmmanuel Vadot bias-pull-down; 8371537cf73SEmmanuel Vadot }; 8381537cf73SEmmanuel Vadot 8391537cf73SEmmanuel Vadot clkreq-pins { 8401537cf73SEmmanuel Vadot pins = "gpio3"; 8411537cf73SEmmanuel Vadot function = "pcie1_clkreq"; 8421537cf73SEmmanuel Vadot drive-strength = <2>; 8431537cf73SEmmanuel Vadot bias-pull-up; 8441537cf73SEmmanuel Vadot }; 8451537cf73SEmmanuel Vadot 8461537cf73SEmmanuel Vadot wake-pins { 8471537cf73SEmmanuel Vadot pins = "gpio5"; 8481537cf73SEmmanuel Vadot function = "gpio"; 8491537cf73SEmmanuel Vadot drive-strength = <2>; 8501537cf73SEmmanuel Vadot bias-pull-up; 8511537cf73SEmmanuel Vadot }; 8521537cf73SEmmanuel Vadot }; 8531537cf73SEmmanuel Vadot}; 8541537cf73SEmmanuel Vadot 8551537cf73SEmmanuel Vadot&pcie0 { 8561537cf73SEmmanuel Vadot perst-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>; 8571537cf73SEmmanuel Vadot wake-gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>; 8581537cf73SEmmanuel Vadot 8591537cf73SEmmanuel Vadot pinctrl-names = "default"; 8601537cf73SEmmanuel Vadot pinctrl-0 = <&pcie0_default_state>; 8611537cf73SEmmanuel Vadot 8621537cf73SEmmanuel Vadot status = "okay"; 8631537cf73SEmmanuel Vadot}; 8641537cf73SEmmanuel Vadot 8651537cf73SEmmanuel Vadot&pcie1 { 8661537cf73SEmmanuel Vadot perst-gpios = <&tlmm 4 GPIO_ACTIVE_LOW>; 8671537cf73SEmmanuel Vadot wake-gpios = <&tlmm 5 GPIO_ACTIVE_HIGH>; 8681537cf73SEmmanuel Vadot 8691537cf73SEmmanuel Vadot pinctrl-names = "default"; 8701537cf73SEmmanuel Vadot pinctrl-0 = <&pcie1_default_state>; 8711537cf73SEmmanuel Vadot 8721537cf73SEmmanuel Vadot status = "okay"; 8731537cf73SEmmanuel Vadot}; 8741537cf73SEmmanuel Vadot 8751537cf73SEmmanuel Vadot&pcie0_phy { 8761537cf73SEmmanuel Vadot vdda-phy-supply = <&vreg_l5a>; 8771537cf73SEmmanuel Vadot vdda-pll-supply = <&vreg_l1c>; 8781537cf73SEmmanuel Vadot 8791537cf73SEmmanuel Vadot status = "okay"; 8801537cf73SEmmanuel Vadot}; 8811537cf73SEmmanuel Vadot 8821537cf73SEmmanuel Vadot&pcie1_phy { 8831537cf73SEmmanuel Vadot vdda-phy-supply = <&vreg_l5a>; 8841537cf73SEmmanuel Vadot vdda-pll-supply = <&vreg_l1c>; 8851537cf73SEmmanuel Vadot 8861537cf73SEmmanuel Vadot status = "okay"; 8871537cf73SEmmanuel Vadot}; 8881537cf73SEmmanuel Vadot 8891537cf73SEmmanuel Vadot&pcieport0 { 8901537cf73SEmmanuel Vadot wifi@0 { 8911537cf73SEmmanuel Vadot compatible = "pci17cb,1101"; 8921537cf73SEmmanuel Vadot reg = <0x10000 0x0 0x0 0x0 0x0>; 8931537cf73SEmmanuel Vadot 8941537cf73SEmmanuel Vadot qcom,calibration-variant = "QC_SA8775P_Ride"; 8951537cf73SEmmanuel Vadot 8961537cf73SEmmanuel Vadot vddrfacmn-supply = <&vreg_pmu_rfa_cmn>; 8971537cf73SEmmanuel Vadot vddaon-supply = <&vreg_pmu_aon_0p59>; 8981537cf73SEmmanuel Vadot vddwlcx-supply = <&vreg_pmu_wlcx_0p8>; 8991537cf73SEmmanuel Vadot vddwlmx-supply = <&vreg_pmu_wlmx_0p85>; 9001537cf73SEmmanuel Vadot vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>; 9011537cf73SEmmanuel Vadot vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>; 9021537cf73SEmmanuel Vadot vddrfa1p7-supply = <&vreg_pmu_rfa_1p7>; 9031537cf73SEmmanuel Vadot vddpcie0p9-supply = <&vreg_pmu_pcie_0p9>; 9041537cf73SEmmanuel Vadot vddpcie1p8-supply = <&vreg_pmu_pcie_1p8>; 9051537cf73SEmmanuel Vadot }; 9061537cf73SEmmanuel Vadot}; 9071537cf73SEmmanuel Vadot 9081537cf73SEmmanuel Vadot&remoteproc_adsp { 9091537cf73SEmmanuel Vadot firmware-name = "qcom/sa8775p/adsp.mbn"; 9101537cf73SEmmanuel Vadot status = "okay"; 9111537cf73SEmmanuel Vadot}; 9121537cf73SEmmanuel Vadot 9131537cf73SEmmanuel Vadot&remoteproc_cdsp0 { 9141537cf73SEmmanuel Vadot firmware-name = "qcom/sa8775p/cdsp0.mbn"; 9151537cf73SEmmanuel Vadot status = "okay"; 9161537cf73SEmmanuel Vadot}; 9171537cf73SEmmanuel Vadot 9181537cf73SEmmanuel Vadot&remoteproc_cdsp1 { 9191537cf73SEmmanuel Vadot firmware-name = "qcom/sa8775p/cdsp1.mbn"; 9201537cf73SEmmanuel Vadot status = "okay"; 9211537cf73SEmmanuel Vadot}; 9221537cf73SEmmanuel Vadot 9231537cf73SEmmanuel Vadot&remoteproc_gpdsp0 { 9241537cf73SEmmanuel Vadot firmware-name = "qcom/sa8775p/gpdsp0.mbn"; 9251537cf73SEmmanuel Vadot status = "okay"; 9261537cf73SEmmanuel Vadot}; 9271537cf73SEmmanuel Vadot 9281537cf73SEmmanuel Vadot&remoteproc_gpdsp1 { 9291537cf73SEmmanuel Vadot firmware-name = "qcom/sa8775p/gpdsp1.mbn"; 9301537cf73SEmmanuel Vadot status = "okay"; 9311537cf73SEmmanuel Vadot}; 9321537cf73SEmmanuel Vadot 9331537cf73SEmmanuel Vadot&uart10 { 9341537cf73SEmmanuel Vadot compatible = "qcom,geni-debug-uart"; 9351537cf73SEmmanuel Vadot status = "okay"; 9361537cf73SEmmanuel Vadot}; 9371537cf73SEmmanuel Vadot 9381537cf73SEmmanuel Vadot&uart12 { 9391537cf73SEmmanuel Vadot pinctrl-0 = <&qup_uart12_default>; 9401537cf73SEmmanuel Vadot pinctrl-names = "default"; 9411537cf73SEmmanuel Vadot status = "okay"; 9421537cf73SEmmanuel Vadot}; 9431537cf73SEmmanuel Vadot 9441537cf73SEmmanuel Vadot&uart17 { 9451537cf73SEmmanuel Vadot pinctrl-0 = <&qup_uart17_default>; 9461537cf73SEmmanuel Vadot pinctrl-names = "default"; 9471537cf73SEmmanuel Vadot status = "okay"; 9481537cf73SEmmanuel Vadot 9491537cf73SEmmanuel Vadot bluetooth { 9501537cf73SEmmanuel Vadot compatible = "qcom,wcn6855-bt"; 9511537cf73SEmmanuel Vadot firmware-name = "QCA6698/hpnv21", "QCA6698/hpbtfw21.tlv"; 9521537cf73SEmmanuel Vadot 9531537cf73SEmmanuel Vadot vddrfacmn-supply = <&vreg_pmu_rfa_cmn>; 9541537cf73SEmmanuel Vadot vddaon-supply = <&vreg_pmu_aon_0p59>; 9551537cf73SEmmanuel Vadot vddbtcmx-supply = <&vreg_pmu_btcmx_0p85>; 9561537cf73SEmmanuel Vadot vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>; 9571537cf73SEmmanuel Vadot vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>; 9581537cf73SEmmanuel Vadot vddrfa1p7-supply = <&vreg_pmu_rfa_1p7>; 9591537cf73SEmmanuel Vadot }; 9601537cf73SEmmanuel Vadot}; 9611537cf73SEmmanuel Vadot 9621537cf73SEmmanuel Vadot&ufs_mem_hc { 9631537cf73SEmmanuel Vadot reset-gpios = <&tlmm 149 GPIO_ACTIVE_LOW>; 9641537cf73SEmmanuel Vadot vcc-supply = <&vreg_l8a>; 9651537cf73SEmmanuel Vadot vcc-max-microamp = <1100000>; 9661537cf73SEmmanuel Vadot vccq-supply = <&vreg_l4c>; 9671537cf73SEmmanuel Vadot vccq-max-microamp = <1200000>; 9681537cf73SEmmanuel Vadot 9691537cf73SEmmanuel Vadot status = "okay"; 9701537cf73SEmmanuel Vadot}; 9711537cf73SEmmanuel Vadot 9721537cf73SEmmanuel Vadot&ufs_mem_phy { 9731537cf73SEmmanuel Vadot vdda-phy-supply = <&vreg_l4a>; 9741537cf73SEmmanuel Vadot vdda-pll-supply = <&vreg_l1c>; 9751537cf73SEmmanuel Vadot 9761537cf73SEmmanuel Vadot status = "okay"; 9771537cf73SEmmanuel Vadot}; 9781537cf73SEmmanuel Vadot 9791537cf73SEmmanuel Vadot&usb_0 { 9801537cf73SEmmanuel Vadot pinctrl-names = "default"; 9811537cf73SEmmanuel Vadot pinctrl-0 = <&usb0_en_state>; 9821537cf73SEmmanuel Vadot dr_mode = "peripheral"; 9831537cf73SEmmanuel Vadot 9841537cf73SEmmanuel Vadot status = "okay"; 9851537cf73SEmmanuel Vadot}; 9861537cf73SEmmanuel Vadot 9871537cf73SEmmanuel Vadot&usb_0_hsphy { 9881537cf73SEmmanuel Vadot vdda-pll-supply = <&vreg_l7a>; 9891537cf73SEmmanuel Vadot vdda18-supply = <&vreg_l6c>; 9901537cf73SEmmanuel Vadot vdda33-supply = <&vreg_l9a>; 9911537cf73SEmmanuel Vadot 9921537cf73SEmmanuel Vadot status = "okay"; 9931537cf73SEmmanuel Vadot}; 9941537cf73SEmmanuel Vadot 9951537cf73SEmmanuel Vadot&usb_0_qmpphy { 9961537cf73SEmmanuel Vadot vdda-phy-supply = <&vreg_l1c>; 9971537cf73SEmmanuel Vadot vdda-pll-supply = <&vreg_l7a>; 9981537cf73SEmmanuel Vadot 9991537cf73SEmmanuel Vadot status = "okay"; 10001537cf73SEmmanuel Vadot}; 10011537cf73SEmmanuel Vadot 10021537cf73SEmmanuel Vadot&usb_1 { 10031537cf73SEmmanuel Vadot pinctrl-names = "default"; 10041537cf73SEmmanuel Vadot pinctrl-0 = <&usb1_en_state>; 10051537cf73SEmmanuel Vadot dr_mode = "host"; 10061537cf73SEmmanuel Vadot 10071537cf73SEmmanuel Vadot status = "okay"; 10081537cf73SEmmanuel Vadot}; 10091537cf73SEmmanuel Vadot 10101537cf73SEmmanuel Vadot&usb_1_hsphy { 10111537cf73SEmmanuel Vadot vdda-pll-supply = <&vreg_l7a>; 10121537cf73SEmmanuel Vadot vdda18-supply = <&vreg_l6c>; 10131537cf73SEmmanuel Vadot vdda33-supply = <&vreg_l9a>; 10141537cf73SEmmanuel Vadot 10151537cf73SEmmanuel Vadot status = "okay"; 10161537cf73SEmmanuel Vadot}; 10171537cf73SEmmanuel Vadot 10181537cf73SEmmanuel Vadot&usb_1_qmpphy { 10191537cf73SEmmanuel Vadot vdda-phy-supply = <&vreg_l1c>; 10201537cf73SEmmanuel Vadot vdda-pll-supply = <&vreg_l7a>; 10211537cf73SEmmanuel Vadot 10221537cf73SEmmanuel Vadot status = "okay"; 10231537cf73SEmmanuel Vadot}; 10241537cf73SEmmanuel Vadot 10251537cf73SEmmanuel Vadot&usb_2 { 10261537cf73SEmmanuel Vadot pinctrl-names = "default"; 10271537cf73SEmmanuel Vadot pinctrl-0 = <&usb2_en_state>; 10281537cf73SEmmanuel Vadot dr_mode = "host"; 10291537cf73SEmmanuel Vadot 10301537cf73SEmmanuel Vadot status = "okay"; 10311537cf73SEmmanuel Vadot}; 10321537cf73SEmmanuel Vadot 10331537cf73SEmmanuel Vadot&usb_2_hsphy { 10341537cf73SEmmanuel Vadot vdda-pll-supply = <&vreg_l7a>; 10351537cf73SEmmanuel Vadot vdda18-supply = <&vreg_l6c>; 10361537cf73SEmmanuel Vadot vdda33-supply = <&vreg_l9a>; 10371537cf73SEmmanuel Vadot 10381537cf73SEmmanuel Vadot status = "okay"; 10391537cf73SEmmanuel Vadot}; 10401537cf73SEmmanuel Vadot 10411537cf73SEmmanuel Vadot&xo_board_clk { 10421537cf73SEmmanuel Vadot clock-frequency = <38400000>; 10431537cf73SEmmanuel Vadot}; 1044