xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/msm8996-xiaomi-common.dtsi (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
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	divclk1_cdc: divclk1 {
158cc087a1SEmmanuel Vadot		compatible = "gpio-gate-clock";
168cc087a1SEmmanuel Vadot		clocks = <&rpmcc RPM_SMD_DIV_CLK1>;
178cc087a1SEmmanuel Vadot		#clock-cells = <0>;
188cc087a1SEmmanuel Vadot		enable-gpios = <&pm8994_gpios 15 GPIO_ACTIVE_HIGH>;
198cc087a1SEmmanuel Vadot
208cc087a1SEmmanuel Vadot		pinctrl-names = "default";
218cc087a1SEmmanuel Vadot		pinctrl-0 = <&divclk1_default>;
228cc087a1SEmmanuel Vadot	};
238cc087a1SEmmanuel Vadot
248cc087a1SEmmanuel Vadot	divclk4: divclk4 {
258cc087a1SEmmanuel Vadot		compatible = "fixed-clock";
268cc087a1SEmmanuel Vadot		#clock-cells = <0>;
278cc087a1SEmmanuel Vadot		clock-frequency = <32768>;
288cc087a1SEmmanuel Vadot		clock-output-names = "divclk4";
298cc087a1SEmmanuel Vadot
308cc087a1SEmmanuel Vadot		pinctrl-names = "default";
318cc087a1SEmmanuel Vadot		pinctrl-0 = <&divclk4_pin_a>;
328cc087a1SEmmanuel Vadot	};
338cc087a1SEmmanuel Vadot
34b97ee269SEmmanuel Vadot	gpio-keys {
358cc087a1SEmmanuel Vadot		compatible = "gpio-keys";
368cc087a1SEmmanuel Vadot
37b97ee269SEmmanuel Vadot		key-vol-up {
388cc087a1SEmmanuel Vadot			label = "Volume Up";
398cc087a1SEmmanuel Vadot			gpios = <&pm8994_gpios 2 GPIO_ACTIVE_LOW>;
408cc087a1SEmmanuel Vadot			linux,code = <KEY_VOLUMEUP>;
418cc087a1SEmmanuel Vadot			wakeup-source;
428cc087a1SEmmanuel Vadot			debounce-interval = <15>;
438cc087a1SEmmanuel Vadot		};
448cc087a1SEmmanuel Vadot
45b97ee269SEmmanuel Vadot		key-dome {
468cc087a1SEmmanuel Vadot			label = "Home";
478cc087a1SEmmanuel Vadot			gpios = <&tlmm 34 GPIO_ACTIVE_LOW>;
488cc087a1SEmmanuel Vadot			linux,code = <KEY_HOME>;
498cc087a1SEmmanuel Vadot			wakeup-source;
508cc087a1SEmmanuel Vadot			debounce-interval = <15>;
518cc087a1SEmmanuel Vadot		};
528cc087a1SEmmanuel Vadot	};
538cc087a1SEmmanuel Vadot
547ef62cebSEmmanuel Vadot	irled {
557ef62cebSEmmanuel Vadot		compatible = "pwm-ir-tx";
567ef62cebSEmmanuel Vadot		pwms = <&pm8994_lpg 1 1000000>;
577ef62cebSEmmanuel Vadot
587ef62cebSEmmanuel Vadot		pinctrl-names = "default";
597ef62cebSEmmanuel Vadot		pinctrl-0 = <&irled_default>;
607ef62cebSEmmanuel Vadot	};
617ef62cebSEmmanuel Vadot
628cc087a1SEmmanuel Vadot	reserved-memory {
638cc087a1SEmmanuel Vadot		memory@88800000 {
648cc087a1SEmmanuel Vadot			reg = <0x0 0x88800000 0x0 0x1400000>;
658cc087a1SEmmanuel Vadot			no-map;
668cc087a1SEmmanuel Vadot		};
678cc087a1SEmmanuel Vadot
688cc087a1SEmmanuel Vadot		/* This platform has all PIL regions offset by 0x1400000 */
698cc087a1SEmmanuel Vadot		/delete-node/ mpss@88800000;
70d5b0e70fSEmmanuel Vadot		mpss_mem: mpss@89c00000 {
718cc087a1SEmmanuel Vadot			reg = <0x0 0x89c00000 0x0 0x6200000>;
728cc087a1SEmmanuel Vadot			no-map;
738cc087a1SEmmanuel Vadot		};
748cc087a1SEmmanuel Vadot
758cc087a1SEmmanuel Vadot		/delete-node/ adsp@8ea00000;
76d5b0e70fSEmmanuel Vadot		adsp_mem: adsp@8fe00000 {
778cc087a1SEmmanuel Vadot			reg = <0x0 0x8fe00000 0x0 0x1b00000>;
788cc087a1SEmmanuel Vadot			no-map;
798cc087a1SEmmanuel Vadot		};
808cc087a1SEmmanuel Vadot
81d5b0e70fSEmmanuel Vadot		/delete-node/ slpi@90500000;
82d5b0e70fSEmmanuel Vadot		slpi_mem: slpi@91900000 {
838cc087a1SEmmanuel Vadot			reg = <0x0 0x91900000 0x0 0xa00000>;
848cc087a1SEmmanuel Vadot			no-map;
858cc087a1SEmmanuel Vadot		};
868cc087a1SEmmanuel Vadot
87d5b0e70fSEmmanuel Vadot		/delete-node/ gpu@90f00000;
88d5b0e70fSEmmanuel Vadot		gpu_mem: gpu@92300000 {
898cc087a1SEmmanuel Vadot			compatible = "shared-dma-pool";
908cc087a1SEmmanuel Vadot			reg = <0x0 0x92300000 0x0 0x2000>;
918cc087a1SEmmanuel Vadot			no-map;
928cc087a1SEmmanuel Vadot		};
938cc087a1SEmmanuel Vadot
948cc087a1SEmmanuel Vadot		/delete-node/ venus@91000000;
95d5b0e70fSEmmanuel Vadot		venus_mem: venus@92400000 {
968cc087a1SEmmanuel Vadot			reg = <0x0 0x92400000 0x0 0x500000>;
978cc087a1SEmmanuel Vadot			no-map;
988cc087a1SEmmanuel Vadot		};
998cc087a1SEmmanuel Vadot
1008cc087a1SEmmanuel Vadot		ramoops@92900000 {
1018cc087a1SEmmanuel Vadot			compatible = "ramoops";
1028cc087a1SEmmanuel Vadot			reg = <0x0 0x92900000 0x0 0x100000>;
1038cc087a1SEmmanuel Vadot			no-map;
1048cc087a1SEmmanuel Vadot
1058cc087a1SEmmanuel Vadot			record-size = <0x8000>;
1068cc087a1SEmmanuel Vadot			console-size = <0x80000>;
1078cc087a1SEmmanuel Vadot			ftrace-size = <0x20000>;
1088cc087a1SEmmanuel Vadot			pmsg-size = <0x40000>;
1098cc087a1SEmmanuel Vadot		};
1108cc087a1SEmmanuel Vadot
111d5b0e70fSEmmanuel Vadot		/delete-node/ rmtfs;
1128cc087a1SEmmanuel Vadot		rmtfs@f6c00000 {
1138cc087a1SEmmanuel Vadot			compatible = "qcom,rmtfs-mem";
1148cc087a1SEmmanuel Vadot			reg = <0 0xf6c00000 0 0x200000>;
1158cc087a1SEmmanuel Vadot			no-map;
1168cc087a1SEmmanuel Vadot
1178cc087a1SEmmanuel Vadot			qcom,client-id = <1>;
118*84943d6fSEmmanuel Vadot			qcom,vmid = <QCOM_SCM_VMID_MSS_MSA>;
1198cc087a1SEmmanuel Vadot		};
1208cc087a1SEmmanuel Vadot
1218cc087a1SEmmanuel Vadot		/delete-node/ mba@91500000;
122d5b0e70fSEmmanuel Vadot		mba_mem: mba@f6f00000 {
1238cc087a1SEmmanuel Vadot			reg = <0x0 0xf6f00000 0x0 0x100000>;
1248cc087a1SEmmanuel Vadot			no-map;
1258cc087a1SEmmanuel Vadot		};
1268cc087a1SEmmanuel Vadot	};
1278cc087a1SEmmanuel Vadot
1288cc087a1SEmmanuel Vadot	vph_pwr: vph-pwr-regulator {
1298cc087a1SEmmanuel Vadot		compatible = "regulator-fixed";
1308cc087a1SEmmanuel Vadot		regulator-name = "vph_pwr";
1318cc087a1SEmmanuel Vadot		regulator-min-microvolt = <3800000>;
1328cc087a1SEmmanuel Vadot		regulator-max-microvolt = <3800000>;
1338cc087a1SEmmanuel Vadot		regulator-always-on;
1348cc087a1SEmmanuel Vadot		regulator-boot-on;
1358cc087a1SEmmanuel Vadot	};
1368cc087a1SEmmanuel Vadot
1378cc087a1SEmmanuel Vadot	vdd_3v2_tp: vdd-3v2-tp {
1388cc087a1SEmmanuel Vadot		compatible = "regulator-fixed";
1398cc087a1SEmmanuel Vadot		regulator-name = "vdd_3v2_tp";
1408cc087a1SEmmanuel Vadot		regulator-min-microvolt = <3200000>;
1418cc087a1SEmmanuel Vadot		regulator-max-microvolt = <3200000>;
1428cc087a1SEmmanuel Vadot		startup-delay-us = <4000>;
1438cc087a1SEmmanuel Vadot		vin-supply = <&vph_pwr>;
1448cc087a1SEmmanuel Vadot
1458cc087a1SEmmanuel Vadot		gpio = <&tlmm 73 0>;
1468cc087a1SEmmanuel Vadot		enable-active-high;
1478cc087a1SEmmanuel Vadot	};
1488cc087a1SEmmanuel Vadot
1498cc087a1SEmmanuel Vadot	vdd_3v3: rome-vreg {
1508cc087a1SEmmanuel Vadot		compatible = "regulator-fixed";
1518cc087a1SEmmanuel Vadot		regulator-name = "vdd_3v3";
1528cc087a1SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
1538cc087a1SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
1548cc087a1SEmmanuel Vadot		startup-delay-us = <4000>;
1558cc087a1SEmmanuel Vadot		vin-supply = <&vph_pwr_bbyp>;
1568cc087a1SEmmanuel Vadot
1578cc087a1SEmmanuel Vadot		gpio = <&pm8994_gpios 9 0>;
1588cc087a1SEmmanuel Vadot		enable-active-high;
1598cc087a1SEmmanuel Vadot		pinctrl-names = "default";
1608cc087a1SEmmanuel Vadot		pinctrl-0 = <&rome_enable_default>;
1618cc087a1SEmmanuel Vadot
1628cc087a1SEmmanuel Vadot		/* Required by QCA6174a - vddpe-3v3 */
1638cc087a1SEmmanuel Vadot		regulator-always-on;
1648cc087a1SEmmanuel Vadot	};
1658cc087a1SEmmanuel Vadot
1668cc087a1SEmmanuel Vadot	/* WL_EN pin defined as a fixed regulator */
1678cc087a1SEmmanuel Vadot	wlan_en: wlan-en-1-8v {
1688cc087a1SEmmanuel Vadot		compatible = "regulator-fixed";
1698cc087a1SEmmanuel Vadot		regulator-name = "wlan-en-regulator";
1708cc087a1SEmmanuel Vadot		regulator-min-microvolt = <1800000>;
1718cc087a1SEmmanuel Vadot		regulator-max-microvolt = <1800000>;
1728cc087a1SEmmanuel Vadot
1738cc087a1SEmmanuel Vadot		gpio = <&pm8994_gpios 8 0>;
1748cc087a1SEmmanuel Vadot		/* WLAN card specific delay */
1758cc087a1SEmmanuel Vadot		startup-delay-us = <70000>;
1768cc087a1SEmmanuel Vadot		enable-active-high;
1778cc087a1SEmmanuel Vadot		pinctrl-names = "default";
1788cc087a1SEmmanuel Vadot		pinctrl-0 = <&wlan_en_default>;
1798cc087a1SEmmanuel Vadot	};
1808cc087a1SEmmanuel Vadot};
1818cc087a1SEmmanuel Vadot
1828cc087a1SEmmanuel Vadot&adsp_pil {
1838cc087a1SEmmanuel Vadot	status = "okay";
1848cc087a1SEmmanuel Vadot};
1858cc087a1SEmmanuel Vadot
1868cc087a1SEmmanuel Vadot&blsp2_i2c2 {
1878cc087a1SEmmanuel Vadot	status = "okay";
1888cc087a1SEmmanuel Vadot	clock-frequency = <400000>;
1898cc087a1SEmmanuel Vadot
190aa1a8ff2SEmmanuel Vadot	nfc: nfc@28 {
1918cc087a1SEmmanuel Vadot		compatible = "nxp,nxp-nci-i2c";
1928cc087a1SEmmanuel Vadot
1938cc087a1SEmmanuel Vadot		reg = <0x28>;
1948cc087a1SEmmanuel Vadot
1958cc087a1SEmmanuel Vadot		interrupt-parent = <&tlmm>;
1968cc087a1SEmmanuel Vadot		interrupts = <9 IRQ_TYPE_LEVEL_HIGH>;
1978cc087a1SEmmanuel Vadot
1988cc087a1SEmmanuel Vadot		enable-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
1998cc087a1SEmmanuel Vadot		firmware-gpios = <&tlmm 21 GPIO_ACTIVE_HIGH>;
2008cc087a1SEmmanuel Vadot
2018cc087a1SEmmanuel Vadot		pinctrl-names = "default";
2028cc087a1SEmmanuel Vadot		pinctrl-0 = <&nfc_default>;
2038cc087a1SEmmanuel Vadot	};
2048cc087a1SEmmanuel Vadot};
2058cc087a1SEmmanuel Vadot
2068cc087a1SEmmanuel Vadot&blsp2_i2c3 {
2078cc087a1SEmmanuel Vadot	status = "okay";
2088cc087a1SEmmanuel Vadot
209aa1a8ff2SEmmanuel Vadot	typec: typec@47 {
210e67e8565SEmmanuel Vadot		compatible = "ti,tusb320l";
2118cc087a1SEmmanuel Vadot		reg = <0x47>;
2128cc087a1SEmmanuel Vadot		interrupt-parent = <&tlmm>;
2138cc087a1SEmmanuel Vadot		interrupts = <63 IRQ_TYPE_EDGE_RISING>;
2148cc087a1SEmmanuel Vadot	};
2158cc087a1SEmmanuel Vadot};
2168cc087a1SEmmanuel Vadot
2178cc087a1SEmmanuel Vadot&blsp2_i2c6 {
2188cc087a1SEmmanuel Vadot	status = "okay";
219aa1a8ff2SEmmanuel Vadot	/* MSM_TS */
2208cc087a1SEmmanuel Vadot};
2218cc087a1SEmmanuel Vadot
2228cc087a1SEmmanuel Vadot&blsp1_uart2 {
2238cc087a1SEmmanuel Vadot	status = "okay";
2248cc087a1SEmmanuel Vadot	label = "QCA_UART";
2258cc087a1SEmmanuel Vadot
226cb7aa33aSEmmanuel Vadot	bluetooth: bluetooth {
2278cc087a1SEmmanuel Vadot		compatible = "qcom,qca6174-bt";
2288cc087a1SEmmanuel Vadot
2298cc087a1SEmmanuel Vadot		enable-gpios = <&pm8994_gpios 19 GPIO_ACTIVE_HIGH>;
2308cc087a1SEmmanuel Vadot		clocks = <&divclk4>;
2318cc087a1SEmmanuel Vadot	};
2328cc087a1SEmmanuel Vadot};
2338cc087a1SEmmanuel Vadot
234f126890aSEmmanuel Vadot&gpu {
235f126890aSEmmanuel Vadot	status = "okay";
236f126890aSEmmanuel Vadot};
237f126890aSEmmanuel Vadot
238f126890aSEmmanuel Vadot&mdss {
239f126890aSEmmanuel Vadot	status = "okay";
240f126890aSEmmanuel Vadot};
241f126890aSEmmanuel Vadot
242f126890aSEmmanuel Vadot&mdss_dsi0 {
2438cc087a1SEmmanuel Vadot	status = "okay";
2448cc087a1SEmmanuel Vadot
2458cc087a1SEmmanuel Vadot	vdd-supply = <&vreg_l2a_1p25>;
2468cc087a1SEmmanuel Vadot	vddio-supply = <&vreg_l14a_1p8>;
2478cc087a1SEmmanuel Vadot
2488cc087a1SEmmanuel Vadot	pinctrl-names = "default", "sleep";
2498cc087a1SEmmanuel Vadot	pinctrl-0 = <&mdss_dsi_default &mdss_te_default>;
2508cc087a1SEmmanuel Vadot	pinctrl-1 = <&mdss_dsi_sleep &mdss_te_sleep>;
2518cc087a1SEmmanuel Vadot};
2528cc087a1SEmmanuel Vadot
253f126890aSEmmanuel Vadot&mdss_dsi0_out {
2548cc087a1SEmmanuel Vadot	status = "okay";
2558cc087a1SEmmanuel Vadot
2568cc087a1SEmmanuel Vadot	data-lanes = <0 1 2 3>;
2578cc087a1SEmmanuel Vadot};
2588cc087a1SEmmanuel Vadot
259f126890aSEmmanuel Vadot&mdss_dsi0_phy {
2608cc087a1SEmmanuel Vadot	status = "okay";
2618cc087a1SEmmanuel Vadot
2628cc087a1SEmmanuel Vadot	vcca-supply = <&vreg_l28a_0p925>;
2638cc087a1SEmmanuel Vadot};
2648cc087a1SEmmanuel Vadot
2658cc087a1SEmmanuel Vadot&mmcc {
2668cc087a1SEmmanuel Vadot	vdd-gfx-supply = <&vdd_gfx>;
2678cc087a1SEmmanuel Vadot};
2688cc087a1SEmmanuel Vadot
269d5b0e70fSEmmanuel Vadot&mss_pil {
270d5b0e70fSEmmanuel Vadot	status = "okay";
271d5b0e70fSEmmanuel Vadot
272d5b0e70fSEmmanuel Vadot	pll-supply = <&vreg_l12a_1p8>;
273d5b0e70fSEmmanuel Vadot};
274d5b0e70fSEmmanuel Vadot
2758cc087a1SEmmanuel Vadot&pcie0 {
2768cc087a1SEmmanuel Vadot	status = "okay";
2778cc087a1SEmmanuel Vadot
2788cc087a1SEmmanuel Vadot	/* Supplied by vdd_3v3, but choose wlan_en to drive enable pin high */
2798cc087a1SEmmanuel Vadot	vddpe-3v3-supply = <&wlan_en>;
2808cc087a1SEmmanuel Vadot	vdda-supply = <&vreg_l28a_0p925>;
2818cc087a1SEmmanuel Vadot
2828cc087a1SEmmanuel Vadot	perst-gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
2838cc087a1SEmmanuel Vadot	wake-gpios = <&tlmm 37 GPIO_ACTIVE_HIGH>;
2848cc087a1SEmmanuel Vadot};
2858cc087a1SEmmanuel Vadot
2868cc087a1SEmmanuel Vadot&pcie_phy {
2878cc087a1SEmmanuel Vadot	status = "okay";
2888cc087a1SEmmanuel Vadot
2898cc087a1SEmmanuel Vadot	vdda-phy-supply = <&vreg_l28a_0p925>;
2908cc087a1SEmmanuel Vadot	vdda-pll-supply = <&vreg_l12a_1p8>;
2918cc087a1SEmmanuel Vadot};
2928cc087a1SEmmanuel Vadot
2938cc087a1SEmmanuel Vadot&pm8994_resin {
2948cc087a1SEmmanuel Vadot	status = "okay";
2958cc087a1SEmmanuel Vadot
2968cc087a1SEmmanuel Vadot	linux,code = <KEY_VOLUMEDOWN>;
2978cc087a1SEmmanuel Vadot};
2988cc087a1SEmmanuel Vadot
2997ef62cebSEmmanuel Vadot&pm8994_lpg {
3007ef62cebSEmmanuel Vadot	status = "okay";
3017ef62cebSEmmanuel Vadot
3027ef62cebSEmmanuel Vadot	qcom,power-source = <1>;
3037ef62cebSEmmanuel Vadot};
3047ef62cebSEmmanuel Vadot
3057ef62cebSEmmanuel Vadot&pmi8994_lpg {
3067ef62cebSEmmanuel Vadot	status = "okay";
3077ef62cebSEmmanuel Vadot
3087ef62cebSEmmanuel Vadot	qcom,power-source = <1>;
3097ef62cebSEmmanuel Vadot
3107ef62cebSEmmanuel Vadot	multi-led {
3117ef62cebSEmmanuel Vadot		color = <LED_COLOR_ID_RGB>;
3127ef62cebSEmmanuel Vadot		function = LED_FUNCTION_STATUS;
3137ef62cebSEmmanuel Vadot
3147ef62cebSEmmanuel Vadot		#address-cells = <1>;
3157ef62cebSEmmanuel Vadot		#size-cells = <0>;
3167ef62cebSEmmanuel Vadot
3177ef62cebSEmmanuel Vadot		led@1 {
3187ef62cebSEmmanuel Vadot			reg = <1>;
3197ef62cebSEmmanuel Vadot			color = <LED_COLOR_ID_BLUE>;
3207ef62cebSEmmanuel Vadot		};
3217ef62cebSEmmanuel Vadot
3227ef62cebSEmmanuel Vadot		led@2 {
3237ef62cebSEmmanuel Vadot			reg = <2>;
3247ef62cebSEmmanuel Vadot			color = <LED_COLOR_ID_GREEN>;
3257ef62cebSEmmanuel Vadot		};
3267ef62cebSEmmanuel Vadot
3277ef62cebSEmmanuel Vadot		led@3 {
3287ef62cebSEmmanuel Vadot			reg = <3>;
3297ef62cebSEmmanuel Vadot			color = <LED_COLOR_ID_RED>;
3307ef62cebSEmmanuel Vadot		};
3317ef62cebSEmmanuel Vadot	};
3327ef62cebSEmmanuel Vadot};
3337ef62cebSEmmanuel Vadot
334fac71e4eSEmmanuel Vadot&slim_msm {
335fac71e4eSEmmanuel Vadot	status = "okay";
336fac71e4eSEmmanuel Vadot
337fac71e4eSEmmanuel Vadot	slim@1 {
338fac71e4eSEmmanuel Vadot		reg = <1>;
339fac71e4eSEmmanuel Vadot		#address-cells = <2>;
340fac71e4eSEmmanuel Vadot		#size-cells = <0>;
341fac71e4eSEmmanuel Vadot
342fac71e4eSEmmanuel Vadot		tasha_ifd: tas-ifd@0,0 {
343fac71e4eSEmmanuel Vadot			compatible = "slim217,1a0";
344fac71e4eSEmmanuel Vadot			reg = <0 0>;
345fac71e4eSEmmanuel Vadot		};
346fac71e4eSEmmanuel Vadot
347fac71e4eSEmmanuel Vadot		wcd9335: codec@1,0 {
348fac71e4eSEmmanuel Vadot			compatible = "slim217,1a0";
349fac71e4eSEmmanuel Vadot			reg = <1 0>;
350fac71e4eSEmmanuel Vadot
351fac71e4eSEmmanuel Vadot			clock-names = "mclk", "slimbus";
352fac71e4eSEmmanuel Vadot			clocks = <&divclk1_cdc>,
353fac71e4eSEmmanuel Vadot				 <&rpmcc RPM_SMD_BB_CLK1>;
354fac71e4eSEmmanuel Vadot			interrupt-parent = <&tlmm>;
355fac71e4eSEmmanuel Vadot			interrupts = <54 IRQ_TYPE_LEVEL_HIGH>,
356fac71e4eSEmmanuel Vadot				     <53 IRQ_TYPE_LEVEL_HIGH>;
357fac71e4eSEmmanuel Vadot			interrupt-names = "intr1", "intr2";
358fac71e4eSEmmanuel Vadot			interrupt-controller;
359fac71e4eSEmmanuel Vadot			#interrupt-cells = <1>;
360fac71e4eSEmmanuel Vadot
361fac71e4eSEmmanuel Vadot			pinctrl-0 = <&cdc_reset_active &wcd_intr_default>;
362fac71e4eSEmmanuel Vadot			pinctrl-names = "default";
363fac71e4eSEmmanuel Vadot
364fac71e4eSEmmanuel Vadot			reset-gpios = <&tlmm 64 GPIO_ACTIVE_LOW>;
365fac71e4eSEmmanuel Vadot			slim-ifc-dev = <&tasha_ifd>;
366fac71e4eSEmmanuel Vadot
367fac71e4eSEmmanuel Vadot			#sound-dai-cells = <1>;
368fac71e4eSEmmanuel Vadot
369fac71e4eSEmmanuel Vadot			vdd-buck-supply = <&vreg_s4a_1p8>;
370fac71e4eSEmmanuel Vadot			vdd-buck-sido-supply = <&vreg_s4a_1p8>;
371fac71e4eSEmmanuel Vadot			vdd-rx-supply = <&vreg_s4a_1p8>;
372fac71e4eSEmmanuel Vadot			vdd-tx-supply = <&vreg_s4a_1p8>;
373fac71e4eSEmmanuel Vadot			vdd-vbat-supply = <&vph_pwr>;
374fac71e4eSEmmanuel Vadot			vdd-micbias-supply = <&vph_pwr_bbyp>;
375fac71e4eSEmmanuel Vadot			vdd-io-supply = <&vreg_s4a_1p8>;
376fac71e4eSEmmanuel Vadot		};
377fac71e4eSEmmanuel Vadot	};
378fac71e4eSEmmanuel Vadot};
379fac71e4eSEmmanuel Vadot
380d5b0e70fSEmmanuel Vadot&slpi_pil {
381d5b0e70fSEmmanuel Vadot	status = "okay";
382d5b0e70fSEmmanuel Vadot
383d5b0e70fSEmmanuel Vadot	px-supply = <&vreg_lvs2a_1p8>;
384d5b0e70fSEmmanuel Vadot};
385d5b0e70fSEmmanuel Vadot
3868cc087a1SEmmanuel Vadot&usb3 {
3878cc087a1SEmmanuel Vadot	status = "okay";
3888cc087a1SEmmanuel Vadot	extcon = <&typec>;
3898cc087a1SEmmanuel Vadot
3908cc087a1SEmmanuel Vadot	qcom,select-utmi-as-pipe-clk;
391d5b0e70fSEmmanuel Vadot};
3928cc087a1SEmmanuel Vadot
393d5b0e70fSEmmanuel Vadot&usb3_dwc3 {
3948cc087a1SEmmanuel Vadot	extcon = <&typec>;
3958cc087a1SEmmanuel Vadot
3968cc087a1SEmmanuel Vadot	/* usb3-phy is not used on this device */
3978cc087a1SEmmanuel Vadot	phys = <&hsusb_phy1>;
3988cc087a1SEmmanuel Vadot	phy-names = "usb2-phy";
3998cc087a1SEmmanuel Vadot
4008cc087a1SEmmanuel Vadot	maximum-speed = "high-speed";
4018cc087a1SEmmanuel Vadot	snps,is-utmi-l1-suspend;
4028cc087a1SEmmanuel Vadot	snps,usb2-gadget-lpm-disable;
4038cc087a1SEmmanuel Vadot	snps,hird-threshold = /bits/ 8 <0>;
4048cc087a1SEmmanuel Vadot};
4058cc087a1SEmmanuel Vadot
4068cc087a1SEmmanuel Vadot&hsusb_phy1 {
4078cc087a1SEmmanuel Vadot	status = "okay";
4088cc087a1SEmmanuel Vadot	extcon = <&typec>;
4098cc087a1SEmmanuel Vadot
4108cc087a1SEmmanuel Vadot	vdda-pll-supply = <&vreg_l12a_1p8>;
4118cc087a1SEmmanuel Vadot	vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
4128cc087a1SEmmanuel Vadot};
4138cc087a1SEmmanuel Vadot
4148cc087a1SEmmanuel Vadot&ufshc {
4158cc087a1SEmmanuel Vadot	status = "okay";
4168cc087a1SEmmanuel Vadot
4178cc087a1SEmmanuel Vadot	vcc-supply = <&vreg_l20a_2p95>;
4188cc087a1SEmmanuel Vadot	vccq-supply = <&vreg_l25a_1p2>;
4198cc087a1SEmmanuel Vadot	vccq2-supply = <&vreg_s4a_1p8>;
420*84943d6fSEmmanuel Vadot	vdd-hba-supply = <&vreg_l25a_1p2>;
4218cc087a1SEmmanuel Vadot
4228cc087a1SEmmanuel Vadot	vcc-max-microamp = <600000>;
4238cc087a1SEmmanuel Vadot	vccq-max-microamp = <450000>;
4248cc087a1SEmmanuel Vadot	vccq2-max-microamp = <450000>;
4258cc087a1SEmmanuel Vadot};
4268cc087a1SEmmanuel Vadot
4278cc087a1SEmmanuel Vadot&ufsphy {
4288cc087a1SEmmanuel Vadot	status = "okay";
4298cc087a1SEmmanuel Vadot
4308cc087a1SEmmanuel Vadot	vdda-phy-supply = <&vreg_l28a_0p925>;
4318cc087a1SEmmanuel Vadot	vdda-pll-supply = <&vreg_l12a_1p8>;
4328cc087a1SEmmanuel Vadot};
4338cc087a1SEmmanuel Vadot
4348cc087a1SEmmanuel Vadot&venus {
4358cc087a1SEmmanuel Vadot	status = "okay";
4368cc087a1SEmmanuel Vadot};
4378cc087a1SEmmanuel Vadot
4388cc087a1SEmmanuel Vadot&rpm_requests {
4398bab661aSEmmanuel Vadot	regulators-0 {
4408cc087a1SEmmanuel Vadot		compatible = "qcom,rpm-pm8994-regulators";
4418cc087a1SEmmanuel Vadot
4428cc087a1SEmmanuel Vadot		vdd_s1-supply = <&vph_pwr>;
4438cc087a1SEmmanuel Vadot		vdd_s2-supply = <&vph_pwr>;
4448cc087a1SEmmanuel Vadot		vdd_s3-supply = <&vph_pwr>;
4458cc087a1SEmmanuel Vadot		vdd_s4-supply = <&vph_pwr>;
4468cc087a1SEmmanuel Vadot		vdd_s5-supply = <&vph_pwr>;
4478cc087a1SEmmanuel Vadot		vdd_s6-supply = <&vph_pwr>;
4488cc087a1SEmmanuel Vadot		vdd_s7-supply = <&vph_pwr>;
4498cc087a1SEmmanuel Vadot		vdd_s8-supply = <&vph_pwr>;
4508cc087a1SEmmanuel Vadot		vdd_s9-supply = <&vph_pwr>;
4518cc087a1SEmmanuel Vadot		vdd_s10-supply = <&vph_pwr>;
4528cc087a1SEmmanuel Vadot		vdd_s11-supply = <&vph_pwr>;
4538cc087a1SEmmanuel Vadot		vdd_s12-supply = <&vph_pwr>;
4548cc087a1SEmmanuel Vadot		vdd_l1-supply = <&vreg_s1b_1p025>;
4558cc087a1SEmmanuel Vadot		vdd_l2_l26_l28-supply = <&vreg_s3a_1p3>;
4568cc087a1SEmmanuel Vadot		vdd_l3_l11-supply = <&vreg_s3a_1p3>;
4578cc087a1SEmmanuel Vadot		vdd_l4_l27_l31-supply = <&vreg_s3a_1p3>;
4588cc087a1SEmmanuel Vadot		vdd_l5_l7-supply = <&vreg_s5a_2p15>;
4598cc087a1SEmmanuel Vadot		vdd_l6_l12_l32-supply = <&vreg_s5a_2p15>;
4608cc087a1SEmmanuel Vadot		vdd_l8_l16_l30-supply = <&vph_pwr>;
4618cc087a1SEmmanuel Vadot		vdd_l9_l10_l18_l22-supply = <&vph_pwr_bbyp>;
4628cc087a1SEmmanuel Vadot		vdd_l13_l19_l23_l24-supply = <&vph_pwr_bbyp>;
4638cc087a1SEmmanuel Vadot		vdd_l14_l15-supply = <&vreg_s5a_2p15>;
4648cc087a1SEmmanuel Vadot		vdd_l17_l29-supply = <&vph_pwr_bbyp>;
4658cc087a1SEmmanuel Vadot		vdd_l20_l21-supply = <&vph_pwr_bbyp>;
4668cc087a1SEmmanuel Vadot		vdd_l25-supply = <&vreg_s3a_1p3>;
4678cc087a1SEmmanuel Vadot		vdd_lvs1_2-supply = <&vreg_s4a_1p8>;
4688cc087a1SEmmanuel Vadot
4698cc087a1SEmmanuel Vadot		vreg_s3a_1p3: s3 {
4708cc087a1SEmmanuel Vadot			regulator-name = "vreg_s3a_1p3";
4718cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1300000>;
4728cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1300000>;
4738cc087a1SEmmanuel Vadot
4748cc087a1SEmmanuel Vadot			/* Required by QCA6174a - vdd-core */
4758cc087a1SEmmanuel Vadot			regulator-always-on;
4768cc087a1SEmmanuel Vadot		};
4778cc087a1SEmmanuel Vadot		vreg_s4a_1p8: s4 {
4788cc087a1SEmmanuel Vadot			regulator-name = "vreg_s4a_1p8";
4798cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
4808cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
4818cc087a1SEmmanuel Vadot			regulator-allow-set-load;
4828cc087a1SEmmanuel Vadot
4838cc087a1SEmmanuel Vadot			/* Required by QCA6174a - vddio */
4848cc087a1SEmmanuel Vadot			regulator-always-on;
4858cc087a1SEmmanuel Vadot		};
4868cc087a1SEmmanuel Vadot		vreg_s5a_2p15: s5 {
4878cc087a1SEmmanuel Vadot			regulator-name = "vreg_s5a_2p15";
4888cc087a1SEmmanuel Vadot			regulator-min-microvolt = <2150000>;
4898cc087a1SEmmanuel Vadot			regulator-max-microvolt = <2150000>;
4908cc087a1SEmmanuel Vadot		};
4918cc087a1SEmmanuel Vadot		vreg_s7a_0p8: s7 {
4928cc087a1SEmmanuel Vadot			regulator-name = "vreg_s7a_0p8";
4938cc087a1SEmmanuel Vadot			regulator-min-microvolt = <800000>;
4948cc087a1SEmmanuel Vadot			regulator-max-microvolt = <800000>;
4958cc087a1SEmmanuel Vadot		};
4968cc087a1SEmmanuel Vadot		vreg_l1a_1p0: l1 {
4978cc087a1SEmmanuel Vadot			regulator-name = "vreg_l1a_1p0";
4988cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1000000>;
4998cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1000000>;
5008cc087a1SEmmanuel Vadot		};
5018cc087a1SEmmanuel Vadot		vreg_l2a_1p25: l2 {
5028cc087a1SEmmanuel Vadot			regulator-name = "vreg_l2a_1p25";
5038cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1250000>;
5048cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1250000>;
5058cc087a1SEmmanuel Vadot		};
5068cc087a1SEmmanuel Vadot		vreg_l4a_1p225: l4 {
5078cc087a1SEmmanuel Vadot			regulator-name = "vreg_l4a_1p225";
5088cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1225000>;
5098cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1225000>;
5108cc087a1SEmmanuel Vadot		};
5118cc087a1SEmmanuel Vadot		vreg_l6a_1p8: l6 {
5128cc087a1SEmmanuel Vadot			regulator-name = "vreg_l6a_1p8";
5138cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
5148cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
5158cc087a1SEmmanuel Vadot		};
5168cc087a1SEmmanuel Vadot		vreg_l8a_1p8: l8 {
5178cc087a1SEmmanuel Vadot			regulator-name = "vreg_l8a_1p8";
5188cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
5198cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
5208cc087a1SEmmanuel Vadot		};
5218cc087a1SEmmanuel Vadot		vreg_l9a_1p8: l9 {
5228cc087a1SEmmanuel Vadot			regulator-name = "vreg_l9a_1p8";
5238cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
5248cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
5258cc087a1SEmmanuel Vadot		};
5268cc087a1SEmmanuel Vadot		vreg_l10a_1p8: l10 {
5278cc087a1SEmmanuel Vadot			regulator-name = "vreg_l10a_1p8";
5288cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
5298cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
5308cc087a1SEmmanuel Vadot		};
5318cc087a1SEmmanuel Vadot		vreg_l12a_1p8: l12 {
5328cc087a1SEmmanuel Vadot			regulator-name = "vreg_l12a_1p8";
5338cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
5348cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
5358cc087a1SEmmanuel Vadot			regulator-allow-set-load;
5368cc087a1SEmmanuel Vadot		};
5378cc087a1SEmmanuel Vadot		vreg_l13a_2p95: l13 {
5388cc087a1SEmmanuel Vadot			regulator-name = "vreg_l13a_2p95";
5398cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
5408cc087a1SEmmanuel Vadot			regulator-max-microvolt = <2950000>;
5418cc087a1SEmmanuel Vadot		};
5428cc087a1SEmmanuel Vadot		vreg_l14a_1p8: l14 {
5438cc087a1SEmmanuel Vadot			regulator-name = "vreg_l14a_1p8";
5448cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
5458cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
5468cc087a1SEmmanuel Vadot		};
5478cc087a1SEmmanuel Vadot		vreg_l15a_1p8: l15 {
5488cc087a1SEmmanuel Vadot			regulator-name = "vreg_l15a_1p8";
5498cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
5508cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
5518cc087a1SEmmanuel Vadot		};
5528cc087a1SEmmanuel Vadot		vreg_l16a_2p7: l16 {
5538cc087a1SEmmanuel Vadot			regulator-name = "vreg_l16a_2p7";
5548cc087a1SEmmanuel Vadot			regulator-min-microvolt = <2700000>;
5558cc087a1SEmmanuel Vadot			regulator-max-microvolt = <2700000>;
5568cc087a1SEmmanuel Vadot		};
5578cc087a1SEmmanuel Vadot		vreg_l19a_3p3: l19 {
5588cc087a1SEmmanuel Vadot			regulator-name = "vreg_l19a_3p3";
5598cc087a1SEmmanuel Vadot			regulator-min-microvolt = <3000000>;
5608cc087a1SEmmanuel Vadot			regulator-max-microvolt = <3000000>;
5618cc087a1SEmmanuel Vadot		};
5628cc087a1SEmmanuel Vadot		vreg_l20a_2p95: l20 {
5638cc087a1SEmmanuel Vadot			regulator-name = "vreg_l20a_2p95";
5648cc087a1SEmmanuel Vadot			regulator-min-microvolt = <2950000>;
5658cc087a1SEmmanuel Vadot			regulator-max-microvolt = <2950000>;
5668cc087a1SEmmanuel Vadot			regulator-allow-set-load;
5678cc087a1SEmmanuel Vadot		};
5688cc087a1SEmmanuel Vadot		vreg_l21a_2p95: l21 {
5698cc087a1SEmmanuel Vadot			regulator-name = "vreg_l21a_2p95";
5708cc087a1SEmmanuel Vadot			regulator-min-microvolt = <3300000>;
5718cc087a1SEmmanuel Vadot			regulator-max-microvolt = <3300000>;
5728cc087a1SEmmanuel Vadot			regulator-always-on;
5738cc087a1SEmmanuel Vadot		};
5748cc087a1SEmmanuel Vadot		vreg_l23a_2p8: l23 {
5758cc087a1SEmmanuel Vadot			regulator-name = "vreg_l23a_2p8";
5768cc087a1SEmmanuel Vadot			regulator-min-microvolt = <2800000>;
5778cc087a1SEmmanuel Vadot			regulator-max-microvolt = <2800000>;
5788cc087a1SEmmanuel Vadot		};
5798cc087a1SEmmanuel Vadot		vreg_l24a_3p075: l24 {
5808cc087a1SEmmanuel Vadot			regulator-name = "vreg_l24a_3p075";
5818cc087a1SEmmanuel Vadot			regulator-min-microvolt = <3075000>;
5828cc087a1SEmmanuel Vadot			regulator-max-microvolt = <3075000>;
5838cc087a1SEmmanuel Vadot		};
5848cc087a1SEmmanuel Vadot		vreg_l25a_1p2: l25 {
5858cc087a1SEmmanuel Vadot			regulator-name = "vreg_l25a_1p2";
5868cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
5878cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1200000>;
5888cc087a1SEmmanuel Vadot			regulator-allow-set-load;
5898cc087a1SEmmanuel Vadot		};
5908cc087a1SEmmanuel Vadot		vreg_l27a_1p2: l27 {
5918cc087a1SEmmanuel Vadot			regulator-name = "vreg_l27a_1p2";
5928cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
5938cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1200000>;
5948cc087a1SEmmanuel Vadot		};
5958cc087a1SEmmanuel Vadot		vreg_l28a_0p925: l28 {
5968cc087a1SEmmanuel Vadot			regulator-name = "vreg_l28a_0p925";
5978cc087a1SEmmanuel Vadot			regulator-min-microvolt = <925000>;
5988cc087a1SEmmanuel Vadot			regulator-max-microvolt = <925000>;
5998cc087a1SEmmanuel Vadot			regulator-allow-set-load;
6008cc087a1SEmmanuel Vadot		};
6018cc087a1SEmmanuel Vadot		vreg_l30a_1p8: l30 {
6028cc087a1SEmmanuel Vadot			regulator-name = "vreg_l30a_1p8";
6038cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
6048cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
6058cc087a1SEmmanuel Vadot
6068cc087a1SEmmanuel Vadot			/* Required by QCA6174a - vddio-xtal */
6078cc087a1SEmmanuel Vadot			regulator-always-on;
6088cc087a1SEmmanuel Vadot		};
6098cc087a1SEmmanuel Vadot		vreg_l32a_1p8: l32 {
6108cc087a1SEmmanuel Vadot			regulator-name = "vreg_l32a_1p8";
6118cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
6128cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
6138cc087a1SEmmanuel Vadot		};
6148cc087a1SEmmanuel Vadot		vreg_lvs1a_1p8: lvs1 {
6158cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
6168cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
6178cc087a1SEmmanuel Vadot		};
6188cc087a1SEmmanuel Vadot		vreg_lvs2a_1p8: lvs2 {
6198cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
6208cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
6218cc087a1SEmmanuel Vadot		};
6228cc087a1SEmmanuel Vadot	};
6238cc087a1SEmmanuel Vadot
6248bab661aSEmmanuel Vadot	regulators-1 {
6258cc087a1SEmmanuel Vadot		compatible = "qcom,rpm-pmi8994-regulators";
6268cc087a1SEmmanuel Vadot
6278cc087a1SEmmanuel Vadot		vdd_s1-supply = <&vph_pwr>;
6288cc087a1SEmmanuel Vadot		vdd_s2-supply = <&vph_pwr>;
6298cc087a1SEmmanuel Vadot		vdd_s3-supply = <&vph_pwr>;
6308cc087a1SEmmanuel Vadot		vdd_bst_byp-supply = <&vph_pwr>;
6318cc087a1SEmmanuel Vadot
6328cc087a1SEmmanuel Vadot		vreg_s1b_1p025: s1 {
6338cc087a1SEmmanuel Vadot			regulator-name = "vreg_s1b_1p025";
6348cc087a1SEmmanuel Vadot			regulator-min-microvolt = <1025000>;
6358cc087a1SEmmanuel Vadot			regulator-max-microvolt = <1025000>;
6368cc087a1SEmmanuel Vadot		};
6378cc087a1SEmmanuel Vadot
6388cc087a1SEmmanuel Vadot		vph_pwr_bbyp: boost-bypass {
6398cc087a1SEmmanuel Vadot			regulator-name = "vph_pwr_bbyp";
6408cc087a1SEmmanuel Vadot			regulator-min-microvolt = <3150000>;
6418cc087a1SEmmanuel Vadot			regulator-max-microvolt = <3600000>;
6428cc087a1SEmmanuel Vadot		};
6438cc087a1SEmmanuel Vadot	};
6448cc087a1SEmmanuel Vadot};
6458cc087a1SEmmanuel Vadot
6468cc087a1SEmmanuel Vadot&pm8994_spmi_regulators {
6478cc087a1SEmmanuel Vadot	qcom,saw-reg = <&saw3>;
6488cc087a1SEmmanuel Vadot	s8 {
6498cc087a1SEmmanuel Vadot		qcom,saw-slave;
6508cc087a1SEmmanuel Vadot	};
6518cc087a1SEmmanuel Vadot	s9 {
6528cc087a1SEmmanuel Vadot		qcom,saw-slave;
6538cc087a1SEmmanuel Vadot	};
6548cc087a1SEmmanuel Vadot	s10 {
6558cc087a1SEmmanuel Vadot		qcom,saw-slave;
6568cc087a1SEmmanuel Vadot	};
6578cc087a1SEmmanuel Vadot	vreg_apc_0p8: s11 {
6588cc087a1SEmmanuel Vadot		qcom,saw-leader;
6598cc087a1SEmmanuel Vadot		regulator-name = "vreg_apc_0p8";
6608cc087a1SEmmanuel Vadot		regulator-min-microvolt = <470000>;
6618cc087a1SEmmanuel Vadot		regulator-max-microvolt = <1140000>;
6628cc087a1SEmmanuel Vadot		regulator-max-step-microvolt = <150000>;
6638cc087a1SEmmanuel Vadot		regulator-always-on;
6648cc087a1SEmmanuel Vadot	};
6658cc087a1SEmmanuel Vadot};
6668cc087a1SEmmanuel Vadot
6678cc087a1SEmmanuel Vadot&pmi8994_spmi_regulators {
6688cc087a1SEmmanuel Vadot	vdd_gfx: s2 {
6698cc087a1SEmmanuel Vadot		regulator-name = "vdd_gfx";
6708cc087a1SEmmanuel Vadot		regulator-min-microvolt = <400000>;
6718cc087a1SEmmanuel Vadot		regulator-max-microvolt = <1015000>;
6728cc087a1SEmmanuel Vadot		regulator-enable-ramp-delay = <500>;
6738cc087a1SEmmanuel Vadot	};
6748cc087a1SEmmanuel Vadot};
6758cc087a1SEmmanuel Vadot
6768cc087a1SEmmanuel Vadot&pm8994_gpios {
6777ef62cebSEmmanuel Vadot	irled_default: irled-default-state {
6787ef62cebSEmmanuel Vadot		pins = "gpio5";
6797ef62cebSEmmanuel Vadot		function = PMIC_GPIO_FUNC_FUNC1;
6807ef62cebSEmmanuel Vadot		output-low;
6817ef62cebSEmmanuel Vadot		qcom,drive-strength = <PMIC_GPIO_STRENGTH_HIGH>;
6827ef62cebSEmmanuel Vadot		power-source = <PM8994_GPIO_S4>;
6837ef62cebSEmmanuel Vadot		bias-disable;
6847ef62cebSEmmanuel Vadot	};
6857ef62cebSEmmanuel Vadot
686b97ee269SEmmanuel Vadot	wlan_en_default: wlan-en-state {
6878cc087a1SEmmanuel Vadot		pins = "gpio8";
6888cc087a1SEmmanuel Vadot		function = PMIC_GPIO_FUNC_NORMAL;
6898cc087a1SEmmanuel Vadot		output-low;
6908cc087a1SEmmanuel Vadot		qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
6918cc087a1SEmmanuel Vadot		power-source = <PM8994_GPIO_S4>;
6928cc087a1SEmmanuel Vadot		bias-disable;
6938cc087a1SEmmanuel Vadot	};
6948cc087a1SEmmanuel Vadot
695b97ee269SEmmanuel Vadot	rome_enable_default: rome-enable-state {
6968cc087a1SEmmanuel Vadot		pins = "gpio9";
6978cc087a1SEmmanuel Vadot		function = PMIC_GPIO_FUNC_NORMAL;
6988cc087a1SEmmanuel Vadot		output-high;
6998cc087a1SEmmanuel Vadot		qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
7008cc087a1SEmmanuel Vadot		power-source = <PM8994_GPIO_VPH>;
7018cc087a1SEmmanuel Vadot	};
7028cc087a1SEmmanuel Vadot
703b97ee269SEmmanuel Vadot	divclk1_default: divclk1-state {
7048cc087a1SEmmanuel Vadot		pins = "gpio15";
7058cc087a1SEmmanuel Vadot		function = PMIC_GPIO_FUNC_FUNC1;
7068cc087a1SEmmanuel Vadot		bias-disable;
7078cc087a1SEmmanuel Vadot		power-source = <PM8994_GPIO_S4>;
7088cc087a1SEmmanuel Vadot		qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
7098cc087a1SEmmanuel Vadot	};
7108cc087a1SEmmanuel Vadot
711b97ee269SEmmanuel Vadot	divclk4_pin_a: divclk4-state {
7128cc087a1SEmmanuel Vadot		pins = "gpio18";
7138cc087a1SEmmanuel Vadot		function = PMIC_GPIO_FUNC_FUNC2;
7148cc087a1SEmmanuel Vadot		bias-disable;
7158cc087a1SEmmanuel Vadot		power-source = <PM8994_GPIO_S4>;
7168cc087a1SEmmanuel Vadot	};
7178cc087a1SEmmanuel Vadot};
7188cc087a1SEmmanuel Vadot
7198cc087a1SEmmanuel Vadot&tlmm {
7208bab661aSEmmanuel Vadot	mdss_dsi_default: mdss-dsi-default-state {
7218cc087a1SEmmanuel Vadot		pins = "gpio8";
7228cc087a1SEmmanuel Vadot		function = "gpio";
7238cc087a1SEmmanuel Vadot		drive-strength = <8>;
7248cc087a1SEmmanuel Vadot		bias-disable;
7258cc087a1SEmmanuel Vadot	};
7268cc087a1SEmmanuel Vadot
7278bab661aSEmmanuel Vadot	mdss_dsi_sleep: mdss-dsi-sleep-state {
7288cc087a1SEmmanuel Vadot		pins = "gpio8";
7298cc087a1SEmmanuel Vadot		function = "gpio";
7308cc087a1SEmmanuel Vadot		drive-strength = <2>;
7318cc087a1SEmmanuel Vadot		bias-pull-down;
7328cc087a1SEmmanuel Vadot	};
7338cc087a1SEmmanuel Vadot
7348bab661aSEmmanuel Vadot	mdss_te_default: mdss-te-default-state {
7358cc087a1SEmmanuel Vadot		pins = "gpio10";
7368cc087a1SEmmanuel Vadot		function = "mdp_vsync";
7378cc087a1SEmmanuel Vadot		drive-strength = <2>;
7388cc087a1SEmmanuel Vadot		bias-pull-down;
7398cc087a1SEmmanuel Vadot	};
7408cc087a1SEmmanuel Vadot
7418bab661aSEmmanuel Vadot	mdss_te_sleep: mdss-te-sleep-state {
7428cc087a1SEmmanuel Vadot		pins = "gpio10";
7438cc087a1SEmmanuel Vadot		function = "mdp_vsync";
7448cc087a1SEmmanuel Vadot		drive-strength = <2>;
7458cc087a1SEmmanuel Vadot		bias-pull-down;
7468cc087a1SEmmanuel Vadot	};
7478cc087a1SEmmanuel Vadot
7488bab661aSEmmanuel Vadot	nfc_default: nfc-default-state {
7498cc087a1SEmmanuel Vadot		pins = "gpio12", "gpio21";
7508cc087a1SEmmanuel Vadot		function = "gpio";
7518cc087a1SEmmanuel Vadot		drive-strength = <16>;
7528cc087a1SEmmanuel Vadot		bias-pull-up;
7538cc087a1SEmmanuel Vadot	};
7548cc087a1SEmmanuel Vadot};
755