xref: /linux/arch/arm64/boot/dts/qcom/monaco-evk.dts (revision fbf5df34a4dbcd09d433dd4f0916bf9b2ddb16de)
1// SPDX-License-Identifier: BSD-3-Clause
2/*
3 * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
4 */
5
6/dts-v1/;
7
8#include <dt-bindings/gpio/gpio.h>
9#include <dt-bindings/pwm/pwm.h>
10#include <dt-bindings/sound/qcom,q6afe.h>
11#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
12
13#include "monaco.dtsi"
14#include "monaco-pmics.dtsi"
15
16/ {
17	model = "Qualcomm Technologies, Inc. Monaco EVK";
18	compatible = "qcom,monaco-evk", "qcom,qcs8300";
19
20	aliases {
21		ethernet0 = &ethernet0;
22		i2c1 = &i2c1;
23		serial0 = &uart7;
24		serial2 = &uart6;
25	};
26
27	chosen {
28		stdout-path = "serial0:115200n8";
29	};
30
31	connector-2 {
32		compatible = "gpio-usb-b-connector", "usb-b-connector";
33		label = "micro-USB";
34		type = "micro";
35
36		id-gpios = <&pmm8620au_0_gpios 9 GPIO_ACTIVE_HIGH>;
37		vbus-gpios = <&expander6 7 GPIO_ACTIVE_HIGH>;
38		vbus-supply = <&usb2_vbus>;
39
40		pinctrl-0 = <&usb2_id>;
41		pinctrl-names = "default";
42
43		port {
44			usb2_con_hs_ep: endpoint {
45				remote-endpoint = <&usb_2_dwc3_hs>;
46			};
47		};
48	};
49
50	dmic: audio-codec-0 {
51		compatible = "dmic-codec";
52		#sound-dai-cells = <0>;
53		num-channels = <1>;
54	};
55
56	max98357a: audio-codec-1 {
57		compatible = "maxim,max98357a";
58		#sound-dai-cells = <0>;
59	};
60
61	dp-connector-0 {
62		compatible = "dp-connector";
63		label = "DP0";
64		type = "mini";
65
66		port {
67			dp0_connector_in: endpoint {
68				remote-endpoint = <&lt8713sx_dp0_out>;
69			};
70		};
71	};
72
73	dp-connector-1 {
74		compatible = "dp-connector";
75		label = "DP1";
76		type = "mini";
77
78		port {
79			dp1_connector_in: endpoint {
80				remote-endpoint = <&lt8713sx_dp1_out>;
81			};
82		};
83	};
84
85	usb2_vbus: regulator-usb2-vbus {
86		compatible = "regulator-fixed";
87		regulator-name = "usb2_vbus";
88		gpio = <&pmm8650au_1_gpios 7 GPIO_ACTIVE_HIGH>;
89		regulator-min-microvolt = <5000000>;
90		regulator-max-microvolt = <5000000>;
91		enable-active-high;
92	};
93
94	sound {
95		compatible = "qcom,qcs8275-sndcard";
96		model = "MONACO-EVK";
97
98		pinctrl-0 = <&hs0_mi2s_active>, <&mi2s1_active>;
99		pinctrl-names = "default";
100
101		hs0-mi2s-playback-dai-link {
102			link-name = "HS0 MI2S Playback";
103
104			codec {
105				sound-dai = <&max98357a>;
106			};
107
108			cpu {
109				sound-dai = <&q6apmbedai PRIMARY_MI2S_RX>;
110			};
111
112			platform {
113				sound-dai = <&q6apm>;
114			};
115		};
116
117		sec-mi2s-capture-dai-link {
118			link-name = "Secondary MI2S Capture";
119
120			codec {
121				sound-dai = <&dmic>;
122			};
123
124			cpu {
125				sound-dai = <&q6apmbedai SECONDARY_MI2S_TX>;
126			};
127
128			platform {
129				sound-dai = <&q6apm>;
130			};
131		};
132	};
133
134	vreg_cam0_2p8: vreg-cam0-2p8 {
135		compatible = "regulator-fixed";
136		regulator-name = "vreg_cam0_2p8";
137		regulator-min-microvolt = <2800000>;
138		regulator-max-microvolt = <2800000>;
139		startup-delay-us = <10000>;
140
141		gpio = <&tlmm 73 GPIO_ACTIVE_HIGH>;
142		enable-active-high;
143
144		pinctrl-0 = <&cam0_avdd_2v8_en_default>;
145		pinctrl-names = "default";
146	};
147
148	vreg_cam1_2p8: vreg-cam1-2p8 {
149		compatible = "regulator-fixed";
150		regulator-name = "vreg_cam1_2p8";
151		regulator-min-microvolt = <2800000>;
152		regulator-max-microvolt = <2800000>;
153		startup-delay-us = <10000>;
154
155		gpio = <&tlmm 74 GPIO_ACTIVE_HIGH>;
156		enable-active-high;
157
158		pinctrl-0 = <&cam1_avdd_2v8_en_default>;
159		pinctrl-names = "default";
160	};
161
162	vreg_cam2_2p8: vreg-cam2-2p8 {
163		compatible = "regulator-fixed";
164		regulator-name = "vreg_cam2_2p8";
165		regulator-min-microvolt = <2800000>;
166		regulator-max-microvolt = <2800000>;
167		startup-delay-us = <10000>;
168
169		gpio = <&tlmm 75 GPIO_ACTIVE_HIGH>;
170		enable-active-high;
171
172		pinctrl-0 = <&cam2_avdd_2v8_en_default>;
173		pinctrl-names = "default";
174	};
175
176	/* This comes from a PMIC handled within the SAIL domain */
177	vreg_s2s: vreg-s2s {
178		compatible = "regulator-fixed";
179		regulator-name = "vreg_s2s";
180
181		regulator-min-microvolt = <1800000>;
182		regulator-max-microvolt = <1800000>;
183	};
184};
185
186&apps_rsc {
187	regulators-0 {
188		compatible = "qcom,pmm8654au-rpmh-regulators";
189		qcom,pmic-id = "a";
190
191		vreg_l3a: ldo3 {
192			regulator-name = "vreg_l3a";
193			regulator-min-microvolt = <1200000>;
194			regulator-max-microvolt = <1200000>;
195			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
196			regulator-allow-set-load;
197			regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
198		};
199
200		vreg_l4a: ldo4 {
201			regulator-name = "vreg_l4a";
202			regulator-min-microvolt = <880000>;
203			regulator-max-microvolt = <912000>;
204			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
205			regulator-allow-set-load;
206			regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
207		};
208
209		vreg_l5a: ldo5 {
210			regulator-name = "vreg_l5a";
211			regulator-min-microvolt = <1200000>;
212			regulator-max-microvolt = <1200000>;
213			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
214			regulator-allow-set-load;
215			regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
216		};
217
218		vreg_l6a: ldo6 {
219			regulator-name = "vreg_l6a";
220			regulator-min-microvolt = <880000>;
221			regulator-max-microvolt = <912000>;
222			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
223			regulator-allow-set-load;
224			regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
225		};
226
227		vreg_l7a: ldo7 {
228			regulator-name = "vreg_l7a";
229			regulator-min-microvolt = <880000>;
230			regulator-max-microvolt = <912000>;
231			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
232			regulator-allow-set-load;
233			regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
234		};
235
236		vreg_l8a: ldo8 {
237			regulator-name = "vreg_l8a";
238			regulator-min-microvolt = <2504000>;
239			regulator-max-microvolt = <2960000>;
240			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
241			regulator-allow-set-load;
242			regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
243		};
244
245		vreg_l9a: ldo9 {
246			regulator-name = "vreg_l9a";
247			regulator-min-microvolt = <2970000>;
248			regulator-max-microvolt = <3072000>;
249			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
250			regulator-allow-set-load;
251			regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
252		};
253	};
254
255	regulators-1 {
256		compatible = "qcom,pmm8654au-rpmh-regulators";
257		qcom,pmic-id = "c";
258
259		vreg_s5c: smps5 {
260			regulator-name = "vreg_s5c";
261			regulator-min-microvolt = <1104000>;
262			regulator-max-microvolt = <1104000>;
263			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
264		};
265
266		vreg_l1c: ldo1 {
267			regulator-name = "vreg_l1c";
268			regulator-min-microvolt = <300000>;
269			regulator-max-microvolt = <512000>;
270			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
271			regulator-allow-set-load;
272			regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
273		};
274
275		vreg_l2c: ldo2 {
276			regulator-name = "vreg_l2c";
277			regulator-min-microvolt = <900000>;
278			regulator-max-microvolt = <904000>;
279			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
280			regulator-allow-set-load;
281			regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
282		};
283
284		vreg_l4c: ldo4 {
285			regulator-name = "vreg_l4c";
286			regulator-min-microvolt = <1200000>;
287			regulator-max-microvolt = <1200000>;
288			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
289			regulator-allow-set-load;
290			regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
291		};
292
293		vreg_l7c: ldo7 {
294			regulator-name = "vreg_l7c";
295			regulator-min-microvolt = <1800000>;
296			regulator-max-microvolt = <1800000>;
297			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
298			regulator-allow-set-load;
299			regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
300		};
301
302		vreg_l8c: ldo8 {
303			regulator-name = "vreg_l8c";
304			regulator-min-microvolt = <1800000>;
305			regulator-max-microvolt = <1800000>;
306			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
307			regulator-allow-set-load;
308			regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
309		};
310
311		vreg_l9c: ldo9 {
312			regulator-name = "vreg_l9c";
313			regulator-min-microvolt = <1800000>;
314			regulator-max-microvolt = <1800000>;
315			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
316			regulator-allow-set-load;
317			regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
318		};
319	};
320};
321
322&ethernet0 {
323	phy-mode = "2500base-x";
324	phy-handle = <&hsgmii_phy0>;
325
326	pinctrl-0 = <&ethernet0_default>;
327	pinctrl-names = "default";
328
329	snps,mtl-rx-config = <&mtl_rx_setup>;
330	snps,mtl-tx-config = <&mtl_tx_setup>;
331	nvmem-cells = <&mac_addr0>;
332	nvmem-cell-names = "mac-address";
333
334	status = "okay";
335
336	mdio {
337		compatible = "snps,dwmac-mdio";
338		#address-cells = <1>;
339		#size-cells = <0>;
340
341		hsgmii_phy0: ethernet-phy@1c {
342			compatible = "ethernet-phy-id004d.d101";
343			reg = <0x1c>;
344			reset-gpios = <&tlmm 31 GPIO_ACTIVE_LOW>;
345			reset-assert-us = <11000>;
346			reset-deassert-us = <70000>;
347		};
348	};
349
350	mtl_rx_setup: rx-queues-config {
351		snps,rx-queues-to-use = <4>;
352		snps,rx-sched-sp;
353
354		queue0 {
355			snps,dcb-algorithm;
356			snps,map-to-dma-channel = <0x0>;
357			snps,route-up;
358			snps,priority = <0x1>;
359		};
360
361		queue1 {
362			snps,dcb-algorithm;
363			snps,map-to-dma-channel = <0x1>;
364			snps,route-ptp;
365		};
366
367		queue2 {
368			snps,avb-algorithm;
369			snps,map-to-dma-channel = <0x2>;
370			snps,route-avcp;
371		};
372
373		queue3 {
374			snps,avb-algorithm;
375			snps,map-to-dma-channel = <0x3>;
376			snps,priority = <0xc>;
377		};
378	};
379
380	mtl_tx_setup: tx-queues-config {
381		snps,tx-queues-to-use = <4>;
382
383		queue0 {
384			snps,dcb-algorithm;
385		};
386
387		queue1 {
388			snps,dcb-algorithm;
389		};
390
391		queue2 {
392			snps,avb-algorithm;
393			snps,send_slope = <0x1000>;
394			snps,idle_slope = <0x1000>;
395			snps,high_credit = <0x3e800>;
396			snps,low_credit = <0xffc18000>;
397		};
398
399		queue3 {
400			snps,avb-algorithm;
401			snps,send_slope = <0x1000>;
402			snps,idle_slope = <0x1000>;
403			snps,high_credit = <0x3e800>;
404			snps,low_credit = <0xffc18000>;
405		};
406	};
407};
408
409&gpi_dma0 {
410	status = "okay";
411};
412
413&gpi_dma1 {
414	status = "okay";
415};
416
417&gpu {
418	status = "okay";
419};
420
421&gpu_zap_shader {
422	firmware-name = "qcom/qcs8300/a623_zap.mbn";
423};
424
425&i2c0 {
426	status = "okay";
427
428	bridge@4f {
429		compatible = "lontium,lt8713sx";
430		reg = <0x4f>;
431		reset-gpios = <&expander5 6 GPIO_ACTIVE_LOW>;
432
433		ports {
434			#address-cells = <1>;
435			#size-cells = <0>;
436
437			port@0 {
438				reg = <0>;
439
440				lt8713sx_dp_in: endpoint {
441					remote-endpoint = <&mdss_dp0_out>;
442				};
443			};
444
445			port@1 {
446				reg = <1>;
447
448				lt8713sx_dp0_out: endpoint {
449					remote-endpoint = <&dp0_connector_in>;
450				};
451			};
452
453			port@2 {
454				reg = <2>;
455
456				lt8713sx_dp1_out: endpoint {
457					remote-endpoint = <&dp1_connector_in>;
458				};
459			};
460		};
461	};
462};
463
464&i2c1 {
465	pinctrl-0 = <&qup_i2c1_default>;
466	pinctrl-names = "default";
467
468	status = "okay";
469
470	fan_controller: fan@18 {
471		compatible = "ti,amc6821";
472		reg = <0x18>;
473		#pwm-cells = <2>;
474
475		fan {
476			pwms = <&fan_controller 40000 PWM_POLARITY_INVERTED>;
477		};
478	};
479
480	eeprom0: eeprom@50 {
481		compatible = "atmel,24c256";
482		reg = <0x50>;
483		pagesize = <64>;
484
485		nvmem-layout {
486			compatible = "fixed-layout";
487			#address-cells = <1>;
488			#size-cells = <1>;
489
490			mac_addr0: mac-addr@0 {
491				reg = <0x0 0x6>;
492			};
493		};
494	};
495};
496
497&i2c15 {
498	pinctrl-0 = <&qup_i2c15_default>;
499	pinctrl-names = "default";
500
501	status = "okay";
502
503	expander0: gpio@38 {
504		compatible = "ti,tca9538";
505		reg = <0x38>;
506		#gpio-cells = <2>;
507		gpio-controller;
508		#interrupt-cells = <2>;
509		interrupt-controller;
510		interrupts-extended = <&tlmm 56 IRQ_TYPE_LEVEL_LOW>;
511		pinctrl-0 = <&expander0_int>;
512		pinctrl-names = "default";
513	};
514
515	expander1: gpio@39 {
516		compatible = "ti,tca9538";
517		reg = <0x39>;
518		#gpio-cells = <2>;
519		gpio-controller;
520		#interrupt-cells = <2>;
521		interrupt-controller;
522		interrupts-extended = <&tlmm 16 IRQ_TYPE_LEVEL_LOW>;
523		pinctrl-0 = <&expander1_int>;
524		pinctrl-names = "default";
525	};
526
527	expander2: gpio@3a {
528		compatible = "ti,tca9538";
529		reg = <0x3a>;
530		#gpio-cells = <2>;
531		gpio-controller;
532		#interrupt-cells = <2>;
533		interrupt-controller;
534		interrupts-extended = <&tlmm 95 IRQ_TYPE_LEVEL_LOW>;
535		pinctrl-0 = <&expander2_int>;
536		pinctrl-names = "default";
537	};
538
539	expander3: gpio@3b {
540		compatible = "ti,tca9538";
541		reg = <0x3b>;
542		#gpio-cells = <2>;
543		gpio-controller;
544		#interrupt-cells = <2>;
545		interrupt-controller;
546		interrupts-extended = <&tlmm 24 IRQ_TYPE_LEVEL_LOW>;
547		pinctrl-0 = <&expander3_int>;
548		pinctrl-names = "default";
549	};
550
551	expander4: gpio@3c {
552		compatible = "ti,tca9538";
553		reg = <0x3c>;
554		#gpio-cells = <2>;
555		gpio-controller;
556		#interrupt-cells = <2>;
557		interrupt-controller;
558		interrupts-extended = <&tlmm 96 IRQ_TYPE_LEVEL_LOW>;
559		pinctrl-0 = <&expander4_int>;
560		pinctrl-names = "default";
561	};
562
563	expander5: gpio@3d {
564		compatible = "ti,tca9538";
565		reg = <0x3d>;
566		#gpio-cells = <2>;
567		gpio-controller;
568		#interrupt-cells = <2>;
569		interrupt-controller;
570		interrupts-extended = <&tlmm 3 IRQ_TYPE_LEVEL_LOW>;
571		pinctrl-0 = <&expander5_int>;
572		pinctrl-names = "default";
573	};
574
575	expander6: gpio@3e {
576		compatible = "ti,tca9538";
577		reg = <0x3e>;
578		#gpio-cells = <2>;
579		gpio-controller;
580		#interrupt-cells = <2>;
581		interrupt-controller;
582		interrupts-extended = <&tlmm 52 IRQ_TYPE_LEVEL_LOW>;
583		pinctrl-0 = <&expander6_int>;
584		pinctrl-names = "default";
585	};
586};
587
588&iris {
589	status = "okay";
590};
591
592&mdss {
593	status = "okay";
594};
595
596&mdss_dp0 {
597	pinctrl-0 = <&dp_hot_plug_det>;
598	pinctrl-names = "default";
599
600	status = "okay";
601};
602
603&mdss_dp0_out {
604	data-lanes = <0 1 2 3>;
605	link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
606	remote-endpoint = <&lt8713sx_dp_in>;
607};
608
609&mdss_dp0_phy {
610	vdda-phy-supply = <&vreg_l5a>;
611	vdda-pll-supply = <&vreg_l4a>;
612
613	status = "okay";
614};
615
616&pcie0 {
617	pinctrl-0 = <&pcie0_default_state>;
618	pinctrl-names = "default";
619
620	status = "okay";
621};
622
623&pcie0_phy {
624	vdda-phy-supply = <&vreg_l6a>;
625	vdda-pll-supply = <&vreg_l5a>;
626
627	status = "okay";
628};
629
630&pcie1 {
631	pinctrl-0 = <&pcie1_default_state>;
632	pinctrl-names = "default";
633
634	status = "okay";
635};
636
637&pcie1_phy {
638	vdda-phy-supply = <&vreg_l6a>;
639	vdda-pll-supply = <&vreg_l5a>;
640
641	status = "okay";
642};
643
644&pcieport0 {
645	reset-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;
646	wake-gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
647};
648
649&pcieport1 {
650	reset-gpios = <&tlmm 23 GPIO_ACTIVE_LOW>;
651	wake-gpios = <&tlmm 21 GPIO_ACTIVE_HIGH>;
652};
653
654&pmm8620au_0_gpios {
655	usb2_id: usb2-id-state {
656		pins = "gpio9";
657		function = "normal";
658		input-enable;
659		bias-pull-up;
660		power-source = <0>;
661	};
662};
663
664&qup_i2c0_data_clk {
665	drive-strength = <2>;
666	bias-pull-up;
667};
668
669&qupv3_id_0 {
670	firmware-name = "qcom/qcs8300/qupv3fw.elf";
671	status = "okay";
672};
673
674&qupv3_id_1 {
675	firmware-name = "qcom/qcs8300/qupv3fw.elf";
676	status = "okay";
677};
678
679&remoteproc_adsp {
680	firmware-name = "qcom/qcs8300/adsp.mbn";
681
682	status = "okay";
683};
684
685&remoteproc_cdsp {
686	firmware-name = "qcom/qcs8300/cdsp0.mbn";
687
688	status = "okay";
689};
690
691&remoteproc_gpdsp {
692	firmware-name = "qcom/qcs8300/gpdsp0.mbn";
693
694	status = "okay";
695};
696
697&sdhc_1 {
698	vmmc-supply = <&vreg_l8a>;
699	vqmmc-supply = <&vreg_s2s>;
700
701	no-sd;
702	no-sdio;
703	non-removable;
704
705	status = "okay";
706};
707
708&serdes0 {
709	phy-supply = <&vreg_l4a>;
710
711	status = "okay";
712};
713
714&spi10 {
715	status = "okay";
716
717	tpm@0 {
718		compatible = "st,st33htpm-spi", "tcg,tpm_tis-spi";
719		reg = <0>;
720		spi-max-frequency = <20000000>;
721	};
722};
723
724&tlmm {
725	pcie0_default_state: pcie0-default-state {
726		wake-pins {
727			pins = "gpio0";
728			function = "gpio";
729			drive-strength = <2>;
730			bias-pull-up;
731		};
732
733		clkreq-pins {
734			pins = "gpio1";
735			function = "pcie0_clkreq";
736			drive-strength = <2>;
737			bias-pull-up;
738		};
739
740		perst-pins {
741			pins = "gpio2";
742			function = "gpio";
743			drive-strength = <2>;
744			bias-pull-up;
745		};
746	};
747
748	ethernet0_default: ethernet0-default-state {
749		ethernet0_mdc: ethernet0-mdc-pins {
750			pins = "gpio5";
751			function = "emac0_mdc";
752			drive-strength = <16>;
753			bias-pull-up;
754		};
755
756		ethernet0_mdio: ethernet0-mdio-pins {
757			pins = "gpio6";
758			function = "emac0_mdio";
759			drive-strength = <16>;
760			bias-pull-up;
761		};
762	};
763
764	expander5_int: expander5-int-state {
765		pins = "gpio3";
766		function = "gpio";
767		bias-pull-up;
768	};
769
770	expander1_int: expander1-int-state {
771		pins = "gpio16";
772		function = "gpio";
773		bias-pull-up;
774	};
775
776	qup_i2c1_default: qup-i2c1-state {
777		pins = "gpio19", "gpio20";
778		function = "qup0_se1";
779		drive-strength = <2>;
780		bias-pull-up;
781	};
782
783	pcie1_default_state: pcie1-default-state {
784		wake-pins {
785			pins = "gpio21";
786			function = "gpio";
787			drive-strength = <2>;
788			bias-pull-up;
789		};
790
791		clkreq-pins {
792			pins = "gpio22";
793			function = "pcie1_clkreq";
794			drive-strength = <2>;
795			bias-pull-up;
796		};
797
798		perst-pins {
799			pins = "gpio23";
800			function = "gpio";
801			drive-strength = <2>;
802			bias-pull-up;
803		};
804	};
805
806	expander3_int: expander3-int-state {
807		pins = "gpio24";
808		function = "gpio";
809		bias-pull-up;
810	};
811
812	expander6_int:  expander6-int-state {
813		pins = "gpio52";
814		function = "gpio";
815		bias-pull-up;
816	};
817
818	expander0_int: expander0-int-state {
819		pins = "gpio56";
820		function = "gpio";
821		bias-pull-up;
822	};
823
824	cam0_avdd_2v8_en_default: cam0-avdd-2v8-en-state {
825		pins = "gpio73";
826		function = "gpio";
827		drive-strength = <2>;
828		bias-disable;
829	};
830
831	cam1_avdd_2v8_en_default: cam1-avdd-2v8-en-state {
832		pins = "gpio74";
833		function = "gpio";
834		drive-strength = <2>;
835		bias-disable;
836	};
837
838	cam2_avdd_2v8_en_default: cam2-avdd-2v8-en-state {
839		pins = "gpio75";
840		function = "gpio";
841		drive-strength = <2>;
842		bias-disable;
843	};
844
845	qup_i2c15_default: qup-i2c15-state {
846		pins = "gpio91", "gpio92";
847		function = "qup1_se7";
848		drive-strength = <2>;
849		bias-pull-up;
850	};
851
852	expander2_int: expander2-int-state {
853		pins = "gpio95";
854		function = "gpio";
855		bias-pull-up;
856	};
857
858	expander4_int: expander4-int-state {
859		pins = "gpio96";
860		function = "gpio";
861		bias-pull-up;
862	};
863};
864
865&uart6 {
866	status = "okay";
867};
868
869&uart7 {
870	status = "okay";
871};
872
873&ufs_mem_hc {
874	reset-gpios = <&tlmm 133 GPIO_ACTIVE_LOW>;
875	vcc-supply = <&vreg_l8a>;
876	vcc-max-microamp = <1100000>;
877	vccq-supply = <&vreg_l4c>;
878	vccq-max-microamp = <1200000>;
879
880	status = "okay";
881};
882
883&ufs_mem_phy {
884	vdda-phy-supply = <&vreg_l4a>;
885	vdda-pll-supply = <&vreg_l5a>;
886
887	status = "okay";
888};
889
890&usb_1 {
891	dr_mode = "peripheral";
892
893	status = "okay";
894};
895
896&usb_1_hsphy {
897	vdda-pll-supply = <&vreg_l7a>;
898	vdda18-supply = <&vreg_l7c>;
899	vdda33-supply = <&vreg_l9a>;
900
901	status = "okay";
902};
903
904&usb_qmpphy {
905	vdda-phy-supply = <&vreg_l7a>;
906	vdda-pll-supply = <&vreg_l5a>;
907
908	status = "okay";
909};
910
911&usb_2 {
912	status = "okay";
913};
914
915&usb_2_dwc3_hs {
916	remote-endpoint = <&usb2_con_hs_ep>;
917};
918
919&usb_2_hsphy {
920	vdda-pll-supply = <&vreg_l7a>;
921	vdda18-supply = <&vreg_l7c>;
922	vdda33-supply = <&vreg_l9a>;
923
924	status = "okay";
925};
926