xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/msm8996-xiaomi-common.dtsi (revision cb7aa33ac6cd46a5434798e50363136e64f3ae98)
18cc087a1SEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause
28cc087a1SEmmanuel Vadot/*
38cc087a1SEmmanuel Vadot * Copyright (c) 2020, Yassine Oudjana <y.oudjana@protonmail.com>
48cc087a1SEmmanuel Vadot */
58cc087a1SEmmanuel Vadot
68cc087a1SEmmanuel Vadot#include "pm8994.dtsi"
78cc087a1SEmmanuel Vadot#include "pmi8994.dtsi"
88cc087a1SEmmanuel Vadot#include <dt-bindings/input/input.h>
98cc087a1SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
108cc087a1SEmmanuel Vadot#include <dt-bindings/leds/common.h>
118cc087a1SEmmanuel Vadot#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
128cc087a1SEmmanuel Vadot
138cc087a1SEmmanuel Vadot/ {
148cc087a1SEmmanuel Vadot	clocks {
158cc087a1SEmmanuel Vadot		compatible = "simple-bus";
168cc087a1SEmmanuel Vadot
178cc087a1SEmmanuel Vadot		divclk1_cdc: divclk1 {
188cc087a1SEmmanuel Vadot			compatible = "gpio-gate-clock";
198cc087a1SEmmanuel Vadot			clocks = <&rpmcc RPM_SMD_DIV_CLK1>;
208cc087a1SEmmanuel Vadot			#clock-cells = <0>;
218cc087a1SEmmanuel Vadot			enable-gpios = <&pm8994_gpios 15 GPIO_ACTIVE_HIGH>;
228cc087a1SEmmanuel Vadot
238cc087a1SEmmanuel Vadot			pinctrl-names = "default";
248cc087a1SEmmanuel Vadot			pinctrl-0 = <&divclk1_default>;
258cc087a1SEmmanuel Vadot		};
268cc087a1SEmmanuel Vadot
278cc087a1SEmmanuel Vadot		divclk4: divclk4 {
288cc087a1SEmmanuel Vadot			compatible = "fixed-clock";
298cc087a1SEmmanuel Vadot			#clock-cells = <0>;
308cc087a1SEmmanuel Vadot			clock-frequency = <32768>;
318cc087a1SEmmanuel Vadot			clock-output-names = "divclk4";
328cc087a1SEmmanuel Vadot
338cc087a1SEmmanuel Vadot			pinctrl-names = "default";
348cc087a1SEmmanuel Vadot			pinctrl-0 = <&divclk4_pin_a>;
358cc087a1SEmmanuel Vadot		};
368cc087a1SEmmanuel Vadot	};
378cc087a1SEmmanuel Vadot
38b97ee269SEmmanuel Vadot	gpio-keys {
398cc087a1SEmmanuel Vadot		compatible = "gpio-keys";
408cc087a1SEmmanuel Vadot
41b97ee269SEmmanuel Vadot		key-vol-up {
428cc087a1SEmmanuel Vadot			label = "Volume Up";
438cc087a1SEmmanuel Vadot			gpios = <&pm8994_gpios 2 GPIO_ACTIVE_LOW>;
448cc087a1SEmmanuel Vadot			linux,code = <KEY_VOLUMEUP>;
458cc087a1SEmmanuel Vadot			wakeup-source;
468cc087a1SEmmanuel Vadot			debounce-interval = <15>;
478cc087a1SEmmanuel Vadot		};
488cc087a1SEmmanuel Vadot
49b97ee269SEmmanuel Vadot		key-dome {
508cc087a1SEmmanuel Vadot			label = "Home";
518cc087a1SEmmanuel Vadot			gpios = <&tlmm 34 GPIO_ACTIVE_LOW>;
528cc087a1SEmmanuel Vadot			linux,code = <KEY_HOME>;
538cc087a1SEmmanuel Vadot			wakeup-source;
548cc087a1SEmmanuel Vadot			debounce-interval = <15>;
558cc087a1SEmmanuel Vadot		};
568cc087a1SEmmanuel Vadot	};
578cc087a1SEmmanuel Vadot
587ef62cebSEmmanuel Vadot	irled {
597ef62cebSEmmanuel Vadot		compatible = "pwm-ir-tx";
607ef62cebSEmmanuel Vadot		pwms = <&pm8994_lpg 1 1000000>;
617ef62cebSEmmanuel Vadot
627ef62cebSEmmanuel Vadot		pinctrl-names = "default";
637ef62cebSEmmanuel Vadot		pinctrl-0 = <&irled_default>;
647ef62cebSEmmanuel Vadot	};
657ef62cebSEmmanuel Vadot
668cc087a1SEmmanuel Vadot	reserved-memory {
678cc087a1SEmmanuel Vadot		memory@88800000 {
688cc087a1SEmmanuel Vadot			reg = <0x0 0x88800000 0x0 0x1400000>;
698cc087a1SEmmanuel Vadot			no-map;
708cc087a1SEmmanuel Vadot		};
718cc087a1SEmmanuel Vadot
728cc087a1SEmmanuel Vadot		/* This platform has all PIL regions offset by 0x1400000 */
738cc087a1SEmmanuel Vadot		/delete-node/ mpss@88800000;
74d5b0e70fSEmmanuel Vadot		mpss_mem: mpss@89c00000 {
758cc087a1SEmmanuel Vadot			reg = <0x0 0x89c00000 0x0 0x6200000>;
768cc087a1SEmmanuel Vadot			no-map;
778cc087a1SEmmanuel Vadot		};
788cc087a1SEmmanuel Vadot
798cc087a1SEmmanuel Vadot		/delete-node/ adsp@8ea00000;
80d5b0e70fSEmmanuel Vadot		adsp_mem: adsp@8fe00000 {
818cc087a1SEmmanuel Vadot			reg = <0x0 0x8fe00000 0x0 0x1b00000>;
828cc087a1SEmmanuel Vadot			no-map;
838cc087a1SEmmanuel Vadot		};
848cc087a1SEmmanuel Vadot
85d5b0e70fSEmmanuel Vadot		/delete-node/ slpi@90500000;
86d5b0e70fSEmmanuel Vadot		slpi_mem: slpi@91900000 {
878cc087a1SEmmanuel Vadot			reg = <0x0 0x91900000 0x0 0xa00000>;
888cc087a1SEmmanuel Vadot			no-map;
898cc087a1SEmmanuel Vadot		};
908cc087a1SEmmanuel Vadot
91d5b0e70fSEmmanuel Vadot		/delete-node/ gpu@90f00000;
92d5b0e70fSEmmanuel Vadot		gpu_mem: gpu@92300000 {
938cc087a1SEmmanuel Vadot			compatible = "shared-dma-pool";
948cc087a1SEmmanuel Vadot			reg = <0x0 0x92300000 0x0 0x2000>;
958cc087a1SEmmanuel Vadot			no-map;
968cc087a1SEmmanuel Vadot		};
978cc087a1SEmmanuel Vadot
988cc087a1SEmmanuel Vadot		/delete-node/ venus@91000000;
99d5b0e70fSEmmanuel Vadot		venus_mem: venus@92400000 {
1008cc087a1SEmmanuel Vadot			reg = <0x0 0x92400000 0x0 0x500000>;
1018cc087a1SEmmanuel Vadot			no-map;
1028cc087a1SEmmanuel Vadot		};
1038cc087a1SEmmanuel Vadot
1048cc087a1SEmmanuel Vadot		ramoops@92900000 {
1058cc087a1SEmmanuel Vadot			compatible = "ramoops";
1068cc087a1SEmmanuel Vadot			reg = <0x0 0x92900000 0x0 0x100000>;
1078cc087a1SEmmanuel Vadot			no-map;
1088cc087a1SEmmanuel Vadot
1098cc087a1SEmmanuel Vadot			record-size = <0x8000>;
1108cc087a1SEmmanuel Vadot			console-size = <0x80000>;
1118cc087a1SEmmanuel Vadot			ftrace-size = <0x20000>;
1128cc087a1SEmmanuel Vadot			pmsg-size = <0x40000>;
1138cc087a1SEmmanuel Vadot		};
1148cc087a1SEmmanuel Vadot
115d5b0e70fSEmmanuel Vadot		/delete-node/ rmtfs;
1168cc087a1SEmmanuel Vadot		rmtfs@f6c00000 {
1178cc087a1SEmmanuel Vadot			compatible = "qcom,rmtfs-mem";
1188cc087a1SEmmanuel Vadot			reg = <0 0xf6c00000 0 0x200000>;
1198cc087a1SEmmanuel Vadot			no-map;
1208cc087a1SEmmanuel Vadot
1218cc087a1SEmmanuel Vadot			qcom,client-id = <1>;
1228cc087a1SEmmanuel Vadot			qcom,vmid = <15>;
1238cc087a1SEmmanuel Vadot		};
1248cc087a1SEmmanuel Vadot
1258cc087a1SEmmanuel Vadot		/delete-node/ mba@91500000;
126d5b0e70fSEmmanuel Vadot		mba_mem: mba@f6f00000 {
1278cc087a1SEmmanuel Vadot			reg = <0x0 0xf6f00000 0x0 0x100000>;
1288cc087a1SEmmanuel Vadot			no-map;
1298cc087a1SEmmanuel Vadot		};
1308cc087a1SEmmanuel Vadot	};
1318cc087a1SEmmanuel Vadot
1328cc087a1SEmmanuel Vadot	vph_pwr: vph-pwr-regulator {
1338cc087a1SEmmanuel Vadot		compatible = "regulator-fixed";
1348cc087a1SEmmanuel Vadot		regulator-name = "vph_pwr";
1358cc087a1SEmmanuel Vadot		regulator-min-microvolt = <3800000>;
1368cc087a1SEmmanuel Vadot		regulator-max-microvolt = <3800000>;
1378cc087a1SEmmanuel Vadot		regulator-always-on;
1388cc087a1SEmmanuel Vadot		regulator-boot-on;
1398cc087a1SEmmanuel Vadot	};
1408cc087a1SEmmanuel Vadot
1418cc087a1SEmmanuel Vadot	vdd_3v2_tp: vdd-3v2-tp {
1428cc087a1SEmmanuel Vadot		compatible = "regulator-fixed";
1438cc087a1SEmmanuel Vadot		regulator-name = "vdd_3v2_tp";
1448cc087a1SEmmanuel Vadot		regulator-min-microvolt = <3200000>;
1458cc087a1SEmmanuel Vadot		regulator-max-microvolt = <3200000>;
1468cc087a1SEmmanuel Vadot		startup-delay-us = <4000>;
1478cc087a1SEmmanuel Vadot		vin-supply = <&vph_pwr>;
1488cc087a1SEmmanuel Vadot
1498cc087a1SEmmanuel Vadot		gpio = <&tlmm 73 0>;
1508cc087a1SEmmanuel Vadot		enable-active-high;
1518cc087a1SEmmanuel Vadot	};
1528cc087a1SEmmanuel Vadot
1538cc087a1SEmmanuel Vadot	vdd_3v3: rome-vreg {
1548cc087a1SEmmanuel Vadot		compatible = "regulator-fixed";
1558cc087a1SEmmanuel Vadot		regulator-name = "vdd_3v3";
1568cc087a1SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
1578cc087a1SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
1588cc087a1SEmmanuel Vadot		startup-delay-us = <4000>;
1598cc087a1SEmmanuel Vadot		vin-supply = <&vph_pwr_bbyp>;
1608cc087a1SEmmanuel Vadot
1618cc087a1SEmmanuel Vadot		gpio = <&pm8994_gpios 9 0>;
1628cc087a1SEmmanuel Vadot		enable-active-high;
1638cc087a1SEmmanuel Vadot		pinctrl-names = "default";
1648cc087a1SEmmanuel Vadot		pinctrl-0 = <&rome_enable_default>;
1658cc087a1SEmmanuel Vadot
1668cc087a1SEmmanuel Vadot		/* Required by QCA6174a - vddpe-3v3 */
1678cc087a1SEmmanuel Vadot		regulator-always-on;
1688cc087a1SEmmanuel Vadot	};
1698cc087a1SEmmanuel Vadot
1708cc087a1SEmmanuel Vadot	/* WL_EN pin defined as a fixed regulator */
1718cc087a1SEmmanuel Vadot	wlan_en: wlan-en-1-8v {
1728cc087a1SEmmanuel Vadot		compatible = "regulator-fixed";
1738cc087a1SEmmanuel Vadot		regulator-name = "wlan-en-regulator";
1748cc087a1SEmmanuel Vadot		regulator-min-microvolt = <1800000>;
1758cc087a1SEmmanuel Vadot		regulator-max-microvolt = <1800000>;
1768cc087a1SEmmanuel Vadot
1778cc087a1SEmmanuel Vadot		gpio = <&pm8994_gpios 8 0>;
1788cc087a1SEmmanuel Vadot		/* WLAN card specific delay */
1798cc087a1SEmmanuel Vadot		startup-delay-us = <70000>;
1808cc087a1SEmmanuel Vadot		enable-active-high;
1818cc087a1SEmmanuel Vadot		pinctrl-names = "default";
1828cc087a1SEmmanuel Vadot		pinctrl-0 = <&wlan_en_default>;
1838cc087a1SEmmanuel Vadot	};
1848cc087a1SEmmanuel Vadot};
1858cc087a1SEmmanuel Vadot
1868cc087a1SEmmanuel Vadot&adsp_pil {
1878cc087a1SEmmanuel Vadot	status = "okay";
1888cc087a1SEmmanuel Vadot};
1898cc087a1SEmmanuel Vadot
1908cc087a1SEmmanuel Vadot&blsp2_i2c2 {
1918cc087a1SEmmanuel Vadot	status = "okay";
1928cc087a1SEmmanuel Vadot	label = "NFC_I2C";
1938cc087a1SEmmanuel Vadot	clock-frequency = <400000>;
1948cc087a1SEmmanuel Vadot
1958cc087a1SEmmanuel Vadot	nfc: pn548@28 {
1968cc087a1SEmmanuel Vadot		compatible = "nxp,nxp-nci-i2c";
1978cc087a1SEmmanuel Vadot
1988cc087a1SEmmanuel Vadot		reg = <0x28>;
1998cc087a1SEmmanuel Vadot
2008cc087a1SEmmanuel Vadot		interrupt-parent = <&tlmm>;
2018cc087a1SEmmanuel Vadot		interrupts = <9 IRQ_TYPE_LEVEL_HIGH>;
2028cc087a1SEmmanuel Vadot
2038cc087a1SEmmanuel Vadot		enable-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
2048cc087a1SEmmanuel Vadot		firmware-gpios = <&tlmm 21 GPIO_ACTIVE_HIGH>;
2058cc087a1SEmmanuel Vadot
2068cc087a1SEmmanuel Vadot		pinctrl-names = "default";
2078cc087a1SEmmanuel Vadot		pinctrl-0 = <&nfc_default>;
2088cc087a1SEmmanuel Vadot	};
2098cc087a1SEmmanuel Vadot};
2108cc087a1SEmmanuel Vadot
2118cc087a1SEmmanuel Vadot&blsp2_i2c3 {
2128cc087a1SEmmanuel Vadot	status = "okay";
2138cc087a1SEmmanuel Vadot	label = "TYPEC_I2C";
2148cc087a1SEmmanuel Vadot
215e67e8565SEmmanuel Vadot	typec: tusb320l@47 {
216e67e8565SEmmanuel Vadot		compatible = "ti,tusb320l";
2178cc087a1SEmmanuel Vadot		reg = <0x47>;
2188cc087a1SEmmanuel Vadot		interrupt-parent = <&tlmm>;
2198cc087a1SEmmanuel Vadot		interrupts = <63 IRQ_TYPE_EDGE_RISING>;
2208cc087a1SEmmanuel Vadot	};
2218cc087a1SEmmanuel Vadot};
2228cc087a1SEmmanuel Vadot
2238cc087a1SEmmanuel Vadot&blsp2_i2c6 {
2248cc087a1SEmmanuel Vadot	status = "okay";
2258cc087a1SEmmanuel Vadot	label = "MSM_TS_I2C";
2268cc087a1SEmmanuel Vadot};
2278cc087a1SEmmanuel Vadot
2288cc087a1SEmmanuel Vadot&blsp1_uart2 {
2298cc087a1SEmmanuel Vadot	status = "okay";
2308cc087a1SEmmanuel Vadot	label = "QCA_UART";
2318cc087a1SEmmanuel Vadot
232*cb7aa33aSEmmanuel Vadot	bluetooth: bluetooth {
2338cc087a1SEmmanuel Vadot		compatible = "qcom,qca6174-bt";
2348cc087a1SEmmanuel Vadot
2358cc087a1SEmmanuel Vadot		enable-gpios = <&pm8994_gpios 19 GPIO_ACTIVE_HIGH>;
2368cc087a1SEmmanuel Vadot		clocks = <&divclk4>;
2378cc087a1SEmmanuel Vadot	};
2388cc087a1SEmmanuel Vadot};
2398cc087a1SEmmanuel Vadot
2408cc087a1SEmmanuel Vadot&dsi0 {
2418cc087a1SEmmanuel Vadot	status = "okay";
2428cc087a1SEmmanuel Vadot
2438cc087a1SEmmanuel Vadot	vdd-supply = <&vreg_l2a_1p25>;
2448cc087a1SEmmanuel Vadot	vddio-supply = <&vreg_l14a_1p8>;
2458cc087a1SEmmanuel Vadot
2468cc087a1SEmmanuel Vadot	pinctrl-names = "default", "sleep";
2478cc087a1SEmmanuel Vadot	pinctrl-0 = <&mdss_dsi_default &mdss_te_default>;
2488cc087a1SEmmanuel Vadot	pinctrl-1 = <&mdss_dsi_sleep &mdss_te_sleep>;
2498cc087a1SEmmanuel Vadot};
2508cc087a1SEmmanuel Vadot
2518cc087a1SEmmanuel Vadot&dsi0_out {
2528cc087a1SEmmanuel Vadot	status = "okay";
2538cc087a1SEmmanuel Vadot
2548cc087a1SEmmanuel Vadot	data-lanes = <0 1 2 3>;
2558cc087a1SEmmanuel Vadot};
2568cc087a1SEmmanuel Vadot
2578cc087a1SEmmanuel Vadot&dsi0_phy {
2588cc087a1SEmmanuel Vadot	status = "okay";
2598cc087a1SEmmanuel Vadot
2608cc087a1SEmmanuel Vadot	vcca-supply = <&vreg_l28a_0p925>;
2618cc087a1SEmmanuel Vadot};
2628cc087a1SEmmanuel Vadot
2638cc087a1SEmmanuel Vadot&gpu {
2648cc087a1SEmmanuel Vadot	status = "okay";
2658cc087a1SEmmanuel Vadot};
2668cc087a1SEmmanuel Vadot
2678cc087a1SEmmanuel Vadot&mdss {
2688cc087a1SEmmanuel Vadot	status = "okay";
2698cc087a1SEmmanuel Vadot};
2708cc087a1SEmmanuel Vadot
2718cc087a1SEmmanuel Vadot&mmcc {
2728cc087a1SEmmanuel Vadot	vdd-gfx-supply = <&vdd_gfx>;
2738cc087a1SEmmanuel Vadot};
2748cc087a1SEmmanuel Vadot
275d5b0e70fSEmmanuel Vadot&mss_pil {
276d5b0e70fSEmmanuel Vadot	status = "okay";
277d5b0e70fSEmmanuel Vadot
278d5b0e70fSEmmanuel Vadot	pll-supply = <&vreg_l12a_1p8>;
279d5b0e70fSEmmanuel Vadot};
280d5b0e70fSEmmanuel Vadot
2818cc087a1SEmmanuel Vadot&pcie0 {
2828cc087a1SEmmanuel Vadot	status = "okay";
2838cc087a1SEmmanuel Vadot
2848cc087a1SEmmanuel Vadot	/* Supplied by vdd_3v3, but choose wlan_en to drive enable pin high */
2858cc087a1SEmmanuel Vadot	vddpe-3v3-supply = <&wlan_en>;
2868cc087a1SEmmanuel Vadot	vdda-supply = <&vreg_l28a_0p925>;
2878cc087a1SEmmanuel Vadot
2888cc087a1SEmmanuel Vadot	perst-gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
2898cc087a1SEmmanuel Vadot	wake-gpios = <&tlmm 37 GPIO_ACTIVE_HIGH>;
2908cc087a1SEmmanuel Vadot};
2918cc087a1SEmmanuel Vadot
2928cc087a1SEmmanuel Vadot&pcie_phy {
2938cc087a1SEmmanuel Vadot	status = "okay";
2948cc087a1SEmmanuel Vadot
2958cc087a1SEmmanuel Vadot	vdda-phy-supply = <&vreg_l28a_0p925>;
2968cc087a1SEmmanuel Vadot	vdda-pll-supply = <&vreg_l12a_1p8>;
2978cc087a1SEmmanuel Vadot};
2988cc087a1SEmmanuel Vadot
2998cc087a1SEmmanuel Vadot&pm8994_resin {
3008cc087a1SEmmanuel Vadot	status = "okay";
3018cc087a1SEmmanuel Vadot
3028cc087a1SEmmanuel Vadot	linux,code = <KEY_VOLUMEDOWN>;
3038cc087a1SEmmanuel Vadot};
3048cc087a1SEmmanuel Vadot
3057ef62cebSEmmanuel Vadot&pm8994_lpg {
3067ef62cebSEmmanuel Vadot	status = "okay";
3077ef62cebSEmmanuel Vadot
3087ef62cebSEmmanuel Vadot	qcom,power-source = <1>;
3097ef62cebSEmmanuel Vadot};
3107ef62cebSEmmanuel Vadot
3117ef62cebSEmmanuel Vadot&pmi8994_lpg {
3127ef62cebSEmmanuel Vadot	status = "okay";
3137ef62cebSEmmanuel Vadot
3147ef62cebSEmmanuel Vadot	qcom,power-source = <1>;
3157ef62cebSEmmanuel Vadot
3167ef62cebSEmmanuel Vadot	multi-led {
3177ef62cebSEmmanuel Vadot		color = <LED_COLOR_ID_RGB>;
3187ef62cebSEmmanuel Vadot		function = LED_FUNCTION_STATUS;
3197ef62cebSEmmanuel Vadot
3207ef62cebSEmmanuel Vadot		#address-cells = <1>;
3217ef62cebSEmmanuel Vadot		#size-cells = <0>;
3227ef62cebSEmmanuel Vadot
3237ef62cebSEmmanuel Vadot		led@1 {
3247ef62cebSEmmanuel Vadot			reg = <1>;
3257ef62cebSEmmanuel Vadot			color = <LED_COLOR_ID_BLUE>;
3267ef62cebSEmmanuel Vadot		};
3277ef62cebSEmmanuel Vadot
3287ef62cebSEmmanuel Vadot		led@2 {
3297ef62cebSEmmanuel Vadot			reg = <2>;
3307ef62cebSEmmanuel Vadot			color = <LED_COLOR_ID_GREEN>;
3317ef62cebSEmmanuel Vadot		};
3327ef62cebSEmmanuel Vadot
3337ef62cebSEmmanuel Vadot		led@3 {
3347ef62cebSEmmanuel Vadot			reg = <3>;
3357ef62cebSEmmanuel Vadot			color = <LED_COLOR_ID_RED>;
3367ef62cebSEmmanuel Vadot		};
3377ef62cebSEmmanuel Vadot	};
3387ef62cebSEmmanuel Vadot};
3397ef62cebSEmmanuel Vadot
340d5b0e70fSEmmanuel Vadot&slpi_pil {
341d5b0e70fSEmmanuel Vadot	status = "okay";
342d5b0e70fSEmmanuel Vadot
343d5b0e70fSEmmanuel Vadot	px-supply = <&vreg_lvs2a_1p8>;
344d5b0e70fSEmmanuel Vadot};
345d5b0e70fSEmmanuel Vadot
3468cc087a1SEmmanuel Vadot&usb3 {
3478cc087a1SEmmanuel Vadot	status = "okay";
3488cc087a1SEmmanuel Vadot	extcon = <&typec>;
3498cc087a1SEmmanuel Vadot
3508cc087a1SEmmanuel Vadot	qcom,select-utmi-as-pipe-clk;
351d5b0e70fSEmmanuel Vadot};
3528cc087a1SEmmanuel Vadot
353d5b0e70fSEmmanuel Vadot&usb3_dwc3 {
3548cc087a1SEmmanuel Vadot	extcon = <&typec>;
3558cc087a1SEmmanuel Vadot
3568cc087a1SEmmanuel Vadot	/* usb3-phy is not used on this device */
3578cc087a1SEmmanuel Vadot	phys = <&hsusb_phy1>;
3588cc087a1SEmmanuel Vadot	phy-names = "usb2-phy";
3598cc087a1SEmmanuel Vadot
3608cc087a1SEmmanuel Vadot	maximum-speed = "high-speed";
3618cc087a1SEmmanuel Vadot	snps,is-utmi-l1-suspend;
3628cc087a1SEmmanuel Vadot	snps,usb2-gadget-lpm-disable;
3638cc087a1SEmmanuel Vadot	snps,hird-threshold = /bits/ 8 <0>;
3648cc087a1SEmmanuel Vadot};
3658cc087a1SEmmanuel Vadot
3668cc087a1SEmmanuel Vadot&hsusb_phy1 {
3678cc087a1SEmmanuel Vadot	status = "okay";
3688cc087a1SEmmanuel Vadot	extcon = <&typec>;
3698cc087a1SEmmanuel Vadot
3708cc087a1SEmmanuel Vadot	vdda-pll-supply = <&vreg_l12a_1p8>;
3718cc087a1SEmmanuel Vadot	vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
3728cc087a1SEmmanuel Vadot};
3738cc087a1SEmmanuel Vadot
3748cc087a1SEmmanuel Vadot&ufshc {
3758cc087a1SEmmanuel Vadot	status = "okay";
3768cc087a1SEmmanuel Vadot
3778cc087a1SEmmanuel Vadot	vcc-supply = <&vreg_l20a_2p95>;
3788cc087a1SEmmanuel Vadot	vccq-supply = <&vreg_l25a_1p2>;
3798cc087a1SEmmanuel Vadot	vccq2-supply = <&vreg_s4a_1p8>;
3808cc087a1SEmmanuel Vadot
3818cc087a1SEmmanuel Vadot	vcc-max-microamp = <600000>;
3828cc087a1SEmmanuel Vadot	vccq-max-microamp = <450000>;
3838cc087a1SEmmanuel Vadot	vccq2-max-microamp = <450000>;
3848cc087a1SEmmanuel Vadot};
3858cc087a1SEmmanuel Vadot
3868cc087a1SEmmanuel Vadot&ufsphy {
3878cc087a1SEmmanuel Vadot	status = "okay";
3888cc087a1SEmmanuel Vadot
3898cc087a1SEmmanuel Vadot	vdda-phy-supply = <&vreg_l28a_0p925>;
3908cc087a1SEmmanuel Vadot	vdda-pll-supply = <&vreg_l12a_1p8>;
3918cc087a1SEmmanuel Vadot	vddp-ref-clk-supply = <&vreg_l25a_1p2>;
3928cc087a1SEmmanuel Vadot};
3938cc087a1SEmmanuel Vadot
3948cc087a1SEmmanuel Vadot&venus {
3958cc087a1SEmmanuel Vadot	status = "okay";
3968cc087a1SEmmanuel Vadot};
3978cc087a1SEmmanuel Vadot
3988cc087a1SEmmanuel Vadot&wcd9335 {
3998cc087a1SEmmanuel Vadot	clock-names = "mclk", "slimbus";
4008cc087a1SEmmanuel Vadot	clocks = <&divclk1_cdc>,
4018cc087a1SEmmanuel Vadot		 <&rpmcc RPM_SMD_BB_CLK1>;
4028cc087a1SEmmanuel Vadot
4038cc087a1SEmmanuel Vadot	vdd-buck-supply = <&vreg_s4a_1p8>;
4048cc087a1SEmmanuel Vadot	vdd-buck-sido-supply = <&vreg_s4a_1p8>;
4058cc087a1SEmmanuel Vadot	vdd-rx-supply = <&vreg_s4a_1p8>;
4068cc087a1SEmmanuel Vadot	vdd-tx-supply = <&vreg_s4a_1p8>;
4078cc087a1SEmmanuel Vadot	vdd-vbat-supply = <&vph_pwr>;
4088cc087a1SEmmanuel Vadot	vdd-micbias-supply = <&vph_pwr_bbyp>;
4098cc087a1SEmmanuel Vadot	vdd-io-supply = <&vreg_s4a_1p8>;
4108cc087a1SEmmanuel Vadot};
4118cc087a1SEmmanuel Vadot
4128cc087a1SEmmanuel Vadot&rpm_requests {
4138bab661aSEmmanuel Vadot	regulators-0 {
4148cc087a1SEmmanuel Vadot		compatible = "qcom,rpm-pm8994-regulators";
4158cc087a1SEmmanuel Vadot
4168cc087a1SEmmanuel Vadot		vdd_s1-supply = <&vph_pwr>;
4178cc087a1SEmmanuel Vadot		vdd_s2-supply = <&vph_pwr>;
4188cc087a1SEmmanuel Vadot		vdd_s3-supply = <&vph_pwr>;
4198cc087a1SEmmanuel Vadot		vdd_s4-supply = <&vph_pwr>;
4208cc087a1SEmmanuel Vadot		vdd_s5-supply = <&vph_pwr>;
4218cc087a1SEmmanuel Vadot		vdd_s6-supply = <&vph_pwr>;
4228cc087a1SEmmanuel Vadot		vdd_s7-supply = <&vph_pwr>;
4238cc087a1SEmmanuel Vadot		vdd_s8-supply = <&vph_pwr>;
4248cc087a1SEmmanuel Vadot		vdd_s9-supply = <&vph_pwr>;
4258cc087a1SEmmanuel Vadot		vdd_s10-supply = <&vph_pwr>;
4268cc087a1SEmmanuel Vadot		vdd_s11-supply = <&vph_pwr>;
4278cc087a1SEmmanuel Vadot		vdd_s12-supply = <&vph_pwr>;
4288cc087a1SEmmanuel Vadot		vdd_l1-supply = <&vreg_s1b_1p025>;
4298cc087a1SEmmanuel Vadot		vdd_l2_l26_l28-supply = <&vreg_s3a_1p3>;
4308cc087a1SEmmanuel Vadot		vdd_l3_l11-supply = <&vreg_s3a_1p3>;
4318cc087a1SEmmanuel Vadot		vdd_l4_l27_l31-supply = <&vreg_s3a_1p3>;
4328cc087a1SEmmanuel Vadot		vdd_l5_l7-supply = <&vreg_s5a_2p15>;
4338cc087a1SEmmanuel Vadot		vdd_l6_l12_l32-supply = <&vreg_s5a_2p15>;
4348cc087a1SEmmanuel Vadot		vdd_l8_l16_l30-supply = <&vph_pwr>;
4358cc087a1SEmmanuel Vadot		vdd_l9_l10_l18_l22-supply = <&vph_pwr_bbyp>;
4368cc087a1SEmmanuel Vadot		vdd_l13_l19_l23_l24-supply = <&vph_pwr_bbyp>;
4378cc087a1SEmmanuel Vadot		vdd_l14_l15-supply = <&vreg_s5a_2p15>;
4388cc087a1SEmmanuel Vadot		vdd_l17_l29-supply = <&vph_pwr_bbyp>;
4398cc087a1SEmmanuel Vadot		vdd_l20_l21-supply = <&vph_pwr_bbyp>;
4408cc087a1SEmmanuel Vadot		vdd_l25-supply = <&vreg_s3a_1p3>;
4418cc087a1SEmmanuel Vadot		vdd_lvs1_2-supply = <&vreg_s4a_1p8>;
4428cc087a1SEmmanuel Vadot
4438cc087a1SEmmanuel Vadot		vreg_s3a_1p3: s3 {
4448cc087a1SEmmanuel Vadot			regulator-name = "vreg_s3a_1p3";
4458cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1300000>;
4468cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1300000>;
4478cc087a1SEmmanuel Vadot
4488cc087a1SEmmanuel Vadot			/* Required by QCA6174a - vdd-core */
4498cc087a1SEmmanuel Vadot			regulator-always-on;
4508cc087a1SEmmanuel Vadot		};
4518cc087a1SEmmanuel Vadot		vreg_s4a_1p8: s4 {
4528cc087a1SEmmanuel Vadot			regulator-name = "vreg_s4a_1p8";
4538cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
4548cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
4558cc087a1SEmmanuel Vadot			regulator-allow-set-load;
4568cc087a1SEmmanuel Vadot
4578cc087a1SEmmanuel Vadot			/* Required by QCA6174a - vddio */
4588cc087a1SEmmanuel Vadot			regulator-always-on;
4598cc087a1SEmmanuel Vadot		};
4608cc087a1SEmmanuel Vadot		vreg_s5a_2p15: s5 {
4618cc087a1SEmmanuel Vadot			regulator-name = "vreg_s5a_2p15";
4628cc087a1SEmmanuel Vadot			regulator-min-microvolt = <2150000>;
4638cc087a1SEmmanuel Vadot			regulator-max-microvolt = <2150000>;
4648cc087a1SEmmanuel Vadot		};
4658cc087a1SEmmanuel Vadot		vreg_s7a_0p8: s7 {
4668cc087a1SEmmanuel Vadot			regulator-name = "vreg_s7a_0p8";
4678cc087a1SEmmanuel Vadot			regulator-min-microvolt = <800000>;
4688cc087a1SEmmanuel Vadot			regulator-max-microvolt = <800000>;
4698cc087a1SEmmanuel Vadot		};
4708cc087a1SEmmanuel Vadot		vreg_l1a_1p0: l1 {
4718cc087a1SEmmanuel Vadot			regulator-name = "vreg_l1a_1p0";
4728cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1000000>;
4738cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1000000>;
4748cc087a1SEmmanuel Vadot		};
4758cc087a1SEmmanuel Vadot		vreg_l2a_1p25: l2 {
4768cc087a1SEmmanuel Vadot			regulator-name = "vreg_l2a_1p25";
4778cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1250000>;
4788cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1250000>;
4798cc087a1SEmmanuel Vadot		};
4808cc087a1SEmmanuel Vadot		vreg_l4a_1p225: l4 {
4818cc087a1SEmmanuel Vadot			regulator-name = "vreg_l4a_1p225";
4828cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1225000>;
4838cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1225000>;
4848cc087a1SEmmanuel Vadot		};
4858cc087a1SEmmanuel Vadot		vreg_l6a_1p8: l6 {
4868cc087a1SEmmanuel Vadot			regulator-name = "vreg_l6a_1p8";
4878cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
4888cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
4898cc087a1SEmmanuel Vadot		};
4908cc087a1SEmmanuel Vadot		vreg_l8a_1p8: l8 {
4918cc087a1SEmmanuel Vadot			regulator-name = "vreg_l8a_1p8";
4928cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
4938cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
4948cc087a1SEmmanuel Vadot		};
4958cc087a1SEmmanuel Vadot		vreg_l9a_1p8: l9 {
4968cc087a1SEmmanuel Vadot			regulator-name = "vreg_l9a_1p8";
4978cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
4988cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
4998cc087a1SEmmanuel Vadot		};
5008cc087a1SEmmanuel Vadot		vreg_l10a_1p8: l10 {
5018cc087a1SEmmanuel Vadot			regulator-name = "vreg_l10a_1p8";
5028cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
5038cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
5048cc087a1SEmmanuel Vadot		};
5058cc087a1SEmmanuel Vadot		vreg_l12a_1p8: l12 {
5068cc087a1SEmmanuel Vadot			regulator-name = "vreg_l12a_1p8";
5078cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
5088cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
5098cc087a1SEmmanuel Vadot			regulator-allow-set-load;
5108cc087a1SEmmanuel Vadot		};
5118cc087a1SEmmanuel Vadot		vreg_l13a_2p95: l13 {
5128cc087a1SEmmanuel Vadot			regulator-name = "vreg_l13a_2p95";
5138cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
5148cc087a1SEmmanuel Vadot			regulator-max-microvolt = <2950000>;
5158cc087a1SEmmanuel Vadot		};
5168cc087a1SEmmanuel Vadot		vreg_l14a_1p8: l14 {
5178cc087a1SEmmanuel Vadot			regulator-name = "vreg_l14a_1p8";
5188cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
5198cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
5208cc087a1SEmmanuel Vadot		};
5218cc087a1SEmmanuel Vadot		vreg_l15a_1p8: l15 {
5228cc087a1SEmmanuel Vadot			regulator-name = "vreg_l15a_1p8";
5238cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
5248cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
5258cc087a1SEmmanuel Vadot		};
5268cc087a1SEmmanuel Vadot		vreg_l16a_2p7: l16 {
5278cc087a1SEmmanuel Vadot			regulator-name = "vreg_l16a_2p7";
5288cc087a1SEmmanuel Vadot			regulator-min-microvolt = <2700000>;
5298cc087a1SEmmanuel Vadot			regulator-max-microvolt = <2700000>;
5308cc087a1SEmmanuel Vadot		};
5318cc087a1SEmmanuel Vadot		vreg_l19a_3p3: l19 {
5328cc087a1SEmmanuel Vadot			regulator-name = "vreg_l19a_3p3";
5338cc087a1SEmmanuel Vadot			regulator-min-microvolt = <3000000>;
5348cc087a1SEmmanuel Vadot			regulator-max-microvolt = <3000000>;
5358cc087a1SEmmanuel Vadot		};
5368cc087a1SEmmanuel Vadot		vreg_l20a_2p95: l20 {
5378cc087a1SEmmanuel Vadot			regulator-name = "vreg_l20a_2p95";
5388cc087a1SEmmanuel Vadot			regulator-min-microvolt = <2950000>;
5398cc087a1SEmmanuel Vadot			regulator-max-microvolt = <2950000>;
5408cc087a1SEmmanuel Vadot			regulator-allow-set-load;
5418cc087a1SEmmanuel Vadot		};
5428cc087a1SEmmanuel Vadot		vreg_l21a_2p95: l21 {
5438cc087a1SEmmanuel Vadot			regulator-name = "vreg_l21a_2p95";
5448cc087a1SEmmanuel Vadot			regulator-min-microvolt = <3300000>;
5458cc087a1SEmmanuel Vadot			regulator-max-microvolt = <3300000>;
5468cc087a1SEmmanuel Vadot			regulator-always-on;
5478cc087a1SEmmanuel Vadot		};
5488cc087a1SEmmanuel Vadot		vreg_l23a_2p8: l23 {
5498cc087a1SEmmanuel Vadot			regulator-name = "vreg_l23a_2p8";
5508cc087a1SEmmanuel Vadot			regulator-min-microvolt = <2800000>;
5518cc087a1SEmmanuel Vadot			regulator-max-microvolt = <2800000>;
5528cc087a1SEmmanuel Vadot		};
5538cc087a1SEmmanuel Vadot		vreg_l24a_3p075: l24 {
5548cc087a1SEmmanuel Vadot			regulator-name = "vreg_l24a_3p075";
5558cc087a1SEmmanuel Vadot			regulator-min-microvolt = <3075000>;
5568cc087a1SEmmanuel Vadot			regulator-max-microvolt = <3075000>;
5578cc087a1SEmmanuel Vadot		};
5588cc087a1SEmmanuel Vadot		vreg_l25a_1p2: l25 {
5598cc087a1SEmmanuel Vadot			regulator-name = "vreg_l25a_1p2";
5608cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
5618cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1200000>;
5628cc087a1SEmmanuel Vadot			regulator-allow-set-load;
5638cc087a1SEmmanuel Vadot		};
5648cc087a1SEmmanuel Vadot		vreg_l27a_1p2: l27 {
5658cc087a1SEmmanuel Vadot			regulator-name = "vreg_l27a_1p2";
5668cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
5678cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1200000>;
5688cc087a1SEmmanuel Vadot		};
5698cc087a1SEmmanuel Vadot		vreg_l28a_0p925: l28 {
5708cc087a1SEmmanuel Vadot			regulator-name = "vreg_l28a_0p925";
5718cc087a1SEmmanuel Vadot			regulator-min-microvolt = <925000>;
5728cc087a1SEmmanuel Vadot			regulator-max-microvolt = <925000>;
5738cc087a1SEmmanuel Vadot			regulator-allow-set-load;
5748cc087a1SEmmanuel Vadot		};
5758cc087a1SEmmanuel Vadot		vreg_l30a_1p8: l30 {
5768cc087a1SEmmanuel Vadot			regulator-name = "vreg_l30a_1p8";
5778cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
5788cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
5798cc087a1SEmmanuel Vadot
5808cc087a1SEmmanuel Vadot			/* Required by QCA6174a - vddio-xtal */
5818cc087a1SEmmanuel Vadot			regulator-always-on;
5828cc087a1SEmmanuel Vadot		};
5838cc087a1SEmmanuel Vadot		vreg_l32a_1p8: l32 {
5848cc087a1SEmmanuel Vadot			regulator-name = "vreg_l32a_1p8";
5858cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
5868cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
5878cc087a1SEmmanuel Vadot		};
5888cc087a1SEmmanuel Vadot		vreg_lvs1a_1p8: lvs1 {
5898cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
5908cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
5918cc087a1SEmmanuel Vadot		};
5928cc087a1SEmmanuel Vadot		vreg_lvs2a_1p8: lvs2 {
5938cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
5948cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
5958cc087a1SEmmanuel Vadot		};
5968cc087a1SEmmanuel Vadot	};
5978cc087a1SEmmanuel Vadot
5988bab661aSEmmanuel Vadot	regulators-1 {
5998cc087a1SEmmanuel Vadot		compatible = "qcom,rpm-pmi8994-regulators";
6008cc087a1SEmmanuel Vadot
6018cc087a1SEmmanuel Vadot		vdd_s1-supply = <&vph_pwr>;
6028cc087a1SEmmanuel Vadot		vdd_s2-supply = <&vph_pwr>;
6038cc087a1SEmmanuel Vadot		vdd_s3-supply = <&vph_pwr>;
6048cc087a1SEmmanuel Vadot		vdd_bst_byp-supply = <&vph_pwr>;
6058cc087a1SEmmanuel Vadot
6068cc087a1SEmmanuel Vadot		vreg_s1b_1p025: s1 {
6078cc087a1SEmmanuel Vadot			regulator-name = "vreg_s1b_1p025";
6088cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1025000>;
6098cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1025000>;
6108cc087a1SEmmanuel Vadot		};
6118cc087a1SEmmanuel Vadot
6128cc087a1SEmmanuel Vadot		vph_pwr_bbyp: boost-bypass {
6138cc087a1SEmmanuel Vadot			regulator-name = "vph_pwr_bbyp";
6148cc087a1SEmmanuel Vadot			regulator-min-microvolt = <3150000>;
6158cc087a1SEmmanuel Vadot			regulator-max-microvolt = <3600000>;
6168cc087a1SEmmanuel Vadot		};
6178cc087a1SEmmanuel Vadot	};
6188cc087a1SEmmanuel Vadot};
6198cc087a1SEmmanuel Vadot
6208cc087a1SEmmanuel Vadot&pm8994_spmi_regulators {
6218cc087a1SEmmanuel Vadot	qcom,saw-reg = <&saw3>;
6228cc087a1SEmmanuel Vadot	s8 {
6238cc087a1SEmmanuel Vadot		qcom,saw-slave;
6248cc087a1SEmmanuel Vadot	};
6258cc087a1SEmmanuel Vadot	s9 {
6268cc087a1SEmmanuel Vadot		qcom,saw-slave;
6278cc087a1SEmmanuel Vadot	};
6288cc087a1SEmmanuel Vadot	s10 {
6298cc087a1SEmmanuel Vadot		qcom,saw-slave;
6308cc087a1SEmmanuel Vadot	};
6318cc087a1SEmmanuel Vadot	vreg_apc_0p8: s11 {
6328cc087a1SEmmanuel Vadot		qcom,saw-leader;
6338cc087a1SEmmanuel Vadot		regulator-name = "vreg_apc_0p8";
6348cc087a1SEmmanuel Vadot		regulator-min-microvolt = <470000>;
6358cc087a1SEmmanuel Vadot		regulator-max-microvolt = <1140000>;
6368cc087a1SEmmanuel Vadot		regulator-max-step-microvolt = <150000>;
6378cc087a1SEmmanuel Vadot		regulator-always-on;
6388cc087a1SEmmanuel Vadot	};
6398cc087a1SEmmanuel Vadot};
6408cc087a1SEmmanuel Vadot
6418cc087a1SEmmanuel Vadot&pmi8994_spmi_regulators {
6428cc087a1SEmmanuel Vadot	vdd_gfx: s2 {
6438cc087a1SEmmanuel Vadot		regulator-name = "vdd_gfx";
6448cc087a1SEmmanuel Vadot		regulator-min-microvolt = <400000>;
6458cc087a1SEmmanuel Vadot		regulator-max-microvolt = <1015000>;
6468cc087a1SEmmanuel Vadot		regulator-enable-ramp-delay = <500>;
6478cc087a1SEmmanuel Vadot	};
6488cc087a1SEmmanuel Vadot};
6498cc087a1SEmmanuel Vadot
6508cc087a1SEmmanuel Vadot&pm8994_gpios {
6517ef62cebSEmmanuel Vadot	irled_default: irled-default-state {
6527ef62cebSEmmanuel Vadot		pins = "gpio5";
6537ef62cebSEmmanuel Vadot		function = PMIC_GPIO_FUNC_FUNC1;
6547ef62cebSEmmanuel Vadot		output-low;
6557ef62cebSEmmanuel Vadot		qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
6567ef62cebSEmmanuel Vadot		power-source = <PM8994_GPIO_S4>;
6577ef62cebSEmmanuel Vadot		bias-disable;
6587ef62cebSEmmanuel Vadot	};
6597ef62cebSEmmanuel Vadot
660b97ee269SEmmanuel Vadot	wlan_en_default: wlan-en-state {
6618cc087a1SEmmanuel Vadot		pins = "gpio8";
6628cc087a1SEmmanuel Vadot		function = PMIC_GPIO_FUNC_NORMAL;
6638cc087a1SEmmanuel Vadot		output-low;
6648cc087a1SEmmanuel Vadot		qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
6658cc087a1SEmmanuel Vadot		power-source = <PM8994_GPIO_S4>;
6668cc087a1SEmmanuel Vadot		bias-disable;
6678cc087a1SEmmanuel Vadot	};
6688cc087a1SEmmanuel Vadot
669b97ee269SEmmanuel Vadot	rome_enable_default: rome-enable-state {
6708cc087a1SEmmanuel Vadot		pins = "gpio9";
6718cc087a1SEmmanuel Vadot		function = PMIC_GPIO_FUNC_NORMAL;
6728cc087a1SEmmanuel Vadot		output-high;
6738cc087a1SEmmanuel Vadot		qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
6748cc087a1SEmmanuel Vadot		power-source = <PM8994_GPIO_VPH>;
6758cc087a1SEmmanuel Vadot	};
6768cc087a1SEmmanuel Vadot
677b97ee269SEmmanuel Vadot	divclk1_default: divclk1-state {
6788cc087a1SEmmanuel Vadot		pins = "gpio15";
6798cc087a1SEmmanuel Vadot		function = PMIC_GPIO_FUNC_FUNC1;
6808cc087a1SEmmanuel Vadot		bias-disable;
6818cc087a1SEmmanuel Vadot		power-source = <PM8994_GPIO_S4>;
6828cc087a1SEmmanuel Vadot		qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
6838cc087a1SEmmanuel Vadot	};
6848cc087a1SEmmanuel Vadot
685b97ee269SEmmanuel Vadot	divclk4_pin_a: divclk4-state {
6868cc087a1SEmmanuel Vadot		pins = "gpio18";
6878cc087a1SEmmanuel Vadot		function = PMIC_GPIO_FUNC_FUNC2;
6888cc087a1SEmmanuel Vadot		bias-disable;
6898cc087a1SEmmanuel Vadot		power-source = <PM8994_GPIO_S4>;
6908cc087a1SEmmanuel Vadot	};
6918cc087a1SEmmanuel Vadot};
6928cc087a1SEmmanuel Vadot
6938cc087a1SEmmanuel Vadot&tlmm {
6948bab661aSEmmanuel Vadot	mdss_dsi_default: mdss-dsi-default-state {
6958cc087a1SEmmanuel Vadot		pins = "gpio8";
6968cc087a1SEmmanuel Vadot		function = "gpio";
6978cc087a1SEmmanuel Vadot		drive-strength = <8>;
6988cc087a1SEmmanuel Vadot		bias-disable;
6998cc087a1SEmmanuel Vadot	};
7008cc087a1SEmmanuel Vadot
7018bab661aSEmmanuel Vadot	mdss_dsi_sleep: mdss-dsi-sleep-state {
7028cc087a1SEmmanuel Vadot		pins = "gpio8";
7038cc087a1SEmmanuel Vadot		function = "gpio";
7048cc087a1SEmmanuel Vadot		drive-strength = <2>;
7058cc087a1SEmmanuel Vadot		bias-pull-down;
7068cc087a1SEmmanuel Vadot	};
7078cc087a1SEmmanuel Vadot
7088bab661aSEmmanuel Vadot	mdss_te_default: mdss-te-default-state {
7098cc087a1SEmmanuel Vadot		pins = "gpio10";
7108cc087a1SEmmanuel Vadot		function = "mdp_vsync";
7118cc087a1SEmmanuel Vadot		drive-strength = <2>;
7128cc087a1SEmmanuel Vadot		bias-pull-down;
7138cc087a1SEmmanuel Vadot	};
7148cc087a1SEmmanuel Vadot
7158bab661aSEmmanuel Vadot	mdss_te_sleep: mdss-te-sleep-state {
7168cc087a1SEmmanuel Vadot		pins = "gpio10";
7178cc087a1SEmmanuel Vadot		function = "mdp_vsync";
7188cc087a1SEmmanuel Vadot		drive-strength = <2>;
7198cc087a1SEmmanuel Vadot		bias-pull-down;
7208cc087a1SEmmanuel Vadot	};
7218cc087a1SEmmanuel Vadot
7228bab661aSEmmanuel Vadot	nfc_default: nfc-default-state {
7238cc087a1SEmmanuel Vadot		pins = "gpio12", "gpio21";
7248cc087a1SEmmanuel Vadot		function = "gpio";
7258cc087a1SEmmanuel Vadot		drive-strength = <16>;
7268cc087a1SEmmanuel Vadot		bias-pull-up;
7278cc087a1SEmmanuel Vadot	};
7288cc087a1SEmmanuel Vadot};
729