xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/sm7325-nothing-spacewar.dts (revision ae5de77ed78ae54d86cead5604869212e8008e6b)
15f62a964SEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause
25f62a964SEmmanuel Vadot/*
35f62a964SEmmanuel Vadot * Copyright (c) 2024, Eugene Lepshy <fekz115@gmail.com>
45f62a964SEmmanuel Vadot * Copyright (c) 2024, Danila Tikhonov <danila@jiaxyga.com>
55f62a964SEmmanuel Vadot */
65f62a964SEmmanuel Vadot
75f62a964SEmmanuel Vadot/dts-v1/;
85f62a964SEmmanuel Vadot
95f62a964SEmmanuel Vadot#include <dt-bindings/arm/qcom,ids.h>
105f62a964SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
115f62a964SEmmanuel Vadot#include <dt-bindings/iio/qcom,spmi-adc7-pm7325.h>
125f62a964SEmmanuel Vadot#include <dt-bindings/iio/qcom,spmi-adc7-pm8350b.h>
135f62a964SEmmanuel Vadot#include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h>
145f62a964SEmmanuel Vadot#include <dt-bindings/leds/common.h>
155f62a964SEmmanuel Vadot#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
165f62a964SEmmanuel Vadot#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
175f62a964SEmmanuel Vadot#include <dt-bindings/sound/qcom,q6afe.h>
185f62a964SEmmanuel Vadot#include <dt-bindings/sound/qcom,q6asm.h>
195f62a964SEmmanuel Vadot
205f62a964SEmmanuel Vadot#include "sm7325.dtsi"
215f62a964SEmmanuel Vadot#include "pm7325.dtsi"
225f62a964SEmmanuel Vadot#include "pm8350b.dtsi" /* PM7325B */
235f62a964SEmmanuel Vadot#include "pm8350c.dtsi" /* PM7350C */
245f62a964SEmmanuel Vadot#include "pmk8350.dtsi" /* PMK7325 */
255f62a964SEmmanuel Vadot
265f62a964SEmmanuel Vadot/delete-node/ &rmtfs_mem;
275f62a964SEmmanuel Vadot
285f62a964SEmmanuel Vadot/ {
295f62a964SEmmanuel Vadot	model = "Nothing Phone (1)";
305f62a964SEmmanuel Vadot	compatible = "nothing,spacewar", "qcom,sm7325";
315f62a964SEmmanuel Vadot	chassis-type = "handset";
325f62a964SEmmanuel Vadot
335f62a964SEmmanuel Vadot	aliases {
345f62a964SEmmanuel Vadot		bluetooth0 = &bluetooth;
355f62a964SEmmanuel Vadot		serial0 = &uart5;
365f62a964SEmmanuel Vadot		serial1 = &uart7;
375f62a964SEmmanuel Vadot		wifi0 = &wifi;
385f62a964SEmmanuel Vadot	};
395f62a964SEmmanuel Vadot
405f62a964SEmmanuel Vadot	chosen {
415f62a964SEmmanuel Vadot		#address-cells = <2>;
425f62a964SEmmanuel Vadot		#size-cells = <2>;
435f62a964SEmmanuel Vadot		ranges;
445f62a964SEmmanuel Vadot
455f62a964SEmmanuel Vadot		stdout-path = "serial0:115200n8";
465f62a964SEmmanuel Vadot
475f62a964SEmmanuel Vadot		framebuffer0: framebuffer@e1000000 {
485f62a964SEmmanuel Vadot			compatible = "simple-framebuffer";
495f62a964SEmmanuel Vadot			reg = <0x0 0xe1000000 0x0 (1080 * 2400 * 4)>;
505f62a964SEmmanuel Vadot			width = <1080>;
515f62a964SEmmanuel Vadot			height = <2400>;
525f62a964SEmmanuel Vadot			stride = <(1080 * 4)>;
535f62a964SEmmanuel Vadot			format = "a8r8g8b8";
545f62a964SEmmanuel Vadot
555f62a964SEmmanuel Vadot			clocks = <&gcc GCC_DISP_HF_AXI_CLK>,
565f62a964SEmmanuel Vadot				 <&dispcc DISP_CC_MDSS_MDP_CLK>,
575f62a964SEmmanuel Vadot				 <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
585f62a964SEmmanuel Vadot				 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
595f62a964SEmmanuel Vadot				 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
605f62a964SEmmanuel Vadot				 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
615f62a964SEmmanuel Vadot			power-domains = <&dispcc DISP_CC_MDSS_CORE_GDSC>;
625f62a964SEmmanuel Vadot		};
635f62a964SEmmanuel Vadot	};
645f62a964SEmmanuel Vadot
655f62a964SEmmanuel Vadot	gpio-keys {
665f62a964SEmmanuel Vadot		compatible = "gpio-keys";
675f62a964SEmmanuel Vadot
685f62a964SEmmanuel Vadot		pinctrl-0 = <&kypd_volp_n>;
695f62a964SEmmanuel Vadot		pinctrl-names = "default";
705f62a964SEmmanuel Vadot
715f62a964SEmmanuel Vadot		key-volume-up {
725f62a964SEmmanuel Vadot			label = "Volume up";
735f62a964SEmmanuel Vadot			gpios = <&pm7325_gpios 6 GPIO_ACTIVE_LOW>;
745f62a964SEmmanuel Vadot			linux,code = <KEY_VOLUMEUP>;
755f62a964SEmmanuel Vadot		};
765f62a964SEmmanuel Vadot	};
775f62a964SEmmanuel Vadot
785f62a964SEmmanuel Vadot	pmic-glink {
795f62a964SEmmanuel Vadot		compatible = "qcom,sm7325-pmic-glink",
805f62a964SEmmanuel Vadot			     "qcom,qcm6490-pmic-glink",
815f62a964SEmmanuel Vadot			     "qcom,pmic-glink";
825f62a964SEmmanuel Vadot
835f62a964SEmmanuel Vadot		#address-cells = <1>;
845f62a964SEmmanuel Vadot		#size-cells = <0>;
855f62a964SEmmanuel Vadot
865f62a964SEmmanuel Vadot		orientation-gpios = <&tlmm 140 GPIO_ACTIVE_HIGH>;
875f62a964SEmmanuel Vadot
885f62a964SEmmanuel Vadot		connector@0 {
895f62a964SEmmanuel Vadot			compatible = "usb-c-connector";
905f62a964SEmmanuel Vadot			reg = <0>;
915f62a964SEmmanuel Vadot			power-role = "dual";
925f62a964SEmmanuel Vadot			data-role = "dual";
935f62a964SEmmanuel Vadot
945f62a964SEmmanuel Vadot			ports {
955f62a964SEmmanuel Vadot				#address-cells = <1>;
965f62a964SEmmanuel Vadot				#size-cells = <0>;
975f62a964SEmmanuel Vadot
985f62a964SEmmanuel Vadot				port@0 {
995f62a964SEmmanuel Vadot					reg = <0>;
1005f62a964SEmmanuel Vadot
1015f62a964SEmmanuel Vadot					pmic_glink_hs_in: endpoint {
1025f62a964SEmmanuel Vadot						remote-endpoint = <&usb_1_dwc3_hs>;
1035f62a964SEmmanuel Vadot					};
1045f62a964SEmmanuel Vadot				};
1055f62a964SEmmanuel Vadot
1065f62a964SEmmanuel Vadot				port@1 {
1075f62a964SEmmanuel Vadot					reg = <1>;
1085f62a964SEmmanuel Vadot
1095f62a964SEmmanuel Vadot					pmic_glink_sbu: endpoint {
1105f62a964SEmmanuel Vadot						remote-endpoint = <&fsa4480_sbu_mux>;
1115f62a964SEmmanuel Vadot					};
1125f62a964SEmmanuel Vadot				};
1135f62a964SEmmanuel Vadot			};
1145f62a964SEmmanuel Vadot		};
1155f62a964SEmmanuel Vadot	};
1165f62a964SEmmanuel Vadot
1175f62a964SEmmanuel Vadot	reserved-memory {
1185f62a964SEmmanuel Vadot		#address-cells = <2>;
1195f62a964SEmmanuel Vadot		#size-cells = <2>;
1205f62a964SEmmanuel Vadot		ranges;
1215f62a964SEmmanuel Vadot
1225f62a964SEmmanuel Vadot		ramoops_mem: ramoops@83a00000 {
1235f62a964SEmmanuel Vadot			compatible = "ramoops";
1245f62a964SEmmanuel Vadot			reg = <0x0 0x83a00000 0x0 0x400000>;
1255f62a964SEmmanuel Vadot			pmsg-size = <0x200000>;
1265f62a964SEmmanuel Vadot			mem-type = <2>;
1275f62a964SEmmanuel Vadot			console-size = <0x200000>;
1285f62a964SEmmanuel Vadot		};
1295f62a964SEmmanuel Vadot
1305f62a964SEmmanuel Vadot		cdsp_mem: cdsp@88f00000 {
1315f62a964SEmmanuel Vadot			reg = <0x0 0x88f00000 0x0 0x1e00000>;
1325f62a964SEmmanuel Vadot			no-map;
1335f62a964SEmmanuel Vadot		};
1345f62a964SEmmanuel Vadot
1355f62a964SEmmanuel Vadot		removed_mem: removed@c0000000 {
1365f62a964SEmmanuel Vadot			reg = <0x0 0xc0000000 0x0 0x5100000>;
1375f62a964SEmmanuel Vadot			no-map;
1385f62a964SEmmanuel Vadot		};
1395f62a964SEmmanuel Vadot
1405f62a964SEmmanuel Vadot		cont_splash_mem: cont-splash@e1000000 {
1415f62a964SEmmanuel Vadot			reg = <0x0 0xe1000000 0x0 (1080 * 2400 * 4)>;
1425f62a964SEmmanuel Vadot			no-map;
1435f62a964SEmmanuel Vadot		};
1445f62a964SEmmanuel Vadot
1455f62a964SEmmanuel Vadot		rmtfs_mem: rmtfs@f8500000 {
1465f62a964SEmmanuel Vadot			compatible = "qcom,rmtfs-mem";
1475f62a964SEmmanuel Vadot			reg = <0x0 0xf8500000 0x0 0x600000>;
1485f62a964SEmmanuel Vadot			no-map;
1495f62a964SEmmanuel Vadot
1505f62a964SEmmanuel Vadot			qcom,client-id = <1>;
1515f62a964SEmmanuel Vadot			qcom,vmid = <QCOM_SCM_VMID_MSS_MSA>,
1525f62a964SEmmanuel Vadot				    <QCOM_SCM_VMID_NAV>;
1535f62a964SEmmanuel Vadot		};
1545f62a964SEmmanuel Vadot	};
1555f62a964SEmmanuel Vadot
1565f62a964SEmmanuel Vadot	thermal-zones {
1575f62a964SEmmanuel Vadot		camera-thermal {
1585f62a964SEmmanuel Vadot			polling-delay-passive = <0>;
1595f62a964SEmmanuel Vadot			thermal-sensors = <&pmk8350_adc_tm 2>;
1605f62a964SEmmanuel Vadot
1615f62a964SEmmanuel Vadot			trips {
1625f62a964SEmmanuel Vadot				active-config0 {
1635f62a964SEmmanuel Vadot					temperature = <125000>;
1645f62a964SEmmanuel Vadot					hysteresis = <1000>;
1655f62a964SEmmanuel Vadot					type = "passive";
1665f62a964SEmmanuel Vadot				};
1675f62a964SEmmanuel Vadot			};
1685f62a964SEmmanuel Vadot		};
1695f62a964SEmmanuel Vadot
1705f62a964SEmmanuel Vadot		chg-skin-thermal {
1715f62a964SEmmanuel Vadot			polling-delay-passive = <0>;
1725f62a964SEmmanuel Vadot			thermal-sensors = <&pmk8350_adc_tm 6>;
1735f62a964SEmmanuel Vadot
1745f62a964SEmmanuel Vadot			trips {
1755f62a964SEmmanuel Vadot				active-config0 {
1765f62a964SEmmanuel Vadot					temperature = <125000>;
1775f62a964SEmmanuel Vadot					hysteresis = <1000>;
1785f62a964SEmmanuel Vadot					type = "passive";
1795f62a964SEmmanuel Vadot				};
1805f62a964SEmmanuel Vadot			};
1815f62a964SEmmanuel Vadot		};
1825f62a964SEmmanuel Vadot
1835f62a964SEmmanuel Vadot		conn-thermal {
1845f62a964SEmmanuel Vadot			polling-delay-passive = <0>;
1855f62a964SEmmanuel Vadot			thermal-sensors = <&pmk8350_adc_tm 5>;
1865f62a964SEmmanuel Vadot
1875f62a964SEmmanuel Vadot			trips {
1885f62a964SEmmanuel Vadot				active-config0 {
1895f62a964SEmmanuel Vadot					temperature = <125000>;
1905f62a964SEmmanuel Vadot					hysteresis = <1000>;
1915f62a964SEmmanuel Vadot					type = "passive";
1925f62a964SEmmanuel Vadot				};
1935f62a964SEmmanuel Vadot			};
1945f62a964SEmmanuel Vadot		};
1955f62a964SEmmanuel Vadot
1965f62a964SEmmanuel Vadot		quiet-thermal {
1975f62a964SEmmanuel Vadot			polling-delay-passive = <0>;
1985f62a964SEmmanuel Vadot			thermal-sensors = <&pmk8350_adc_tm 1>;
1995f62a964SEmmanuel Vadot
2005f62a964SEmmanuel Vadot			trips {
2015f62a964SEmmanuel Vadot				active-config0 {
2025f62a964SEmmanuel Vadot					temperature = <125000>;
2035f62a964SEmmanuel Vadot					hysteresis = <1000>;
2045f62a964SEmmanuel Vadot					type = "passive";
2055f62a964SEmmanuel Vadot				};
2065f62a964SEmmanuel Vadot			};
2075f62a964SEmmanuel Vadot		};
2085f62a964SEmmanuel Vadot
2095f62a964SEmmanuel Vadot		rear-cam-thermal {
2105f62a964SEmmanuel Vadot			polling-delay-passive = <0>;
2115f62a964SEmmanuel Vadot			thermal-sensors = <&pmk8350_adc_tm 4>;
2125f62a964SEmmanuel Vadot
2135f62a964SEmmanuel Vadot			trips {
2145f62a964SEmmanuel Vadot				active-config0 {
2155f62a964SEmmanuel Vadot					temperature = <125000>;
2165f62a964SEmmanuel Vadot					hysteresis = <1000>;
2175f62a964SEmmanuel Vadot					type = "passive";
2185f62a964SEmmanuel Vadot				};
2195f62a964SEmmanuel Vadot			};
2205f62a964SEmmanuel Vadot		};
2215f62a964SEmmanuel Vadot
2225f62a964SEmmanuel Vadot		sdm-skin-thermal {
2235f62a964SEmmanuel Vadot			polling-delay-passive = <0>;
2245f62a964SEmmanuel Vadot			thermal-sensors = <&pmk8350_adc_tm 3>;
2255f62a964SEmmanuel Vadot
2265f62a964SEmmanuel Vadot			trips {
2275f62a964SEmmanuel Vadot				active-config0 {
2285f62a964SEmmanuel Vadot					temperature = <125000>;
2295f62a964SEmmanuel Vadot					hysteresis = <1000>;
2305f62a964SEmmanuel Vadot					type = "passive";
2315f62a964SEmmanuel Vadot				};
2325f62a964SEmmanuel Vadot			};
2335f62a964SEmmanuel Vadot		};
2345f62a964SEmmanuel Vadot
2355f62a964SEmmanuel Vadot		xo-thermal {
2365f62a964SEmmanuel Vadot			polling-delay-passive = <0>;
2375f62a964SEmmanuel Vadot			thermal-sensors = <&pmk8350_adc_tm 0>;
2385f62a964SEmmanuel Vadot
2395f62a964SEmmanuel Vadot			trips {
2405f62a964SEmmanuel Vadot				active-config0 {
2415f62a964SEmmanuel Vadot					temperature = <125000>;
2425f62a964SEmmanuel Vadot					hysteresis = <1000>;
2435f62a964SEmmanuel Vadot					type = "passive";
2445f62a964SEmmanuel Vadot				};
2455f62a964SEmmanuel Vadot			};
2465f62a964SEmmanuel Vadot		};
2475f62a964SEmmanuel Vadot	};
2485f62a964SEmmanuel Vadot
2495f62a964SEmmanuel Vadot	vph_pwr: vph-pwr-regulator {
2505f62a964SEmmanuel Vadot		compatible = "regulator-fixed";
2515f62a964SEmmanuel Vadot		regulator-name = "vph_pwr";
2525f62a964SEmmanuel Vadot		regulator-min-microvolt = <3700000>;
2535f62a964SEmmanuel Vadot		regulator-max-microvolt = <3700000>;
2545f62a964SEmmanuel Vadot	};
2555f62a964SEmmanuel Vadot
256*ae5de77eSEmmanuel Vadot	vreg_cam_vio_1p8: regulator-cam-vio {
257*ae5de77eSEmmanuel Vadot		compatible = "regulator-fixed";
258*ae5de77eSEmmanuel Vadot		regulator-name = "vreg_cam_vio_1p8";
259*ae5de77eSEmmanuel Vadot
260*ae5de77eSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
261*ae5de77eSEmmanuel Vadot		regulator-max-microvolt = <1800000>;
262*ae5de77eSEmmanuel Vadot
263*ae5de77eSEmmanuel Vadot		gpio = <&tlmm 49 GPIO_ACTIVE_HIGH>;
264*ae5de77eSEmmanuel Vadot		enable-active-high;
265*ae5de77eSEmmanuel Vadot		/* Always-on prevents CCI bus timeouts */
266*ae5de77eSEmmanuel Vadot		regulator-always-on;
267*ae5de77eSEmmanuel Vadot
268*ae5de77eSEmmanuel Vadot		vin-supply = <&vreg_bob>;
269*ae5de77eSEmmanuel Vadot	};
270*ae5de77eSEmmanuel Vadot
271*ae5de77eSEmmanuel Vadot	vreg_camf_vana_2p8: regulator-camf-vana {
272*ae5de77eSEmmanuel Vadot		compatible = "regulator-fixed";
273*ae5de77eSEmmanuel Vadot		regulator-name = "vreg_camf_vana_2p8";
274*ae5de77eSEmmanuel Vadot
275*ae5de77eSEmmanuel Vadot		regulator-min-microvolt = <2800000>;
276*ae5de77eSEmmanuel Vadot		regulator-max-microvolt = <2800000>;
277*ae5de77eSEmmanuel Vadot
278*ae5de77eSEmmanuel Vadot		gpio = <&tlmm 43 GPIO_ACTIVE_HIGH>;
279*ae5de77eSEmmanuel Vadot		enable-active-high;
280*ae5de77eSEmmanuel Vadot
281*ae5de77eSEmmanuel Vadot		vin-supply = <&vreg_bob>;
282*ae5de77eSEmmanuel Vadot	};
283*ae5de77eSEmmanuel Vadot
284*ae5de77eSEmmanuel Vadot	vreg_camf_vdig_1p1: regulator-camf-vdig {
285*ae5de77eSEmmanuel Vadot		compatible = "regulator-fixed";
286*ae5de77eSEmmanuel Vadot		regulator-name = "vreg_camf_vdig_1p1";
287*ae5de77eSEmmanuel Vadot
288*ae5de77eSEmmanuel Vadot		regulator-min-microvolt = <1100000>;
289*ae5de77eSEmmanuel Vadot		regulator-max-microvolt = <1100000>;
290*ae5de77eSEmmanuel Vadot
291*ae5de77eSEmmanuel Vadot		gpio = <&tlmm 35 GPIO_ACTIVE_HIGH>;
292*ae5de77eSEmmanuel Vadot		enable-active-high;
293*ae5de77eSEmmanuel Vadot
294*ae5de77eSEmmanuel Vadot		vin-supply = <&vreg_s8b_1p256>;
295*ae5de77eSEmmanuel Vadot	};
296*ae5de77eSEmmanuel Vadot
297*ae5de77eSEmmanuel Vadot	vreg_camu_vaf_1p8: regulator-camu-vaf {
298*ae5de77eSEmmanuel Vadot		compatible = "regulator-fixed";
299*ae5de77eSEmmanuel Vadot		regulator-name = "vreg_camu_vaf_1p8";
300*ae5de77eSEmmanuel Vadot
301*ae5de77eSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
302*ae5de77eSEmmanuel Vadot		regulator-max-microvolt = <1800000>;
303*ae5de77eSEmmanuel Vadot
304*ae5de77eSEmmanuel Vadot		gpio = <&tlmm 71 GPIO_ACTIVE_HIGH>;
305*ae5de77eSEmmanuel Vadot		enable-active-high;
306*ae5de77eSEmmanuel Vadot
307*ae5de77eSEmmanuel Vadot		vin-supply = <&vreg_bob>;
308*ae5de77eSEmmanuel Vadot	};
309*ae5de77eSEmmanuel Vadot
310*ae5de77eSEmmanuel Vadot	vreg_camu_vana_2p8: regulator-camu-vana {
311*ae5de77eSEmmanuel Vadot		compatible = "regulator-fixed";
312*ae5de77eSEmmanuel Vadot		regulator-name = "vreg_camu_vana_2p8";
313*ae5de77eSEmmanuel Vadot
314*ae5de77eSEmmanuel Vadot		regulator-min-microvolt = <2800000>;
315*ae5de77eSEmmanuel Vadot		regulator-max-microvolt = <2800000>;
316*ae5de77eSEmmanuel Vadot		gpio = <&tlmm 68 GPIO_ACTIVE_HIGH>;
317*ae5de77eSEmmanuel Vadot		enable-active-high;
318*ae5de77eSEmmanuel Vadot
319*ae5de77eSEmmanuel Vadot		vin-supply = <&vreg_bob>;
320*ae5de77eSEmmanuel Vadot	};
321*ae5de77eSEmmanuel Vadot
322*ae5de77eSEmmanuel Vadot	vreg_camu_vdig_1p1: regulator-camu-vdig {
323*ae5de77eSEmmanuel Vadot		compatible = "regulator-fixed";
324*ae5de77eSEmmanuel Vadot		regulator-name = "vreg_camu_vdig_1p1";
325*ae5de77eSEmmanuel Vadot
326*ae5de77eSEmmanuel Vadot		regulator-min-microvolt = <1100000>;
327*ae5de77eSEmmanuel Vadot		regulator-max-microvolt = <1100000>;
328*ae5de77eSEmmanuel Vadot
329*ae5de77eSEmmanuel Vadot		gpio = <&tlmm 50 GPIO_ACTIVE_HIGH>;
330*ae5de77eSEmmanuel Vadot		enable-active-high;
331*ae5de77eSEmmanuel Vadot
332*ae5de77eSEmmanuel Vadot		vin-supply = <&vreg_s8b_1p256>;
333*ae5de77eSEmmanuel Vadot	};
334*ae5de77eSEmmanuel Vadot
335*ae5de77eSEmmanuel Vadot	vreg_camw_vaf_1p8: regulator-camw-vaf {
336*ae5de77eSEmmanuel Vadot		compatible = "regulator-fixed";
337*ae5de77eSEmmanuel Vadot		regulator-name = "vreg_camw_vaf_1p8";
338*ae5de77eSEmmanuel Vadot
339*ae5de77eSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
340*ae5de77eSEmmanuel Vadot		regulator-max-microvolt = <1800000>;
341*ae5de77eSEmmanuel Vadot
342*ae5de77eSEmmanuel Vadot		gpio = <&tlmm 96 GPIO_ACTIVE_HIGH>;
343*ae5de77eSEmmanuel Vadot		enable-active-high;
344*ae5de77eSEmmanuel Vadot
345*ae5de77eSEmmanuel Vadot		vin-supply = <&vreg_bob>;
346*ae5de77eSEmmanuel Vadot	};
347*ae5de77eSEmmanuel Vadot
348*ae5de77eSEmmanuel Vadot	vreg_camw_vana_2p8: regulator-camw-vana {
349*ae5de77eSEmmanuel Vadot		compatible = "regulator-fixed";
350*ae5de77eSEmmanuel Vadot		regulator-name = "vreg_camw_vana_2p8";
351*ae5de77eSEmmanuel Vadot
352*ae5de77eSEmmanuel Vadot		regulator-min-microvolt = <2800000>;
353*ae5de77eSEmmanuel Vadot		regulator-max-microvolt = <2800000>;
354*ae5de77eSEmmanuel Vadot
355*ae5de77eSEmmanuel Vadot		gpio = <&tlmm 79 GPIO_ACTIVE_HIGH>;
356*ae5de77eSEmmanuel Vadot		enable-active-high;
357*ae5de77eSEmmanuel Vadot
358*ae5de77eSEmmanuel Vadot		vin-supply = <&vreg_bob>;
359*ae5de77eSEmmanuel Vadot	};
360*ae5de77eSEmmanuel Vadot
361*ae5de77eSEmmanuel Vadot	vreg_camw_vdig_1p1: regulator-camw-vdig {
362*ae5de77eSEmmanuel Vadot		compatible = "regulator-fixed";
363*ae5de77eSEmmanuel Vadot		regulator-name = "vreg_camw_vdig_1p1";
364*ae5de77eSEmmanuel Vadot
365*ae5de77eSEmmanuel Vadot		regulator-min-microvolt = <1100000>;
366*ae5de77eSEmmanuel Vadot		regulator-max-microvolt = <1100000>;
367*ae5de77eSEmmanuel Vadot
368*ae5de77eSEmmanuel Vadot		gpio = <&tlmm 108 GPIO_ACTIVE_HIGH>;
369*ae5de77eSEmmanuel Vadot		enable-active-high;
370*ae5de77eSEmmanuel Vadot
371*ae5de77eSEmmanuel Vadot		vin-supply = <&vreg_s8b_1p256>;
372*ae5de77eSEmmanuel Vadot	};
373*ae5de77eSEmmanuel Vadot
3745f62a964SEmmanuel Vadot	// S2B is really ebi.lvl but it's there for supply map completeness sake.
3755f62a964SEmmanuel Vadot	vreg_s2b_0p7: smpa3-regulator {
3765f62a964SEmmanuel Vadot		compatible = "regulator-fixed";
3775f62a964SEmmanuel Vadot		regulator-name = "vreg_s2b_0p7";
3785f62a964SEmmanuel Vadot
3795f62a964SEmmanuel Vadot		regulator-min-microvolt = <65535>;
3805f62a964SEmmanuel Vadot		regulator-max-microvolt = <65535>;
3815f62a964SEmmanuel Vadot		regulator-always-on;
3825f62a964SEmmanuel Vadot		vin-supply = <&vph_pwr>;
3835f62a964SEmmanuel Vadot	};
3845f62a964SEmmanuel Vadot};
3855f62a964SEmmanuel Vadot
3865f62a964SEmmanuel Vadot&apps_rsc {
3875f62a964SEmmanuel Vadot	regulators-0 {
3885f62a964SEmmanuel Vadot		compatible = "qcom,pm7325-rpmh-regulators";
3895f62a964SEmmanuel Vadot		qcom,pmic-id = "b";
3905f62a964SEmmanuel Vadot
3915f62a964SEmmanuel Vadot		vdd-s1-supply = <&vph_pwr>;
3925f62a964SEmmanuel Vadot		vdd-s2-supply = <&vph_pwr>;
3935f62a964SEmmanuel Vadot		vdd-s7-supply = <&vph_pwr>;
3945f62a964SEmmanuel Vadot		vdd-s8-supply = <&vph_pwr>;
3955f62a964SEmmanuel Vadot
3965f62a964SEmmanuel Vadot		vdd-l1-l4-l12-l15-supply = <&vreg_s7b_0p952>;
3975f62a964SEmmanuel Vadot		vdd-l2-l7-supply = <&vreg_bob>;
3985f62a964SEmmanuel Vadot		vdd-l3-supply = <&vreg_s2b_0p7>;
3995f62a964SEmmanuel Vadot		vdd-l5-supply = <&vreg_s2b_0p7>;
4005f62a964SEmmanuel Vadot		vdd-l6-l9-l10-supply = <&vreg_s8b_1p256>;
4015f62a964SEmmanuel Vadot		vdd-l8-supply = <&vreg_s7b_0p952>;
4025f62a964SEmmanuel Vadot		vdd-l11-l17-l18-l19-supply = <&vreg_s1b_1p856>;
4035f62a964SEmmanuel Vadot		vdd-l13-supply = <&vreg_s7b_0p952>;
4045f62a964SEmmanuel Vadot		vdd-l14-l16-supply = <&vreg_s8b_1p256>;
4055f62a964SEmmanuel Vadot
4065f62a964SEmmanuel Vadot		/*
4075f62a964SEmmanuel Vadot		 * S2, L4-L5 are ARCs:
4085f62a964SEmmanuel Vadot		 * S2 - ebi.lvl,
4095f62a964SEmmanuel Vadot		 * L4 - lmx.lvl,
4105f62a964SEmmanuel Vadot		 * l5 - lcx.lvl.
4115f62a964SEmmanuel Vadot		 *
4125f62a964SEmmanuel Vadot		 * L10 are unused.
4135f62a964SEmmanuel Vadot		 */
4145f62a964SEmmanuel Vadot
4155f62a964SEmmanuel Vadot		vdd19_pmu_rfa_i:
4165f62a964SEmmanuel Vadot		vreg_s1b_1p856: smps1 {
4175f62a964SEmmanuel Vadot			regulator-name = "vreg_s1b_1p856";
4185f62a964SEmmanuel Vadot			regulator-min-microvolt = <1840000>;
4195f62a964SEmmanuel Vadot			regulator-max-microvolt = <2040000>;
4205f62a964SEmmanuel Vadot		};
4215f62a964SEmmanuel Vadot
4225f62a964SEmmanuel Vadot		vdd_pmu_aon_i:
4235f62a964SEmmanuel Vadot		vdd09_pmu_rfa_i:
4245f62a964SEmmanuel Vadot		vdd095_mx_pmu:
4255f62a964SEmmanuel Vadot		vdd095_pmu_1:
4265f62a964SEmmanuel Vadot		vdd095_pmu_2:
4275f62a964SEmmanuel Vadot		vreg_s7b_0p952: smps7 {
4285f62a964SEmmanuel Vadot			regulator-name = "vreg_s7b_0p952";
4295f62a964SEmmanuel Vadot			regulator-min-microvolt = <535000>;
4305f62a964SEmmanuel Vadot			regulator-max-microvolt = <1120000>;
4315f62a964SEmmanuel Vadot		};
4325f62a964SEmmanuel Vadot
4335f62a964SEmmanuel Vadot		vdd13_pmu_rfa_i:
4345f62a964SEmmanuel Vadot		vreg_s8b_1p256: smps8 {
4355f62a964SEmmanuel Vadot			regulator-name = "vreg_s8b_1p256";
4365f62a964SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
4375f62a964SEmmanuel Vadot			regulator-max-microvolt = <1500000>;
4385f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_RET>;
4395f62a964SEmmanuel Vadot		};
4405f62a964SEmmanuel Vadot
4415f62a964SEmmanuel Vadot		vreg_l1b_0p912: ldo1 {
4425f62a964SEmmanuel Vadot			regulator-name = "vreg_l1b_0p912";
4435f62a964SEmmanuel Vadot			regulator-min-microvolt = <825000>;
4445f62a964SEmmanuel Vadot			regulator-max-microvolt = <925000>;
4455f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
4465f62a964SEmmanuel Vadot		};
4475f62a964SEmmanuel Vadot
4485f62a964SEmmanuel Vadot		vdd_a_usbhs_3p1:
4495f62a964SEmmanuel Vadot		vreg_l2b_3p072: ldo2 {
4505f62a964SEmmanuel Vadot			regulator-name = "vreg_l2b_3p072";
4515f62a964SEmmanuel Vadot			regulator-min-microvolt = <2700000>;
4525f62a964SEmmanuel Vadot			regulator-max-microvolt = <3544000>;
4535f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
4545f62a964SEmmanuel Vadot		};
4555f62a964SEmmanuel Vadot
4565f62a964SEmmanuel Vadot		vdd_io_ebi0_1:
4575f62a964SEmmanuel Vadot		vdd_io_ebi0_2:
4585f62a964SEmmanuel Vadot		vdd_io_ebi0_3:
4595f62a964SEmmanuel Vadot		vdd_io_ebi0_4:
4605f62a964SEmmanuel Vadot		vdd_io_ebi1_1:
4615f62a964SEmmanuel Vadot		vdd_io_ebi1_2:
4625f62a964SEmmanuel Vadot		vdd_io_ebi1_3:
4635f62a964SEmmanuel Vadot		vdd_io_ebi1_4:
4645f62a964SEmmanuel Vadot		vreg_l3b_0p6: ldo3 {
4655f62a964SEmmanuel Vadot			regulator-name = "vreg_l3b_0p6";
4665f62a964SEmmanuel Vadot			regulator-min-microvolt = <312000>;
4675f62a964SEmmanuel Vadot			regulator-max-microvolt = <910000>;
4685f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
4695f62a964SEmmanuel Vadot		};
4705f62a964SEmmanuel Vadot
4715f62a964SEmmanuel Vadot		vdd_a_csi_01_1p2:
4725f62a964SEmmanuel Vadot		vdd_a_csi_23_1p2:
4735f62a964SEmmanuel Vadot		vdd_a_csi_4_1p2:
4745f62a964SEmmanuel Vadot		vdd_a_dsi_0_1p2:
4755f62a964SEmmanuel Vadot		vdd_a_qlink_0_1p2_ck:
4765f62a964SEmmanuel Vadot		vdd_a_qlink_1_1p2:
4775f62a964SEmmanuel Vadot		vdd_a_ufs_0_1p2:
4785f62a964SEmmanuel Vadot		vdd_vref_1p2_1:
4795f62a964SEmmanuel Vadot		vdd_vref_1p2_2:
4805f62a964SEmmanuel Vadot		vreg_l6b_1p2: ldo6 {
4815f62a964SEmmanuel Vadot			regulator-name = "vreg_l6b_1p2";
4825f62a964SEmmanuel Vadot			regulator-min-microvolt = <1140000>;
4835f62a964SEmmanuel Vadot			regulator-max-microvolt = <1260000>;
4845f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
4855f62a964SEmmanuel Vadot			regulator-allow-set-load;
4865f62a964SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
4875f62a964SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
4885f62a964SEmmanuel Vadot		};
4895f62a964SEmmanuel Vadot
4905f62a964SEmmanuel Vadot		vreg_l7b_2p96: ldo7 {
4915f62a964SEmmanuel Vadot			regulator-name = "vreg_l7b_2p96";
4925f62a964SEmmanuel Vadot			regulator-min-microvolt = <2400000>;
4935f62a964SEmmanuel Vadot			regulator-max-microvolt = <3544000>;
4945f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
4955f62a964SEmmanuel Vadot			regulator-allow-set-load;
4965f62a964SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
4975f62a964SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
4985f62a964SEmmanuel Vadot		};
4995f62a964SEmmanuel Vadot
5005f62a964SEmmanuel Vadot		vreg_l8b_0p904: ldo8 {
5015f62a964SEmmanuel Vadot			regulator-name = "vreg_l8b_0p904";
5025f62a964SEmmanuel Vadot			regulator-min-microvolt = <870000>;
5035f62a964SEmmanuel Vadot			regulator-max-microvolt = <970000>;
5045f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
5055f62a964SEmmanuel Vadot		};
5065f62a964SEmmanuel Vadot
5075f62a964SEmmanuel Vadot		vdd_px10:
5085f62a964SEmmanuel Vadot		vreg_l9b_1p2: ldo9 {
5095f62a964SEmmanuel Vadot			regulator-name = "vreg_l9b_1p2";
5105f62a964SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
5115f62a964SEmmanuel Vadot			regulator-max-microvolt = <1304000>;
5125f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
5135f62a964SEmmanuel Vadot			regulator-allow-set-load;
5145f62a964SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
5155f62a964SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
5165f62a964SEmmanuel Vadot		};
5175f62a964SEmmanuel Vadot
5185f62a964SEmmanuel Vadot		vddah_0:
5195f62a964SEmmanuel Vadot		vddah_1:
5205f62a964SEmmanuel Vadot		vddah_fbrx:
5215f62a964SEmmanuel Vadot		vddah_tx0:
5225f62a964SEmmanuel Vadot		vddah_tx0_1:
5235f62a964SEmmanuel Vadot		vddah_tx1:
5245f62a964SEmmanuel Vadot		vddah_tx1_1:
5255f62a964SEmmanuel Vadot		vreg_l11b_1p776: ldo11 {
5265f62a964SEmmanuel Vadot			regulator-name = "vreg_l11b_1p776";
5275f62a964SEmmanuel Vadot			regulator-min-microvolt = <1504000>;
5285f62a964SEmmanuel Vadot			regulator-max-microvolt = <2000000>;
5295f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
5305f62a964SEmmanuel Vadot		};
5315f62a964SEmmanuel Vadot
5325f62a964SEmmanuel Vadot		vddal_dig0:
5335f62a964SEmmanuel Vadot		vddal_dig_1:
5345f62a964SEmmanuel Vadot		vddal_dig_2:
5355f62a964SEmmanuel Vadot		vddal_dig_xo:
5365f62a964SEmmanuel Vadot		vddal_gps_l1:
5375f62a964SEmmanuel Vadot		vddal_gps_l5:
5385f62a964SEmmanuel Vadot		vddal_icon:
5395f62a964SEmmanuel Vadot		vddal_rx:
5405f62a964SEmmanuel Vadot		vddal_rx0:
5415f62a964SEmmanuel Vadot		vddal_rx1:
5425f62a964SEmmanuel Vadot		vddal_rx2:
5435f62a964SEmmanuel Vadot		vddal_tx0:
5445f62a964SEmmanuel Vadot		vddal_tx0_1:
5455f62a964SEmmanuel Vadot		vddal_tx1:
5465f62a964SEmmanuel Vadot		vddal_tx1_2:
5475f62a964SEmmanuel Vadot		vreg_l12b_0p8: ldo12 {
5485f62a964SEmmanuel Vadot			regulator-name = "vreg_l12b_0p8";
5495f62a964SEmmanuel Vadot			regulator-min-microvolt = <751000>;
5505f62a964SEmmanuel Vadot			regulator-max-microvolt = <824000>;
5515f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
5525f62a964SEmmanuel Vadot		};
5535f62a964SEmmanuel Vadot
5545f62a964SEmmanuel Vadot		vdd_cx1:
5555f62a964SEmmanuel Vadot		vdd_cx2:
5565f62a964SEmmanuel Vadot		vreg_l13b_0p8: ldo13 {
5575f62a964SEmmanuel Vadot			regulator-name = "vreg_l13b_0p8";
5585f62a964SEmmanuel Vadot			regulator-min-microvolt = <530000>;
5595f62a964SEmmanuel Vadot			regulator-max-microvolt = <824000>;
5605f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
5615f62a964SEmmanuel Vadot		};
5625f62a964SEmmanuel Vadot
5635f62a964SEmmanuel Vadot		vdd_1p2:
5645f62a964SEmmanuel Vadot		vdd_lna:
5655f62a964SEmmanuel Vadot		vddam_fbrx:
5665f62a964SEmmanuel Vadot		vddam_rx_0:
5675f62a964SEmmanuel Vadot		vddam_rx_1:
5685f62a964SEmmanuel Vadot		vddam_rx0:
5695f62a964SEmmanuel Vadot		vddam_rx1:
5705f62a964SEmmanuel Vadot		vddam_rx2:
5715f62a964SEmmanuel Vadot		vddam_rxe_a:
5725f62a964SEmmanuel Vadot		vddam_rxe_b:
5735f62a964SEmmanuel Vadot		vddam_rxe_c:
5745f62a964SEmmanuel Vadot		vddam_rxe_d:
5755f62a964SEmmanuel Vadot		vddam_rxe_e:
5765f62a964SEmmanuel Vadot		vddam_tx0:
5775f62a964SEmmanuel Vadot		vddam_tx0_1:
5785f62a964SEmmanuel Vadot		vddam_tx1:
5795f62a964SEmmanuel Vadot		vddam_tx1_1:
5805f62a964SEmmanuel Vadot		vddam_xo:
5815f62a964SEmmanuel Vadot		vreg_l14b_1p2: ldo14 {
5825f62a964SEmmanuel Vadot			regulator-name = "vreg_l14b_1p2";
5835f62a964SEmmanuel Vadot			regulator-min-microvolt = <1080000>;
5845f62a964SEmmanuel Vadot			regulator-max-microvolt = <1304000>;
5855f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
5865f62a964SEmmanuel Vadot		};
5875f62a964SEmmanuel Vadot
5885f62a964SEmmanuel Vadot		vdd_mx:
5895f62a964SEmmanuel Vadot		vddmx_tx:
5905f62a964SEmmanuel Vadot		vdd_phy:
5915f62a964SEmmanuel Vadot		vreg_l15b_0p88: ldo15 {
5925f62a964SEmmanuel Vadot			regulator-name = "vreg_l15b_0p88";
5935f62a964SEmmanuel Vadot			regulator-min-microvolt = <765000>;
5945f62a964SEmmanuel Vadot			regulator-max-microvolt = <1020000>;
5955f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
5965f62a964SEmmanuel Vadot		};
5975f62a964SEmmanuel Vadot
5985f62a964SEmmanuel Vadot		vreg_l16b_1p2: ldo16 {
5995f62a964SEmmanuel Vadot			regulator-name = "vreg_l16b_1p2";
6005f62a964SEmmanuel Vadot			regulator-min-microvolt = <1100000>;
6015f62a964SEmmanuel Vadot			regulator-max-microvolt = <1300000>;
6025f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
6035f62a964SEmmanuel Vadot		};
6045f62a964SEmmanuel Vadot
6055f62a964SEmmanuel Vadot		vdd_buck:
6065f62a964SEmmanuel Vadot		vreg_l17b_1p8: ldo17 {
6075f62a964SEmmanuel Vadot			regulator-name = "vreg_l17b_1p8";
6085f62a964SEmmanuel Vadot			regulator-min-microvolt = <1700000>;
6095f62a964SEmmanuel Vadot			regulator-max-microvolt = <1900000>;
6105f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
6115f62a964SEmmanuel Vadot		};
6125f62a964SEmmanuel Vadot
6135f62a964SEmmanuel Vadot		vdd_px_wcd9385:
6145f62a964SEmmanuel Vadot		vdd_txrx:
6155f62a964SEmmanuel Vadot		vdd_px0:
6165f62a964SEmmanuel Vadot		vdd_px3:
6175f62a964SEmmanuel Vadot		vdd_px7:
6185f62a964SEmmanuel Vadot		vreg_l18b_1p8: ldo18 {
6195f62a964SEmmanuel Vadot			regulator-name = "vreg_l18b_1p8";
6205f62a964SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
6215f62a964SEmmanuel Vadot			regulator-max-microvolt = <2000000>;
6225f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
6235f62a964SEmmanuel Vadot		};
6245f62a964SEmmanuel Vadot
6255f62a964SEmmanuel Vadot		vdd_1p8:
6265f62a964SEmmanuel Vadot		vdd_px_sdr735:
6275f62a964SEmmanuel Vadot		vdd_pxm:
6285f62a964SEmmanuel Vadot		vddio_px_1:
6295f62a964SEmmanuel Vadot		vddio_px_2:
6305f62a964SEmmanuel Vadot		vddio_px_3:
6315f62a964SEmmanuel Vadot		vdd18_io:
6325f62a964SEmmanuel Vadot		vddpx_ts:
6335f62a964SEmmanuel Vadot		vddpx_wl4otp:
6345f62a964SEmmanuel Vadot		vreg_l19b_1p8: ldo19 {
6355f62a964SEmmanuel Vadot			regulator-name = "vreg_l19b_1p8";
6365f62a964SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
6375f62a964SEmmanuel Vadot			regulator-max-microvolt = <2000000>;
6385f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
6395f62a964SEmmanuel Vadot		};
6405f62a964SEmmanuel Vadot	};
6415f62a964SEmmanuel Vadot
6425f62a964SEmmanuel Vadot	regulators-1 {
6435f62a964SEmmanuel Vadot		compatible = "qcom,pm8350c-rpmh-regulators";
6445f62a964SEmmanuel Vadot		qcom,pmic-id = "c";
6455f62a964SEmmanuel Vadot
6465f62a964SEmmanuel Vadot		vdd-s1-supply = <&vph_pwr>;
6475f62a964SEmmanuel Vadot		vdd-s2-supply = <&vph_pwr>;
6485f62a964SEmmanuel Vadot		vdd-s5-supply = <&vph_pwr>;
6495f62a964SEmmanuel Vadot		vdd-s7-supply = <&vph_pwr>;
6505f62a964SEmmanuel Vadot		vdd-s9-supply = <&vph_pwr>;
6515f62a964SEmmanuel Vadot		vdd-s10-supply = <&vph_pwr>;
6525f62a964SEmmanuel Vadot
6535f62a964SEmmanuel Vadot		vdd-l1-l12-supply = <&vreg_s1b_1p856>;
6545f62a964SEmmanuel Vadot		vdd-l2-l8-supply = <&vreg_s1b_1p856>;
6555f62a964SEmmanuel Vadot		vdd-l3-l4-l5-l7-l13-supply = <&vreg_bob>;
6565f62a964SEmmanuel Vadot		vdd-l6-l9-l11-supply = <&vreg_bob>;
6575f62a964SEmmanuel Vadot		vdd-l10-supply = <&vreg_s7b_0p952>;
6585f62a964SEmmanuel Vadot
6595f62a964SEmmanuel Vadot		vdd-bob-supply = <&vph_pwr>;
6605f62a964SEmmanuel Vadot
6615f62a964SEmmanuel Vadot		/*
6625f62a964SEmmanuel Vadot		 * S2, S5, S7, S10 are ARCs:
6635f62a964SEmmanuel Vadot		 * S2 - cx.lvl,
6645f62a964SEmmanuel Vadot		 * S5 - mss.lvl,
6655f62a964SEmmanuel Vadot		 * S7 - gfx.lvl,
6665f62a964SEmmanuel Vadot		 * S10 - mx.lvl.
6675f62a964SEmmanuel Vadot		 */
6685f62a964SEmmanuel Vadot
6695f62a964SEmmanuel Vadot		vdd22_wlbtpa_ch0:
6705f62a964SEmmanuel Vadot		vdd22_wlbtpa_ch1:
6715f62a964SEmmanuel Vadot		vdd22_wlbtppa_ch0:
6725f62a964SEmmanuel Vadot		vdd22_wlbtppa_ch1:
6735f62a964SEmmanuel Vadot		vdd22_wlpa5g_ch0:
6745f62a964SEmmanuel Vadot		vdd22_wlpa5g_ch1:
6755f62a964SEmmanuel Vadot		vdd22_wlppa5g_ch0:
6765f62a964SEmmanuel Vadot		vdd22_wlppa5g_ch1:
6775f62a964SEmmanuel Vadot		vreg_s1c_2p2: smps1 {
6785f62a964SEmmanuel Vadot			regulator-name = "vreg_s1c_2p2";
6795f62a964SEmmanuel Vadot			regulator-min-microvolt = <2190000>;
6805f62a964SEmmanuel Vadot			regulator-max-microvolt = <2210000>;
6815f62a964SEmmanuel Vadot		};
6825f62a964SEmmanuel Vadot
6835f62a964SEmmanuel Vadot		vdd_px1:
6845f62a964SEmmanuel Vadot		vreg_s9c_0p676: smps9 {
6855f62a964SEmmanuel Vadot			regulator-name = "vreg_s9c_0p676";
6865f62a964SEmmanuel Vadot			regulator-min-microvolt = <1010000>;
6875f62a964SEmmanuel Vadot			regulator-max-microvolt = <1170000>;
6885f62a964SEmmanuel Vadot		};
6895f62a964SEmmanuel Vadot
6905f62a964SEmmanuel Vadot		vdd_a_apc_cs_1p8:
6915f62a964SEmmanuel Vadot		vdd_a_cxo_1p8:
6925f62a964SEmmanuel Vadot		vdd_a_gfx_cs_1p8:
6935f62a964SEmmanuel Vadot		vdd_a_qrefs_1p8:
6945f62a964SEmmanuel Vadot		vdd_a_turing_q6_cs_1p8:
6955f62a964SEmmanuel Vadot		vdd_a_usbhs_1p8:
6965f62a964SEmmanuel Vadot		vdd_qfprom:
6975f62a964SEmmanuel Vadot		vreg_l1c_1p8: ldo1 {
6985f62a964SEmmanuel Vadot			regulator-name = "vreg_l1c_1p8";
6995f62a964SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
7005f62a964SEmmanuel Vadot			regulator-max-microvolt = <1980000>;
7015f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
7025f62a964SEmmanuel Vadot		};
7035f62a964SEmmanuel Vadot
7045f62a964SEmmanuel Vadot		vreg_l2c_1p8: ldo2 {
7055f62a964SEmmanuel Vadot			regulator-name = "vreg_l2c_1p8";
7065f62a964SEmmanuel Vadot			regulator-min-microvolt = <1620000>;
7075f62a964SEmmanuel Vadot			regulator-max-microvolt = <1980000>;
7085f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
7095f62a964SEmmanuel Vadot		};
7105f62a964SEmmanuel Vadot
7115f62a964SEmmanuel Vadot		vdd_ts:
7125f62a964SEmmanuel Vadot		vreg_l3c_3p0: ldo3 {
7135f62a964SEmmanuel Vadot			regulator-name = "vreg_l3c_3p0";
7145f62a964SEmmanuel Vadot			regulator-min-microvolt = <2800000>;
7155f62a964SEmmanuel Vadot			regulator-max-microvolt = <3540000>;
7165f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
7175f62a964SEmmanuel Vadot		};
7185f62a964SEmmanuel Vadot
7195f62a964SEmmanuel Vadot		vdd_px5:
7205f62a964SEmmanuel Vadot		vreg_l4c_1p8_3p0: ldo4 {
7215f62a964SEmmanuel Vadot			regulator-name = "vreg_l4c_1p8_3p0";
7225f62a964SEmmanuel Vadot			regulator-min-microvolt = <1620000>;
7235f62a964SEmmanuel Vadot			regulator-max-microvolt = <3300000>;
7245f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
7255f62a964SEmmanuel Vadot		};
7265f62a964SEmmanuel Vadot
7275f62a964SEmmanuel Vadot		vdd_px6:
7285f62a964SEmmanuel Vadot		vreg_l5c_1p8_3p0: ldo5 {
7295f62a964SEmmanuel Vadot			regulator-name = "vreg_l5c_1p8_3p0";
7305f62a964SEmmanuel Vadot			regulator-min-microvolt = <1620000>;
7315f62a964SEmmanuel Vadot			regulator-max-microvolt = <3300000>;
7325f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
7335f62a964SEmmanuel Vadot		};
7345f62a964SEmmanuel Vadot
7355f62a964SEmmanuel Vadot		vdd_px2:
7365f62a964SEmmanuel Vadot		vreg_l6c_2p96: ldo6 {
7375f62a964SEmmanuel Vadot			regulator-name = "vreg_l6c_2p96";
7385f62a964SEmmanuel Vadot			regulator-min-microvolt = <1650000>;
7395f62a964SEmmanuel Vadot			regulator-max-microvolt = <3544000>;
7405f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
7415f62a964SEmmanuel Vadot		};
7425f62a964SEmmanuel Vadot
7435f62a964SEmmanuel Vadot		vdd_sensor_3p3:
7445f62a964SEmmanuel Vadot		vreg_l7c_3p0: ldo7 {
7455f62a964SEmmanuel Vadot			regulator-name = "vreg_l7c_3p0";
7465f62a964SEmmanuel Vadot			regulator-min-microvolt = <3000000>;
7475f62a964SEmmanuel Vadot			regulator-max-microvolt = <3544000>;
7485f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
7495f62a964SEmmanuel Vadot		};
7505f62a964SEmmanuel Vadot
7515f62a964SEmmanuel Vadot		vdd_sensor_1p8:
7525f62a964SEmmanuel Vadot		vreg_l8c_1p8: ldo8 {
7535f62a964SEmmanuel Vadot			regulator-name = "vreg_l8c_1p8";
7545f62a964SEmmanuel Vadot			regulator-min-microvolt = <1620000>;
7555f62a964SEmmanuel Vadot			regulator-max-microvolt = <2000000>;
7565f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
7575f62a964SEmmanuel Vadot		};
7585f62a964SEmmanuel Vadot
7595f62a964SEmmanuel Vadot		vreg_l9c_2p96: ldo9 {
7605f62a964SEmmanuel Vadot			regulator-name = "vreg_l9c_2p96";
7615f62a964SEmmanuel Vadot			regulator-min-microvolt = <2700000>;
7625f62a964SEmmanuel Vadot			regulator-max-microvolt = <3544000>;
7635f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
7645f62a964SEmmanuel Vadot		};
7655f62a964SEmmanuel Vadot
7665f62a964SEmmanuel Vadot		vdd_a_csi_01_0p9:
7675f62a964SEmmanuel Vadot		vdd_a_csi_23_0p9:
7685f62a964SEmmanuel Vadot		vdd_a_csi_4_0p9:
7695f62a964SEmmanuel Vadot		vdd_a_dsi_0_0p9:
7705f62a964SEmmanuel Vadot		vdd_a_dsi_0_pll_0p9:
7715f62a964SEmmanuel Vadot		vdd_a_gnss_0p9:
7725f62a964SEmmanuel Vadot		vdd_a_qlink_0_0p9:
7735f62a964SEmmanuel Vadot		vdd_a_qlink_0_0p9_ck:
7745f62a964SEmmanuel Vadot		vdd_a_qlink_1_0p9:
7755f62a964SEmmanuel Vadot		vdd_a_qlink_1_0p9_ck:
7765f62a964SEmmanuel Vadot		vdd_a_qrefs_0p875_1:
7775f62a964SEmmanuel Vadot		vdd_a_qrefs_0p875_2:
7785f62a964SEmmanuel Vadot		vdd_a_qrefs_0p875_3:
7795f62a964SEmmanuel Vadot		vdd_a_qrefs_0p875_4:
7805f62a964SEmmanuel Vadot		vdd_a_qrefs_0p875_5:
7815f62a964SEmmanuel Vadot		vdd_a_qrefs_0p875_6:
7825f62a964SEmmanuel Vadot		vdd_a_qrefs_0p875_7:
7835f62a964SEmmanuel Vadot		vdd_a_qrefs_0p875_8:
7845f62a964SEmmanuel Vadot		vdd_a_qrefs_0p875_9:
7855f62a964SEmmanuel Vadot		vdd_a_ufs_0_core:
7865f62a964SEmmanuel Vadot		vdd_a_usbhs_core:
7875f62a964SEmmanuel Vadot		vdd_vref_0p9:
7885f62a964SEmmanuel Vadot		vreg_l10c_0p88: ldo10 {
7895f62a964SEmmanuel Vadot			regulator-name = "vreg_l10c_0p88";
7905f62a964SEmmanuel Vadot			regulator-min-microvolt = <720000>;
7915f62a964SEmmanuel Vadot			regulator-max-microvolt = <1050000>;
7925f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
7935f62a964SEmmanuel Vadot			regulator-allow-set-load;
7945f62a964SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
7955f62a964SEmmanuel Vadot						   RPMH_REGULATOR_MODE_HPM>;
7965f62a964SEmmanuel Vadot		};
7975f62a964SEmmanuel Vadot
7985f62a964SEmmanuel Vadot		vdd_fm:
7995f62a964SEmmanuel Vadot		vdd_wlan_fem:
8005f62a964SEmmanuel Vadot		vreg_l11c_2p8: ldo11 {
8015f62a964SEmmanuel Vadot			regulator-name = "vreg_l11c_2p8";
8025f62a964SEmmanuel Vadot			regulator-min-microvolt = <2800000>;
8035f62a964SEmmanuel Vadot			regulator-max-microvolt = <3544000>;
8045f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
8055f62a964SEmmanuel Vadot		};
8065f62a964SEmmanuel Vadot
8075f62a964SEmmanuel Vadot		vdd_io_oled:
8085f62a964SEmmanuel Vadot		vreg_l12c_1p8: ldo12 {
8095f62a964SEmmanuel Vadot			regulator-name = "vreg_l12c_1p8";
8105f62a964SEmmanuel Vadot			regulator-min-microvolt = <1650000>;
8115f62a964SEmmanuel Vadot			regulator-max-microvolt = <2000000>;
8125f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
8135f62a964SEmmanuel Vadot		};
8145f62a964SEmmanuel Vadot
8155f62a964SEmmanuel Vadot		vdd_oled:
8165f62a964SEmmanuel Vadot		vreg_l13c_3p0: ldo13 {
8175f62a964SEmmanuel Vadot			regulator-name = "vreg_l13c_3p0";
8185f62a964SEmmanuel Vadot			regulator-min-microvolt = <2700000>;
8195f62a964SEmmanuel Vadot			regulator-max-microvolt = <3544000>;
8205f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
8215f62a964SEmmanuel Vadot		};
8225f62a964SEmmanuel Vadot
8235f62a964SEmmanuel Vadot		vdd_flash:
8245f62a964SEmmanuel Vadot		vdd_mic_bias:
8255f62a964SEmmanuel Vadot		vreg_bob: bob {
8265f62a964SEmmanuel Vadot			regulator-name = "vreg_bob";
8275f62a964SEmmanuel Vadot			regulator-min-microvolt = <3008000>;
8285f62a964SEmmanuel Vadot			regulator-max-microvolt = <3960000>;
8295f62a964SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_AUTO>;
8305f62a964SEmmanuel Vadot		};
8315f62a964SEmmanuel Vadot	};
8325f62a964SEmmanuel Vadot};
8335f62a964SEmmanuel Vadot
8345f62a964SEmmanuel Vadot&cci0 {
835*ae5de77eSEmmanuel Vadot	/*
836*ae5de77eSEmmanuel Vadot	 * cci0_i2c1 bus is unused and GPIO 71&72 are repurposed.
837*ae5de77eSEmmanuel Vadot	 * So set only cci0_i2c0 pinctrl here.
838*ae5de77eSEmmanuel Vadot	 */
839*ae5de77eSEmmanuel Vadot	pinctrl-0 = <&cci0_default>;
840*ae5de77eSEmmanuel Vadot	pinctrl-1 = <&cci0_sleep>;
841*ae5de77eSEmmanuel Vadot
8425f62a964SEmmanuel Vadot	status = "okay";
8435f62a964SEmmanuel Vadot};
8445f62a964SEmmanuel Vadot
8455f62a964SEmmanuel Vadot&cci0_i2c0 {
846*ae5de77eSEmmanuel Vadot	/* D-PHY sony,imx471 (Front) @ 0x1a */
847*ae5de77eSEmmanuel Vadot
848*ae5de77eSEmmanuel Vadot	camf_p24c64f: eeprom@52 {
849*ae5de77eSEmmanuel Vadot		compatible = "puya,p24c64f",
850*ae5de77eSEmmanuel Vadot			     "atmel,24c64";
851*ae5de77eSEmmanuel Vadot		reg = <0x52>;
852*ae5de77eSEmmanuel Vadot		vcc-supply = <&vreg_cam_vio_1p8>;
853*ae5de77eSEmmanuel Vadot		read-only;
854*ae5de77eSEmmanuel Vadot	};
8555f62a964SEmmanuel Vadot};
8565f62a964SEmmanuel Vadot
8575f62a964SEmmanuel Vadot&cci1 {
8585f62a964SEmmanuel Vadot	status = "okay";
8595f62a964SEmmanuel Vadot};
8605f62a964SEmmanuel Vadot
8615f62a964SEmmanuel Vadot&cci1_i2c0 {
862*ae5de77eSEmmanuel Vadot	/* actuator (For Ultra Wide sensor) @ 0xc */
863*ae5de77eSEmmanuel Vadot	/* D-PHY samsung,s5kjn1 (Ultra Wide) @ 0x2d */
864*ae5de77eSEmmanuel Vadot
865*ae5de77eSEmmanuel Vadot	camu_gt24p128e: eeprom@51 {
866*ae5de77eSEmmanuel Vadot		compatible = "giantec,gt24p128e",
867*ae5de77eSEmmanuel Vadot			     "atmel,24c128";
868*ae5de77eSEmmanuel Vadot		reg = <0x51>;
869*ae5de77eSEmmanuel Vadot		vcc-supply = <&vreg_cam_vio_1p8>;
870*ae5de77eSEmmanuel Vadot		read-only;
871*ae5de77eSEmmanuel Vadot	};
8725f62a964SEmmanuel Vadot};
8735f62a964SEmmanuel Vadot
8745f62a964SEmmanuel Vadot&cci1_i2c1 {
875*ae5de77eSEmmanuel Vadot	/* actuator (For Wide sensor) @ 0xc */
876*ae5de77eSEmmanuel Vadot	/* C-PHY sony,imx766 (Wide) @ 0x10 */
877*ae5de77eSEmmanuel Vadot
878*ae5de77eSEmmanuel Vadot	camw_gt24p128e: eeprom@50 {
879*ae5de77eSEmmanuel Vadot		compatible = "giantec,gt24p128e",
880*ae5de77eSEmmanuel Vadot			     "atmel,24c128";
881*ae5de77eSEmmanuel Vadot		reg = <0x50>;
882*ae5de77eSEmmanuel Vadot		vcc-supply = <&vreg_cam_vio_1p8>;
883*ae5de77eSEmmanuel Vadot		read-only;
884*ae5de77eSEmmanuel Vadot	};
8855f62a964SEmmanuel Vadot};
8865f62a964SEmmanuel Vadot
8875f62a964SEmmanuel Vadot&gcc {
8885f62a964SEmmanuel Vadot	protected-clocks = <GCC_CFG_NOC_LPASS_CLK>,
8895f62a964SEmmanuel Vadot			   <GCC_MSS_CFG_AHB_CLK>,
8905f62a964SEmmanuel Vadot			   <GCC_MSS_OFFLINE_AXI_CLK>,
8915f62a964SEmmanuel Vadot			   <GCC_MSS_Q6SS_BOOT_CLK_SRC>,
8925f62a964SEmmanuel Vadot			   <GCC_MSS_Q6_MEMNOC_AXI_CLK>,
8935f62a964SEmmanuel Vadot			   <GCC_MSS_SNOC_AXI_CLK>,
8945f62a964SEmmanuel Vadot			   <GCC_QSPI_CNOC_PERIPH_AHB_CLK>,
8955f62a964SEmmanuel Vadot			   <GCC_QSPI_CORE_CLK>,
8965f62a964SEmmanuel Vadot			   <GCC_QSPI_CORE_CLK_SRC>,
8975f62a964SEmmanuel Vadot			   <GCC_SEC_CTRL_CLK_SRC>,
8985f62a964SEmmanuel Vadot			   <GCC_WPSS_AHB_BDG_MST_CLK>,
8995f62a964SEmmanuel Vadot			   <GCC_WPSS_AHB_CLK>,
9005f62a964SEmmanuel Vadot			   <GCC_WPSS_RSCP_CLK>;
9015f62a964SEmmanuel Vadot};
9025f62a964SEmmanuel Vadot
9035f62a964SEmmanuel Vadot&gpi_dma0 {
9045f62a964SEmmanuel Vadot	status = "okay";
9055f62a964SEmmanuel Vadot};
9065f62a964SEmmanuel Vadot
9075f62a964SEmmanuel Vadot&gpi_dma1 {
9085f62a964SEmmanuel Vadot	status = "okay";
9095f62a964SEmmanuel Vadot};
9105f62a964SEmmanuel Vadot
911*ae5de77eSEmmanuel Vadot&gpu {
912*ae5de77eSEmmanuel Vadot	status = "okay";
913*ae5de77eSEmmanuel Vadot};
914*ae5de77eSEmmanuel Vadot
9155f62a964SEmmanuel Vadot&gpu_zap_shader {
9165f62a964SEmmanuel Vadot	firmware-name = "qcom/sm7325/nothing/spacewar/a660_zap.mbn";
9175f62a964SEmmanuel Vadot};
9185f62a964SEmmanuel Vadot
9195f62a964SEmmanuel Vadot&i2c1 {
9205f62a964SEmmanuel Vadot	clock-frequency = <100000>;
9215f62a964SEmmanuel Vadot	status = "okay";
9225f62a964SEmmanuel Vadot
9235f62a964SEmmanuel Vadot	/* awinic,aw21018 (Glyph LED) @ 20 */
9245f62a964SEmmanuel Vadot
9255f62a964SEmmanuel Vadot	typec-mux@42 {
9265f62a964SEmmanuel Vadot		compatible = "fcs,fsa4480";
9275f62a964SEmmanuel Vadot		reg = <0x42>;
9285f62a964SEmmanuel Vadot
9295f62a964SEmmanuel Vadot		vcc-supply = <&vreg_bob>;
9305f62a964SEmmanuel Vadot
9315f62a964SEmmanuel Vadot		mode-switch;
9325f62a964SEmmanuel Vadot		orientation-switch;
9335f62a964SEmmanuel Vadot
9345f62a964SEmmanuel Vadot		port {
9355f62a964SEmmanuel Vadot			fsa4480_sbu_mux: endpoint {
9365f62a964SEmmanuel Vadot				remote-endpoint = <&pmic_glink_sbu>;
9375f62a964SEmmanuel Vadot			};
9385f62a964SEmmanuel Vadot		};
9395f62a964SEmmanuel Vadot	};
9405f62a964SEmmanuel Vadot};
9415f62a964SEmmanuel Vadot
9425f62a964SEmmanuel Vadot&i2c2 {
9435f62a964SEmmanuel Vadot	clock-frequency = <100000>;
9445f62a964SEmmanuel Vadot	status = "okay";
9455f62a964SEmmanuel Vadot
9465f62a964SEmmanuel Vadot	/* nxp,tfa9873 (EAR speaker codec) @ 34 */
9475f62a964SEmmanuel Vadot	/* nxp,tfa9873 (Main speaker codec) @ 35 */
9485f62a964SEmmanuel Vadot};
9495f62a964SEmmanuel Vadot
9505f62a964SEmmanuel Vadot&i2c9 {
9515f62a964SEmmanuel Vadot	clock-frequency = <1000000>;
9525f62a964SEmmanuel Vadot	status = "okay";
9535f62a964SEmmanuel Vadot
9545f62a964SEmmanuel Vadot	nfc@28 {
9555f62a964SEmmanuel Vadot		compatible = "nxp,pn553",
9565f62a964SEmmanuel Vadot			     "nxp,nxp-nci-i2c";
9575f62a964SEmmanuel Vadot		reg = <0x28>;
9585f62a964SEmmanuel Vadot
9595f62a964SEmmanuel Vadot		interrupt-parent = <&tlmm>;
9605f62a964SEmmanuel Vadot		interrupts = <41 IRQ_TYPE_EDGE_RISING>;
9615f62a964SEmmanuel Vadot
9625f62a964SEmmanuel Vadot		enable-gpios = <&tlmm 38 GPIO_ACTIVE_HIGH>;
9635f62a964SEmmanuel Vadot		firmware-gpios = <&tlmm 40 GPIO_ACTIVE_HIGH>;
9645f62a964SEmmanuel Vadot
9655f62a964SEmmanuel Vadot		pinctrl-0 = <&nfc_en>,
9665f62a964SEmmanuel Vadot			    <&nfc_clk_req>,
9675f62a964SEmmanuel Vadot			    <&nfc_dwl_req>,
9685f62a964SEmmanuel Vadot			    <&nfc_int_req>;
9695f62a964SEmmanuel Vadot		pinctrl-names = "default";
9705f62a964SEmmanuel Vadot	};
9715f62a964SEmmanuel Vadot};
9725f62a964SEmmanuel Vadot
9735f62a964SEmmanuel Vadot&ipa {
9745f62a964SEmmanuel Vadot	qcom,gsi-loader = "self";
9755f62a964SEmmanuel Vadot	memory-region = <&ipa_fw_mem>;
9765f62a964SEmmanuel Vadot	firmware-name = "qcom/sm7325/nothing/spacewar/ipa_fws.mbn";
9775f62a964SEmmanuel Vadot
9785f62a964SEmmanuel Vadot	status = "okay";
9795f62a964SEmmanuel Vadot};
9805f62a964SEmmanuel Vadot
981*ae5de77eSEmmanuel Vadot&mdss {
982*ae5de77eSEmmanuel Vadot	status = "okay";
983*ae5de77eSEmmanuel Vadot};
984*ae5de77eSEmmanuel Vadot
9855f62a964SEmmanuel Vadot&mdss_dsi {
9865f62a964SEmmanuel Vadot	vdda-supply = <&vdd_a_dsi_0_1p2>;
987*ae5de77eSEmmanuel Vadot	status = "okay";
9885f62a964SEmmanuel Vadot
989*ae5de77eSEmmanuel Vadot	panel: panel@0 {
990*ae5de77eSEmmanuel Vadot		compatible = "nothing,rm692e5-spacewar",
991*ae5de77eSEmmanuel Vadot			     "visionox,rm692e5";
992*ae5de77eSEmmanuel Vadot		reg = <0>;
993*ae5de77eSEmmanuel Vadot
994*ae5de77eSEmmanuel Vadot		reset-gpios = <&tlmm 44 GPIO_ACTIVE_LOW>;
995*ae5de77eSEmmanuel Vadot
996*ae5de77eSEmmanuel Vadot		vdd-supply = <&vdd_oled>;
997*ae5de77eSEmmanuel Vadot		vddio-supply = <&vdd_io_oled>;
998*ae5de77eSEmmanuel Vadot
999*ae5de77eSEmmanuel Vadot		pinctrl-0 = <&lcd_reset_n>,
1000*ae5de77eSEmmanuel Vadot			    <&mdp_vsync_p>;
1001*ae5de77eSEmmanuel Vadot		pinctrl-names = "default";
1002*ae5de77eSEmmanuel Vadot
1003*ae5de77eSEmmanuel Vadot		port {
1004*ae5de77eSEmmanuel Vadot			panel_in: endpoint {
1005*ae5de77eSEmmanuel Vadot				remote-endpoint = <&mdss_dsi0_out>;
1006*ae5de77eSEmmanuel Vadot			};
1007*ae5de77eSEmmanuel Vadot		};
1008*ae5de77eSEmmanuel Vadot	};
1009*ae5de77eSEmmanuel Vadot};
1010*ae5de77eSEmmanuel Vadot
1011*ae5de77eSEmmanuel Vadot&mdss_dsi0_out {
1012*ae5de77eSEmmanuel Vadot	data-lanes = <0 1 2 3>;
1013*ae5de77eSEmmanuel Vadot	remote-endpoint = <&panel_in>;
10145f62a964SEmmanuel Vadot};
10155f62a964SEmmanuel Vadot
10165f62a964SEmmanuel Vadot&mdss_dsi_phy {
10175f62a964SEmmanuel Vadot	vdds-supply = <&vdd_a_dsi_0_0p9>;
1018*ae5de77eSEmmanuel Vadot	status = "okay";
10195f62a964SEmmanuel Vadot};
10205f62a964SEmmanuel Vadot
10215f62a964SEmmanuel Vadot&pm7325_gpios {
10225f62a964SEmmanuel Vadot	gpio-line-names = "NC", /* GPIO_1 */
10235f62a964SEmmanuel Vadot			  "PA_THERM3",
10245f62a964SEmmanuel Vadot			  "PA_THERM4",
10255f62a964SEmmanuel Vadot			  "NC",
10265f62a964SEmmanuel Vadot			  "NC",
10275f62a964SEmmanuel Vadot			  "KYPD_VOLP_N",
10285f62a964SEmmanuel Vadot			  "NC",
10295f62a964SEmmanuel Vadot			  "NC",
10305f62a964SEmmanuel Vadot			  "NC",
10315f62a964SEmmanuel Vadot			  "NC"; /* GPIO_10 */
10325f62a964SEmmanuel Vadot
10335f62a964SEmmanuel Vadot	kypd_volp_n: kypd-volp-n-state {
10345f62a964SEmmanuel Vadot		pins = "gpio6";
10355f62a964SEmmanuel Vadot		function = PMIC_GPIO_FUNC_NORMAL;
10365f62a964SEmmanuel Vadot		bias-pull-up;
10375f62a964SEmmanuel Vadot		input-enable;
10385f62a964SEmmanuel Vadot		power-source = <1>;
10395f62a964SEmmanuel Vadot	};
10405f62a964SEmmanuel Vadot};
10415f62a964SEmmanuel Vadot
10425f62a964SEmmanuel Vadot&pm8350c_flash {
10435f62a964SEmmanuel Vadot	status = "okay";
10445f62a964SEmmanuel Vadot
10455f62a964SEmmanuel Vadot	led-0 {
10465f62a964SEmmanuel Vadot		function = LED_FUNCTION_FLASH;
10475f62a964SEmmanuel Vadot		color = <LED_COLOR_ID_WHITE>;
10485f62a964SEmmanuel Vadot		led-sources = <1>, <4>;
10495f62a964SEmmanuel Vadot		led-max-microamp = <500000>;
10505f62a964SEmmanuel Vadot		flash-max-microamp = <1500000>;
10515f62a964SEmmanuel Vadot		flash-max-timeout-us = <1280000>;
10525f62a964SEmmanuel Vadot	};
10535f62a964SEmmanuel Vadot};
10545f62a964SEmmanuel Vadot
10555f62a964SEmmanuel Vadot&pmk8350_adc_tm {
10565f62a964SEmmanuel Vadot	status = "okay";
10575f62a964SEmmanuel Vadot
10585f62a964SEmmanuel Vadot	/* PMK8350 */
10595f62a964SEmmanuel Vadot	xo-therm@0 {
10605f62a964SEmmanuel Vadot		reg = <0>;
10615f62a964SEmmanuel Vadot		io-channels = <&pmk8350_vadc PMK8350_ADC7_AMUX_THM1_100K_PU>;
10625f62a964SEmmanuel Vadot		qcom,ratiometric;
10635f62a964SEmmanuel Vadot		qcom,hw-settle-time-us = <200>;
10645f62a964SEmmanuel Vadot	};
10655f62a964SEmmanuel Vadot
10665f62a964SEmmanuel Vadot	/* PM7325 */
10675f62a964SEmmanuel Vadot	quiet-therm@1 {
10685f62a964SEmmanuel Vadot		reg = <1>;
10695f62a964SEmmanuel Vadot		io-channels = <&pmk8350_vadc PM7325_ADC7_AMUX_THM1_100K_PU>;
10705f62a964SEmmanuel Vadot		qcom,ratiometric;
10715f62a964SEmmanuel Vadot		qcom,hw-settle-time-us = <200>;
10725f62a964SEmmanuel Vadot	};
10735f62a964SEmmanuel Vadot
10745f62a964SEmmanuel Vadot	cam-flash-therm@2 {
10755f62a964SEmmanuel Vadot		reg = <2>;
10765f62a964SEmmanuel Vadot		io-channels = <&pmk8350_vadc PM7325_ADC7_AMUX_THM2_100K_PU>;
10775f62a964SEmmanuel Vadot		qcom,ratiometric;
10785f62a964SEmmanuel Vadot		qcom,hw-settle-time-us = <200>;
10795f62a964SEmmanuel Vadot	};
10805f62a964SEmmanuel Vadot
10815f62a964SEmmanuel Vadot	sdm-skin-therm@3 {
10825f62a964SEmmanuel Vadot		reg = <3>;
10835f62a964SEmmanuel Vadot		io-channels = <&pmk8350_vadc PM7325_ADC7_AMUX_THM3_100K_PU>;
10845f62a964SEmmanuel Vadot		qcom,ratiometric;
10855f62a964SEmmanuel Vadot		qcom,hw-settle-time-us = <200>;
10865f62a964SEmmanuel Vadot	};
10875f62a964SEmmanuel Vadot
10885f62a964SEmmanuel Vadot	wide-rfc-therm@4 {
10895f62a964SEmmanuel Vadot		reg = <4>;
10905f62a964SEmmanuel Vadot		io-channels = <&pmk8350_vadc PM7325_ADC7_AMUX_THM4_100K_PU>;
10915f62a964SEmmanuel Vadot		qcom,ratiometric;
10925f62a964SEmmanuel Vadot		qcom,hw-settle-time-us = <200>;
10935f62a964SEmmanuel Vadot	};
10945f62a964SEmmanuel Vadot
10955f62a964SEmmanuel Vadot	/* PM8350B */
10965f62a964SEmmanuel Vadot	usb-conn-therm@5 {
10975f62a964SEmmanuel Vadot		reg = <5>;
10985f62a964SEmmanuel Vadot		io-channels = <&pmk8350_vadc PM8350B_ADC7_AMUX_THM4_100K_PU>;
10995f62a964SEmmanuel Vadot		qcom,ratiometric;
11005f62a964SEmmanuel Vadot		qcom,hw-settle-time-us = <200>;
11015f62a964SEmmanuel Vadot	};
11025f62a964SEmmanuel Vadot
11035f62a964SEmmanuel Vadot	chg-skin-therm@6 {
11045f62a964SEmmanuel Vadot		reg = <6>;
11055f62a964SEmmanuel Vadot		io-channels = <&pmk8350_vadc PM8350B_ADC7_GPIO2_100K_PU>;
11065f62a964SEmmanuel Vadot		qcom,ratiometric;
11075f62a964SEmmanuel Vadot		qcom,hw-settle-time-us = <200>;
11085f62a964SEmmanuel Vadot	};
11095f62a964SEmmanuel Vadot};
11105f62a964SEmmanuel Vadot
11115f62a964SEmmanuel Vadot&pmk8350_rtc {
11125f62a964SEmmanuel Vadot	status = "okay";
11135f62a964SEmmanuel Vadot};
11145f62a964SEmmanuel Vadot
11155f62a964SEmmanuel Vadot&pmk8350_vadc {
11165f62a964SEmmanuel Vadot	/* PMK8350 */
11175f62a964SEmmanuel Vadot	channel@44 {
11185f62a964SEmmanuel Vadot		reg = <PMK8350_ADC7_AMUX_THM1_100K_PU>;
11195f62a964SEmmanuel Vadot		qcom,ratiometric;
11205f62a964SEmmanuel Vadot		qcom,hw-settle-time = <200>;
11215f62a964SEmmanuel Vadot		qcom,pre-scaling = <1 1>;
11225f62a964SEmmanuel Vadot		label = "pmk8350_xo_therm";
11235f62a964SEmmanuel Vadot	};
11245f62a964SEmmanuel Vadot
11255f62a964SEmmanuel Vadot	/* PM7325 */
11265f62a964SEmmanuel Vadot	channel@144 {
11275f62a964SEmmanuel Vadot		reg = <PM7325_ADC7_AMUX_THM1_100K_PU>;
11285f62a964SEmmanuel Vadot		qcom,ratiometric;
11295f62a964SEmmanuel Vadot		qcom,hw-settle-time = <200>;
11305f62a964SEmmanuel Vadot		qcom,pre-scaling = <1 1>;
11315f62a964SEmmanuel Vadot		label = "pm7325_quiet_therm";
11325f62a964SEmmanuel Vadot	};
11335f62a964SEmmanuel Vadot
11345f62a964SEmmanuel Vadot	channel@145 {
11355f62a964SEmmanuel Vadot		reg = <PM7325_ADC7_AMUX_THM2_100K_PU>;
11365f62a964SEmmanuel Vadot		qcom,ratiometric;
11375f62a964SEmmanuel Vadot		qcom,hw-settle-time = <200>;
11385f62a964SEmmanuel Vadot		qcom,pre-scaling = <1 1>;
11395f62a964SEmmanuel Vadot		label = "pm7325_cam_flash_therm";
11405f62a964SEmmanuel Vadot	};
11415f62a964SEmmanuel Vadot
11425f62a964SEmmanuel Vadot	channel@146 {
11435f62a964SEmmanuel Vadot		reg = <PM7325_ADC7_AMUX_THM3_100K_PU>;
11445f62a964SEmmanuel Vadot		qcom,ratiometric;
11455f62a964SEmmanuel Vadot		qcom,hw-settle-time = <200>;
11465f62a964SEmmanuel Vadot		qcom,pre-scaling = <1 1>;
11475f62a964SEmmanuel Vadot		label = "pm7325_sdm_skin_therm";
11485f62a964SEmmanuel Vadot	};
11495f62a964SEmmanuel Vadot
11505f62a964SEmmanuel Vadot	channel@147 {
11515f62a964SEmmanuel Vadot		reg = <PM7325_ADC7_AMUX_THM4_100K_PU>;
11525f62a964SEmmanuel Vadot		qcom,ratiometric;
11535f62a964SEmmanuel Vadot		qcom,hw-settle-time = <200>;
11545f62a964SEmmanuel Vadot		qcom,pre-scaling = <1 1>;
11555f62a964SEmmanuel Vadot		label = "pm7325_wide_rfc_therm";
11565f62a964SEmmanuel Vadot	};
11575f62a964SEmmanuel Vadot
11585f62a964SEmmanuel Vadot	channel@14a {
11595f62a964SEmmanuel Vadot		reg = <PM7325_ADC7_GPIO1_100K_PU>;
11605f62a964SEmmanuel Vadot		qcom,ratiometric;
11615f62a964SEmmanuel Vadot		qcom,hw-settle-time = <200>;
11625f62a964SEmmanuel Vadot		qcom,pre-scaling = <1 1>;
11635f62a964SEmmanuel Vadot		label = "pm7325_pa3_therm";
11645f62a964SEmmanuel Vadot	};
11655f62a964SEmmanuel Vadot
11665f62a964SEmmanuel Vadot	channel@14b {
11675f62a964SEmmanuel Vadot		reg = <PM7325_ADC7_GPIO2_100K_PU>;
11685f62a964SEmmanuel Vadot		qcom,ratiometric;
11695f62a964SEmmanuel Vadot		qcom,hw-settle-time = <200>;
11705f62a964SEmmanuel Vadot		qcom,pre-scaling = <1 1>;
11715f62a964SEmmanuel Vadot		label = "pm7325_pa4_therm";
11725f62a964SEmmanuel Vadot	};
11735f62a964SEmmanuel Vadot
11745f62a964SEmmanuel Vadot	/* PM8350B */
11755f62a964SEmmanuel Vadot	channel@344 {
11765f62a964SEmmanuel Vadot		reg = <PM8350B_ADC7_AMUX_THM1_100K_PU>;
11775f62a964SEmmanuel Vadot		qcom,ratiometric;
11785f62a964SEmmanuel Vadot		qcom,hw-settle-time = <200>;
11795f62a964SEmmanuel Vadot		qcom,pre-scaling = <1 1>;
11805f62a964SEmmanuel Vadot		label = "pm8350b_batt_therm";
11815f62a964SEmmanuel Vadot	};
11825f62a964SEmmanuel Vadot
11835f62a964SEmmanuel Vadot	channel@347 {
11845f62a964SEmmanuel Vadot		reg = <PM8350B_ADC7_AMUX_THM4_100K_PU>;
11855f62a964SEmmanuel Vadot		qcom,ratiometric;
11865f62a964SEmmanuel Vadot		qcom,hw-settle-time = <200>;
11875f62a964SEmmanuel Vadot		qcom,pre-scaling = <1 1>;
11885f62a964SEmmanuel Vadot		label = "pm8350b_usb_conn_therm";
11895f62a964SEmmanuel Vadot	};
11905f62a964SEmmanuel Vadot
11915f62a964SEmmanuel Vadot	channel@34b {
11925f62a964SEmmanuel Vadot		reg = <PM8350B_ADC7_GPIO2_100K_PU>;
11935f62a964SEmmanuel Vadot		qcom,ratiometric;
11945f62a964SEmmanuel Vadot		qcom,hw-settle-time = <200>;
11955f62a964SEmmanuel Vadot		qcom,pre-scaling = <1 1>;
11965f62a964SEmmanuel Vadot		label = "pm8350b_chg_skin_therm";
11975f62a964SEmmanuel Vadot	};
11985f62a964SEmmanuel Vadot
11995f62a964SEmmanuel Vadot	channel@34c {
12005f62a964SEmmanuel Vadot		reg = <PM8350B_ADC7_GPIO3_100K_PU>;
12015f62a964SEmmanuel Vadot		qcom,ratiometric;
12025f62a964SEmmanuel Vadot		qcom,hw-settle-time = <200>;
12035f62a964SEmmanuel Vadot		qcom,pre-scaling = <1 1>;
12045f62a964SEmmanuel Vadot		label = "pm8350b_usb_therm2";
12055f62a964SEmmanuel Vadot	};
12065f62a964SEmmanuel Vadot};
12075f62a964SEmmanuel Vadot
12085f62a964SEmmanuel Vadot&pon_pwrkey {
12095f62a964SEmmanuel Vadot	status = "okay";
12105f62a964SEmmanuel Vadot};
12115f62a964SEmmanuel Vadot
12125f62a964SEmmanuel Vadot&pon_resin {
12135f62a964SEmmanuel Vadot	linux,code = <KEY_VOLUMEDOWN>;
12145f62a964SEmmanuel Vadot	status = "okay";
12155f62a964SEmmanuel Vadot};
12165f62a964SEmmanuel Vadot
12175f62a964SEmmanuel Vadot&q6afedai {
12185f62a964SEmmanuel Vadot	dai@16 {
12195f62a964SEmmanuel Vadot		reg = <PRIMARY_MI2S_RX>;
12205f62a964SEmmanuel Vadot		qcom,sd-lines = <1>;
12215f62a964SEmmanuel Vadot	};
12225f62a964SEmmanuel Vadot};
12235f62a964SEmmanuel Vadot
12245f62a964SEmmanuel Vadot&q6asmdai {
12255f62a964SEmmanuel Vadot	dai@0 {
1226*ae5de77eSEmmanuel Vadot		reg = <MSM_FRONTEND_DAI_MULTIMEDIA1>;
12275f62a964SEmmanuel Vadot	};
12285f62a964SEmmanuel Vadot};
12295f62a964SEmmanuel Vadot
12305f62a964SEmmanuel Vadot&qfprom {
12315f62a964SEmmanuel Vadot	vcc-supply = <&vdd_qfprom>;
12325f62a964SEmmanuel Vadot};
12335f62a964SEmmanuel Vadot
12345f62a964SEmmanuel Vadot&qup_uart5_rx {
12355f62a964SEmmanuel Vadot	drive-strength = <2>;
12365f62a964SEmmanuel Vadot	bias-disable;
12375f62a964SEmmanuel Vadot};
12385f62a964SEmmanuel Vadot
12395f62a964SEmmanuel Vadot&qup_uart5_tx {
12405f62a964SEmmanuel Vadot	drive-strength = <2>;
12415f62a964SEmmanuel Vadot	bias-disable;
12425f62a964SEmmanuel Vadot};
12435f62a964SEmmanuel Vadot
12445f62a964SEmmanuel Vadot&qupv3_id_0 {
12455f62a964SEmmanuel Vadot	status = "okay";
12465f62a964SEmmanuel Vadot};
12475f62a964SEmmanuel Vadot
12485f62a964SEmmanuel Vadot&qupv3_id_1 {
12495f62a964SEmmanuel Vadot	status = "okay";
12505f62a964SEmmanuel Vadot};
12515f62a964SEmmanuel Vadot
12525f62a964SEmmanuel Vadot&remoteproc_adsp {
12535f62a964SEmmanuel Vadot	firmware-name = "qcom/sm7325/nothing/spacewar/adsp.mbn";
12545f62a964SEmmanuel Vadot	status = "okay";
12555f62a964SEmmanuel Vadot};
12565f62a964SEmmanuel Vadot
12575f62a964SEmmanuel Vadot&remoteproc_cdsp {
12585f62a964SEmmanuel Vadot	firmware-name = "qcom/sm7325/nothing/spacewar/cdsp.mbn";
12595f62a964SEmmanuel Vadot	status = "okay";
12605f62a964SEmmanuel Vadot};
12615f62a964SEmmanuel Vadot
12625f62a964SEmmanuel Vadot&remoteproc_mpss {
12635f62a964SEmmanuel Vadot	firmware-name = "qcom/sm7325/nothing/spacewar/modem.mbn";
12645f62a964SEmmanuel Vadot	status = "okay";
12655f62a964SEmmanuel Vadot};
12665f62a964SEmmanuel Vadot
12675f62a964SEmmanuel Vadot&remoteproc_wpss {
12685f62a964SEmmanuel Vadot	firmware-name = "qcom/sm7325/nothing/spacewar/wpss.mbn";
12695f62a964SEmmanuel Vadot	status = "okay";
12705f62a964SEmmanuel Vadot};
12715f62a964SEmmanuel Vadot
12725f62a964SEmmanuel Vadot&spi13 {
12735f62a964SEmmanuel Vadot	status = "okay";
12745f62a964SEmmanuel Vadot
12755f62a964SEmmanuel Vadot	/* focaltech,ft3680 (Touchscreen) @ 0 */
12765f62a964SEmmanuel Vadot};
12775f62a964SEmmanuel Vadot
12785f62a964SEmmanuel Vadot&tlmm {
12795f62a964SEmmanuel Vadot	/* 56-59: Fingerprint reader (SPI) */
12805f62a964SEmmanuel Vadot	gpio-reserved-ranges = <56 4>;
12815f62a964SEmmanuel Vadot
12825f62a964SEmmanuel Vadot	bt_uart_sleep_cts: bt-uart-sleep-cts-state {
12835f62a964SEmmanuel Vadot		pins = "gpio28";
12845f62a964SEmmanuel Vadot		function = "gpio";
12855f62a964SEmmanuel Vadot		bias-bus-hold;
12865f62a964SEmmanuel Vadot	};
12875f62a964SEmmanuel Vadot
12885f62a964SEmmanuel Vadot	bt_uart_sleep_rts: bt-uart-sleep-rts-state {
12895f62a964SEmmanuel Vadot		pins = "gpio29";
12905f62a964SEmmanuel Vadot		function = "gpio";
12915f62a964SEmmanuel Vadot		bias-pull-down;
12925f62a964SEmmanuel Vadot	};
12935f62a964SEmmanuel Vadot
12945f62a964SEmmanuel Vadot	bt_uart_sleep_txd: bt-uart-sleep-txd-state {
12955f62a964SEmmanuel Vadot		pins = "gpio30";
12965f62a964SEmmanuel Vadot		function = "gpio";
12975f62a964SEmmanuel Vadot		bias-pull-up;
12985f62a964SEmmanuel Vadot	};
12995f62a964SEmmanuel Vadot
13005f62a964SEmmanuel Vadot	bt_uart_sleep_rxd: bt-uart-sleep-rxd-state {
13015f62a964SEmmanuel Vadot		pins = "gpio31";
13025f62a964SEmmanuel Vadot		function = "gpio";
13035f62a964SEmmanuel Vadot		bias-pull-up;
13045f62a964SEmmanuel Vadot	};
13055f62a964SEmmanuel Vadot
13065f62a964SEmmanuel Vadot	nfc_en: nfc-en-state {
13075f62a964SEmmanuel Vadot		pins = "gpio38";
13085f62a964SEmmanuel Vadot		function = "gpio";
13095f62a964SEmmanuel Vadot		drive-strength = <2>;
13105f62a964SEmmanuel Vadot		bias-disable;
13115f62a964SEmmanuel Vadot	};
13125f62a964SEmmanuel Vadot
13135f62a964SEmmanuel Vadot	nfc_clk_req: nfc-clk-req-state {
13145f62a964SEmmanuel Vadot		pins = "gpio39";
13155f62a964SEmmanuel Vadot		function = "gpio";
13165f62a964SEmmanuel Vadot		drive-strength = <2>;
13175f62a964SEmmanuel Vadot		bias-disable;
13185f62a964SEmmanuel Vadot	};
13195f62a964SEmmanuel Vadot
13205f62a964SEmmanuel Vadot	nfc_dwl_req: nfc-dwl-req-state {
13215f62a964SEmmanuel Vadot		pins = "gpio40";
13225f62a964SEmmanuel Vadot		function = "gpio";
13235f62a964SEmmanuel Vadot		drive-strength = <2>;
13245f62a964SEmmanuel Vadot		bias-disable;
13255f62a964SEmmanuel Vadot	};
13265f62a964SEmmanuel Vadot
13275f62a964SEmmanuel Vadot	nfc_int_req: nfc-int-req-state {
13285f62a964SEmmanuel Vadot		pins = "gpio41";
13295f62a964SEmmanuel Vadot		function = "gpio";
13305f62a964SEmmanuel Vadot		drive-strength = <2>;
13315f62a964SEmmanuel Vadot		bias-pull-down;
13325f62a964SEmmanuel Vadot	};
13335f62a964SEmmanuel Vadot
1334*ae5de77eSEmmanuel Vadot	lcd_reset_n: lcd-reset-n-state {
1335*ae5de77eSEmmanuel Vadot		pins = "gpio44";
1336*ae5de77eSEmmanuel Vadot		function = "gpio";
1337*ae5de77eSEmmanuel Vadot		drive-strength = <8>;
1338*ae5de77eSEmmanuel Vadot		bias-disable;
1339*ae5de77eSEmmanuel Vadot	};
1340*ae5de77eSEmmanuel Vadot
1341*ae5de77eSEmmanuel Vadot	mdp_vsync_p: mdp-vsync-p-state {
1342*ae5de77eSEmmanuel Vadot		pins = "gpio80";
1343*ae5de77eSEmmanuel Vadot		function = "mdp_vsync";
1344*ae5de77eSEmmanuel Vadot		drive-strength = <2>;
1345*ae5de77eSEmmanuel Vadot		bias-pull-down;
1346*ae5de77eSEmmanuel Vadot	};
1347*ae5de77eSEmmanuel Vadot
13485f62a964SEmmanuel Vadot	hst_bt_en: hst-bt-en-state {
13495f62a964SEmmanuel Vadot		pins = "gpio85";
13505f62a964SEmmanuel Vadot		function = "gpio";
13515f62a964SEmmanuel Vadot		output-low;
13525f62a964SEmmanuel Vadot		bias-disable;
13535f62a964SEmmanuel Vadot	};
13545f62a964SEmmanuel Vadot
13555f62a964SEmmanuel Vadot	hst_sw_ctrl: hst-sw-ctrl-state {
13565f62a964SEmmanuel Vadot		pins = "gpio86";
13575f62a964SEmmanuel Vadot		function = "gpio";
13585f62a964SEmmanuel Vadot		bias-pull-down;
13595f62a964SEmmanuel Vadot	};
13605f62a964SEmmanuel Vadot};
13615f62a964SEmmanuel Vadot
13625f62a964SEmmanuel Vadot&uart5 {
13635f62a964SEmmanuel Vadot	status = "okay";
13645f62a964SEmmanuel Vadot};
13655f62a964SEmmanuel Vadot
13665f62a964SEmmanuel Vadot&uart7 {
13675f62a964SEmmanuel Vadot	/delete-property/interrupts;
13685f62a964SEmmanuel Vadot	interrupts-extended = <&intc GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>,
13695f62a964SEmmanuel Vadot			      <&tlmm 31 IRQ_TYPE_EDGE_FALLING>;
13705f62a964SEmmanuel Vadot
13715f62a964SEmmanuel Vadot	pinctrl-1 = <&bt_uart_sleep_cts>,
13725f62a964SEmmanuel Vadot		    <&bt_uart_sleep_rts>,
13735f62a964SEmmanuel Vadot		    <&bt_uart_sleep_txd>,
13745f62a964SEmmanuel Vadot		    <&bt_uart_sleep_rxd>;
13755f62a964SEmmanuel Vadot	pinctrl-names = "default", "sleep";
13765f62a964SEmmanuel Vadot
13775f62a964SEmmanuel Vadot	status = "okay";
13785f62a964SEmmanuel Vadot
13795f62a964SEmmanuel Vadot	bluetooth: bluetooth {
13805f62a964SEmmanuel Vadot		compatible = "qcom,wcn6750-bt";
13815f62a964SEmmanuel Vadot
13825f62a964SEmmanuel Vadot		pinctrl-0 = <&hst_bt_en>,
13835f62a964SEmmanuel Vadot			    <&hst_sw_ctrl>;
13845f62a964SEmmanuel Vadot		pinctrl-names = "default";
13855f62a964SEmmanuel Vadot
13865f62a964SEmmanuel Vadot		enable-gpios = <&tlmm 85 GPIO_ACTIVE_HIGH>;
13875f62a964SEmmanuel Vadot		swctrl-gpios = <&tlmm 86 GPIO_ACTIVE_HIGH>;
13885f62a964SEmmanuel Vadot
13895f62a964SEmmanuel Vadot		vddio-supply = <&vreg_l19b_1p8>;
13905f62a964SEmmanuel Vadot		vddaon-supply = <&vreg_s7b_0p952>;
13915f62a964SEmmanuel Vadot		vddbtcxmx-supply = <&vreg_s7b_0p952>;
13925f62a964SEmmanuel Vadot		vddrfacmn-supply = <&vreg_s7b_0p952>;
13935f62a964SEmmanuel Vadot		vddrfa0p8-supply = <&vreg_s7b_0p952>;
13945f62a964SEmmanuel Vadot		vddrfa1p7-supply = <&vdd19_pmu_rfa_i>;
13955f62a964SEmmanuel Vadot		vddrfa1p2-supply = <&vdd13_pmu_rfa_i>;
13965f62a964SEmmanuel Vadot		vddrfa2p2-supply = <&vreg_s1c_2p2>;
13975f62a964SEmmanuel Vadot		vddasd-supply = <&vreg_l11c_2p8>;
13985f62a964SEmmanuel Vadot		max-speed = <3200000>;
13995f62a964SEmmanuel Vadot
14005f62a964SEmmanuel Vadot		qcom,local-bd-address-broken;
14015f62a964SEmmanuel Vadot	};
14025f62a964SEmmanuel Vadot};
14035f62a964SEmmanuel Vadot
14045f62a964SEmmanuel Vadot&ufs_mem_hc {
14055f62a964SEmmanuel Vadot	reset-gpios = <&tlmm 175 GPIO_ACTIVE_LOW>;
14065f62a964SEmmanuel Vadot
14075f62a964SEmmanuel Vadot	vcc-supply = <&vreg_l7b_2p96>;
14085f62a964SEmmanuel Vadot	vcc-max-microamp = <800000>;
14095f62a964SEmmanuel Vadot	/*
14105f62a964SEmmanuel Vadot	 * Technically l9b enables an eLDO (supplied by s1b) which then powers
14115f62a964SEmmanuel Vadot	 * VCCQ2 of the UFS.
14125f62a964SEmmanuel Vadot	 */
14135f62a964SEmmanuel Vadot	vccq-supply = <&vreg_l9b_1p2>;
14145f62a964SEmmanuel Vadot	vccq-max-microamp = <900000>;
14155f62a964SEmmanuel Vadot
14165f62a964SEmmanuel Vadot	status = "okay";
14175f62a964SEmmanuel Vadot};
14185f62a964SEmmanuel Vadot
14195f62a964SEmmanuel Vadot&ufs_mem_phy {
14205f62a964SEmmanuel Vadot	vdda-phy-supply = <&vdd_a_ufs_0_core>;
14215f62a964SEmmanuel Vadot	vdda-pll-supply = <&vdd_a_ufs_0_1p2>;
14225f62a964SEmmanuel Vadot	status = "okay";
14235f62a964SEmmanuel Vadot};
14245f62a964SEmmanuel Vadot
14255f62a964SEmmanuel Vadot&usb_1 {
14265f62a964SEmmanuel Vadot	/* USB 2.0 only */
14275f62a964SEmmanuel Vadot	qcom,select-utmi-as-pipe-clk;
14285f62a964SEmmanuel Vadot	status = "okay";
14295f62a964SEmmanuel Vadot};
14305f62a964SEmmanuel Vadot
14315f62a964SEmmanuel Vadot&usb_1_dwc3 {
14325f62a964SEmmanuel Vadot	dr_mode = "otg";
14335f62a964SEmmanuel Vadot	usb-role-switch;
14345f62a964SEmmanuel Vadot	maximum-speed = "high-speed";
14355f62a964SEmmanuel Vadot	/* Remove USB3 phy */
14365f62a964SEmmanuel Vadot	phys = <&usb_1_hsphy>;
14375f62a964SEmmanuel Vadot	phy-names = "usb2-phy";
14385f62a964SEmmanuel Vadot};
14395f62a964SEmmanuel Vadot
14405f62a964SEmmanuel Vadot&usb_1_dwc3_hs {
14415f62a964SEmmanuel Vadot	remote-endpoint = <&pmic_glink_hs_in>;
14425f62a964SEmmanuel Vadot};
14435f62a964SEmmanuel Vadot
14445f62a964SEmmanuel Vadot&usb_1_hsphy {
14455f62a964SEmmanuel Vadot	vdda-pll-supply = <&vdd_a_usbhs_core>;
14465f62a964SEmmanuel Vadot	vdda18-supply = <&vdd_a_usbhs_1p8>;
14475f62a964SEmmanuel Vadot	vdda33-supply = <&vdd_a_usbhs_3p1>;
14485f62a964SEmmanuel Vadot	status = "okay";
14495f62a964SEmmanuel Vadot};
14505f62a964SEmmanuel Vadot
14515f62a964SEmmanuel Vadot&venus {
14525f62a964SEmmanuel Vadot	firmware-name = "qcom/sm7325/nothing/spacewar/vpu20_1v.mbn";
14535f62a964SEmmanuel Vadot	status = "okay";
14545f62a964SEmmanuel Vadot};
14555f62a964SEmmanuel Vadot
14565f62a964SEmmanuel Vadot&wifi {
14575f62a964SEmmanuel Vadot	status = "okay";
14585f62a964SEmmanuel Vadot};
1459