xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/msm8996-oneplus-common.dtsi (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
18bab661aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
28bab661aSEmmanuel Vadot/*
38bab661aSEmmanuel Vadot * Copyright (c) 2022, Harry Austen <hpausten@protonmail.com>
48bab661aSEmmanuel Vadot */
58bab661aSEmmanuel Vadot
68bab661aSEmmanuel Vadot#include "msm8996.dtsi"
78bab661aSEmmanuel Vadot#include "pm8994.dtsi"
88bab661aSEmmanuel Vadot#include "pmi8994.dtsi"
98bab661aSEmmanuel Vadot#include "pmi8996.dtsi"
108bab661aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
118bab661aSEmmanuel Vadot#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
128bab661aSEmmanuel Vadot#include <dt-bindings/sound/qcom,q6afe.h>
138bab661aSEmmanuel Vadot#include <dt-bindings/sound/qcom,q6asm.h>
148bab661aSEmmanuel Vadot#include <dt-bindings/sound/qcom,wcd9335.h>
158bab661aSEmmanuel Vadot
168bab661aSEmmanuel Vadot/ {
178bab661aSEmmanuel Vadot	aliases {
188bab661aSEmmanuel Vadot		serial0 = &blsp1_uart2;
198bab661aSEmmanuel Vadot		serial1 = &blsp2_uart2;
208bab661aSEmmanuel Vadot	};
218bab661aSEmmanuel Vadot
228bab661aSEmmanuel Vadot	battery: battery {
238bab661aSEmmanuel Vadot		compatible = "simple-battery";
248bab661aSEmmanuel Vadot
258bab661aSEmmanuel Vadot		constant-charge-current-max-microamp = <3000000>;
268bab661aSEmmanuel Vadot		voltage-min-design-microvolt = <3400000>;
278bab661aSEmmanuel Vadot	};
288bab661aSEmmanuel Vadot
298bab661aSEmmanuel Vadot	chosen {
308bab661aSEmmanuel Vadot		stdout-path = "serial1:115200n8";
318bab661aSEmmanuel Vadot	};
328bab661aSEmmanuel Vadot
338bab661aSEmmanuel Vadot	clocks {
348bab661aSEmmanuel Vadot		div1_mclk: div1-clk {
358bab661aSEmmanuel Vadot			compatible = "gpio-gate-clock";
368bab661aSEmmanuel Vadot			pinctrl-names = "default";
378bab661aSEmmanuel Vadot			pinctrl-0 = <&audio_mclk>;
388bab661aSEmmanuel Vadot			#clock-cells = <0>;
398bab661aSEmmanuel Vadot			clocks = <&rpmcc RPM_SMD_DIV_CLK1>;
408bab661aSEmmanuel Vadot			enable-gpios = <&pm8994_gpios 15 GPIO_ACTIVE_HIGH>;
418bab661aSEmmanuel Vadot		};
428bab661aSEmmanuel Vadot
438bab661aSEmmanuel Vadot		divclk4: div4-clk {
448bab661aSEmmanuel Vadot			compatible = "fixed-clock";
458bab661aSEmmanuel Vadot			pinctrl-names = "default";
468bab661aSEmmanuel Vadot			pinctrl-0 = <&divclk4_pin_a>;
478bab661aSEmmanuel Vadot			#clock-cells = <0>;
488bab661aSEmmanuel Vadot			clock-frequency = <32768>;
498bab661aSEmmanuel Vadot			clock-output-names = "divclk4";
508bab661aSEmmanuel Vadot		};
518bab661aSEmmanuel Vadot	};
528bab661aSEmmanuel Vadot
538bab661aSEmmanuel Vadot	reserved-memory {
548bab661aSEmmanuel Vadot		ramoops@ac000000 {
558bab661aSEmmanuel Vadot			compatible = "ramoops";
568bab661aSEmmanuel Vadot			reg = <0 0xac000000 0 0x200000>;
578bab661aSEmmanuel Vadot			record-size = <0x20000>;
588bab661aSEmmanuel Vadot			console-size = <0x100000>;
598bab661aSEmmanuel Vadot			pmsg-size = <0x80000>;
608bab661aSEmmanuel Vadot		};
618bab661aSEmmanuel Vadot	};
628bab661aSEmmanuel Vadot
638bab661aSEmmanuel Vadot	vph_pwr: vph-pwr-regulator {
648bab661aSEmmanuel Vadot		compatible = "regulator-fixed";
658bab661aSEmmanuel Vadot		regulator-name = "vph_pwr";
668bab661aSEmmanuel Vadot		regulator-min-microvolt = <3700000>;
678bab661aSEmmanuel Vadot		regulator-max-microvolt = <3700000>;
688bab661aSEmmanuel Vadot		regulator-always-on;
698bab661aSEmmanuel Vadot		regulator-boot-on;
708bab661aSEmmanuel Vadot	};
718bab661aSEmmanuel Vadot
728bab661aSEmmanuel Vadot	wlan_en: wlan-en-regulator {
738bab661aSEmmanuel Vadot		compatible = "regulator-fixed";
748bab661aSEmmanuel Vadot		pinctrl-names = "default";
758bab661aSEmmanuel Vadot		pinctrl-0 = <&wlan_en_gpios>;
768bab661aSEmmanuel Vadot		regulator-name = "wlan-en-regulator";
778bab661aSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
788bab661aSEmmanuel Vadot		regulator-max-microvolt = <1800000>;
798bab661aSEmmanuel Vadot
808bab661aSEmmanuel Vadot		gpio = <&pm8994_gpios 8 GPIO_ACTIVE_HIGH>;
818bab661aSEmmanuel Vadot
828bab661aSEmmanuel Vadot		/* WLAN card specific delay */
838bab661aSEmmanuel Vadot		startup-delay-us = <70000>;
848bab661aSEmmanuel Vadot		enable-active-high;
858bab661aSEmmanuel Vadot	};
868bab661aSEmmanuel Vadot};
878bab661aSEmmanuel Vadot
888bab661aSEmmanuel Vadot&blsp1_i2c3 {
898bab661aSEmmanuel Vadot	status = "okay";
908bab661aSEmmanuel Vadot
918bab661aSEmmanuel Vadot	tfa9890_amp: audio-codec@36 {
928bab661aSEmmanuel Vadot		compatible = "nxp,tfa9890";
938bab661aSEmmanuel Vadot		reg = <0x36>;
948bab661aSEmmanuel Vadot		#sound-dai-cells = <0>;
958bab661aSEmmanuel Vadot	};
968bab661aSEmmanuel Vadot};
978bab661aSEmmanuel Vadot
988bab661aSEmmanuel Vadot&blsp1_i2c6 {
998bab661aSEmmanuel Vadot	status = "okay";
1008bab661aSEmmanuel Vadot
1018bab661aSEmmanuel Vadot	bq27541: fuel-gauge@55 {
1028bab661aSEmmanuel Vadot		compatible = "ti,bq27541";
1038bab661aSEmmanuel Vadot		reg = <0x55>;
1048bab661aSEmmanuel Vadot	};
1058bab661aSEmmanuel Vadot};
1068bab661aSEmmanuel Vadot
1078bab661aSEmmanuel Vadot&blsp1_uart2 {
1088bab661aSEmmanuel Vadot	label = "BT-UART";
1098bab661aSEmmanuel Vadot	uart-has-rtscts;
1108bab661aSEmmanuel Vadot	status = "okay";
1118bab661aSEmmanuel Vadot
1128bab661aSEmmanuel Vadot	bluetooth {
1138bab661aSEmmanuel Vadot		compatible = "qcom,qca6174-bt";
1148bab661aSEmmanuel Vadot		pinctrl-names = "default";
1158bab661aSEmmanuel Vadot		pinctrl-0 = <&bt_en_gpios>;
1168bab661aSEmmanuel Vadot		enable-gpios = <&pm8994_gpios 19 GPIO_ACTIVE_HIGH>;
1178bab661aSEmmanuel Vadot		clocks = <&divclk4>;
1188bab661aSEmmanuel Vadot	};
1198bab661aSEmmanuel Vadot};
1208bab661aSEmmanuel Vadot
1218bab661aSEmmanuel Vadot&blsp2_i2c1 {
1228bab661aSEmmanuel Vadot	status = "okay";
1238bab661aSEmmanuel Vadot};
1248bab661aSEmmanuel Vadot
1258bab661aSEmmanuel Vadot&blsp2_i2c6 {
1268bab661aSEmmanuel Vadot	status = "okay";
1278bab661aSEmmanuel Vadot
1288bab661aSEmmanuel Vadot	synaptics_rmi4_i2c: touchscreen@20 {
1298bab661aSEmmanuel Vadot		compatible = "syna,rmi4-i2c";
1308bab661aSEmmanuel Vadot		reg = <0x20>;
1318bab661aSEmmanuel Vadot		#address-cells = <1>;
1328bab661aSEmmanuel Vadot		#size-cells = <0>;
1338bab661aSEmmanuel Vadot		interrupts-extended = <&tlmm 125 IRQ_TYPE_EDGE_FALLING>;
1348bab661aSEmmanuel Vadot		pinctrl-names = "default", "sleep";
1358bab661aSEmmanuel Vadot		pinctrl-0 = <&touch_default>;
1368bab661aSEmmanuel Vadot		pinctrl-1 = <&touch_suspend>;
1378bab661aSEmmanuel Vadot		vdd-supply = <&vreg_l22a_3p0>;
1388bab661aSEmmanuel Vadot		vio-supply = <&vreg_s4a_1p8>;
1398bab661aSEmmanuel Vadot		syna,reset-delay-ms = <200>;
1408bab661aSEmmanuel Vadot		syna,startup-delay-ms = <200>;
1418bab661aSEmmanuel Vadot
1428bab661aSEmmanuel Vadot		rmi4-f01@1 {
1438bab661aSEmmanuel Vadot			reg = <0x1>;
1448bab661aSEmmanuel Vadot			syna,nosleep-mode = <1>;
1458bab661aSEmmanuel Vadot		};
1468bab661aSEmmanuel Vadot
1478bab661aSEmmanuel Vadot		rmi4-f12@12 {
1488bab661aSEmmanuel Vadot			reg = <0x12>;
1498bab661aSEmmanuel Vadot			syna,sensor-type = <1>;
1508bab661aSEmmanuel Vadot			touchscreen-x-mm = <68>;
1518bab661aSEmmanuel Vadot			touchscreen-y-mm = <122>;
1528bab661aSEmmanuel Vadot		};
1538bab661aSEmmanuel Vadot	};
1548bab661aSEmmanuel Vadot};
1558bab661aSEmmanuel Vadot
1568bab661aSEmmanuel Vadot&blsp2_uart2 {
1578bab661aSEmmanuel Vadot	pinctrl-names = "default", "sleep";
1588bab661aSEmmanuel Vadot	pinctrl-0 = <&blsp2_uart2_2pins_default>;
1598bab661aSEmmanuel Vadot	pinctrl-1 = <&blsp2_uart2_2pins_sleep>;
1608bab661aSEmmanuel Vadot	status = "okay";
1618bab661aSEmmanuel Vadot};
1628bab661aSEmmanuel Vadot
1638bab661aSEmmanuel Vadot&camss {
1648bab661aSEmmanuel Vadot	vdda-supply = <&vreg_l2a_1p25>;
1658bab661aSEmmanuel Vadot};
1668bab661aSEmmanuel Vadot
1678bab661aSEmmanuel Vadot&dsi0 {
1688bab661aSEmmanuel Vadot	vdda-supply = <&vreg_l2a_1p25>;
1698bab661aSEmmanuel Vadot	vcca-supply = <&vreg_l22a_3p0>;
1708bab661aSEmmanuel Vadot	status = "okay";
1718bab661aSEmmanuel Vadot};
1728bab661aSEmmanuel Vadot
1738bab661aSEmmanuel Vadot&dsi0_out {
1748bab661aSEmmanuel Vadot	data-lanes = <0 1 2 3>;
1758bab661aSEmmanuel Vadot};
1768bab661aSEmmanuel Vadot
1778bab661aSEmmanuel Vadot&dsi0_phy {
1788bab661aSEmmanuel Vadot	vcca-supply = <&vreg_l28a_0p925>;
1798bab661aSEmmanuel Vadot	status = "okay";
1808bab661aSEmmanuel Vadot};
1818bab661aSEmmanuel Vadot
1828bab661aSEmmanuel Vadot&hsusb_phy1 {
1838bab661aSEmmanuel Vadot	vdd-supply = <&vreg_l28a_0p925>;
1848bab661aSEmmanuel Vadot	vdda-pll-supply = <&vreg_l12a_1p8>;
1858bab661aSEmmanuel Vadot	vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
1868bab661aSEmmanuel Vadot	status = "okay";
1878bab661aSEmmanuel Vadot};
1888bab661aSEmmanuel Vadot
1898bab661aSEmmanuel Vadot&hsusb_phy2 {
1908bab661aSEmmanuel Vadot	vdd-supply = <&vreg_l28a_0p925>;
1918bab661aSEmmanuel Vadot	vdda-pll-supply = <&vreg_l12a_1p8>;
1928bab661aSEmmanuel Vadot	vdda-phy-dpdm-supply = <&vreg_l24a_3p075>;
1938bab661aSEmmanuel Vadot	status = "okay";
1948bab661aSEmmanuel Vadot};
1958bab661aSEmmanuel Vadot
1968bab661aSEmmanuel Vadot&mdp {
1978bab661aSEmmanuel Vadot	status = "okay";
1988bab661aSEmmanuel Vadot};
1998bab661aSEmmanuel Vadot
2008bab661aSEmmanuel Vadot&mdss {
2018bab661aSEmmanuel Vadot	status = "okay";
2028bab661aSEmmanuel Vadot};
2038bab661aSEmmanuel Vadot
2048bab661aSEmmanuel Vadot&mmcc {
2058bab661aSEmmanuel Vadot	vdd-gfx-supply = <&vdd_gfx>;
2068bab661aSEmmanuel Vadot};
2078bab661aSEmmanuel Vadot
2088bab661aSEmmanuel Vadot&mss_pil {
2098bab661aSEmmanuel Vadot	pll-supply = <&vreg_l12a_1p8>;
2108bab661aSEmmanuel Vadot};
2118bab661aSEmmanuel Vadot
2128bab661aSEmmanuel Vadot&pcie0 {
2138bab661aSEmmanuel Vadot	perst-gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
2148bab661aSEmmanuel Vadot	vddpe-3v3-supply = <&wlan_en>;
2158bab661aSEmmanuel Vadot	vdda-supply = <&vreg_l28a_0p925>;
2168bab661aSEmmanuel Vadot	status = "okay";
2178bab661aSEmmanuel Vadot};
2188bab661aSEmmanuel Vadot
2198bab661aSEmmanuel Vadot&pcie_phy {
2208bab661aSEmmanuel Vadot	vdda-phy-supply = <&vreg_l28a_0p925>;
2218bab661aSEmmanuel Vadot	vdda-pll-supply = <&vreg_l12a_1p8>;
2228bab661aSEmmanuel Vadot	status = "okay";
2238bab661aSEmmanuel Vadot};
2248bab661aSEmmanuel Vadot
2258bab661aSEmmanuel Vadot&pm8994_gpios {
2268bab661aSEmmanuel Vadot	bt_en_gpios: bt-en-gpios-state {
2278bab661aSEmmanuel Vadot		pins = "gpio19";
2288bab661aSEmmanuel Vadot		function = PMIC_GPIO_FUNC_NORMAL;
2298bab661aSEmmanuel Vadot		output-low;
2308bab661aSEmmanuel Vadot		power-source = <PM8994_GPIO_S4>;
2318bab661aSEmmanuel Vadot		qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
2328bab661aSEmmanuel Vadot		bias-pull-down;
2338bab661aSEmmanuel Vadot	};
2348bab661aSEmmanuel Vadot
2358bab661aSEmmanuel Vadot	wlan_en_gpios: wlan-en-gpios-state {
2368bab661aSEmmanuel Vadot		pins = "gpio8";
2378bab661aSEmmanuel Vadot		function = PMIC_GPIO_FUNC_NORMAL;
2388bab661aSEmmanuel Vadot		output-low;
2398bab661aSEmmanuel Vadot		power-source = <PM8994_GPIO_S4>;
2408bab661aSEmmanuel Vadot		qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
2418bab661aSEmmanuel Vadot		bias-pull-down;
2428bab661aSEmmanuel Vadot	};
2438bab661aSEmmanuel Vadot
2448bab661aSEmmanuel Vadot	audio_mclk: divclk1-state {
2458bab661aSEmmanuel Vadot		pins = "gpio15";
2468bab661aSEmmanuel Vadot		function = PMIC_GPIO_FUNC_FUNC1;
2478bab661aSEmmanuel Vadot		power-source = <PM8994_GPIO_S4>;
2488bab661aSEmmanuel Vadot	};
2498bab661aSEmmanuel Vadot
2508bab661aSEmmanuel Vadot	divclk4_pin_a: divclk4-state {
2518bab661aSEmmanuel Vadot		pins = "gpio18";
2528bab661aSEmmanuel Vadot		function = PMIC_GPIO_FUNC_FUNC2;
2538bab661aSEmmanuel Vadot		bias-disable;
2548bab661aSEmmanuel Vadot		power-source = <PM8994_GPIO_S4>;
2558bab661aSEmmanuel Vadot	};
2568bab661aSEmmanuel Vadot};
2578bab661aSEmmanuel Vadot
2588bab661aSEmmanuel Vadot&pm8994_spmi_regulators {
2598bab661aSEmmanuel Vadot	qcom,saw-reg = <&saw3>;
2608bab661aSEmmanuel Vadot
2618bab661aSEmmanuel Vadot	s9 {
2628bab661aSEmmanuel Vadot		qcom,saw-slave;
2638bab661aSEmmanuel Vadot	};
2648bab661aSEmmanuel Vadot
2658bab661aSEmmanuel Vadot	s10 {
2668bab661aSEmmanuel Vadot		qcom,saw-slave;
2678bab661aSEmmanuel Vadot	};
2688bab661aSEmmanuel Vadot
2698bab661aSEmmanuel Vadot	s11 {
2708bab661aSEmmanuel Vadot		qcom,saw-leader;
2718bab661aSEmmanuel Vadot		regulator-min-microvolt = <1140000>;
2728bab661aSEmmanuel Vadot		regulator-max-microvolt = <1140000>;
2738bab661aSEmmanuel Vadot		regulator-max-step-microvolt = <150000>;
2748bab661aSEmmanuel Vadot		regulator-always-on;
2758bab661aSEmmanuel Vadot	};
2768bab661aSEmmanuel Vadot};
2778bab661aSEmmanuel Vadot
2788bab661aSEmmanuel Vadot&pmi8994_spmi_regulators {
2798bab661aSEmmanuel Vadot	vdd_gfx: s2 {
2808bab661aSEmmanuel Vadot		regulator-name = "vdd-gfx";
2818bab661aSEmmanuel Vadot		regulator-min-microvolt = <980000>;
2828bab661aSEmmanuel Vadot		regulator-max-microvolt = <1230000>;
2838bab661aSEmmanuel Vadot	};
2848bab661aSEmmanuel Vadot};
2858bab661aSEmmanuel Vadot
2868bab661aSEmmanuel Vadot&q6asmdai {
2878bab661aSEmmanuel Vadot	#address-cells = <1>;
2888bab661aSEmmanuel Vadot	#size-cells = <0>;
2898bab661aSEmmanuel Vadot
2908bab661aSEmmanuel Vadot	dai@0 {
2918bab661aSEmmanuel Vadot		reg = <0>;
2928bab661aSEmmanuel Vadot	};
2938bab661aSEmmanuel Vadot
2948bab661aSEmmanuel Vadot	dai@1 {
2958bab661aSEmmanuel Vadot		reg = <1>;
2968bab661aSEmmanuel Vadot	};
2978bab661aSEmmanuel Vadot
2988bab661aSEmmanuel Vadot	dai@2 {
2998bab661aSEmmanuel Vadot		reg = <2>;
3008bab661aSEmmanuel Vadot	};
3018bab661aSEmmanuel Vadot};
3028bab661aSEmmanuel Vadot
3038bab661aSEmmanuel Vadot&rpm_requests {
3048bab661aSEmmanuel Vadot	regulators {
3058bab661aSEmmanuel Vadot		compatible = "qcom,rpm-pm8994-regulators";
3068bab661aSEmmanuel Vadot
3078bab661aSEmmanuel Vadot		vreg_s3a_1p3: s3 {
3088bab661aSEmmanuel Vadot			regulator-name = "vreg_s3a_1p3";
3098bab661aSEmmanuel Vadot			regulator-min-microvolt = <1300000>;
3108bab661aSEmmanuel Vadot			regulator-max-microvolt = <1300000>;
3118bab661aSEmmanuel Vadot		};
3128bab661aSEmmanuel Vadot
3138bab661aSEmmanuel Vadot		vreg_s4a_1p8: s4 {
3148bab661aSEmmanuel Vadot			regulator-name = "vreg_s4a_1p8";
3158bab661aSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
3168bab661aSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
3178bab661aSEmmanuel Vadot			regulator-always-on;
3188bab661aSEmmanuel Vadot		};
3198bab661aSEmmanuel Vadot
3208bab661aSEmmanuel Vadot		vreg_s5a_2p15: s5 {
3218bab661aSEmmanuel Vadot			regulator-name = "vreg_s5a_2p15";
3228bab661aSEmmanuel Vadot			regulator-min-microvolt = <2150000>;
3238bab661aSEmmanuel Vadot			regulator-max-microvolt = <2150000>;
3248bab661aSEmmanuel Vadot		};
3258bab661aSEmmanuel Vadot
3268bab661aSEmmanuel Vadot		vreg_s7a_0p8: s7 {
3278bab661aSEmmanuel Vadot			regulator-name = "vreg_s7a_0p8";
3288bab661aSEmmanuel Vadot			regulator-min-microvolt = <800000>;
3298bab661aSEmmanuel Vadot			regulator-max-microvolt = <800000>;
3308bab661aSEmmanuel Vadot		};
3318bab661aSEmmanuel Vadot
3328bab661aSEmmanuel Vadot		vreg_l1a_1p0: l1 {
3338bab661aSEmmanuel Vadot			regulator-name = "vreg_l1a_1p0";
3348bab661aSEmmanuel Vadot			regulator-min-microvolt = <1000000>;
3358bab661aSEmmanuel Vadot			regulator-max-microvolt = <1000000>;
3368bab661aSEmmanuel Vadot		};
3378bab661aSEmmanuel Vadot
3388bab661aSEmmanuel Vadot		vreg_l2a_1p25: l2 {
3398bab661aSEmmanuel Vadot			regulator-name = "vreg_l2a_1p25";
3408bab661aSEmmanuel Vadot			regulator-min-microvolt = <1250000>;
3418bab661aSEmmanuel Vadot			regulator-max-microvolt = <1250000>;
3428bab661aSEmmanuel Vadot			regulator-allow-set-load;
3438bab661aSEmmanuel Vadot		};
3448bab661aSEmmanuel Vadot
3458bab661aSEmmanuel Vadot		vreg_l3a_1p1: l3 {
3468bab661aSEmmanuel Vadot			regulator-name = "vreg_l3a_1p1";
3478bab661aSEmmanuel Vadot			regulator-min-microvolt = <1100000>;
3488bab661aSEmmanuel Vadot			regulator-max-microvolt = <1100000>;
3498bab661aSEmmanuel Vadot		};
3508bab661aSEmmanuel Vadot
3518bab661aSEmmanuel Vadot		vreg_l4a_1p225: l4 {
3528bab661aSEmmanuel Vadot			regulator-name = "vreg_l4a_1p225";
3538bab661aSEmmanuel Vadot			regulator-min-microvolt = <1225000>;
3548bab661aSEmmanuel Vadot			regulator-max-microvolt = <1225000>;
3558bab661aSEmmanuel Vadot		};
3568bab661aSEmmanuel Vadot
3578bab661aSEmmanuel Vadot		vreg_l6a_1p2: l6 {
3588bab661aSEmmanuel Vadot			regulator-name = "vreg_l6a_1p2";
3598bab661aSEmmanuel Vadot			regulator-min-microvolt = <1200000>;
3608bab661aSEmmanuel Vadot			regulator-max-microvolt = <1200000>;
3618bab661aSEmmanuel Vadot		};
3628bab661aSEmmanuel Vadot
3638bab661aSEmmanuel Vadot		vreg_l7a_1p8: l7 {
3648bab661aSEmmanuel Vadot			regulator-name = "vreg_l7a_1p8";
3658bab661aSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
3668bab661aSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
3678bab661aSEmmanuel Vadot		};
3688bab661aSEmmanuel Vadot
3698bab661aSEmmanuel Vadot		vreg_l9a_1p8: l9 {
3708bab661aSEmmanuel Vadot			regulator-name = "vreg_l9a_1p8";
3718bab661aSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
3728bab661aSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
3738bab661aSEmmanuel Vadot		};
3748bab661aSEmmanuel Vadot
3758bab661aSEmmanuel Vadot		vreg_l10a_1p8: l10 {
3768bab661aSEmmanuel Vadot			regulator-name = "vreg_l10a_1p8";
3778bab661aSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
3788bab661aSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
3798bab661aSEmmanuel Vadot		};
3808bab661aSEmmanuel Vadot
3818bab661aSEmmanuel Vadot		vreg_l11a_1p15: l11 {
3828bab661aSEmmanuel Vadot			regulator-name = "vreg_l11a_1p15";
3838bab661aSEmmanuel Vadot			regulator-min-microvolt = <1150000>;
3848bab661aSEmmanuel Vadot			regulator-max-microvolt = <1150000>;
3858bab661aSEmmanuel Vadot		};
3868bab661aSEmmanuel Vadot
3878bab661aSEmmanuel Vadot		vreg_l12a_1p8: l12 {
3888bab661aSEmmanuel Vadot			regulator-name = "vreg_l12a_1p8";
3898bab661aSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
3908bab661aSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
3918bab661aSEmmanuel Vadot			regulator-allow-set-load;
3928bab661aSEmmanuel Vadot		};
3938bab661aSEmmanuel Vadot
3948bab661aSEmmanuel Vadot		vreg_l13a_2p95: l13 {
3958bab661aSEmmanuel Vadot			regulator-name = "vreg_l13a_2p95";
3968bab661aSEmmanuel Vadot			regulator-min-microvolt = <2950000>;
3978bab661aSEmmanuel Vadot			regulator-max-microvolt = <2950000>;
3988bab661aSEmmanuel Vadot		};
3998bab661aSEmmanuel Vadot
4008bab661aSEmmanuel Vadot		vreg_l16a_2p7: l16 {
4018bab661aSEmmanuel Vadot			regulator-name = "vreg_l16a_2p7";
4028bab661aSEmmanuel Vadot			regulator-min-microvolt = <2700000>;
4038bab661aSEmmanuel Vadot			regulator-max-microvolt = <2700000>;
4048bab661aSEmmanuel Vadot		};
4058bab661aSEmmanuel Vadot
4068bab661aSEmmanuel Vadot		vreg_l17a_2p6: l17 {
4078bab661aSEmmanuel Vadot			regulator-name = "vreg_l17a_2p6";
4088bab661aSEmmanuel Vadot			regulator-min-microvolt = <2600000>;
4098bab661aSEmmanuel Vadot			regulator-max-microvolt = <2600000>;
4108bab661aSEmmanuel Vadot		};
4118bab661aSEmmanuel Vadot
4128bab661aSEmmanuel Vadot		vreg_l18a_3p3: l18 {
4138bab661aSEmmanuel Vadot			regulator-name = "vreg_l18a_3p3";
4148bab661aSEmmanuel Vadot			regulator-min-microvolt = <3300000>;
4158bab661aSEmmanuel Vadot			regulator-max-microvolt = <3300000>;
4168bab661aSEmmanuel Vadot		};
4178bab661aSEmmanuel Vadot
4188bab661aSEmmanuel Vadot		vreg_l19a_3p0: l19 {
4198bab661aSEmmanuel Vadot			regulator-name = "vreg_l19a_3p0";
4208bab661aSEmmanuel Vadot			regulator-min-microvolt = <3000000>;
4218bab661aSEmmanuel Vadot			regulator-max-microvolt = <3000000>;
4228bab661aSEmmanuel Vadot		};
4238bab661aSEmmanuel Vadot
4248bab661aSEmmanuel Vadot		vreg_l20a_2p95: l20 {
4258bab661aSEmmanuel Vadot			regulator-name = "vreg_l20a_2p95";
4268bab661aSEmmanuel Vadot			regulator-min-microvolt = <2950000>;
4278bab661aSEmmanuel Vadot			regulator-max-microvolt = <2950000>;
4288bab661aSEmmanuel Vadot			regulator-allow-set-load;
4298bab661aSEmmanuel Vadot		};
4308bab661aSEmmanuel Vadot
4318bab661aSEmmanuel Vadot		vreg_l21a_2p95: l21 {
4328bab661aSEmmanuel Vadot			regulator-name = "vreg_l21a_2p95";
4338bab661aSEmmanuel Vadot			regulator-min-microvolt = <2950000>;
4348bab661aSEmmanuel Vadot			regulator-max-microvolt = <2950000>;
4358bab661aSEmmanuel Vadot			regulator-allow-set-load;
4368bab661aSEmmanuel Vadot			regulator-system-load = <200000>;
4378bab661aSEmmanuel Vadot		};
4388bab661aSEmmanuel Vadot
4398bab661aSEmmanuel Vadot		vreg_l22a_3p0: l22 {
4408bab661aSEmmanuel Vadot			regulator-name = "vreg_l22a_3p0";
4418bab661aSEmmanuel Vadot			regulator-min-microvolt = <3000000>;
4428bab661aSEmmanuel Vadot			regulator-max-microvolt = <3300000>;
4438bab661aSEmmanuel Vadot		};
4448bab661aSEmmanuel Vadot
4458bab661aSEmmanuel Vadot		vreg_l23a_2p8: l23 {
4468bab661aSEmmanuel Vadot			regulator-name = "vreg_l23a_2p8";
4478bab661aSEmmanuel Vadot			regulator-min-microvolt = <2800000>;
4488bab661aSEmmanuel Vadot			regulator-max-microvolt = <2800000>;
4498bab661aSEmmanuel Vadot		};
4508bab661aSEmmanuel Vadot
4518bab661aSEmmanuel Vadot		vreg_l24a_3p075: l24 {
4528bab661aSEmmanuel Vadot			regulator-name = "vreg_l24a_3p075";
4538bab661aSEmmanuel Vadot			regulator-min-microvolt = <3075000>;
4548bab661aSEmmanuel Vadot			regulator-max-microvolt = <3075000>;
4558bab661aSEmmanuel Vadot		};
4568bab661aSEmmanuel Vadot
4578bab661aSEmmanuel Vadot		vreg_l25a_1p2: l25 {
4588bab661aSEmmanuel Vadot			regulator-name = "vreg_l25a_1p2";
4598bab661aSEmmanuel Vadot			regulator-min-microvolt = <1200000>;
4608bab661aSEmmanuel Vadot			regulator-max-microvolt = <1200000>;
4618bab661aSEmmanuel Vadot			regulator-allow-set-load;
4628bab661aSEmmanuel Vadot			regulator-always-on;
4638bab661aSEmmanuel Vadot		};
4648bab661aSEmmanuel Vadot
4658bab661aSEmmanuel Vadot		vreg_l27a_1p2: l27 {
4668bab661aSEmmanuel Vadot			regulator-name = "vreg_l27a_1p2";
4678bab661aSEmmanuel Vadot			regulator-min-microvolt = <1200000>;
4688bab661aSEmmanuel Vadot			regulator-max-microvolt = <1200000>;
4698bab661aSEmmanuel Vadot		};
4708bab661aSEmmanuel Vadot
4718bab661aSEmmanuel Vadot		vreg_l28a_0p925: l28 {
4728bab661aSEmmanuel Vadot			regulator-name = "vreg_l28a_0p925";
4738bab661aSEmmanuel Vadot			regulator-min-microvolt = <925000>;
4748bab661aSEmmanuel Vadot			regulator-max-microvolt = <925000>;
4758bab661aSEmmanuel Vadot			regulator-allow-set-load;
4768bab661aSEmmanuel Vadot		};
4778bab661aSEmmanuel Vadot
4788bab661aSEmmanuel Vadot		vreg_l29a_2p8: l29 {
4798bab661aSEmmanuel Vadot			regulator-name = "vreg_l29a_2p8";
4808bab661aSEmmanuel Vadot			regulator-min-microvolt = <2800000>;
4818bab661aSEmmanuel Vadot			regulator-max-microvolt = <2800000>;
4828bab661aSEmmanuel Vadot		};
4838bab661aSEmmanuel Vadot
4848bab661aSEmmanuel Vadot		vreg_l30a_1p8: l30 {
4858bab661aSEmmanuel Vadot			regulator-name = "vreg_l30a_1p8";
4868bab661aSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
4878bab661aSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
4888bab661aSEmmanuel Vadot		};
4898bab661aSEmmanuel Vadot
4908bab661aSEmmanuel Vadot		vreg_l32a_1p8: l32 {
4918bab661aSEmmanuel Vadot			regulator-name = "vreg_l32a_1p8";
4928bab661aSEmmanuel Vadot			regulator-min-microvolt = <1800000>;
4938bab661aSEmmanuel Vadot			regulator-max-microvolt = <1800000>;
4948bab661aSEmmanuel Vadot		};
4958bab661aSEmmanuel Vadot	};
4968bab661aSEmmanuel Vadot};
4978bab661aSEmmanuel Vadot
498*fac71e4eSEmmanuel Vadot&slim_msm {
4998bab661aSEmmanuel Vadot	status = "okay";
500*fac71e4eSEmmanuel Vadot
501*fac71e4eSEmmanuel Vadot	slim@1 {
502*fac71e4eSEmmanuel Vadot		reg = <1>;
503*fac71e4eSEmmanuel Vadot		#address-cells = <2>;
504*fac71e4eSEmmanuel Vadot		#size-cells = <0>;
505*fac71e4eSEmmanuel Vadot
506*fac71e4eSEmmanuel Vadot		tasha_ifd: tas-ifd@0,0 {
507*fac71e4eSEmmanuel Vadot			compatible = "slim217,1a0";
508*fac71e4eSEmmanuel Vadot			reg = <0 0>;
509*fac71e4eSEmmanuel Vadot		};
510*fac71e4eSEmmanuel Vadot
511*fac71e4eSEmmanuel Vadot		wcd9335: codec@1,0 {
512*fac71e4eSEmmanuel Vadot			compatible = "slim217,1a0";
513*fac71e4eSEmmanuel Vadot			reg = <1 0>;
514*fac71e4eSEmmanuel Vadot
515*fac71e4eSEmmanuel Vadot			clock-names = "mclk", "slimbus";
516*fac71e4eSEmmanuel Vadot			clocks = <&div1_mclk>,
517*fac71e4eSEmmanuel Vadot				 <&rpmcc RPM_SMD_BB_CLK1>;
518*fac71e4eSEmmanuel Vadot			interrupt-parent = <&tlmm>;
519*fac71e4eSEmmanuel Vadot			interrupts = <54 IRQ_TYPE_LEVEL_HIGH>,
520*fac71e4eSEmmanuel Vadot				     <53 IRQ_TYPE_LEVEL_HIGH>;
521*fac71e4eSEmmanuel Vadot			interrupt-names = "intr1", "intr2";
522*fac71e4eSEmmanuel Vadot			interrupt-controller;
523*fac71e4eSEmmanuel Vadot			#interrupt-cells = <1>;
524*fac71e4eSEmmanuel Vadot
525*fac71e4eSEmmanuel Vadot			pinctrl-0 = <&cdc_reset_active &wcd_intr_default>;
526*fac71e4eSEmmanuel Vadot			pinctrl-names = "default";
527*fac71e4eSEmmanuel Vadot
528*fac71e4eSEmmanuel Vadot			reset-gpios = <&tlmm 64 GPIO_ACTIVE_LOW>;
529*fac71e4eSEmmanuel Vadot			slim-ifc-dev = <&tasha_ifd>;
530*fac71e4eSEmmanuel Vadot
531*fac71e4eSEmmanuel Vadot			#sound-dai-cells = <1>;
532*fac71e4eSEmmanuel Vadot
533*fac71e4eSEmmanuel Vadot			vdd-buck-supply = <&vreg_s4a_1p8>;
534*fac71e4eSEmmanuel Vadot			vdd-buck-sido-supply = <&vreg_s4a_1p8>;
535*fac71e4eSEmmanuel Vadot			vdd-tx-supply = <&vreg_s4a_1p8>;
536*fac71e4eSEmmanuel Vadot			vdd-rx-supply = <&vreg_s4a_1p8>;
537*fac71e4eSEmmanuel Vadot			vdd-io-supply = <&vreg_s4a_1p8>;
538*fac71e4eSEmmanuel Vadot		};
539*fac71e4eSEmmanuel Vadot	};
5408bab661aSEmmanuel Vadot};
5418bab661aSEmmanuel Vadot
5428bab661aSEmmanuel Vadot&sound {
5438bab661aSEmmanuel Vadot	compatible = "qcom,apq8096-sndcard";
5448bab661aSEmmanuel Vadot	model = "OnePlus3";
5458bab661aSEmmanuel Vadot	audio-routing = "RX_BIAS", "MCLK",
5468bab661aSEmmanuel Vadot			"AMIC2", "MIC BIAS2",
5478bab661aSEmmanuel Vadot			"MIC BIAS2", "Headset Mic",
5488bab661aSEmmanuel Vadot			"AMIC4", "MIC BIAS1",
5498bab661aSEmmanuel Vadot			"MIC BIAS1", "Primary Mic",
5508bab661aSEmmanuel Vadot			"AMIC5", "MIC BIAS3",
5518bab661aSEmmanuel Vadot			"MIC BIAS3", "Noise Mic";
5528bab661aSEmmanuel Vadot
5538bab661aSEmmanuel Vadot	mm1-dai-link {
5548bab661aSEmmanuel Vadot		link-name = "MultiMedia1";
5558bab661aSEmmanuel Vadot
5568bab661aSEmmanuel Vadot		cpu {
5578bab661aSEmmanuel Vadot			sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>;
5588bab661aSEmmanuel Vadot		};
5598bab661aSEmmanuel Vadot	};
5608bab661aSEmmanuel Vadot
5618bab661aSEmmanuel Vadot	mm2-dai-link {
5628bab661aSEmmanuel Vadot		link-name = "MultiMedia2";
5638bab661aSEmmanuel Vadot
5648bab661aSEmmanuel Vadot		cpu {
5658bab661aSEmmanuel Vadot			sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA2>;
5668bab661aSEmmanuel Vadot		};
5678bab661aSEmmanuel Vadot	};
5688bab661aSEmmanuel Vadot
5698bab661aSEmmanuel Vadot	mm3-dai-link {
5708bab661aSEmmanuel Vadot		link-name = "MultiMedia3";
5718bab661aSEmmanuel Vadot
5728bab661aSEmmanuel Vadot		cpu {
5738bab661aSEmmanuel Vadot			sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA3>;
5748bab661aSEmmanuel Vadot		};
5758bab661aSEmmanuel Vadot	};
5768bab661aSEmmanuel Vadot
5778bab661aSEmmanuel Vadot	mm4-dai-link {
5788bab661aSEmmanuel Vadot		link-name = "MultiMedia4";
5798bab661aSEmmanuel Vadot
5808bab661aSEmmanuel Vadot		cpu {
5818bab661aSEmmanuel Vadot			sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA4>;
5828bab661aSEmmanuel Vadot		};
5838bab661aSEmmanuel Vadot	};
5848bab661aSEmmanuel Vadot
5858bab661aSEmmanuel Vadot	mm5-dai-link {
5868bab661aSEmmanuel Vadot		link-name = "MultiMedia5";
5878bab661aSEmmanuel Vadot
5888bab661aSEmmanuel Vadot		cpu {
5898bab661aSEmmanuel Vadot			sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA5>;
5908bab661aSEmmanuel Vadot		};
5918bab661aSEmmanuel Vadot	};
5928bab661aSEmmanuel Vadot
5938bab661aSEmmanuel Vadot	mm6-dai-link {
5948bab661aSEmmanuel Vadot		link-name = "MultiMedia6";
5958bab661aSEmmanuel Vadot
5968bab661aSEmmanuel Vadot		cpu {
5978bab661aSEmmanuel Vadot			sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA6>;
5988bab661aSEmmanuel Vadot		};
5998bab661aSEmmanuel Vadot	};
6008bab661aSEmmanuel Vadot
6018bab661aSEmmanuel Vadot	mm7-dai-link {
6028bab661aSEmmanuel Vadot		link-name = "MultiMedia7";
6038bab661aSEmmanuel Vadot
6048bab661aSEmmanuel Vadot		cpu {
6058bab661aSEmmanuel Vadot			sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA7>;
6068bab661aSEmmanuel Vadot		};
6078bab661aSEmmanuel Vadot	};
6088bab661aSEmmanuel Vadot
6098bab661aSEmmanuel Vadot	mm8-dai-link {
6108bab661aSEmmanuel Vadot		link-name = "MultiMedia8";
6118bab661aSEmmanuel Vadot
6128bab661aSEmmanuel Vadot		cpu {
6138bab661aSEmmanuel Vadot			sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA8>;
6148bab661aSEmmanuel Vadot		};
6158bab661aSEmmanuel Vadot	};
6168bab661aSEmmanuel Vadot
6178bab661aSEmmanuel Vadot	mm9-dai-link {
6188bab661aSEmmanuel Vadot		link-name = "MultiMedia9";
6198bab661aSEmmanuel Vadot
6208bab661aSEmmanuel Vadot		cpu {
6218bab661aSEmmanuel Vadot			sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA9>;
6228bab661aSEmmanuel Vadot		};
6238bab661aSEmmanuel Vadot	};
6248bab661aSEmmanuel Vadot
6258bab661aSEmmanuel Vadot	mm10-dai-link {
6268bab661aSEmmanuel Vadot		link-name = "MultiMedia10";
6278bab661aSEmmanuel Vadot
6288bab661aSEmmanuel Vadot		cpu {
6298bab661aSEmmanuel Vadot			sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA10>;
6308bab661aSEmmanuel Vadot		};
6318bab661aSEmmanuel Vadot	};
6328bab661aSEmmanuel Vadot
6338bab661aSEmmanuel Vadot	mm11-dai-link {
6348bab661aSEmmanuel Vadot		link-name = "MultiMedia11";
6358bab661aSEmmanuel Vadot
6368bab661aSEmmanuel Vadot		cpu {
6378bab661aSEmmanuel Vadot			sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA11>;
6388bab661aSEmmanuel Vadot		};
6398bab661aSEmmanuel Vadot	};
6408bab661aSEmmanuel Vadot
6418bab661aSEmmanuel Vadot	mm12-dai-link {
6428bab661aSEmmanuel Vadot		link-name = "MultiMedia12";
6438bab661aSEmmanuel Vadot
6448bab661aSEmmanuel Vadot		cpu {
6458bab661aSEmmanuel Vadot			sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA12>;
6468bab661aSEmmanuel Vadot		};
6478bab661aSEmmanuel Vadot	};
6488bab661aSEmmanuel Vadot
6498bab661aSEmmanuel Vadot	mm13-dai-link {
6508bab661aSEmmanuel Vadot		link-name = "MultiMedia13";
6518bab661aSEmmanuel Vadot
6528bab661aSEmmanuel Vadot		cpu {
6538bab661aSEmmanuel Vadot			sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA13>;
6548bab661aSEmmanuel Vadot		};
6558bab661aSEmmanuel Vadot	};
6568bab661aSEmmanuel Vadot
6578bab661aSEmmanuel Vadot	mm14-dai-link {
6588bab661aSEmmanuel Vadot		link-name = "MultiMedia14";
6598bab661aSEmmanuel Vadot
6608bab661aSEmmanuel Vadot		cpu {
6618bab661aSEmmanuel Vadot			sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA14>;
6628bab661aSEmmanuel Vadot		};
6638bab661aSEmmanuel Vadot	};
6648bab661aSEmmanuel Vadot
6658bab661aSEmmanuel Vadot	mm15-dai-link {
6668bab661aSEmmanuel Vadot		link-name = "MultiMedia15";
6678bab661aSEmmanuel Vadot
6688bab661aSEmmanuel Vadot		cpu {
6698bab661aSEmmanuel Vadot			sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA15>;
6708bab661aSEmmanuel Vadot		};
6718bab661aSEmmanuel Vadot	};
6728bab661aSEmmanuel Vadot
6738bab661aSEmmanuel Vadot	mm16-dai-link {
6748bab661aSEmmanuel Vadot		link-name = "MultiMedia16";
6758bab661aSEmmanuel Vadot
6768bab661aSEmmanuel Vadot		cpu {
6778bab661aSEmmanuel Vadot			sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA16>;
6788bab661aSEmmanuel Vadot		};
6798bab661aSEmmanuel Vadot	};
6808bab661aSEmmanuel Vadot
6818bab661aSEmmanuel Vadot	slim-dai-link {
6828bab661aSEmmanuel Vadot		link-name = "SLIM Playback";
6838bab661aSEmmanuel Vadot
6848bab661aSEmmanuel Vadot		cpu {
6858bab661aSEmmanuel Vadot			sound-dai = <&q6afedai SLIMBUS_6_RX>;
6868bab661aSEmmanuel Vadot		};
6878bab661aSEmmanuel Vadot
6888bab661aSEmmanuel Vadot		platform {
6898bab661aSEmmanuel Vadot			sound-dai = <&q6routing>;
6908bab661aSEmmanuel Vadot		};
6918bab661aSEmmanuel Vadot
6928bab661aSEmmanuel Vadot		codec {
6938bab661aSEmmanuel Vadot			sound-dai = <&wcd9335 AIF4_PB>;
6948bab661aSEmmanuel Vadot		};
6958bab661aSEmmanuel Vadot	};
6968bab661aSEmmanuel Vadot
6978bab661aSEmmanuel Vadot	slimcap-dai-link {
6988bab661aSEmmanuel Vadot		link-name = "SLIM Capture";
6998bab661aSEmmanuel Vadot
7008bab661aSEmmanuel Vadot		cpu {
7018bab661aSEmmanuel Vadot			sound-dai = <&q6afedai SLIMBUS_0_TX>;
7028bab661aSEmmanuel Vadot		};
7038bab661aSEmmanuel Vadot
7048bab661aSEmmanuel Vadot		platform {
7058bab661aSEmmanuel Vadot			sound-dai = <&q6routing>;
7068bab661aSEmmanuel Vadot		};
7078bab661aSEmmanuel Vadot
7088bab661aSEmmanuel Vadot		codec {
7098bab661aSEmmanuel Vadot			sound-dai = <&wcd9335 AIF1_CAP>;
7108bab661aSEmmanuel Vadot		};
7118bab661aSEmmanuel Vadot	};
7128bab661aSEmmanuel Vadot
7138bab661aSEmmanuel Vadot	speaker-dai-link {
7148bab661aSEmmanuel Vadot		link-name = "Speaker";
7158bab661aSEmmanuel Vadot
7168bab661aSEmmanuel Vadot		cpu {
7178bab661aSEmmanuel Vadot			sound-dai = <&q6afedai QUATERNARY_MI2S_RX>;
7188bab661aSEmmanuel Vadot		};
7198bab661aSEmmanuel Vadot
7208bab661aSEmmanuel Vadot		codec {
7218bab661aSEmmanuel Vadot			sound-dai = <&tfa9890_amp>;
7228bab661aSEmmanuel Vadot		};
7238bab661aSEmmanuel Vadot	};
7248bab661aSEmmanuel Vadot};
7258bab661aSEmmanuel Vadot
7268bab661aSEmmanuel Vadot&tlmm {
7278bab661aSEmmanuel Vadot	gpio-reserved-ranges = <81 4>;
7288bab661aSEmmanuel Vadot
7298bab661aSEmmanuel Vadot	mdss_dsi_active: mdss-dsi-active-state {
7308bab661aSEmmanuel Vadot		pins = "gpio8";
7318bab661aSEmmanuel Vadot		function = "gpio";
7328bab661aSEmmanuel Vadot		drive-strength = <8>;
7338bab661aSEmmanuel Vadot		bias-disable;
7348bab661aSEmmanuel Vadot	};
7358bab661aSEmmanuel Vadot
7368bab661aSEmmanuel Vadot	mdss_dsi_suspend: mdss-dsi-suspend-state {
7378bab661aSEmmanuel Vadot		pins = "gpio8";
7388bab661aSEmmanuel Vadot		function = "gpio";
7398bab661aSEmmanuel Vadot		drive-strength = <2>;
7408bab661aSEmmanuel Vadot		bias-pull-down;
7418bab661aSEmmanuel Vadot	};
7428bab661aSEmmanuel Vadot
7438bab661aSEmmanuel Vadot	mdss_te_active: mdss-te-active-state {
7448bab661aSEmmanuel Vadot		pins = "gpio10";
7458bab661aSEmmanuel Vadot		function = "mdp_vsync";
7468bab661aSEmmanuel Vadot		drive-strength = <2>;
7478bab661aSEmmanuel Vadot		bias-pull-down;
7488bab661aSEmmanuel Vadot	};
7498bab661aSEmmanuel Vadot
7508bab661aSEmmanuel Vadot	mdss_te_suspend: mdss-te-suspend-state {
7518bab661aSEmmanuel Vadot		pins = "gpio10";
7528bab661aSEmmanuel Vadot		function = "mdp_vsync";
7538bab661aSEmmanuel Vadot		drive-strength = <2>;
7548bab661aSEmmanuel Vadot		bias-pull-down;
7558bab661aSEmmanuel Vadot	};
7568bab661aSEmmanuel Vadot
7578bab661aSEmmanuel Vadot	touch_default: touch-default-state {
7588bab661aSEmmanuel Vadot		pins = "gpio89", "gpio125", "gpio49";
7598bab661aSEmmanuel Vadot		function = "gpio";
7608bab661aSEmmanuel Vadot		drive-strength = <16>;
7618bab661aSEmmanuel Vadot		bias-pull-up;
7628bab661aSEmmanuel Vadot	};
7638bab661aSEmmanuel Vadot
7648bab661aSEmmanuel Vadot	touch_suspend: touch-suspend-state {
7658bab661aSEmmanuel Vadot		pins = "gpio89", "gpio125", "gpio49";
7668bab661aSEmmanuel Vadot		function = "gpio";
7678bab661aSEmmanuel Vadot		drive-strength = <2>;
7688bab661aSEmmanuel Vadot		bias-disable;
7698bab661aSEmmanuel Vadot	};
7708bab661aSEmmanuel Vadot};
7718bab661aSEmmanuel Vadot
7728bab661aSEmmanuel Vadot&ufsphy {
7738bab661aSEmmanuel Vadot	vdda-phy-supply = <&vreg_l28a_0p925>;
7748bab661aSEmmanuel Vadot	vdda-pll-supply = <&vreg_l12a_1p8>;
7758bab661aSEmmanuel Vadot	vddp-ref-clk-supply = <&vreg_l25a_1p2>;
7768bab661aSEmmanuel Vadot
7778bab661aSEmmanuel Vadot	status = "okay";
7788bab661aSEmmanuel Vadot};
7798bab661aSEmmanuel Vadot
7808bab661aSEmmanuel Vadot&ufshc {
7818bab661aSEmmanuel Vadot	vcc-supply = <&vreg_l20a_2p95>;
7828bab661aSEmmanuel Vadot	vccq-supply = <&vreg_l25a_1p2>;
7838bab661aSEmmanuel Vadot	vccq2-supply = <&vreg_s4a_1p8>;
7848bab661aSEmmanuel Vadot
7858bab661aSEmmanuel Vadot	vcc-max-microamp = <600000>;
7868bab661aSEmmanuel Vadot	vccq-max-microamp = <450000>;
7878bab661aSEmmanuel Vadot	vccq2-max-microamp = <450000>;
7888bab661aSEmmanuel Vadot
7898bab661aSEmmanuel Vadot	status = "okay";
7908bab661aSEmmanuel Vadot};
7918bab661aSEmmanuel Vadot
7928bab661aSEmmanuel Vadot&usb3 {
7938bab661aSEmmanuel Vadot	status = "okay";
7948bab661aSEmmanuel Vadot};
7958bab661aSEmmanuel Vadot
7968bab661aSEmmanuel Vadot&usb3_dwc3 {
7978bab661aSEmmanuel Vadot	phys = <&hsusb_phy1>;
7988bab661aSEmmanuel Vadot	phy-names = "usb2-phy";
7998bab661aSEmmanuel Vadot
8008bab661aSEmmanuel Vadot	maximum-speed = "high-speed";
8018bab661aSEmmanuel Vadot};
802