xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/monaco-evk.dts (revision 69ed3df4f588860308677cda76cbcce1f19a54c9)
11537cf73SEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause
21537cf73SEmmanuel Vadot/*
31537cf73SEmmanuel Vadot * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
41537cf73SEmmanuel Vadot */
51537cf73SEmmanuel Vadot
61537cf73SEmmanuel Vadot/dts-v1/;
71537cf73SEmmanuel Vadot
81537cf73SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
90cd4430aSEmmanuel Vadot#include <dt-bindings/pwm/pwm.h>
101537cf73SEmmanuel Vadot#include <dt-bindings/sound/qcom,q6afe.h>
111537cf73SEmmanuel Vadot#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
121537cf73SEmmanuel Vadot
1396fb1ebdSEmmanuel Vadot#include "monaco.dtsi"
1496fb1ebdSEmmanuel Vadot#include "monaco-pmics.dtsi"
151537cf73SEmmanuel Vadot
161537cf73SEmmanuel Vadot/ {
171537cf73SEmmanuel Vadot	model = "Qualcomm Technologies, Inc. Monaco EVK";
181537cf73SEmmanuel Vadot	compatible = "qcom,monaco-evk", "qcom,qcs8300";
191537cf73SEmmanuel Vadot
201537cf73SEmmanuel Vadot	aliases {
211537cf73SEmmanuel Vadot		ethernet0 = &ethernet0;
221537cf73SEmmanuel Vadot		i2c1 = &i2c1;
231537cf73SEmmanuel Vadot		serial0 = &uart7;
24*69ed3df4SEmmanuel Vadot		serial2 = &uart6;
251537cf73SEmmanuel Vadot	};
261537cf73SEmmanuel Vadot
271537cf73SEmmanuel Vadot	chosen {
281537cf73SEmmanuel Vadot		stdout-path = "serial0:115200n8";
291537cf73SEmmanuel Vadot	};
301537cf73SEmmanuel Vadot
31*69ed3df4SEmmanuel Vadot	connector-2 {
32*69ed3df4SEmmanuel Vadot		compatible = "gpio-usb-b-connector", "usb-b-connector";
33*69ed3df4SEmmanuel Vadot		label = "micro-USB";
34*69ed3df4SEmmanuel Vadot		type = "micro";
35*69ed3df4SEmmanuel Vadot
36*69ed3df4SEmmanuel Vadot		id-gpios = <&pmm8620au_0_gpios 9 GPIO_ACTIVE_HIGH>;
37*69ed3df4SEmmanuel Vadot		vbus-gpios = <&expander6 7 GPIO_ACTIVE_HIGH>;
38*69ed3df4SEmmanuel Vadot		vbus-supply = <&usb2_vbus>;
39*69ed3df4SEmmanuel Vadot
40*69ed3df4SEmmanuel Vadot		pinctrl-0 = <&usb2_id>;
41*69ed3df4SEmmanuel Vadot		pinctrl-names = "default";
42*69ed3df4SEmmanuel Vadot
43*69ed3df4SEmmanuel Vadot		port {
44*69ed3df4SEmmanuel Vadot			usb2_con_hs_ep: endpoint {
45*69ed3df4SEmmanuel Vadot				remote-endpoint = <&usb_2_dwc3_hs>;
46*69ed3df4SEmmanuel Vadot			};
47*69ed3df4SEmmanuel Vadot		};
48*69ed3df4SEmmanuel Vadot	};
49*69ed3df4SEmmanuel Vadot
501537cf73SEmmanuel Vadot	dmic: audio-codec-0 {
511537cf73SEmmanuel Vadot		compatible = "dmic-codec";
521537cf73SEmmanuel Vadot		#sound-dai-cells = <0>;
531537cf73SEmmanuel Vadot		num-channels = <1>;
541537cf73SEmmanuel Vadot	};
551537cf73SEmmanuel Vadot
561537cf73SEmmanuel Vadot	max98357a: audio-codec-1 {
571537cf73SEmmanuel Vadot		compatible = "maxim,max98357a";
581537cf73SEmmanuel Vadot		#sound-dai-cells = <0>;
591537cf73SEmmanuel Vadot	};
601537cf73SEmmanuel Vadot
61*69ed3df4SEmmanuel Vadot	dp-connector-0 {
62*69ed3df4SEmmanuel Vadot		compatible = "dp-connector";
63*69ed3df4SEmmanuel Vadot		label = "DP0";
64*69ed3df4SEmmanuel Vadot		type = "mini";
65*69ed3df4SEmmanuel Vadot
66*69ed3df4SEmmanuel Vadot		port {
67*69ed3df4SEmmanuel Vadot			dp0_connector_in: endpoint {
68*69ed3df4SEmmanuel Vadot				remote-endpoint = <&lt8713sx_dp0_out>;
69*69ed3df4SEmmanuel Vadot			};
70*69ed3df4SEmmanuel Vadot		};
71*69ed3df4SEmmanuel Vadot	};
72*69ed3df4SEmmanuel Vadot
73*69ed3df4SEmmanuel Vadot	dp-connector-1 {
74*69ed3df4SEmmanuel Vadot		compatible = "dp-connector";
75*69ed3df4SEmmanuel Vadot		label = "DP1";
76*69ed3df4SEmmanuel Vadot		type = "mini";
77*69ed3df4SEmmanuel Vadot
78*69ed3df4SEmmanuel Vadot		port {
79*69ed3df4SEmmanuel Vadot			dp1_connector_in: endpoint {
80*69ed3df4SEmmanuel Vadot				remote-endpoint = <&lt8713sx_dp1_out>;
81*69ed3df4SEmmanuel Vadot			};
82*69ed3df4SEmmanuel Vadot		};
83*69ed3df4SEmmanuel Vadot	};
84*69ed3df4SEmmanuel Vadot
85*69ed3df4SEmmanuel Vadot	usb2_vbus: regulator-usb2-vbus {
86*69ed3df4SEmmanuel Vadot		compatible = "regulator-fixed";
87*69ed3df4SEmmanuel Vadot		regulator-name = "usb2_vbus";
88*69ed3df4SEmmanuel Vadot		gpio = <&pmm8650au_1_gpios 7 GPIO_ACTIVE_HIGH>;
89*69ed3df4SEmmanuel Vadot		regulator-min-microvolt = <5000000>;
90*69ed3df4SEmmanuel Vadot		regulator-max-microvolt = <5000000>;
91*69ed3df4SEmmanuel Vadot		enable-active-high;
92*69ed3df4SEmmanuel Vadot	};
93*69ed3df4SEmmanuel Vadot
941537cf73SEmmanuel Vadot	sound {
951537cf73SEmmanuel Vadot		compatible = "qcom,qcs8275-sndcard";
961537cf73SEmmanuel Vadot		model = "MONACO-EVK";
971537cf73SEmmanuel Vadot
981537cf73SEmmanuel Vadot		pinctrl-0 = <&hs0_mi2s_active>, <&mi2s1_active>;
991537cf73SEmmanuel Vadot		pinctrl-names = "default";
1001537cf73SEmmanuel Vadot
1011537cf73SEmmanuel Vadot		hs0-mi2s-playback-dai-link {
1021537cf73SEmmanuel Vadot			link-name = "HS0 MI2S Playback";
1031537cf73SEmmanuel Vadot
1041537cf73SEmmanuel Vadot			codec {
1051537cf73SEmmanuel Vadot				sound-dai = <&max98357a>;
1061537cf73SEmmanuel Vadot			};
1071537cf73SEmmanuel Vadot
1081537cf73SEmmanuel Vadot			cpu {
1091537cf73SEmmanuel Vadot				sound-dai = <&q6apmbedai PRIMARY_MI2S_RX>;
1101537cf73SEmmanuel Vadot			};
1111537cf73SEmmanuel Vadot
1121537cf73SEmmanuel Vadot			platform {
1131537cf73SEmmanuel Vadot				sound-dai = <&q6apm>;
1141537cf73SEmmanuel Vadot			};
1151537cf73SEmmanuel Vadot		};
1161537cf73SEmmanuel Vadot
1171537cf73SEmmanuel Vadot		sec-mi2s-capture-dai-link {
1181537cf73SEmmanuel Vadot			link-name = "Secondary MI2S Capture";
1191537cf73SEmmanuel Vadot
1201537cf73SEmmanuel Vadot			codec {
1211537cf73SEmmanuel Vadot				sound-dai = <&dmic>;
1221537cf73SEmmanuel Vadot			};
1231537cf73SEmmanuel Vadot
1241537cf73SEmmanuel Vadot			cpu {
1251537cf73SEmmanuel Vadot				sound-dai = <&q6apmbedai SECONDARY_MI2S_TX>;
1261537cf73SEmmanuel Vadot			};
1271537cf73SEmmanuel Vadot
1281537cf73SEmmanuel Vadot			platform {
1291537cf73SEmmanuel Vadot				sound-dai = <&q6apm>;
1301537cf73SEmmanuel Vadot			};
1311537cf73SEmmanuel Vadot		};
1321537cf73SEmmanuel Vadot	};
133*69ed3df4SEmmanuel Vadot
134*69ed3df4SEmmanuel Vadot	vreg_cam0_2p8: vreg-cam0-2p8 {
135*69ed3df4SEmmanuel Vadot		compatible = "regulator-fixed";
136*69ed3df4SEmmanuel Vadot		regulator-name = "vreg_cam0_2p8";
137*69ed3df4SEmmanuel Vadot		regulator-min-microvolt = <2800000>;
138*69ed3df4SEmmanuel Vadot		regulator-max-microvolt = <2800000>;
139*69ed3df4SEmmanuel Vadot		startup-delay-us = <10000>;
140*69ed3df4SEmmanuel Vadot
141*69ed3df4SEmmanuel Vadot		gpio = <&tlmm 73 GPIO_ACTIVE_HIGH>;
142*69ed3df4SEmmanuel Vadot		enable-active-high;
143*69ed3df4SEmmanuel Vadot
144*69ed3df4SEmmanuel Vadot		pinctrl-0 = <&cam0_avdd_2v8_en_default>;
145*69ed3df4SEmmanuel Vadot		pinctrl-names = "default";
146*69ed3df4SEmmanuel Vadot	};
147*69ed3df4SEmmanuel Vadot
148*69ed3df4SEmmanuel Vadot	vreg_cam1_2p8: vreg-cam1-2p8 {
149*69ed3df4SEmmanuel Vadot		compatible = "regulator-fixed";
150*69ed3df4SEmmanuel Vadot		regulator-name = "vreg_cam1_2p8";
151*69ed3df4SEmmanuel Vadot		regulator-min-microvolt = <2800000>;
152*69ed3df4SEmmanuel Vadot		regulator-max-microvolt = <2800000>;
153*69ed3df4SEmmanuel Vadot		startup-delay-us = <10000>;
154*69ed3df4SEmmanuel Vadot
155*69ed3df4SEmmanuel Vadot		gpio = <&tlmm 74 GPIO_ACTIVE_HIGH>;
156*69ed3df4SEmmanuel Vadot		enable-active-high;
157*69ed3df4SEmmanuel Vadot
158*69ed3df4SEmmanuel Vadot		pinctrl-0 = <&cam1_avdd_2v8_en_default>;
159*69ed3df4SEmmanuel Vadot		pinctrl-names = "default";
160*69ed3df4SEmmanuel Vadot	};
161*69ed3df4SEmmanuel Vadot
162*69ed3df4SEmmanuel Vadot	vreg_cam2_2p8: vreg-cam2-2p8 {
163*69ed3df4SEmmanuel Vadot		compatible = "regulator-fixed";
164*69ed3df4SEmmanuel Vadot		regulator-name = "vreg_cam2_2p8";
165*69ed3df4SEmmanuel Vadot		regulator-min-microvolt = <2800000>;
166*69ed3df4SEmmanuel Vadot		regulator-max-microvolt = <2800000>;
167*69ed3df4SEmmanuel Vadot		startup-delay-us = <10000>;
168*69ed3df4SEmmanuel Vadot
169*69ed3df4SEmmanuel Vadot		gpio = <&tlmm 75 GPIO_ACTIVE_HIGH>;
170*69ed3df4SEmmanuel Vadot		enable-active-high;
171*69ed3df4SEmmanuel Vadot
172*69ed3df4SEmmanuel Vadot		pinctrl-0 = <&cam2_avdd_2v8_en_default>;
173*69ed3df4SEmmanuel Vadot		pinctrl-names = "default";
174*69ed3df4SEmmanuel Vadot	};
175*69ed3df4SEmmanuel Vadot
176*69ed3df4SEmmanuel Vadot	/* This comes from a PMIC handled within the SAIL domain */
177*69ed3df4SEmmanuel Vadot	vreg_s2s: vreg-s2s {
178*69ed3df4SEmmanuel Vadot		compatible = "regulator-fixed";
179*69ed3df4SEmmanuel Vadot		regulator-name = "vreg_s2s";
180*69ed3df4SEmmanuel Vadot
181*69ed3df4SEmmanuel Vadot		regulator-min-microvolt = <1800000>;
182*69ed3df4SEmmanuel Vadot		regulator-max-microvolt = <1800000>;
183*69ed3df4SEmmanuel Vadot	};
1841537cf73SEmmanuel Vadot};
1851537cf73SEmmanuel Vadot
1861537cf73SEmmanuel Vadot&apps_rsc {
1871537cf73SEmmanuel Vadot	regulators-0 {
1881537cf73SEmmanuel Vadot		compatible = "qcom,pmm8654au-rpmh-regulators";
1891537cf73SEmmanuel Vadot		qcom,pmic-id = "a";
1901537cf73SEmmanuel Vadot
1911537cf73SEmmanuel Vadot		vreg_l3a: ldo3 {
1921537cf73SEmmanuel Vadot			regulator-name = "vreg_l3a";
1931537cf73SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
1941537cf73SEmmanuel Vadot			regulator-max-microvolt = <1200000>;
1951537cf73SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
1961537cf73SEmmanuel Vadot			regulator-allow-set-load;
1971537cf73SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
1981537cf73SEmmanuel Vadot		};
1991537cf73SEmmanuel Vadot
2001537cf73SEmmanuel Vadot		vreg_l4a: ldo4 {
2011537cf73SEmmanuel Vadot			regulator-name = "vreg_l4a";
2021537cf73SEmmanuel Vadot			regulator-min-microvolt = <880000>;
2031537cf73SEmmanuel Vadot			regulator-max-microvolt = <912000>;
2041537cf73SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2051537cf73SEmmanuel Vadot			regulator-allow-set-load;
2061537cf73SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
2071537cf73SEmmanuel Vadot		};
2081537cf73SEmmanuel Vadot
2091537cf73SEmmanuel Vadot		vreg_l5a: ldo5 {
2101537cf73SEmmanuel Vadot			regulator-name = "vreg_l5a";
2111537cf73SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
2121537cf73SEmmanuel Vadot			regulator-max-microvolt = <1200000>;
2131537cf73SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2141537cf73SEmmanuel Vadot			regulator-allow-set-load;
2151537cf73SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
2161537cf73SEmmanuel Vadot		};
2171537cf73SEmmanuel Vadot
2181537cf73SEmmanuel Vadot		vreg_l6a: ldo6 {
2191537cf73SEmmanuel Vadot			regulator-name = "vreg_l6a";
2201537cf73SEmmanuel Vadot			regulator-min-microvolt = <880000>;
2211537cf73SEmmanuel Vadot			regulator-max-microvolt = <912000>;
2221537cf73SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2231537cf73SEmmanuel Vadot			regulator-allow-set-load;
2241537cf73SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
2251537cf73SEmmanuel Vadot		};
2261537cf73SEmmanuel Vadot
2271537cf73SEmmanuel Vadot		vreg_l7a: ldo7 {
2281537cf73SEmmanuel Vadot			regulator-name = "vreg_l7a";
2291537cf73SEmmanuel Vadot			regulator-min-microvolt = <880000>;
2301537cf73SEmmanuel Vadot			regulator-max-microvolt = <912000>;
2311537cf73SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2321537cf73SEmmanuel Vadot			regulator-allow-set-load;
2331537cf73SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
2341537cf73SEmmanuel Vadot		};
2351537cf73SEmmanuel Vadot
2361537cf73SEmmanuel Vadot		vreg_l8a: ldo8 {
2371537cf73SEmmanuel Vadot			regulator-name = "vreg_l8a";
2381537cf73SEmmanuel Vadot			regulator-min-microvolt = <2504000>;
2391537cf73SEmmanuel Vadot			regulator-max-microvolt = <2960000>;
2401537cf73SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2411537cf73SEmmanuel Vadot			regulator-allow-set-load;
2421537cf73SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
2431537cf73SEmmanuel Vadot		};
2441537cf73SEmmanuel Vadot
2451537cf73SEmmanuel Vadot		vreg_l9a: ldo9 {
2461537cf73SEmmanuel Vadot			regulator-name = "vreg_l9a";
2471537cf73SEmmanuel Vadot			regulator-min-microvolt = <2970000>;
2481537cf73SEmmanuel Vadot			regulator-max-microvolt = <3072000>;
2491537cf73SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2501537cf73SEmmanuel Vadot			regulator-allow-set-load;
2511537cf73SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
2521537cf73SEmmanuel Vadot		};
2531537cf73SEmmanuel Vadot	};
2541537cf73SEmmanuel Vadot
2551537cf73SEmmanuel Vadot	regulators-1 {
2561537cf73SEmmanuel Vadot		compatible = "qcom,pmm8654au-rpmh-regulators";
2571537cf73SEmmanuel Vadot		qcom,pmic-id = "c";
2581537cf73SEmmanuel Vadot
2591537cf73SEmmanuel Vadot		vreg_s5c: smps5 {
2601537cf73SEmmanuel Vadot			regulator-name = "vreg_s5c";
2611537cf73SEmmanuel Vadot			regulator-min-microvolt = <1104000>;
2621537cf73SEmmanuel Vadot			regulator-max-microvolt = <1104000>;
2631537cf73SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2641537cf73SEmmanuel Vadot		};
2651537cf73SEmmanuel Vadot
2661537cf73SEmmanuel Vadot		vreg_l1c: ldo1 {
2671537cf73SEmmanuel Vadot			regulator-name = "vreg_l1c";
2681537cf73SEmmanuel Vadot			regulator-min-microvolt = <300000>;
2691537cf73SEmmanuel Vadot			regulator-max-microvolt = <512000>;
2701537cf73SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2711537cf73SEmmanuel Vadot			regulator-allow-set-load;
2721537cf73SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
2731537cf73SEmmanuel Vadot		};
2741537cf73SEmmanuel Vadot
2751537cf73SEmmanuel Vadot		vreg_l2c: ldo2 {
2761537cf73SEmmanuel Vadot			regulator-name = "vreg_l2c";
2771537cf73SEmmanuel Vadot			regulator-min-microvolt = <900000>;
2781537cf73SEmmanuel Vadot			regulator-max-microvolt = <904000>;
2791537cf73SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2801537cf73SEmmanuel Vadot			regulator-allow-set-load;
2811537cf73SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
2821537cf73SEmmanuel Vadot		};
2831537cf73SEmmanuel Vadot
2841537cf73SEmmanuel Vadot		vreg_l4c: ldo4 {
2851537cf73SEmmanuel Vadot			regulator-name = "vreg_l4c";
2861537cf73SEmmanuel Vadot			regulator-min-microvolt = <1200000>;
2871537cf73SEmmanuel Vadot			regulator-max-microvolt = <1200000>;
2881537cf73SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2891537cf73SEmmanuel Vadot			regulator-allow-set-load;
2901537cf73SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
2911537cf73SEmmanuel Vadot		};
2921537cf73SEmmanuel Vadot
2931537cf73SEmmanuel Vadot		vreg_l7c: ldo7 {
2941537cf73SEmmanuel Vadot			regulator-name = "vreg_l7c";
2951537cf73SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
2961537cf73SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
2971537cf73SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
2981537cf73SEmmanuel Vadot			regulator-allow-set-load;
2991537cf73SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
3001537cf73SEmmanuel Vadot		};
3011537cf73SEmmanuel Vadot
3021537cf73SEmmanuel Vadot		vreg_l8c: ldo8 {
3031537cf73SEmmanuel Vadot			regulator-name = "vreg_l8c";
3041537cf73SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
3051537cf73SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
3061537cf73SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3071537cf73SEmmanuel Vadot			regulator-allow-set-load;
3081537cf73SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
3091537cf73SEmmanuel Vadot		};
3101537cf73SEmmanuel Vadot
3111537cf73SEmmanuel Vadot		vreg_l9c: ldo9 {
3121537cf73SEmmanuel Vadot			regulator-name = "vreg_l9c";
3131537cf73SEmmanuel Vadot			regulator-min-microvolt = <1800000>;
3141537cf73SEmmanuel Vadot			regulator-max-microvolt = <1800000>;
3151537cf73SEmmanuel Vadot			regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
3161537cf73SEmmanuel Vadot			regulator-allow-set-load;
3171537cf73SEmmanuel Vadot			regulator-allowed-modes = <RPMH_REGULATOR_MODE_HPM>;
3181537cf73SEmmanuel Vadot		};
3191537cf73SEmmanuel Vadot	};
3201537cf73SEmmanuel Vadot};
3211537cf73SEmmanuel Vadot
3221537cf73SEmmanuel Vadot&ethernet0 {
3231537cf73SEmmanuel Vadot	phy-mode = "2500base-x";
3241537cf73SEmmanuel Vadot	phy-handle = <&hsgmii_phy0>;
3251537cf73SEmmanuel Vadot
3261537cf73SEmmanuel Vadot	pinctrl-0 = <&ethernet0_default>;
3271537cf73SEmmanuel Vadot	pinctrl-names = "default";
3281537cf73SEmmanuel Vadot
3291537cf73SEmmanuel Vadot	snps,mtl-rx-config = <&mtl_rx_setup>;
3301537cf73SEmmanuel Vadot	snps,mtl-tx-config = <&mtl_tx_setup>;
3311537cf73SEmmanuel Vadot	nvmem-cells = <&mac_addr0>;
3321537cf73SEmmanuel Vadot	nvmem-cell-names = "mac-address";
3331537cf73SEmmanuel Vadot
3341537cf73SEmmanuel Vadot	status = "okay";
3351537cf73SEmmanuel Vadot
3361537cf73SEmmanuel Vadot	mdio {
3371537cf73SEmmanuel Vadot		compatible = "snps,dwmac-mdio";
3381537cf73SEmmanuel Vadot		#address-cells = <1>;
3391537cf73SEmmanuel Vadot		#size-cells = <0>;
3401537cf73SEmmanuel Vadot
3411537cf73SEmmanuel Vadot		hsgmii_phy0: ethernet-phy@1c {
3421537cf73SEmmanuel Vadot			compatible = "ethernet-phy-id004d.d101";
3431537cf73SEmmanuel Vadot			reg = <0x1c>;
3441537cf73SEmmanuel Vadot			reset-gpios = <&tlmm 31 GPIO_ACTIVE_LOW>;
3451537cf73SEmmanuel Vadot			reset-assert-us = <11000>;
3461537cf73SEmmanuel Vadot			reset-deassert-us = <70000>;
3471537cf73SEmmanuel Vadot		};
3481537cf73SEmmanuel Vadot	};
3491537cf73SEmmanuel Vadot
3501537cf73SEmmanuel Vadot	mtl_rx_setup: rx-queues-config {
3511537cf73SEmmanuel Vadot		snps,rx-queues-to-use = <4>;
3521537cf73SEmmanuel Vadot		snps,rx-sched-sp;
3531537cf73SEmmanuel Vadot
3541537cf73SEmmanuel Vadot		queue0 {
3551537cf73SEmmanuel Vadot			snps,dcb-algorithm;
3561537cf73SEmmanuel Vadot			snps,map-to-dma-channel = <0x0>;
3571537cf73SEmmanuel Vadot			snps,route-up;
3581537cf73SEmmanuel Vadot			snps,priority = <0x1>;
3591537cf73SEmmanuel Vadot		};
3601537cf73SEmmanuel Vadot
3611537cf73SEmmanuel Vadot		queue1 {
3621537cf73SEmmanuel Vadot			snps,dcb-algorithm;
3631537cf73SEmmanuel Vadot			snps,map-to-dma-channel = <0x1>;
3641537cf73SEmmanuel Vadot			snps,route-ptp;
3651537cf73SEmmanuel Vadot		};
3661537cf73SEmmanuel Vadot
3671537cf73SEmmanuel Vadot		queue2 {
3681537cf73SEmmanuel Vadot			snps,avb-algorithm;
3691537cf73SEmmanuel Vadot			snps,map-to-dma-channel = <0x2>;
3701537cf73SEmmanuel Vadot			snps,route-avcp;
3711537cf73SEmmanuel Vadot		};
3721537cf73SEmmanuel Vadot
3731537cf73SEmmanuel Vadot		queue3 {
3741537cf73SEmmanuel Vadot			snps,avb-algorithm;
3751537cf73SEmmanuel Vadot			snps,map-to-dma-channel = <0x3>;
3761537cf73SEmmanuel Vadot			snps,priority = <0xc>;
3771537cf73SEmmanuel Vadot		};
3781537cf73SEmmanuel Vadot	};
3791537cf73SEmmanuel Vadot
3801537cf73SEmmanuel Vadot	mtl_tx_setup: tx-queues-config {
3811537cf73SEmmanuel Vadot		snps,tx-queues-to-use = <4>;
3821537cf73SEmmanuel Vadot
3831537cf73SEmmanuel Vadot		queue0 {
3841537cf73SEmmanuel Vadot			snps,dcb-algorithm;
3851537cf73SEmmanuel Vadot		};
3861537cf73SEmmanuel Vadot
3871537cf73SEmmanuel Vadot		queue1 {
3881537cf73SEmmanuel Vadot			snps,dcb-algorithm;
3891537cf73SEmmanuel Vadot		};
3901537cf73SEmmanuel Vadot
3911537cf73SEmmanuel Vadot		queue2 {
3921537cf73SEmmanuel Vadot			snps,avb-algorithm;
3931537cf73SEmmanuel Vadot			snps,send_slope = <0x1000>;
3941537cf73SEmmanuel Vadot			snps,idle_slope = <0x1000>;
3951537cf73SEmmanuel Vadot			snps,high_credit = <0x3e800>;
3961537cf73SEmmanuel Vadot			snps,low_credit = <0xffc18000>;
3971537cf73SEmmanuel Vadot		};
3981537cf73SEmmanuel Vadot
3991537cf73SEmmanuel Vadot		queue3 {
4001537cf73SEmmanuel Vadot			snps,avb-algorithm;
4011537cf73SEmmanuel Vadot			snps,send_slope = <0x1000>;
4021537cf73SEmmanuel Vadot			snps,idle_slope = <0x1000>;
4031537cf73SEmmanuel Vadot			snps,high_credit = <0x3e800>;
4041537cf73SEmmanuel Vadot			snps,low_credit = <0xffc18000>;
4051537cf73SEmmanuel Vadot		};
4061537cf73SEmmanuel Vadot	};
4071537cf73SEmmanuel Vadot};
4081537cf73SEmmanuel Vadot
4091537cf73SEmmanuel Vadot&gpi_dma0 {
4101537cf73SEmmanuel Vadot	status = "okay";
4111537cf73SEmmanuel Vadot};
4121537cf73SEmmanuel Vadot
4131537cf73SEmmanuel Vadot&gpi_dma1 {
4141537cf73SEmmanuel Vadot	status = "okay";
4151537cf73SEmmanuel Vadot};
4161537cf73SEmmanuel Vadot
4171537cf73SEmmanuel Vadot&gpu {
4181537cf73SEmmanuel Vadot	status = "okay";
4191537cf73SEmmanuel Vadot};
4201537cf73SEmmanuel Vadot
4211537cf73SEmmanuel Vadot&gpu_zap_shader {
4221537cf73SEmmanuel Vadot	firmware-name = "qcom/qcs8300/a623_zap.mbn";
4231537cf73SEmmanuel Vadot};
4241537cf73SEmmanuel Vadot
425*69ed3df4SEmmanuel Vadot&i2c0 {
426*69ed3df4SEmmanuel Vadot	status = "okay";
427*69ed3df4SEmmanuel Vadot
428*69ed3df4SEmmanuel Vadot	bridge@4f {
429*69ed3df4SEmmanuel Vadot		compatible = "lontium,lt8713sx";
430*69ed3df4SEmmanuel Vadot		reg = <0x4f>;
431*69ed3df4SEmmanuel Vadot		reset-gpios = <&expander5 6 GPIO_ACTIVE_LOW>;
432*69ed3df4SEmmanuel Vadot
433*69ed3df4SEmmanuel Vadot		ports {
434*69ed3df4SEmmanuel Vadot			#address-cells = <1>;
435*69ed3df4SEmmanuel Vadot			#size-cells = <0>;
436*69ed3df4SEmmanuel Vadot
437*69ed3df4SEmmanuel Vadot			port@0 {
438*69ed3df4SEmmanuel Vadot				reg = <0>;
439*69ed3df4SEmmanuel Vadot
440*69ed3df4SEmmanuel Vadot				lt8713sx_dp_in: endpoint {
441*69ed3df4SEmmanuel Vadot					remote-endpoint = <&mdss_dp0_out>;
442*69ed3df4SEmmanuel Vadot				};
443*69ed3df4SEmmanuel Vadot			};
444*69ed3df4SEmmanuel Vadot
445*69ed3df4SEmmanuel Vadot			port@1 {
446*69ed3df4SEmmanuel Vadot				reg = <1>;
447*69ed3df4SEmmanuel Vadot
448*69ed3df4SEmmanuel Vadot				lt8713sx_dp0_out: endpoint {
449*69ed3df4SEmmanuel Vadot					remote-endpoint = <&dp0_connector_in>;
450*69ed3df4SEmmanuel Vadot				};
451*69ed3df4SEmmanuel Vadot			};
452*69ed3df4SEmmanuel Vadot
453*69ed3df4SEmmanuel Vadot			port@2 {
454*69ed3df4SEmmanuel Vadot				reg = <2>;
455*69ed3df4SEmmanuel Vadot
456*69ed3df4SEmmanuel Vadot				lt8713sx_dp1_out: endpoint {
457*69ed3df4SEmmanuel Vadot					remote-endpoint = <&dp1_connector_in>;
458*69ed3df4SEmmanuel Vadot				};
459*69ed3df4SEmmanuel Vadot			};
460*69ed3df4SEmmanuel Vadot		};
461*69ed3df4SEmmanuel Vadot	};
462*69ed3df4SEmmanuel Vadot};
463*69ed3df4SEmmanuel Vadot
4641537cf73SEmmanuel Vadot&i2c1 {
4651537cf73SEmmanuel Vadot	pinctrl-0 = <&qup_i2c1_default>;
4661537cf73SEmmanuel Vadot	pinctrl-names = "default";
4671537cf73SEmmanuel Vadot
4681537cf73SEmmanuel Vadot	status = "okay";
4691537cf73SEmmanuel Vadot
4700cd4430aSEmmanuel Vadot	fan_controller: fan@18 {
4710cd4430aSEmmanuel Vadot		compatible = "ti,amc6821";
4720cd4430aSEmmanuel Vadot		reg = <0x18>;
4730cd4430aSEmmanuel Vadot		#pwm-cells = <2>;
4740cd4430aSEmmanuel Vadot
4750cd4430aSEmmanuel Vadot		fan {
4760cd4430aSEmmanuel Vadot			pwms = <&fan_controller 40000 PWM_POLARITY_INVERTED>;
4770cd4430aSEmmanuel Vadot		};
4780cd4430aSEmmanuel Vadot	};
4790cd4430aSEmmanuel Vadot
4801537cf73SEmmanuel Vadot	eeprom0: eeprom@50 {
4811537cf73SEmmanuel Vadot		compatible = "atmel,24c256";
4821537cf73SEmmanuel Vadot		reg = <0x50>;
4831537cf73SEmmanuel Vadot		pagesize = <64>;
4841537cf73SEmmanuel Vadot
4851537cf73SEmmanuel Vadot		nvmem-layout {
4861537cf73SEmmanuel Vadot			compatible = "fixed-layout";
4871537cf73SEmmanuel Vadot			#address-cells = <1>;
4881537cf73SEmmanuel Vadot			#size-cells = <1>;
4891537cf73SEmmanuel Vadot
4901537cf73SEmmanuel Vadot			mac_addr0: mac-addr@0 {
4911537cf73SEmmanuel Vadot				reg = <0x0 0x6>;
4921537cf73SEmmanuel Vadot			};
4931537cf73SEmmanuel Vadot		};
4941537cf73SEmmanuel Vadot	};
4951537cf73SEmmanuel Vadot};
4961537cf73SEmmanuel Vadot
4971537cf73SEmmanuel Vadot&i2c15 {
4981537cf73SEmmanuel Vadot	pinctrl-0 = <&qup_i2c15_default>;
4991537cf73SEmmanuel Vadot	pinctrl-names = "default";
5001537cf73SEmmanuel Vadot
5011537cf73SEmmanuel Vadot	status = "okay";
5021537cf73SEmmanuel Vadot
5031537cf73SEmmanuel Vadot	expander0: gpio@38 {
5041537cf73SEmmanuel Vadot		compatible = "ti,tca9538";
5051537cf73SEmmanuel Vadot		reg = <0x38>;
5061537cf73SEmmanuel Vadot		#gpio-cells = <2>;
5071537cf73SEmmanuel Vadot		gpio-controller;
508*69ed3df4SEmmanuel Vadot		#interrupt-cells = <2>;
509*69ed3df4SEmmanuel Vadot		interrupt-controller;
510*69ed3df4SEmmanuel Vadot		interrupts-extended = <&tlmm 56 IRQ_TYPE_LEVEL_LOW>;
511*69ed3df4SEmmanuel Vadot		pinctrl-0 = <&expander0_int>;
512*69ed3df4SEmmanuel Vadot		pinctrl-names = "default";
5131537cf73SEmmanuel Vadot	};
5141537cf73SEmmanuel Vadot
5151537cf73SEmmanuel Vadot	expander1: gpio@39 {
5161537cf73SEmmanuel Vadot		compatible = "ti,tca9538";
5171537cf73SEmmanuel Vadot		reg = <0x39>;
5181537cf73SEmmanuel Vadot		#gpio-cells = <2>;
5191537cf73SEmmanuel Vadot		gpio-controller;
520*69ed3df4SEmmanuel Vadot		#interrupt-cells = <2>;
521*69ed3df4SEmmanuel Vadot		interrupt-controller;
522*69ed3df4SEmmanuel Vadot		interrupts-extended = <&tlmm 16 IRQ_TYPE_LEVEL_LOW>;
523*69ed3df4SEmmanuel Vadot		pinctrl-0 = <&expander1_int>;
524*69ed3df4SEmmanuel Vadot		pinctrl-names = "default";
5251537cf73SEmmanuel Vadot	};
5261537cf73SEmmanuel Vadot
5271537cf73SEmmanuel Vadot	expander2: gpio@3a {
5281537cf73SEmmanuel Vadot		compatible = "ti,tca9538";
5291537cf73SEmmanuel Vadot		reg = <0x3a>;
5301537cf73SEmmanuel Vadot		#gpio-cells = <2>;
5311537cf73SEmmanuel Vadot		gpio-controller;
532*69ed3df4SEmmanuel Vadot		#interrupt-cells = <2>;
533*69ed3df4SEmmanuel Vadot		interrupt-controller;
534*69ed3df4SEmmanuel Vadot		interrupts-extended = <&tlmm 95 IRQ_TYPE_LEVEL_LOW>;
535*69ed3df4SEmmanuel Vadot		pinctrl-0 = <&expander2_int>;
536*69ed3df4SEmmanuel Vadot		pinctrl-names = "default";
5371537cf73SEmmanuel Vadot	};
5381537cf73SEmmanuel Vadot
5391537cf73SEmmanuel Vadot	expander3: gpio@3b {
5401537cf73SEmmanuel Vadot		compatible = "ti,tca9538";
5411537cf73SEmmanuel Vadot		reg = <0x3b>;
5421537cf73SEmmanuel Vadot		#gpio-cells = <2>;
5431537cf73SEmmanuel Vadot		gpio-controller;
544*69ed3df4SEmmanuel Vadot		#interrupt-cells = <2>;
545*69ed3df4SEmmanuel Vadot		interrupt-controller;
546*69ed3df4SEmmanuel Vadot		interrupts-extended = <&tlmm 24 IRQ_TYPE_LEVEL_LOW>;
547*69ed3df4SEmmanuel Vadot		pinctrl-0 = <&expander3_int>;
548*69ed3df4SEmmanuel Vadot		pinctrl-names = "default";
5491537cf73SEmmanuel Vadot	};
5501537cf73SEmmanuel Vadot
5511537cf73SEmmanuel Vadot	expander4: gpio@3c {
5521537cf73SEmmanuel Vadot		compatible = "ti,tca9538";
5531537cf73SEmmanuel Vadot		reg = <0x3c>;
5541537cf73SEmmanuel Vadot		#gpio-cells = <2>;
5551537cf73SEmmanuel Vadot		gpio-controller;
556*69ed3df4SEmmanuel Vadot		#interrupt-cells = <2>;
557*69ed3df4SEmmanuel Vadot		interrupt-controller;
558*69ed3df4SEmmanuel Vadot		interrupts-extended = <&tlmm 96 IRQ_TYPE_LEVEL_LOW>;
559*69ed3df4SEmmanuel Vadot		pinctrl-0 = <&expander4_int>;
560*69ed3df4SEmmanuel Vadot		pinctrl-names = "default";
5611537cf73SEmmanuel Vadot	};
5621537cf73SEmmanuel Vadot
5631537cf73SEmmanuel Vadot	expander5: gpio@3d {
5641537cf73SEmmanuel Vadot		compatible = "ti,tca9538";
5651537cf73SEmmanuel Vadot		reg = <0x3d>;
5661537cf73SEmmanuel Vadot		#gpio-cells = <2>;
5671537cf73SEmmanuel Vadot		gpio-controller;
568*69ed3df4SEmmanuel Vadot		#interrupt-cells = <2>;
569*69ed3df4SEmmanuel Vadot		interrupt-controller;
570*69ed3df4SEmmanuel Vadot		interrupts-extended = <&tlmm 3 IRQ_TYPE_LEVEL_LOW>;
571*69ed3df4SEmmanuel Vadot		pinctrl-0 = <&expander5_int>;
572*69ed3df4SEmmanuel Vadot		pinctrl-names = "default";
5731537cf73SEmmanuel Vadot	};
5741537cf73SEmmanuel Vadot
5751537cf73SEmmanuel Vadot	expander6: gpio@3e {
5761537cf73SEmmanuel Vadot		compatible = "ti,tca9538";
5771537cf73SEmmanuel Vadot		reg = <0x3e>;
5781537cf73SEmmanuel Vadot		#gpio-cells = <2>;
5791537cf73SEmmanuel Vadot		gpio-controller;
580*69ed3df4SEmmanuel Vadot		#interrupt-cells = <2>;
581*69ed3df4SEmmanuel Vadot		interrupt-controller;
582*69ed3df4SEmmanuel Vadot		interrupts-extended = <&tlmm 52 IRQ_TYPE_LEVEL_LOW>;
583*69ed3df4SEmmanuel Vadot		pinctrl-0 = <&expander6_int>;
584*69ed3df4SEmmanuel Vadot		pinctrl-names = "default";
5851537cf73SEmmanuel Vadot	};
5861537cf73SEmmanuel Vadot};
5871537cf73SEmmanuel Vadot
5881537cf73SEmmanuel Vadot&iris {
5891537cf73SEmmanuel Vadot	status = "okay";
5901537cf73SEmmanuel Vadot};
5911537cf73SEmmanuel Vadot
592*69ed3df4SEmmanuel Vadot&mdss {
593*69ed3df4SEmmanuel Vadot	status = "okay";
594*69ed3df4SEmmanuel Vadot};
595*69ed3df4SEmmanuel Vadot
596*69ed3df4SEmmanuel Vadot&mdss_dp0 {
597*69ed3df4SEmmanuel Vadot	pinctrl-0 = <&dp_hot_plug_det>;
598*69ed3df4SEmmanuel Vadot	pinctrl-names = "default";
599*69ed3df4SEmmanuel Vadot
600*69ed3df4SEmmanuel Vadot	status = "okay";
601*69ed3df4SEmmanuel Vadot};
602*69ed3df4SEmmanuel Vadot
603*69ed3df4SEmmanuel Vadot&mdss_dp0_out {
604*69ed3df4SEmmanuel Vadot	data-lanes = <0 1 2 3>;
605*69ed3df4SEmmanuel Vadot	link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
606*69ed3df4SEmmanuel Vadot	remote-endpoint = <&lt8713sx_dp_in>;
607*69ed3df4SEmmanuel Vadot};
608*69ed3df4SEmmanuel Vadot
609*69ed3df4SEmmanuel Vadot&mdss_dp0_phy {
610*69ed3df4SEmmanuel Vadot	vdda-phy-supply = <&vreg_l5a>;
611*69ed3df4SEmmanuel Vadot	vdda-pll-supply = <&vreg_l4a>;
612*69ed3df4SEmmanuel Vadot
613*69ed3df4SEmmanuel Vadot	status = "okay";
614*69ed3df4SEmmanuel Vadot};
615*69ed3df4SEmmanuel Vadot
6160cd4430aSEmmanuel Vadot&pcie0 {
6170cd4430aSEmmanuel Vadot	pinctrl-0 = <&pcie0_default_state>;
6180cd4430aSEmmanuel Vadot	pinctrl-names = "default";
6190cd4430aSEmmanuel Vadot
6200cd4430aSEmmanuel Vadot	status = "okay";
6210cd4430aSEmmanuel Vadot};
6220cd4430aSEmmanuel Vadot
6230cd4430aSEmmanuel Vadot&pcie0_phy {
6240cd4430aSEmmanuel Vadot	vdda-phy-supply = <&vreg_l6a>;
6250cd4430aSEmmanuel Vadot	vdda-pll-supply = <&vreg_l5a>;
6260cd4430aSEmmanuel Vadot
6270cd4430aSEmmanuel Vadot	status = "okay";
6280cd4430aSEmmanuel Vadot};
6290cd4430aSEmmanuel Vadot
6300cd4430aSEmmanuel Vadot&pcie1 {
6310cd4430aSEmmanuel Vadot	pinctrl-0 = <&pcie1_default_state>;
6320cd4430aSEmmanuel Vadot	pinctrl-names = "default";
6330cd4430aSEmmanuel Vadot
6340cd4430aSEmmanuel Vadot	status = "okay";
6350cd4430aSEmmanuel Vadot};
6360cd4430aSEmmanuel Vadot
6370cd4430aSEmmanuel Vadot&pcie1_phy {
6380cd4430aSEmmanuel Vadot	vdda-phy-supply = <&vreg_l6a>;
6390cd4430aSEmmanuel Vadot	vdda-pll-supply = <&vreg_l5a>;
6400cd4430aSEmmanuel Vadot
6410cd4430aSEmmanuel Vadot	status = "okay";
6420cd4430aSEmmanuel Vadot};
6430cd4430aSEmmanuel Vadot
6440cd4430aSEmmanuel Vadot&pcieport0 {
6450cd4430aSEmmanuel Vadot	reset-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;
6460cd4430aSEmmanuel Vadot	wake-gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
6470cd4430aSEmmanuel Vadot};
6480cd4430aSEmmanuel Vadot
6490cd4430aSEmmanuel Vadot&pcieport1 {
6500cd4430aSEmmanuel Vadot	reset-gpios = <&tlmm 23 GPIO_ACTIVE_LOW>;
6510cd4430aSEmmanuel Vadot	wake-gpios = <&tlmm 21 GPIO_ACTIVE_HIGH>;
6520cd4430aSEmmanuel Vadot};
6530cd4430aSEmmanuel Vadot
654*69ed3df4SEmmanuel Vadot&pmm8620au_0_gpios {
655*69ed3df4SEmmanuel Vadot	usb2_id: usb2-id-state {
656*69ed3df4SEmmanuel Vadot		pins = "gpio9";
657*69ed3df4SEmmanuel Vadot		function = "normal";
658*69ed3df4SEmmanuel Vadot		input-enable;
659*69ed3df4SEmmanuel Vadot		bias-pull-up;
660*69ed3df4SEmmanuel Vadot		power-source = <0>;
661*69ed3df4SEmmanuel Vadot	};
662*69ed3df4SEmmanuel Vadot};
663*69ed3df4SEmmanuel Vadot
664*69ed3df4SEmmanuel Vadot&qup_i2c0_data_clk {
665*69ed3df4SEmmanuel Vadot	drive-strength = <2>;
666*69ed3df4SEmmanuel Vadot	bias-pull-up;
667*69ed3df4SEmmanuel Vadot};
668*69ed3df4SEmmanuel Vadot
6691537cf73SEmmanuel Vadot&qupv3_id_0 {
67096fb1ebdSEmmanuel Vadot	firmware-name = "qcom/qcs8300/qupv3fw.elf";
6711537cf73SEmmanuel Vadot	status = "okay";
6721537cf73SEmmanuel Vadot};
6731537cf73SEmmanuel Vadot
6741537cf73SEmmanuel Vadot&qupv3_id_1 {
67596fb1ebdSEmmanuel Vadot	firmware-name = "qcom/qcs8300/qupv3fw.elf";
6761537cf73SEmmanuel Vadot	status = "okay";
6771537cf73SEmmanuel Vadot};
6781537cf73SEmmanuel Vadot
6791537cf73SEmmanuel Vadot&remoteproc_adsp {
6801537cf73SEmmanuel Vadot	firmware-name = "qcom/qcs8300/adsp.mbn";
6811537cf73SEmmanuel Vadot
6821537cf73SEmmanuel Vadot	status = "okay";
6831537cf73SEmmanuel Vadot};
6841537cf73SEmmanuel Vadot
6851537cf73SEmmanuel Vadot&remoteproc_cdsp {
6861537cf73SEmmanuel Vadot	firmware-name = "qcom/qcs8300/cdsp0.mbn";
6871537cf73SEmmanuel Vadot
6881537cf73SEmmanuel Vadot	status = "okay";
6891537cf73SEmmanuel Vadot};
6901537cf73SEmmanuel Vadot
6911537cf73SEmmanuel Vadot&remoteproc_gpdsp {
6921537cf73SEmmanuel Vadot	firmware-name = "qcom/qcs8300/gpdsp0.mbn";
6931537cf73SEmmanuel Vadot
6941537cf73SEmmanuel Vadot	status = "okay";
6951537cf73SEmmanuel Vadot};
6961537cf73SEmmanuel Vadot
697*69ed3df4SEmmanuel Vadot&sdhc_1 {
698*69ed3df4SEmmanuel Vadot	vmmc-supply = <&vreg_l8a>;
699*69ed3df4SEmmanuel Vadot	vqmmc-supply = <&vreg_s2s>;
700*69ed3df4SEmmanuel Vadot
701*69ed3df4SEmmanuel Vadot	no-sd;
702*69ed3df4SEmmanuel Vadot	no-sdio;
703*69ed3df4SEmmanuel Vadot	non-removable;
704*69ed3df4SEmmanuel Vadot
705*69ed3df4SEmmanuel Vadot	status = "okay";
706*69ed3df4SEmmanuel Vadot};
707*69ed3df4SEmmanuel Vadot
7081537cf73SEmmanuel Vadot&serdes0 {
7091537cf73SEmmanuel Vadot	phy-supply = <&vreg_l4a>;
7101537cf73SEmmanuel Vadot
7111537cf73SEmmanuel Vadot	status = "okay";
7121537cf73SEmmanuel Vadot};
7131537cf73SEmmanuel Vadot
7140cd4430aSEmmanuel Vadot&spi10 {
7150cd4430aSEmmanuel Vadot	status = "okay";
7160cd4430aSEmmanuel Vadot
7170cd4430aSEmmanuel Vadot	tpm@0 {
7180cd4430aSEmmanuel Vadot		compatible = "st,st33htpm-spi", "tcg,tpm_tis-spi";
7190cd4430aSEmmanuel Vadot		reg = <0>;
7200cd4430aSEmmanuel Vadot		spi-max-frequency = <20000000>;
7210cd4430aSEmmanuel Vadot	};
7220cd4430aSEmmanuel Vadot};
7230cd4430aSEmmanuel Vadot
7241537cf73SEmmanuel Vadot&tlmm {
7250cd4430aSEmmanuel Vadot	pcie0_default_state: pcie0-default-state {
7260cd4430aSEmmanuel Vadot		wake-pins {
7270cd4430aSEmmanuel Vadot			pins = "gpio0";
7280cd4430aSEmmanuel Vadot			function = "gpio";
7290cd4430aSEmmanuel Vadot			drive-strength = <2>;
7300cd4430aSEmmanuel Vadot			bias-pull-up;
7310cd4430aSEmmanuel Vadot		};
7320cd4430aSEmmanuel Vadot
7330cd4430aSEmmanuel Vadot		clkreq-pins {
7340cd4430aSEmmanuel Vadot			pins = "gpio1";
7350cd4430aSEmmanuel Vadot			function = "pcie0_clkreq";
7360cd4430aSEmmanuel Vadot			drive-strength = <2>;
7370cd4430aSEmmanuel Vadot			bias-pull-up;
7380cd4430aSEmmanuel Vadot		};
7390cd4430aSEmmanuel Vadot
7400cd4430aSEmmanuel Vadot		perst-pins {
7410cd4430aSEmmanuel Vadot			pins = "gpio2";
7420cd4430aSEmmanuel Vadot			function = "gpio";
7430cd4430aSEmmanuel Vadot			drive-strength = <2>;
7440cd4430aSEmmanuel Vadot			bias-pull-up;
7450cd4430aSEmmanuel Vadot		};
7460cd4430aSEmmanuel Vadot	};
7470cd4430aSEmmanuel Vadot
7481537cf73SEmmanuel Vadot	ethernet0_default: ethernet0-default-state {
7491537cf73SEmmanuel Vadot		ethernet0_mdc: ethernet0-mdc-pins {
7501537cf73SEmmanuel Vadot			pins = "gpio5";
7511537cf73SEmmanuel Vadot			function = "emac0_mdc";
7521537cf73SEmmanuel Vadot			drive-strength = <16>;
7531537cf73SEmmanuel Vadot			bias-pull-up;
7541537cf73SEmmanuel Vadot		};
7551537cf73SEmmanuel Vadot
7561537cf73SEmmanuel Vadot		ethernet0_mdio: ethernet0-mdio-pins {
7571537cf73SEmmanuel Vadot			pins = "gpio6";
7581537cf73SEmmanuel Vadot			function = "emac0_mdio";
7591537cf73SEmmanuel Vadot			drive-strength = <16>;
7601537cf73SEmmanuel Vadot			bias-pull-up;
7611537cf73SEmmanuel Vadot		};
7621537cf73SEmmanuel Vadot	};
7631537cf73SEmmanuel Vadot
764*69ed3df4SEmmanuel Vadot	expander5_int: expander5-int-state {
765*69ed3df4SEmmanuel Vadot		pins = "gpio3";
766*69ed3df4SEmmanuel Vadot		function = "gpio";
767*69ed3df4SEmmanuel Vadot		bias-pull-up;
768*69ed3df4SEmmanuel Vadot	};
769*69ed3df4SEmmanuel Vadot
770*69ed3df4SEmmanuel Vadot	expander1_int: expander1-int-state {
771*69ed3df4SEmmanuel Vadot		pins = "gpio16";
772*69ed3df4SEmmanuel Vadot		function = "gpio";
773*69ed3df4SEmmanuel Vadot		bias-pull-up;
774*69ed3df4SEmmanuel Vadot	};
775*69ed3df4SEmmanuel Vadot
7761537cf73SEmmanuel Vadot	qup_i2c1_default: qup-i2c1-state {
7771537cf73SEmmanuel Vadot		pins = "gpio19", "gpio20";
7781537cf73SEmmanuel Vadot		function = "qup0_se1";
7791537cf73SEmmanuel Vadot		drive-strength = <2>;
7801537cf73SEmmanuel Vadot		bias-pull-up;
7811537cf73SEmmanuel Vadot	};
7821537cf73SEmmanuel Vadot
7830cd4430aSEmmanuel Vadot	pcie1_default_state: pcie1-default-state {
7840cd4430aSEmmanuel Vadot		wake-pins {
7850cd4430aSEmmanuel Vadot			pins = "gpio21";
7860cd4430aSEmmanuel Vadot			function = "gpio";
7870cd4430aSEmmanuel Vadot			drive-strength = <2>;
7880cd4430aSEmmanuel Vadot			bias-pull-up;
7890cd4430aSEmmanuel Vadot		};
7900cd4430aSEmmanuel Vadot
7910cd4430aSEmmanuel Vadot		clkreq-pins {
7920cd4430aSEmmanuel Vadot			pins = "gpio22";
7930cd4430aSEmmanuel Vadot			function = "pcie1_clkreq";
7940cd4430aSEmmanuel Vadot			drive-strength = <2>;
7950cd4430aSEmmanuel Vadot			bias-pull-up;
7960cd4430aSEmmanuel Vadot		};
7970cd4430aSEmmanuel Vadot
7980cd4430aSEmmanuel Vadot		perst-pins {
7990cd4430aSEmmanuel Vadot			pins = "gpio23";
8000cd4430aSEmmanuel Vadot			function = "gpio";
8010cd4430aSEmmanuel Vadot			drive-strength = <2>;
8020cd4430aSEmmanuel Vadot			bias-pull-up;
8030cd4430aSEmmanuel Vadot		};
8040cd4430aSEmmanuel Vadot	};
8050cd4430aSEmmanuel Vadot
806*69ed3df4SEmmanuel Vadot	expander3_int: expander3-int-state {
807*69ed3df4SEmmanuel Vadot		pins = "gpio24";
808*69ed3df4SEmmanuel Vadot		function = "gpio";
809*69ed3df4SEmmanuel Vadot		bias-pull-up;
810*69ed3df4SEmmanuel Vadot	};
811*69ed3df4SEmmanuel Vadot
812*69ed3df4SEmmanuel Vadot	expander6_int:  expander6-int-state {
813*69ed3df4SEmmanuel Vadot		pins = "gpio52";
814*69ed3df4SEmmanuel Vadot		function = "gpio";
815*69ed3df4SEmmanuel Vadot		bias-pull-up;
816*69ed3df4SEmmanuel Vadot	};
817*69ed3df4SEmmanuel Vadot
818*69ed3df4SEmmanuel Vadot	expander0_int: expander0-int-state {
819*69ed3df4SEmmanuel Vadot		pins = "gpio56";
820*69ed3df4SEmmanuel Vadot		function = "gpio";
821*69ed3df4SEmmanuel Vadot		bias-pull-up;
822*69ed3df4SEmmanuel Vadot	};
823*69ed3df4SEmmanuel Vadot
824*69ed3df4SEmmanuel Vadot	cam0_avdd_2v8_en_default: cam0-avdd-2v8-en-state {
825*69ed3df4SEmmanuel Vadot		pins = "gpio73";
826*69ed3df4SEmmanuel Vadot		function = "gpio";
827*69ed3df4SEmmanuel Vadot		drive-strength = <2>;
828*69ed3df4SEmmanuel Vadot		bias-disable;
829*69ed3df4SEmmanuel Vadot	};
830*69ed3df4SEmmanuel Vadot
831*69ed3df4SEmmanuel Vadot	cam1_avdd_2v8_en_default: cam1-avdd-2v8-en-state {
832*69ed3df4SEmmanuel Vadot		pins = "gpio74";
833*69ed3df4SEmmanuel Vadot		function = "gpio";
834*69ed3df4SEmmanuel Vadot		drive-strength = <2>;
835*69ed3df4SEmmanuel Vadot		bias-disable;
836*69ed3df4SEmmanuel Vadot	};
837*69ed3df4SEmmanuel Vadot
838*69ed3df4SEmmanuel Vadot	cam2_avdd_2v8_en_default: cam2-avdd-2v8-en-state {
839*69ed3df4SEmmanuel Vadot		pins = "gpio75";
840*69ed3df4SEmmanuel Vadot		function = "gpio";
841*69ed3df4SEmmanuel Vadot		drive-strength = <2>;
842*69ed3df4SEmmanuel Vadot		bias-disable;
843*69ed3df4SEmmanuel Vadot	};
844*69ed3df4SEmmanuel Vadot
8451537cf73SEmmanuel Vadot	qup_i2c15_default: qup-i2c15-state {
8461537cf73SEmmanuel Vadot		pins = "gpio91", "gpio92";
8471537cf73SEmmanuel Vadot		function = "qup1_se7";
8481537cf73SEmmanuel Vadot		drive-strength = <2>;
8491537cf73SEmmanuel Vadot		bias-pull-up;
8501537cf73SEmmanuel Vadot	};
851*69ed3df4SEmmanuel Vadot
852*69ed3df4SEmmanuel Vadot	expander2_int: expander2-int-state {
853*69ed3df4SEmmanuel Vadot		pins = "gpio95";
854*69ed3df4SEmmanuel Vadot		function = "gpio";
855*69ed3df4SEmmanuel Vadot		bias-pull-up;
856*69ed3df4SEmmanuel Vadot	};
857*69ed3df4SEmmanuel Vadot
858*69ed3df4SEmmanuel Vadot	expander4_int: expander4-int-state {
859*69ed3df4SEmmanuel Vadot		pins = "gpio96";
860*69ed3df4SEmmanuel Vadot		function = "gpio";
861*69ed3df4SEmmanuel Vadot		bias-pull-up;
862*69ed3df4SEmmanuel Vadot	};
863*69ed3df4SEmmanuel Vadot};
864*69ed3df4SEmmanuel Vadot
865*69ed3df4SEmmanuel Vadot&uart6 {
866*69ed3df4SEmmanuel Vadot	status = "okay";
8671537cf73SEmmanuel Vadot};
8681537cf73SEmmanuel Vadot
8691537cf73SEmmanuel Vadot&uart7 {
8701537cf73SEmmanuel Vadot	status = "okay";
8711537cf73SEmmanuel Vadot};
8721537cf73SEmmanuel Vadot
8731537cf73SEmmanuel Vadot&ufs_mem_hc {
8741537cf73SEmmanuel Vadot	reset-gpios = <&tlmm 133 GPIO_ACTIVE_LOW>;
8751537cf73SEmmanuel Vadot	vcc-supply = <&vreg_l8a>;
8761537cf73SEmmanuel Vadot	vcc-max-microamp = <1100000>;
8771537cf73SEmmanuel Vadot	vccq-supply = <&vreg_l4c>;
8781537cf73SEmmanuel Vadot	vccq-max-microamp = <1200000>;
8791537cf73SEmmanuel Vadot
8801537cf73SEmmanuel Vadot	status = "okay";
8811537cf73SEmmanuel Vadot};
8821537cf73SEmmanuel Vadot
8831537cf73SEmmanuel Vadot&ufs_mem_phy {
8841537cf73SEmmanuel Vadot	vdda-phy-supply = <&vreg_l4a>;
8851537cf73SEmmanuel Vadot	vdda-pll-supply = <&vreg_l5a>;
8861537cf73SEmmanuel Vadot
8871537cf73SEmmanuel Vadot	status = "okay";
8881537cf73SEmmanuel Vadot};
8891537cf73SEmmanuel Vadot
8901537cf73SEmmanuel Vadot&usb_1 {
8911537cf73SEmmanuel Vadot	dr_mode = "peripheral";
8921537cf73SEmmanuel Vadot
8931537cf73SEmmanuel Vadot	status = "okay";
8941537cf73SEmmanuel Vadot};
8951537cf73SEmmanuel Vadot
8961537cf73SEmmanuel Vadot&usb_1_hsphy {
8971537cf73SEmmanuel Vadot	vdda-pll-supply = <&vreg_l7a>;
8981537cf73SEmmanuel Vadot	vdda18-supply = <&vreg_l7c>;
8991537cf73SEmmanuel Vadot	vdda33-supply = <&vreg_l9a>;
9001537cf73SEmmanuel Vadot
9011537cf73SEmmanuel Vadot	status = "okay";
9021537cf73SEmmanuel Vadot};
9031537cf73SEmmanuel Vadot
9041537cf73SEmmanuel Vadot&usb_qmpphy {
9051537cf73SEmmanuel Vadot	vdda-phy-supply = <&vreg_l7a>;
9061537cf73SEmmanuel Vadot	vdda-pll-supply = <&vreg_l5a>;
9071537cf73SEmmanuel Vadot
9081537cf73SEmmanuel Vadot	status = "okay";
9091537cf73SEmmanuel Vadot};
910*69ed3df4SEmmanuel Vadot
911*69ed3df4SEmmanuel Vadot&usb_2 {
912*69ed3df4SEmmanuel Vadot	status = "okay";
913*69ed3df4SEmmanuel Vadot};
914*69ed3df4SEmmanuel Vadot
915*69ed3df4SEmmanuel Vadot&usb_2_dwc3_hs {
916*69ed3df4SEmmanuel Vadot	remote-endpoint = <&usb2_con_hs_ep>;
917*69ed3df4SEmmanuel Vadot};
918*69ed3df4SEmmanuel Vadot
919*69ed3df4SEmmanuel Vadot&usb_2_hsphy {
920*69ed3df4SEmmanuel Vadot	vdda-pll-supply = <&vreg_l7a>;
921*69ed3df4SEmmanuel Vadot	vdda18-supply = <&vreg_l7c>;
922*69ed3df4SEmmanuel Vadot	vdda33-supply = <&vreg_l9a>;
923*69ed3df4SEmmanuel Vadot
924*69ed3df4SEmmanuel Vadot	status = "okay";
925*69ed3df4SEmmanuel Vadot};
926