xref: /linux/scripts/dtc/include-prefixes/arm64/qcom/talos-evk-som.dtsi (revision 0fc8f6200d2313278fbf4539bbab74677c685531)
10f9e6db8SSudarshan Shetty// SPDX-License-Identifier: BSD-3-Clause
20f9e6db8SSudarshan Shetty/*
30f9e6db8SSudarshan Shetty * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
40f9e6db8SSudarshan Shetty */
50f9e6db8SSudarshan Shetty/dts-v1/;
60f9e6db8SSudarshan Shetty
70f9e6db8SSudarshan Shetty#include <dt-bindings/gpio/gpio.h>
80f9e6db8SSudarshan Shetty#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
90f9e6db8SSudarshan Shetty#include "talos.dtsi"
100f9e6db8SSudarshan Shetty#include "pm8150.dtsi"
110f9e6db8SSudarshan Shetty/ {
120f9e6db8SSudarshan Shetty	aliases {
130f9e6db8SSudarshan Shetty		i2c1 = &i2c1;
140f9e6db8SSudarshan Shetty		i2c5 = &i2c5;
150f9e6db8SSudarshan Shetty		mmc0 = &sdhc_1;
160f9e6db8SSudarshan Shetty		serial0 = &uart0;
170f9e6db8SSudarshan Shetty		serial1 = &uart7;
180f9e6db8SSudarshan Shetty		spi6 = &spi6;
190f9e6db8SSudarshan Shetty	};
200f9e6db8SSudarshan Shetty
210f9e6db8SSudarshan Shetty	chosen {
220f9e6db8SSudarshan Shetty		stdout-path = "serial0:115200n8";
230f9e6db8SSudarshan Shetty	};
240f9e6db8SSudarshan Shetty
250f9e6db8SSudarshan Shetty	clocks {
260f9e6db8SSudarshan Shetty		can_osc: can-oscillator {
270f9e6db8SSudarshan Shetty			compatible = "fixed-clock";
280f9e6db8SSudarshan Shetty			clock-frequency = <20000000>;
290f9e6db8SSudarshan Shetty			#clock-cells = <0>;
300f9e6db8SSudarshan Shetty		};
310f9e6db8SSudarshan Shetty
320f9e6db8SSudarshan Shetty		sleep_clk: sleep-clk {
330f9e6db8SSudarshan Shetty			compatible = "fixed-clock";
340f9e6db8SSudarshan Shetty			clock-frequency = <32764>;
350f9e6db8SSudarshan Shetty			#clock-cells = <0>;
360f9e6db8SSudarshan Shetty		};
370f9e6db8SSudarshan Shetty
380f9e6db8SSudarshan Shetty		xo_board_clk: xo-board-clk {
390f9e6db8SSudarshan Shetty			compatible = "fixed-clock";
400f9e6db8SSudarshan Shetty			clock-frequency = <38400000>;
410f9e6db8SSudarshan Shetty			#clock-cells = <0>;
420f9e6db8SSudarshan Shetty		};
430f9e6db8SSudarshan Shetty	};
440f9e6db8SSudarshan Shetty
450f9e6db8SSudarshan Shetty	vreg_conn_1p8: regulator-conn-1p8 {
460f9e6db8SSudarshan Shetty		compatible = "regulator-fixed";
470f9e6db8SSudarshan Shetty		regulator-name = "vreg_conn_1p8";
480f9e6db8SSudarshan Shetty		startup-delay-us = <4000>;
490f9e6db8SSudarshan Shetty		enable-active-high;
500f9e6db8SSudarshan Shetty		gpio = <&pm8150_gpios 1 GPIO_ACTIVE_HIGH>;
510f9e6db8SSudarshan Shetty	};
520f9e6db8SSudarshan Shetty
530f9e6db8SSudarshan Shetty	vreg_conn_pa: regulator-conn-pa {
540f9e6db8SSudarshan Shetty		compatible = "regulator-fixed";
550f9e6db8SSudarshan Shetty		regulator-name = "vreg_conn_pa";
560f9e6db8SSudarshan Shetty		startup-delay-us = <4000>;
570f9e6db8SSudarshan Shetty		enable-active-high;
580f9e6db8SSudarshan Shetty		gpio = <&pm8150_gpios 6 GPIO_ACTIVE_HIGH>;
590f9e6db8SSudarshan Shetty	};
600f9e6db8SSudarshan Shetty
610f9e6db8SSudarshan Shetty	regulator-usb2-vbus {
620f9e6db8SSudarshan Shetty		compatible = "regulator-fixed";
630f9e6db8SSudarshan Shetty		regulator-name = "USB2_VBUS";
640f9e6db8SSudarshan Shetty		gpio = <&pm8150_gpios 10 GPIO_ACTIVE_HIGH>;
650f9e6db8SSudarshan Shetty		pinctrl-0 = <&usb2_en>;
660f9e6db8SSudarshan Shetty		pinctrl-names = "default";
670f9e6db8SSudarshan Shetty		enable-active-high;
680f9e6db8SSudarshan Shetty		regulator-always-on;
690f9e6db8SSudarshan Shetty	};
700f9e6db8SSudarshan Shetty
710f9e6db8SSudarshan Shetty	vreg_v3p3_can: regulator-v3p3-can {
720f9e6db8SSudarshan Shetty		compatible = "regulator-fixed";
730f9e6db8SSudarshan Shetty		regulator-name = "vreg-v3p3-can";
740f9e6db8SSudarshan Shetty		regulator-min-microvolt = <3300000>;
750f9e6db8SSudarshan Shetty		regulator-max-microvolt = <3300000>;
760f9e6db8SSudarshan Shetty		regulator-boot-on;
770f9e6db8SSudarshan Shetty		regulator-always-on;
780f9e6db8SSudarshan Shetty	};
790f9e6db8SSudarshan Shetty
800f9e6db8SSudarshan Shetty	vreg_v5p0_can: regulator-v5p0-can {
810f9e6db8SSudarshan Shetty		compatible = "regulator-fixed";
820f9e6db8SSudarshan Shetty		regulator-name = "vreg-v5p0-can";
830f9e6db8SSudarshan Shetty		regulator-min-microvolt = <5000000>;
840f9e6db8SSudarshan Shetty		regulator-max-microvolt = <5000000>;
850f9e6db8SSudarshan Shetty		regulator-boot-on;
860f9e6db8SSudarshan Shetty		regulator-always-on;
870f9e6db8SSudarshan Shetty	};
880f9e6db8SSudarshan Shetty
890f9e6db8SSudarshan Shetty	wcn6855-pmu {
900f9e6db8SSudarshan Shetty		compatible = "qcom,wcn6855-pmu";
910f9e6db8SSudarshan Shetty
920f9e6db8SSudarshan Shetty		pinctrl-0 = <&bt_en_state>, <&wlan_en_state>;
930f9e6db8SSudarshan Shetty		pinctrl-names = "default";
940f9e6db8SSudarshan Shetty
950f9e6db8SSudarshan Shetty		bt-enable-gpios = <&tlmm 85 GPIO_ACTIVE_HIGH>;
960f9e6db8SSudarshan Shetty		wlan-enable-gpios = <&tlmm 84 GPIO_ACTIVE_HIGH>;
970f9e6db8SSudarshan Shetty
980f9e6db8SSudarshan Shetty		vddio-supply = <&vreg_conn_pa>;
990f9e6db8SSudarshan Shetty		vddaon-supply = <&vreg_s5a>;
1000f9e6db8SSudarshan Shetty		vddpmu-supply = <&vreg_conn_1p8>;
1010f9e6db8SSudarshan Shetty		vddpmumx-supply = <&vreg_conn_1p8>;
1020f9e6db8SSudarshan Shetty		vddpmucx-supply = <&vreg_conn_pa>;
1030f9e6db8SSudarshan Shetty		vddrfa0p95-supply = <&vreg_s5a>;
1040f9e6db8SSudarshan Shetty		vddrfa1p3-supply = <&vreg_s6a>;
1050f9e6db8SSudarshan Shetty		vddrfa1p9-supply = <&vreg_l15a>;
1060f9e6db8SSudarshan Shetty		vddpcie1p3-supply = <&vreg_s6a>;
1070f9e6db8SSudarshan Shetty		vddpcie1p9-supply = <&vreg_l15a>;
1080f9e6db8SSudarshan Shetty
1090f9e6db8SSudarshan Shetty		regulators {
1100f9e6db8SSudarshan Shetty			vreg_pmu_rfa_cmn: ldo0 {
1110f9e6db8SSudarshan Shetty				regulator-name = "vreg_pmu_rfa_cmn";
1120f9e6db8SSudarshan Shetty			};
1130f9e6db8SSudarshan Shetty
1140f9e6db8SSudarshan Shetty			vreg_pmu_aon_0p59: ldo1 {
1150f9e6db8SSudarshan Shetty				regulator-name = "vreg_pmu_aon_0p59";
1160f9e6db8SSudarshan Shetty			};
1170f9e6db8SSudarshan Shetty
1180f9e6db8SSudarshan Shetty			vreg_pmu_wlcx_0p8: ldo2 {
1190f9e6db8SSudarshan Shetty				regulator-name = "vreg_pmu_wlcx_0p8";
1200f9e6db8SSudarshan Shetty			};
1210f9e6db8SSudarshan Shetty
1220f9e6db8SSudarshan Shetty			vreg_pmu_wlmx_0p85: ldo3 {
1230f9e6db8SSudarshan Shetty				regulator-name = "vreg_pmu_wlmx_0p85";
1240f9e6db8SSudarshan Shetty			};
1250f9e6db8SSudarshan Shetty
1260f9e6db8SSudarshan Shetty			vreg_pmu_btcmx_0p85: ldo4 {
1270f9e6db8SSudarshan Shetty				regulator-name = "vreg_pmu_btcmx_0p85";
1280f9e6db8SSudarshan Shetty			};
1290f9e6db8SSudarshan Shetty
1300f9e6db8SSudarshan Shetty			vreg_pmu_rfa_0p8: ldo5 {
1310f9e6db8SSudarshan Shetty				regulator-name = "vreg_pmu_rfa_0p8";
1320f9e6db8SSudarshan Shetty			};
1330f9e6db8SSudarshan Shetty
1340f9e6db8SSudarshan Shetty			vreg_pmu_rfa_1p2: ldo6 {
1350f9e6db8SSudarshan Shetty				regulator-name = "vreg_pmu_rfa_1p2";
1360f9e6db8SSudarshan Shetty			};
1370f9e6db8SSudarshan Shetty
1380f9e6db8SSudarshan Shetty			vreg_pmu_rfa_1p7: ldo7 {
1390f9e6db8SSudarshan Shetty				regulator-name = "vreg_pmu_rfa_1p7";
1400f9e6db8SSudarshan Shetty			};
1410f9e6db8SSudarshan Shetty
1420f9e6db8SSudarshan Shetty			vreg_pmu_pcie_0p9: ldo8 {
1430f9e6db8SSudarshan Shetty				regulator-name = "vreg_pmu_pcie_0p9";
1440f9e6db8SSudarshan Shetty			};
1450f9e6db8SSudarshan Shetty
1460f9e6db8SSudarshan Shetty			vreg_pmu_pcie_1p8: ldo9 {
1470f9e6db8SSudarshan Shetty				regulator-name = "vreg_pmu_pcie_1p8";
1480f9e6db8SSudarshan Shetty			};
1490f9e6db8SSudarshan Shetty		};
1500f9e6db8SSudarshan Shetty	};
1510f9e6db8SSudarshan Shetty};
1520f9e6db8SSudarshan Shetty
1530f9e6db8SSudarshan Shetty&apps_rsc {
1540f9e6db8SSudarshan Shetty	regulators-0 {
1550f9e6db8SSudarshan Shetty		compatible = "qcom,pm8150-rpmh-regulators";
1560f9e6db8SSudarshan Shetty		qcom,pmic-id = "a";
1570f9e6db8SSudarshan Shetty
1580f9e6db8SSudarshan Shetty		vreg_s3a: smps3 {
1590f9e6db8SSudarshan Shetty			regulator-name = "vreg_s3a";
1600f9e6db8SSudarshan Shetty			regulator-min-microvolt = <600000>;
1610f9e6db8SSudarshan Shetty			regulator-max-microvolt = <650000>;
1620f9e6db8SSudarshan Shetty			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1630f9e6db8SSudarshan Shetty		};
1640f9e6db8SSudarshan Shetty
1650f9e6db8SSudarshan Shetty		vreg_s4a: smps4 {
1660f9e6db8SSudarshan Shetty			regulator-name = "vreg_s4a";
1670f9e6db8SSudarshan Shetty			regulator-min-microvolt = <1800000>;
1680f9e6db8SSudarshan Shetty			regulator-max-microvolt = <1829000>;
1690f9e6db8SSudarshan Shetty			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1700f9e6db8SSudarshan Shetty		};
1710f9e6db8SSudarshan Shetty
1720f9e6db8SSudarshan Shetty		vreg_s5a: smps5 {
1730f9e6db8SSudarshan Shetty			regulator-name = "vreg_s5a";
1740f9e6db8SSudarshan Shetty			regulator-min-microvolt = <1896000>;
1750f9e6db8SSudarshan Shetty			regulator-max-microvolt = <2040000>;
1760f9e6db8SSudarshan Shetty			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1770f9e6db8SSudarshan Shetty		};
1780f9e6db8SSudarshan Shetty
1790f9e6db8SSudarshan Shetty		vreg_s6a: smps6 {
1800f9e6db8SSudarshan Shetty			regulator-name = "vreg_s6a";
1810f9e6db8SSudarshan Shetty			regulator-min-microvolt = <1304000>;
1820f9e6db8SSudarshan Shetty			regulator-max-microvolt = <1404000>;
1830f9e6db8SSudarshan Shetty			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1840f9e6db8SSudarshan Shetty		};
1850f9e6db8SSudarshan Shetty
1860f9e6db8SSudarshan Shetty		vreg_l1a: ldo1 {
1870f9e6db8SSudarshan Shetty			regulator-name = "vreg_l1a";
1880f9e6db8SSudarshan Shetty			regulator-min-microvolt = <488000>;
1890f9e6db8SSudarshan Shetty			regulator-max-microvolt = <852000>;
1900f9e6db8SSudarshan Shetty			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
1910f9e6db8SSudarshan Shetty			regulator-allow-set-load;
1920f9e6db8SSudarshan Shetty			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
1930f9e6db8SSudarshan Shetty						   RPMH_REGULATOR_MODE_HPM>;
1940f9e6db8SSudarshan Shetty		};
1950f9e6db8SSudarshan Shetty
1960f9e6db8SSudarshan Shetty		vreg_l2a: ldo2 {
1970f9e6db8SSudarshan Shetty			regulator-name = "vreg_l2a";
1980f9e6db8SSudarshan Shetty			regulator-min-microvolt = <1650000>;
1990f9e6db8SSudarshan Shetty			regulator-max-microvolt = <3100000>;
2000f9e6db8SSudarshan Shetty			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
2010f9e6db8SSudarshan Shetty			regulator-allow-set-load;
2020f9e6db8SSudarshan Shetty			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
2030f9e6db8SSudarshan Shetty						   RPMH_REGULATOR_MODE_HPM>;
2040f9e6db8SSudarshan Shetty		};
2050f9e6db8SSudarshan Shetty
2060f9e6db8SSudarshan Shetty		vreg_l3a: ldo3 {
2070f9e6db8SSudarshan Shetty			regulator-name = "vreg_l3a";
2080f9e6db8SSudarshan Shetty			regulator-min-microvolt = <1000000>;
2090f9e6db8SSudarshan Shetty			regulator-max-microvolt = <1248000>;
2100f9e6db8SSudarshan Shetty			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
2110f9e6db8SSudarshan Shetty			regulator-allow-set-load;
2120f9e6db8SSudarshan Shetty			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
2130f9e6db8SSudarshan Shetty						   RPMH_REGULATOR_MODE_HPM>;
2140f9e6db8SSudarshan Shetty		};
2150f9e6db8SSudarshan Shetty
2160f9e6db8SSudarshan Shetty		vreg_l5a: ldo5 {
2170f9e6db8SSudarshan Shetty			regulator-name = "vreg_l5a";
2180f9e6db8SSudarshan Shetty			regulator-min-microvolt = <875000>;
2190f9e6db8SSudarshan Shetty			regulator-max-microvolt = <975000>;
2200f9e6db8SSudarshan Shetty			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2210f9e6db8SSudarshan Shetty			regulator-allow-set-load;
2220f9e6db8SSudarshan Shetty			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
2230f9e6db8SSudarshan Shetty						   RPMH_REGULATOR_MODE_HPM>;
2240f9e6db8SSudarshan Shetty		};
2250f9e6db8SSudarshan Shetty
2260f9e6db8SSudarshan Shetty		vreg_l7a: ldo7 {
2270f9e6db8SSudarshan Shetty			regulator-name = "vreg_l7a";
2280f9e6db8SSudarshan Shetty			regulator-min-microvolt = <1800000>;
2290f9e6db8SSudarshan Shetty			regulator-max-microvolt = <1900000>;
2300f9e6db8SSudarshan Shetty			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2310f9e6db8SSudarshan Shetty			regulator-allow-set-load;
2320f9e6db8SSudarshan Shetty			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
2330f9e6db8SSudarshan Shetty						   RPMH_REGULATOR_MODE_HPM>;
2340f9e6db8SSudarshan Shetty		};
2350f9e6db8SSudarshan Shetty
2360f9e6db8SSudarshan Shetty		vreg_l8a: ldo8 {
2370f9e6db8SSudarshan Shetty			regulator-name = "vreg_l8a";
2380f9e6db8SSudarshan Shetty			regulator-min-microvolt = <1150000>;
2390f9e6db8SSudarshan Shetty			regulator-max-microvolt = <1350000>;
2400f9e6db8SSudarshan Shetty			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2410f9e6db8SSudarshan Shetty			regulator-allow-set-load;
2420f9e6db8SSudarshan Shetty			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
2430f9e6db8SSudarshan Shetty						   RPMH_REGULATOR_MODE_HPM>;
2440f9e6db8SSudarshan Shetty		};
2450f9e6db8SSudarshan Shetty
2460f9e6db8SSudarshan Shetty		vreg_l10a: ldo10 {
2470f9e6db8SSudarshan Shetty			regulator-name = "vreg_l10a";
2480f9e6db8SSudarshan Shetty			regulator-min-microvolt = <2950000>;
2490f9e6db8SSudarshan Shetty			regulator-max-microvolt = <3312000>;
2500f9e6db8SSudarshan Shetty			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2510f9e6db8SSudarshan Shetty			regulator-allow-set-load;
2520f9e6db8SSudarshan Shetty			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
2530f9e6db8SSudarshan Shetty						   RPMH_REGULATOR_MODE_HPM>;
2540f9e6db8SSudarshan Shetty		};
2550f9e6db8SSudarshan Shetty
2560f9e6db8SSudarshan Shetty		vreg_l11a: ldo11 {
2570f9e6db8SSudarshan Shetty			regulator-name = "vreg_l11a";
2580f9e6db8SSudarshan Shetty			regulator-min-microvolt = <1232000>;
2590f9e6db8SSudarshan Shetty			regulator-max-microvolt = <1260000>;
2600f9e6db8SSudarshan Shetty			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
2610f9e6db8SSudarshan Shetty			regulator-allow-set-load;
2620f9e6db8SSudarshan Shetty			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
2630f9e6db8SSudarshan Shetty						   RPMH_REGULATOR_MODE_HPM>;
2640f9e6db8SSudarshan Shetty		};
2650f9e6db8SSudarshan Shetty
2660f9e6db8SSudarshan Shetty		vreg_l12a: ldo12 {
2670f9e6db8SSudarshan Shetty			regulator-name = "vreg_l12a";
2680f9e6db8SSudarshan Shetty			regulator-min-microvolt = <1800000>;
2690f9e6db8SSudarshan Shetty			regulator-max-microvolt = <1890000>;
2700f9e6db8SSudarshan Shetty			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2710f9e6db8SSudarshan Shetty		};
2720f9e6db8SSudarshan Shetty
2730f9e6db8SSudarshan Shetty		vreg_l13a: ldo13 {
2740f9e6db8SSudarshan Shetty			regulator-name = "vreg_l13a";
2750f9e6db8SSudarshan Shetty			regulator-min-microvolt = <3000000>;
2760f9e6db8SSudarshan Shetty			regulator-max-microvolt = <3230000>;
2770f9e6db8SSudarshan Shetty			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
2780f9e6db8SSudarshan Shetty			regulator-allow-set-load;
2790f9e6db8SSudarshan Shetty			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
2800f9e6db8SSudarshan Shetty						   RPMH_REGULATOR_MODE_HPM>;
2810f9e6db8SSudarshan Shetty		};
2820f9e6db8SSudarshan Shetty
2830f9e6db8SSudarshan Shetty		vreg_l15a: ldo15 {
2840f9e6db8SSudarshan Shetty			regulator-name = "vreg_l15a";
2850f9e6db8SSudarshan Shetty			regulator-min-microvolt = <1800000>;
2860f9e6db8SSudarshan Shetty			regulator-max-microvolt = <1904000>;
2870f9e6db8SSudarshan Shetty			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
2880f9e6db8SSudarshan Shetty			regulator-allow-set-load;
2890f9e6db8SSudarshan Shetty			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
2900f9e6db8SSudarshan Shetty						   RPMH_REGULATOR_MODE_HPM>;
2910f9e6db8SSudarshan Shetty		};
2920f9e6db8SSudarshan Shetty
2930f9e6db8SSudarshan Shetty		vreg_l16a: ldo16 {
2940f9e6db8SSudarshan Shetty			regulator-name = "vreg_l16a";
2950f9e6db8SSudarshan Shetty			regulator-min-microvolt = <3000000>;
2960f9e6db8SSudarshan Shetty			regulator-max-microvolt = <3312000>;
2970f9e6db8SSudarshan Shetty			regulator-initial-mode = <RPMH_REGULATOR_MODE_LPM>;
2980f9e6db8SSudarshan Shetty			regulator-allow-set-load;
2990f9e6db8SSudarshan Shetty			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
3000f9e6db8SSudarshan Shetty						   RPMH_REGULATOR_MODE_HPM>;
3010f9e6db8SSudarshan Shetty		};
3020f9e6db8SSudarshan Shetty
3030f9e6db8SSudarshan Shetty		vreg_l17a: ldo17 {
3040f9e6db8SSudarshan Shetty			regulator-name = "vreg_l17a";
3050f9e6db8SSudarshan Shetty			regulator-min-microvolt = <2950000>;
3060f9e6db8SSudarshan Shetty			regulator-max-microvolt = <3312000>;
3070f9e6db8SSudarshan Shetty			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3080f9e6db8SSudarshan Shetty		};
3090f9e6db8SSudarshan Shetty	};
3100f9e6db8SSudarshan Shetty};
3110f9e6db8SSudarshan Shetty
3120f9e6db8SSudarshan Shetty&gpi_dma0 {
3130f9e6db8SSudarshan Shetty	status = "okay";
3140f9e6db8SSudarshan Shetty};
3150f9e6db8SSudarshan Shetty
3160f9e6db8SSudarshan Shetty&gpi_dma1 {
3170f9e6db8SSudarshan Shetty	status = "okay";
3180f9e6db8SSudarshan Shetty};
3190f9e6db8SSudarshan Shetty
3200f9e6db8SSudarshan Shetty&i2c5 {
3210f9e6db8SSudarshan Shetty	clock-frequency = <400000>;
3220f9e6db8SSudarshan Shetty	status = "okay";
3230f9e6db8SSudarshan Shetty
3240f9e6db8SSudarshan Shetty	eeprom@57 {
3250f9e6db8SSudarshan Shetty		compatible = "atmel,24c02";
3260f9e6db8SSudarshan Shetty		reg = <0x57>;
3270f9e6db8SSudarshan Shetty		pagesize = <16>;
3280f9e6db8SSudarshan Shetty	};
3290f9e6db8SSudarshan Shetty
3300f9e6db8SSudarshan Shetty	eeprom@5f {
3310f9e6db8SSudarshan Shetty		compatible = "atmel,24mac602";
3320f9e6db8SSudarshan Shetty		reg = <0x5f>;
3330f9e6db8SSudarshan Shetty		pagesize = <16>;
3340f9e6db8SSudarshan Shetty	};
3350f9e6db8SSudarshan Shetty};
3360f9e6db8SSudarshan Shetty
3370f9e6db8SSudarshan Shetty&mdss {
3380f9e6db8SSudarshan Shetty	status = "okay";
3390f9e6db8SSudarshan Shetty};
3400f9e6db8SSudarshan Shetty
3410f9e6db8SSudarshan Shetty&mdss_dp0 {
3420f9e6db8SSudarshan Shetty	status = "okay";
3430f9e6db8SSudarshan Shetty};
3440f9e6db8SSudarshan Shetty
3450f9e6db8SSudarshan Shetty&mdss_dp0_out {
3460f9e6db8SSudarshan Shetty	link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000>;
3470f9e6db8SSudarshan Shetty	remote-endpoint = <&dp0_connector_in>;
3480f9e6db8SSudarshan Shetty};
3490f9e6db8SSudarshan Shetty
3500f9e6db8SSudarshan Shetty&mdss_dsi0 {
3510f9e6db8SSudarshan Shetty	vdda-supply = <&vreg_l11a>;
3520f9e6db8SSudarshan Shetty	status = "okay";
3530f9e6db8SSudarshan Shetty};
3540f9e6db8SSudarshan Shetty
3550f9e6db8SSudarshan Shetty&mdss_dsi0_phy {
3560f9e6db8SSudarshan Shetty	vcca-supply = <&vreg_l5a>;
3570f9e6db8SSudarshan Shetty	status = "okay";
3580f9e6db8SSudarshan Shetty};
3590f9e6db8SSudarshan Shetty
3600f9e6db8SSudarshan Shetty&pcie {
3610f9e6db8SSudarshan Shetty	perst-gpios = <&tlmm 89 GPIO_ACTIVE_LOW>;
3620f9e6db8SSudarshan Shetty	wake-gpios = <&tlmm 100 GPIO_ACTIVE_HIGH>;
3630f9e6db8SSudarshan Shetty
3640f9e6db8SSudarshan Shetty	pinctrl-0 = <&pcie_default_state>;
3650f9e6db8SSudarshan Shetty	pinctrl-names = "default";
3660f9e6db8SSudarshan Shetty
3670f9e6db8SSudarshan Shetty	status = "okay";
3680f9e6db8SSudarshan Shetty};
3690f9e6db8SSudarshan Shetty
3700f9e6db8SSudarshan Shetty&pcie_phy {
3710f9e6db8SSudarshan Shetty	vdda-phy-supply = <&vreg_l5a>;
3720f9e6db8SSudarshan Shetty	vdda-pll-supply = <&vreg_l12a>;
3730f9e6db8SSudarshan Shetty
3740f9e6db8SSudarshan Shetty	status = "okay";
3750f9e6db8SSudarshan Shetty};
3760f9e6db8SSudarshan Shetty
3770f9e6db8SSudarshan Shetty&pcie_port0 {
3780f9e6db8SSudarshan Shetty	wifi@0 {
3790f9e6db8SSudarshan Shetty		compatible = "pci17cb,1103";
3800f9e6db8SSudarshan Shetty		reg = <0x10000 0x0 0x0 0x0 0x0>;
3810f9e6db8SSudarshan Shetty
3820f9e6db8SSudarshan Shetty		qcom,calibration-variant = "QC_QCS615_Ride";
3830f9e6db8SSudarshan Shetty
3840f9e6db8SSudarshan Shetty		vddrfacmn-supply = <&vreg_pmu_rfa_cmn>;
3850f9e6db8SSudarshan Shetty		vddaon-supply = <&vreg_pmu_aon_0p59>;
3860f9e6db8SSudarshan Shetty		vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
3870f9e6db8SSudarshan Shetty		vddwlmx-supply = <&vreg_pmu_wlmx_0p85>;
3880f9e6db8SSudarshan Shetty		vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
3890f9e6db8SSudarshan Shetty		vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
3900f9e6db8SSudarshan Shetty		vddrfa1p8-supply = <&vreg_pmu_rfa_1p7>;
3910f9e6db8SSudarshan Shetty		vddpcie0p9-supply = <&vreg_pmu_pcie_0p9>;
3920f9e6db8SSudarshan Shetty		vddpcie1p8-supply = <&vreg_pmu_pcie_1p8>;
3930f9e6db8SSudarshan Shetty	};
3940f9e6db8SSudarshan Shetty};
3950f9e6db8SSudarshan Shetty
3960f9e6db8SSudarshan Shetty&pm8150_gpios {
3970f9e6db8SSudarshan Shetty	usb2_en: usb2-en-state {
3980f9e6db8SSudarshan Shetty		pins = "gpio10";
3990f9e6db8SSudarshan Shetty		function = "normal";
4000f9e6db8SSudarshan Shetty		output-enable;
4010f9e6db8SSudarshan Shetty		power-source = <0>;
4020f9e6db8SSudarshan Shetty	};
4030f9e6db8SSudarshan Shetty};
4040f9e6db8SSudarshan Shetty
4050f9e6db8SSudarshan Shetty&qupv3_id_0 {
4060f9e6db8SSudarshan Shetty	status = "okay";
4070f9e6db8SSudarshan Shetty};
4080f9e6db8SSudarshan Shetty
4090f9e6db8SSudarshan Shetty&qupv3_id_1 {
4100f9e6db8SSudarshan Shetty	status = "okay";
4110f9e6db8SSudarshan Shetty};
4120f9e6db8SSudarshan Shetty
4130f9e6db8SSudarshan Shetty&remoteproc_adsp {
4140f9e6db8SSudarshan Shetty	firmware-name = "qcom/qcs615/adsp.mbn";
4150f9e6db8SSudarshan Shetty
4160f9e6db8SSudarshan Shetty	status = "okay";
4170f9e6db8SSudarshan Shetty};
4180f9e6db8SSudarshan Shetty
4190f9e6db8SSudarshan Shetty&remoteproc_cdsp {
4200f9e6db8SSudarshan Shetty	firmware-name = "qcom/qcs615/cdsp.mbn";
4210f9e6db8SSudarshan Shetty
4220f9e6db8SSudarshan Shetty	status = "okay";
4230f9e6db8SSudarshan Shetty};
4240f9e6db8SSudarshan Shetty
4250f9e6db8SSudarshan Shetty&sdhc_1 {
4260f9e6db8SSudarshan Shetty	pinctrl-0 = <&sdc1_state_on>;
4270f9e6db8SSudarshan Shetty	pinctrl-1 = <&sdc1_state_off>;
4280f9e6db8SSudarshan Shetty	pinctrl-names = "default", "sleep";
4290f9e6db8SSudarshan Shetty
4300f9e6db8SSudarshan Shetty	bus-width = <8>;
4310f9e6db8SSudarshan Shetty	mmc-ddr-1_8v;
4320f9e6db8SSudarshan Shetty	mmc-hs200-1_8v;
4330f9e6db8SSudarshan Shetty	mmc-hs400-1_8v;
4340f9e6db8SSudarshan Shetty	mmc-hs400-enhanced-strobe;
4350f9e6db8SSudarshan Shetty	vmmc-supply = <&vreg_l17a>;
4360f9e6db8SSudarshan Shetty	vqmmc-supply = <&vreg_s4a>;
4370f9e6db8SSudarshan Shetty
4380f9e6db8SSudarshan Shetty	non-removable;
4390f9e6db8SSudarshan Shetty	no-sd;
4400f9e6db8SSudarshan Shetty	no-sdio;
4410f9e6db8SSudarshan Shetty
4420f9e6db8SSudarshan Shetty	status = "okay";
4430f9e6db8SSudarshan Shetty};
4440f9e6db8SSudarshan Shetty
4450f9e6db8SSudarshan Shetty&spi6 {
4460f9e6db8SSudarshan Shetty	status = "okay";
4470f9e6db8SSudarshan Shetty
4480f9e6db8SSudarshan Shetty	can@0 {
4490f9e6db8SSudarshan Shetty		compatible = "microchip,mcp2515";
4500f9e6db8SSudarshan Shetty		reg = <0>;
4510f9e6db8SSudarshan Shetty		clocks = <&can_osc>;
4520f9e6db8SSudarshan Shetty		interrupts-extended = <&tlmm 87 IRQ_TYPE_LEVEL_LOW>;
4530f9e6db8SSudarshan Shetty		spi-max-frequency = <10000000>;
4540f9e6db8SSudarshan Shetty		vdd-supply = <&vreg_v3p3_can>;
4550f9e6db8SSudarshan Shetty		xceiver-supply = <&vreg_v5p0_can>;
4560f9e6db8SSudarshan Shetty	};
4570f9e6db8SSudarshan Shetty};
4580f9e6db8SSudarshan Shetty
4590f9e6db8SSudarshan Shetty&tlmm {
4600f9e6db8SSudarshan Shetty	bt_en_state: bt-en-state {
4610f9e6db8SSudarshan Shetty		pins = "gpio85";
4620f9e6db8SSudarshan Shetty		function = "gpio";
4630f9e6db8SSudarshan Shetty		bias-pull-down;
4640f9e6db8SSudarshan Shetty	};
4650f9e6db8SSudarshan Shetty
466*594be93cSWenmeng Liu	cam1_reset_default: cam1-reset-default-state {
467*594be93cSWenmeng Liu		pins = "gpio29";
468*594be93cSWenmeng Liu		function = "gpio";
469*594be93cSWenmeng Liu		drive-strength = <2>;
470*594be93cSWenmeng Liu		bias-disable;
471*594be93cSWenmeng Liu	};
472*594be93cSWenmeng Liu
4730f9e6db8SSudarshan Shetty	pcie_default_state: pcie-default-state {
4740f9e6db8SSudarshan Shetty		clkreq-pins {
4750f9e6db8SSudarshan Shetty			pins = "gpio90";
4760f9e6db8SSudarshan Shetty			function = "pcie_clk_req";
4770f9e6db8SSudarshan Shetty			drive-strength = <2>;
4780f9e6db8SSudarshan Shetty			bias-pull-up;
4790f9e6db8SSudarshan Shetty		};
4800f9e6db8SSudarshan Shetty
4810f9e6db8SSudarshan Shetty		perst-pins {
4820f9e6db8SSudarshan Shetty			pins = "gpio89";
4830f9e6db8SSudarshan Shetty			function = "gpio";
4840f9e6db8SSudarshan Shetty			drive-strength = <2>;
4850f9e6db8SSudarshan Shetty			bias-pull-down;
4860f9e6db8SSudarshan Shetty		};
4870f9e6db8SSudarshan Shetty
4880f9e6db8SSudarshan Shetty		wake-pins {
4890f9e6db8SSudarshan Shetty			pins = "gpio100";
4900f9e6db8SSudarshan Shetty			function = "gpio";
4910f9e6db8SSudarshan Shetty			drive-strength = <2>;
4920f9e6db8SSudarshan Shetty			bias-pull-up;
4930f9e6db8SSudarshan Shetty		};
4940f9e6db8SSudarshan Shetty	};
4950f9e6db8SSudarshan Shetty
4960f9e6db8SSudarshan Shetty	wifi_reg_en_pins_state: wifi-reg-en-pins-state {
4970f9e6db8SSudarshan Shetty		pins = "gpio91";
4980f9e6db8SSudarshan Shetty		function = "gpio";
4990f9e6db8SSudarshan Shetty		drive-strength = <8>;
5000f9e6db8SSudarshan Shetty		output-high;
5010f9e6db8SSudarshan Shetty		bias-pull-up;
5020f9e6db8SSudarshan Shetty	};
5030f9e6db8SSudarshan Shetty
5040f9e6db8SSudarshan Shetty	wlan_en_state: wlan-en-state {
5050f9e6db8SSudarshan Shetty		pins = "gpio84";
5060f9e6db8SSudarshan Shetty		function = "gpio";
5070f9e6db8SSudarshan Shetty		drive-strength = <16>;
5080f9e6db8SSudarshan Shetty		bias-pull-up;
5090f9e6db8SSudarshan Shetty	};
5100f9e6db8SSudarshan Shetty};
5110f9e6db8SSudarshan Shetty
5120f9e6db8SSudarshan Shetty&uart0 {
5130f9e6db8SSudarshan Shetty	status = "okay";
5140f9e6db8SSudarshan Shetty};
5150f9e6db8SSudarshan Shetty
5160f9e6db8SSudarshan Shetty&uart7 {
5170f9e6db8SSudarshan Shetty	status = "okay";
5180f9e6db8SSudarshan Shetty
5190f9e6db8SSudarshan Shetty	bluetooth {
5200f9e6db8SSudarshan Shetty		compatible = "qcom,wcn6855-bt";
5210f9e6db8SSudarshan Shetty		firmware-name = "QCA6698/hpnv21", "QCA6698/hpbtfw21.tlv";
5220f9e6db8SSudarshan Shetty
5230f9e6db8SSudarshan Shetty		vddrfacmn-supply = <&vreg_pmu_rfa_cmn>;
5240f9e6db8SSudarshan Shetty		vddaon-supply = <&vreg_pmu_aon_0p59>;
5250f9e6db8SSudarshan Shetty		vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
5260f9e6db8SSudarshan Shetty		vddwlmx-supply = <&vreg_pmu_wlmx_0p85>;
5270f9e6db8SSudarshan Shetty		vddbtcmx-supply = <&vreg_pmu_btcmx_0p85>;
5280f9e6db8SSudarshan Shetty		vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
5290f9e6db8SSudarshan Shetty		vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
5300f9e6db8SSudarshan Shetty		vddrfa1p8-supply = <&vreg_pmu_rfa_1p7>;
5310f9e6db8SSudarshan Shetty	};
5320f9e6db8SSudarshan Shetty};
5330f9e6db8SSudarshan Shetty
5340f9e6db8SSudarshan Shetty/*
5350f9e6db8SSudarshan Shetty * USB0 routing and EDL mode:
5360f9e6db8SSudarshan Shetty *
5370f9e6db8SSudarshan Shetty * The USB0 controller’s HS differential pair is switched (manually)
5380f9e6db8SSudarshan Shetty * between the Micro-USB port for EDL/ADB and the on-board USB 3.0 hub.
5390f9e6db8SSudarshan Shetty *
5400f9e6db8SSudarshan Shetty * During EDL (Emergency Download) mode, the HS lines are explicitly
5410f9e6db8SSudarshan Shetty * routed to the Micro-USB port to allow the SoC to enter device mode
5420f9e6db8SSudarshan Shetty * for flashing.
5430f9e6db8SSudarshan Shetty *
5440f9e6db8SSudarshan Shetty * After EDL the switch is normally toggled so the HS lines stay
5450f9e6db8SSudarshan Shetty * connected to the hub’s Type-A downstream ports, leaving no electrical
5460f9e6db8SSudarshan Shetty * path to the Micro-USB connector — therefore USB0 runs host-only in
5470f9e6db8SSudarshan Shetty * normal runtime and device mode must not be advertised.
5480f9e6db8SSudarshan Shetty *
5490f9e6db8SSudarshan Shetty * USB0 is configured host-only in the base device tree; a separate
5500f9e6db8SSudarshan Shetty * device-tree overlay enables the Micro-USB peripheral configuration for
5510f9e6db8SSudarshan Shetty * ADB. For ADB to work during normal runtime the DIP switch SW1 must be
5520f9e6db8SSudarshan Shetty * manually toggled to the off position (reconnecting the HS pair to the
5530f9e6db8SSudarshan Shetty * Micro-USB port).
5540f9e6db8SSudarshan Shetty */
5550f9e6db8SSudarshan Shetty
5560f9e6db8SSudarshan Shetty&usb_1 {
5570f9e6db8SSudarshan Shetty	dr_mode = "host";
5580f9e6db8SSudarshan Shetty
5590f9e6db8SSudarshan Shetty	status = "okay";
5600f9e6db8SSudarshan Shetty};
5610f9e6db8SSudarshan Shetty
5620f9e6db8SSudarshan Shetty&usb_1_hsphy {
5630f9e6db8SSudarshan Shetty	vdd-supply = <&vreg_l5a>;
5640f9e6db8SSudarshan Shetty	vdda-pll-supply = <&vreg_l12a>;
5650f9e6db8SSudarshan Shetty	vdda-phy-dpdm-supply = <&vreg_l13a>;
5660f9e6db8SSudarshan Shetty
5670f9e6db8SSudarshan Shetty	status = "okay";
5680f9e6db8SSudarshan Shetty};
5690f9e6db8SSudarshan Shetty
5700f9e6db8SSudarshan Shetty&usb_2 {
5710f9e6db8SSudarshan Shetty	dr_mode = "host";
5720f9e6db8SSudarshan Shetty
5730f9e6db8SSudarshan Shetty	status = "okay";
5740f9e6db8SSudarshan Shetty};
5750f9e6db8SSudarshan Shetty
5760f9e6db8SSudarshan Shetty&usb_2_hsphy {
5770f9e6db8SSudarshan Shetty	vdd-supply = <&vreg_l5a>;
5780f9e6db8SSudarshan Shetty	vdda-pll-supply = <&vreg_l12a>;
5790f9e6db8SSudarshan Shetty	vdda-phy-dpdm-supply = <&vreg_l13a>;
5800f9e6db8SSudarshan Shetty
5810f9e6db8SSudarshan Shetty	status = "okay";
5820f9e6db8SSudarshan Shetty};
5830f9e6db8SSudarshan Shetty
5840f9e6db8SSudarshan Shetty&usb_qmpphy {
5850f9e6db8SSudarshan Shetty	vdda-phy-supply = <&vreg_l5a>;
5860f9e6db8SSudarshan Shetty	vdda-pll-supply = <&vreg_l12a>;
5870f9e6db8SSudarshan Shetty
5880f9e6db8SSudarshan Shetty	status = "okay";
5890f9e6db8SSudarshan Shetty};
5900f9e6db8SSudarshan Shetty
5910f9e6db8SSudarshan Shetty&usb_qmpphy_2 {
5920f9e6db8SSudarshan Shetty	vdda-phy-supply = <&vreg_l11a>;
5930f9e6db8SSudarshan Shetty	vdda-pll-supply = <&vreg_l5a>;
5940f9e6db8SSudarshan Shetty
5950f9e6db8SSudarshan Shetty	status = "okay";
5960f9e6db8SSudarshan Shetty};
5970f9e6db8SSudarshan Shetty
5980f9e6db8SSudarshan Shetty&ufs_mem_hc {
5990f9e6db8SSudarshan Shetty	reset-gpios = <&tlmm 123 GPIO_ACTIVE_LOW>;
6000f9e6db8SSudarshan Shetty	vcc-supply = <&vreg_l17a>;
6010f9e6db8SSudarshan Shetty	vcc-max-microamp = <600000>;
6020f9e6db8SSudarshan Shetty	vccq2-supply = <&vreg_s4a>;
6030f9e6db8SSudarshan Shetty	vccq2-max-microamp = <600000>;
6040f9e6db8SSudarshan Shetty
6050f9e6db8SSudarshan Shetty	status = "okay";
6060f9e6db8SSudarshan Shetty};
6070f9e6db8SSudarshan Shetty
6080f9e6db8SSudarshan Shetty&ufs_mem_phy {
6090f9e6db8SSudarshan Shetty	vdda-phy-supply = <&vreg_l5a>;
6100f9e6db8SSudarshan Shetty	vdda-pll-supply = <&vreg_l12a>;
6110f9e6db8SSudarshan Shetty
6120f9e6db8SSudarshan Shetty	status = "okay";
6130f9e6db8SSudarshan Shetty};
6140f9e6db8SSudarshan Shetty
6150f9e6db8SSudarshan Shetty&venus {
6160f9e6db8SSudarshan Shetty	status = "okay";
6170f9e6db8SSudarshan Shetty};
618