16be33864SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
26be33864SEmmanuel Vadot/*
36be33864SEmmanuel Vadot * Copyright (c) 2019 Akash Gajjar <Akash_Gajjar@mentor.com>
46be33864SEmmanuel Vadot * Copyright (c) 2019 Pragnesh Patel <Pragnesh_Patel@mentor.com>
56be33864SEmmanuel Vadot */
66be33864SEmmanuel Vadot
76be33864SEmmanuel Vadot/dts-v1/;
86be33864SEmmanuel Vadot#include <dt-bindings/input/linux-event-codes.h>
97ef62cebSEmmanuel Vadot#include <dt-bindings/leds/common.h>
106be33864SEmmanuel Vadot#include <dt-bindings/pwm/pwm.h>
116be33864SEmmanuel Vadot#include "rk3399.dtsi"
126be33864SEmmanuel Vadot
136be33864SEmmanuel Vadot/ {
142eb4d8dcSEmmanuel Vadot	aliases {
15*8d13bc63SEmmanuel Vadot		ethernet0 = &gmac;
16cb7aa33aSEmmanuel Vadot		mmc0 = &sdhci;
17cb7aa33aSEmmanuel Vadot		mmc1 = &sdmmc;
182eb4d8dcSEmmanuel Vadot	};
192eb4d8dcSEmmanuel Vadot
206be33864SEmmanuel Vadot	chosen {
216be33864SEmmanuel Vadot		stdout-path = "serial2:1500000n8";
226be33864SEmmanuel Vadot	};
236be33864SEmmanuel Vadot
246be33864SEmmanuel Vadot	clkin_gmac: external-gmac-clock {
256be33864SEmmanuel Vadot		compatible = "fixed-clock";
266be33864SEmmanuel Vadot		clock-frequency = <125000000>;
276be33864SEmmanuel Vadot		clock-output-names = "clkin_gmac";
286be33864SEmmanuel Vadot		#clock-cells = <0>;
296be33864SEmmanuel Vadot	};
306be33864SEmmanuel Vadot
317ef62cebSEmmanuel Vadot	leds {
327ef62cebSEmmanuel Vadot		compatible = "gpio-leds";
337ef62cebSEmmanuel Vadot		pinctrl-names = "default";
347ef62cebSEmmanuel Vadot		pinctrl-0 = <&user_led2>;
357ef62cebSEmmanuel Vadot
367ef62cebSEmmanuel Vadot		/* USER_LED2 */
377ef62cebSEmmanuel Vadot		led-0 {
387ef62cebSEmmanuel Vadot			function = LED_FUNCTION_STATUS;
397ef62cebSEmmanuel Vadot			color = <LED_COLOR_ID_BLUE>;
407ef62cebSEmmanuel Vadot			gpios = <&gpio3 RK_PD5 GPIO_ACTIVE_HIGH>;
417ef62cebSEmmanuel Vadot			linux,default-trigger = "heartbeat";
427ef62cebSEmmanuel Vadot		};
437ef62cebSEmmanuel Vadot	};
447ef62cebSEmmanuel Vadot
456be33864SEmmanuel Vadot	sdio_pwrseq: sdio-pwrseq {
466be33864SEmmanuel Vadot		compatible = "mmc-pwrseq-simple";
476be33864SEmmanuel Vadot		clocks = <&rk808 1>;
48f126890aSEmmanuel Vadot		clock-names = "lpo";
496be33864SEmmanuel Vadot		pinctrl-names = "default";
506be33864SEmmanuel Vadot		pinctrl-0 = <&wifi_enable_h>;
516be33864SEmmanuel Vadot		reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
526be33864SEmmanuel Vadot	};
536be33864SEmmanuel Vadot
54e67e8565SEmmanuel Vadot	sound: sound {
558cc087a1SEmmanuel Vadot		compatible = "audio-graph-card";
568cc087a1SEmmanuel Vadot		label = "Analog";
578cc087a1SEmmanuel Vadot		dais = <&i2s0_p0>;
588cc087a1SEmmanuel Vadot	};
598cc087a1SEmmanuel Vadot
608cc087a1SEmmanuel Vadot	sound-dit {
618cc087a1SEmmanuel Vadot		compatible = "audio-graph-card";
628cc087a1SEmmanuel Vadot		label = "SPDIF";
638cc087a1SEmmanuel Vadot		dais = <&spdif_p0>;
648cc087a1SEmmanuel Vadot	};
658cc087a1SEmmanuel Vadot
668cc087a1SEmmanuel Vadot	spdif-dit {
678cc087a1SEmmanuel Vadot		compatible = "linux,spdif-dit";
688cc087a1SEmmanuel Vadot		#sound-dai-cells = <0>;
698cc087a1SEmmanuel Vadot
708cc087a1SEmmanuel Vadot		port {
718cc087a1SEmmanuel Vadot			dit_p0_0: endpoint {
728cc087a1SEmmanuel Vadot				remote-endpoint = <&spdif_p0_0>;
738cc087a1SEmmanuel Vadot			};
748cc087a1SEmmanuel Vadot		};
758cc087a1SEmmanuel Vadot	};
768cc087a1SEmmanuel Vadot
777ef62cebSEmmanuel Vadot	vbus_typec: vbus-typec-regulator {
787ef62cebSEmmanuel Vadot		compatible = "regulator-fixed";
797ef62cebSEmmanuel Vadot		enable-active-high;
807ef62cebSEmmanuel Vadot		gpio = <&gpio1 RK_PA3 GPIO_ACTIVE_HIGH>;
817ef62cebSEmmanuel Vadot		pinctrl-names = "default";
827ef62cebSEmmanuel Vadot		pinctrl-0 = <&vcc5v0_typec_en>;
837ef62cebSEmmanuel Vadot		regulator-name = "vbus_typec";
847ef62cebSEmmanuel Vadot		regulator-always-on;
857ef62cebSEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
867ef62cebSEmmanuel Vadot	};
877ef62cebSEmmanuel Vadot
886be33864SEmmanuel Vadot	vcc12v_dcin: dc-12v {
896be33864SEmmanuel Vadot		compatible = "regulator-fixed";
906be33864SEmmanuel Vadot		regulator-name = "vcc12v_dcin";
916be33864SEmmanuel Vadot		regulator-always-on;
926be33864SEmmanuel Vadot		regulator-boot-on;
936be33864SEmmanuel Vadot		regulator-min-microvolt = <12000000>;
946be33864SEmmanuel Vadot		regulator-max-microvolt = <12000000>;
956be33864SEmmanuel Vadot	};
966be33864SEmmanuel Vadot
977ef62cebSEmmanuel Vadot	vcc3v3_lan: vcc3v3-lan-regulator {
986be33864SEmmanuel Vadot		compatible = "regulator-fixed";
997ef62cebSEmmanuel Vadot		regulator-name = "vcc3v3_lan";
1006be33864SEmmanuel Vadot		regulator-always-on;
1016be33864SEmmanuel Vadot		regulator-boot-on;
1027ef62cebSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
1037ef62cebSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
1046be33864SEmmanuel Vadot		vin-supply = <&vcc3v3_sys>;
1056be33864SEmmanuel Vadot	};
1066be33864SEmmanuel Vadot
1076be33864SEmmanuel Vadot	vcc3v3_pcie: vcc3v3-pcie-regulator {
1086be33864SEmmanuel Vadot		compatible = "regulator-fixed";
1096be33864SEmmanuel Vadot		enable-active-high;
1106be33864SEmmanuel Vadot		gpio = <&gpio2 RK_PD2 GPIO_ACTIVE_HIGH>;
1116be33864SEmmanuel Vadot		pinctrl-names = "default";
1126be33864SEmmanuel Vadot		pinctrl-0 = <&pcie_pwr_en>;
1136be33864SEmmanuel Vadot		regulator-name = "vcc3v3_pcie";
1146be33864SEmmanuel Vadot		regulator-always-on;
1156be33864SEmmanuel Vadot		regulator-boot-on;
1166be33864SEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
1176be33864SEmmanuel Vadot	};
1186be33864SEmmanuel Vadot
1196be33864SEmmanuel Vadot	vcc3v3_sys: vcc3v3-sys {
1206be33864SEmmanuel Vadot		compatible = "regulator-fixed";
1216be33864SEmmanuel Vadot		regulator-name = "vcc3v3_sys";
1226be33864SEmmanuel Vadot		regulator-always-on;
1236be33864SEmmanuel Vadot		regulator-boot-on;
1246be33864SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
1256be33864SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
1266be33864SEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
1276be33864SEmmanuel Vadot	};
1286be33864SEmmanuel Vadot
1296be33864SEmmanuel Vadot	vcc5v0_host: vcc5v0-host-regulator {
1306be33864SEmmanuel Vadot		compatible = "regulator-fixed";
1316be33864SEmmanuel Vadot		enable-active-high;
1326be33864SEmmanuel Vadot		gpio = <&gpio4 RK_PD1 GPIO_ACTIVE_HIGH>;
1336be33864SEmmanuel Vadot		pinctrl-names = "default";
1346be33864SEmmanuel Vadot		pinctrl-0 = <&vcc5v0_host_en>;
1356be33864SEmmanuel Vadot		regulator-name = "vcc5v0_host";
1366be33864SEmmanuel Vadot		regulator-always-on;
1376be33864SEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
1386be33864SEmmanuel Vadot	};
1396be33864SEmmanuel Vadot
1407ef62cebSEmmanuel Vadot	vcc5v0_sys: vcc-sys {
1416be33864SEmmanuel Vadot		compatible = "regulator-fixed";
1427ef62cebSEmmanuel Vadot		regulator-name = "vcc5v0_sys";
1436be33864SEmmanuel Vadot		regulator-always-on;
1446be33864SEmmanuel Vadot		regulator-boot-on;
1457ef62cebSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
1467ef62cebSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
1477ef62cebSEmmanuel Vadot		vin-supply = <&vcc12v_dcin>;
1487ef62cebSEmmanuel Vadot	};
1497ef62cebSEmmanuel Vadot
1507ef62cebSEmmanuel Vadot	vcc_0v9: vcc-0v9 {
1517ef62cebSEmmanuel Vadot		compatible = "regulator-fixed";
1527ef62cebSEmmanuel Vadot		regulator-name = "vcc_0v9";
1537ef62cebSEmmanuel Vadot		regulator-always-on;
1547ef62cebSEmmanuel Vadot		regulator-boot-on;
1557ef62cebSEmmanuel Vadot		regulator-min-microvolt = <900000>;
1567ef62cebSEmmanuel Vadot		regulator-max-microvolt = <900000>;
1577ef62cebSEmmanuel Vadot		vin-supply = <&vcc3v3_sys>;
1586be33864SEmmanuel Vadot	};
1596be33864SEmmanuel Vadot
1606be33864SEmmanuel Vadot	vdd_log: vdd-log {
1616be33864SEmmanuel Vadot		compatible = "pwm-regulator";
1626be33864SEmmanuel Vadot		pwms = <&pwm2 0 25000 1>;
163c9ccf3a3SEmmanuel Vadot		pwm-supply = <&vcc5v0_sys>;
1646be33864SEmmanuel Vadot		regulator-name = "vdd_log";
1656be33864SEmmanuel Vadot		regulator-always-on;
1666be33864SEmmanuel Vadot		regulator-boot-on;
1676be33864SEmmanuel Vadot		regulator-min-microvolt = <800000>;
1686be33864SEmmanuel Vadot		regulator-max-microvolt = <1400000>;
1696be33864SEmmanuel Vadot	};
1706be33864SEmmanuel Vadot};
1716be33864SEmmanuel Vadot
1726be33864SEmmanuel Vadot&cpu_l0 {
1736be33864SEmmanuel Vadot	cpu-supply = <&vdd_cpu_l>;
1746be33864SEmmanuel Vadot};
1756be33864SEmmanuel Vadot
1766be33864SEmmanuel Vadot&cpu_l1 {
1776be33864SEmmanuel Vadot	cpu-supply = <&vdd_cpu_l>;
1786be33864SEmmanuel Vadot};
1796be33864SEmmanuel Vadot
1806be33864SEmmanuel Vadot&cpu_l2 {
1816be33864SEmmanuel Vadot	cpu-supply = <&vdd_cpu_l>;
1826be33864SEmmanuel Vadot};
1836be33864SEmmanuel Vadot
1846be33864SEmmanuel Vadot&cpu_l3 {
1856be33864SEmmanuel Vadot	cpu-supply = <&vdd_cpu_l>;
1866be33864SEmmanuel Vadot};
1876be33864SEmmanuel Vadot
1886be33864SEmmanuel Vadot&cpu_b0 {
1896be33864SEmmanuel Vadot	cpu-supply = <&vdd_cpu_b>;
1906be33864SEmmanuel Vadot};
1916be33864SEmmanuel Vadot
1926be33864SEmmanuel Vadot&cpu_b1 {
1936be33864SEmmanuel Vadot	cpu-supply = <&vdd_cpu_b>;
1946be33864SEmmanuel Vadot};
1956be33864SEmmanuel Vadot
1966be33864SEmmanuel Vadot&emmc_phy {
1976be33864SEmmanuel Vadot	status = "okay";
1986be33864SEmmanuel Vadot};
1996be33864SEmmanuel Vadot
2006be33864SEmmanuel Vadot&gmac {
2016be33864SEmmanuel Vadot	assigned-clocks = <&cru SCLK_RMII_SRC>;
2026be33864SEmmanuel Vadot	assigned-clock-parents = <&clkin_gmac>;
2036be33864SEmmanuel Vadot	clock_in_out = "input";
2047ef62cebSEmmanuel Vadot	phy-supply = <&vcc3v3_lan>;
2056be33864SEmmanuel Vadot	phy-mode = "rgmii";
2066be33864SEmmanuel Vadot	pinctrl-names = "default";
2076be33864SEmmanuel Vadot	pinctrl-0 = <&rgmii_pins>;
2086be33864SEmmanuel Vadot	snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
2096be33864SEmmanuel Vadot	snps,reset-active-low;
2106be33864SEmmanuel Vadot	snps,reset-delays-us = <0 10000 50000>;
2116be33864SEmmanuel Vadot	tx_delay = <0x28>;
2126be33864SEmmanuel Vadot	rx_delay = <0x11>;
2136be33864SEmmanuel Vadot	status = "okay";
2146be33864SEmmanuel Vadot};
2156be33864SEmmanuel Vadot
2166be33864SEmmanuel Vadot&gpu {
2176be33864SEmmanuel Vadot	mali-supply = <&vdd_gpu>;
2186be33864SEmmanuel Vadot	status = "okay";
2196be33864SEmmanuel Vadot};
2206be33864SEmmanuel Vadot
2216be33864SEmmanuel Vadot&hdmi {
2227ef62cebSEmmanuel Vadot	avdd-0v9-supply = <&vcca0v9_hdmi>;
2237ef62cebSEmmanuel Vadot	avdd-1v8-supply = <&vcca1v8_hdmi>;
2246be33864SEmmanuel Vadot	ddc-i2c-bus = <&i2c3>;
2256be33864SEmmanuel Vadot	pinctrl-names = "default";
2266be33864SEmmanuel Vadot	pinctrl-0 = <&hdmi_cec>;
2276be33864SEmmanuel Vadot	status = "okay";
2286be33864SEmmanuel Vadot};
2296be33864SEmmanuel Vadot
2306be33864SEmmanuel Vadot&hdmi_sound {
2316be33864SEmmanuel Vadot	status = "okay";
2326be33864SEmmanuel Vadot};
2336be33864SEmmanuel Vadot
2346be33864SEmmanuel Vadot&i2c0 {
2356be33864SEmmanuel Vadot	clock-frequency = <400000>;
2366be33864SEmmanuel Vadot	i2c-scl-rising-time-ns = <168>;
2376be33864SEmmanuel Vadot	i2c-scl-falling-time-ns = <4>;
2386be33864SEmmanuel Vadot	status = "okay";
2396be33864SEmmanuel Vadot
2406be33864SEmmanuel Vadot	rk808: pmic@1b {
2416be33864SEmmanuel Vadot		compatible = "rockchip,rk808";
2426be33864SEmmanuel Vadot		reg = <0x1b>;
2436be33864SEmmanuel Vadot		interrupt-parent = <&gpio1>;
2446be33864SEmmanuel Vadot		interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
2456be33864SEmmanuel Vadot		#clock-cells = <1>;
2466be33864SEmmanuel Vadot		clock-output-names = "xin32k", "rk808-clkout2";
2476be33864SEmmanuel Vadot		pinctrl-names = "default";
2486be33864SEmmanuel Vadot		pinctrl-0 = <&pmic_int_l>;
2496be33864SEmmanuel Vadot		rockchip,system-power-controller;
2506be33864SEmmanuel Vadot		wakeup-source;
2516be33864SEmmanuel Vadot
2526be33864SEmmanuel Vadot		vcc1-supply = <&vcc5v0_sys>;
2536be33864SEmmanuel Vadot		vcc2-supply = <&vcc5v0_sys>;
2546be33864SEmmanuel Vadot		vcc3-supply = <&vcc5v0_sys>;
2556be33864SEmmanuel Vadot		vcc4-supply = <&vcc5v0_sys>;
2566be33864SEmmanuel Vadot		vcc6-supply = <&vcc5v0_sys>;
2576be33864SEmmanuel Vadot		vcc7-supply = <&vcc5v0_sys>;
2586be33864SEmmanuel Vadot		vcc8-supply = <&vcc3v3_sys>;
2596be33864SEmmanuel Vadot		vcc9-supply = <&vcc5v0_sys>;
2606be33864SEmmanuel Vadot		vcc10-supply = <&vcc5v0_sys>;
2616be33864SEmmanuel Vadot		vcc11-supply = <&vcc5v0_sys>;
2626be33864SEmmanuel Vadot		vcc12-supply = <&vcc3v3_sys>;
2636be33864SEmmanuel Vadot		vddio-supply = <&vcc_1v8>;
2646be33864SEmmanuel Vadot
2656be33864SEmmanuel Vadot		regulators {
2666be33864SEmmanuel Vadot			vdd_center: DCDC_REG1 {
2676be33864SEmmanuel Vadot				regulator-name = "vdd_center";
2686be33864SEmmanuel Vadot				regulator-always-on;
2696be33864SEmmanuel Vadot				regulator-boot-on;
2706be33864SEmmanuel Vadot				regulator-min-microvolt = <750000>;
2716be33864SEmmanuel Vadot				regulator-max-microvolt = <1350000>;
2726be33864SEmmanuel Vadot				regulator-ramp-delay = <6001>;
2736be33864SEmmanuel Vadot				regulator-state-mem {
2746be33864SEmmanuel Vadot					regulator-off-in-suspend;
2756be33864SEmmanuel Vadot				};
2766be33864SEmmanuel Vadot			};
2776be33864SEmmanuel Vadot
2786be33864SEmmanuel Vadot			vdd_cpu_l: DCDC_REG2 {
2796be33864SEmmanuel Vadot				regulator-name = "vdd_cpu_l";
2806be33864SEmmanuel Vadot				regulator-always-on;
2816be33864SEmmanuel Vadot				regulator-boot-on;
2826be33864SEmmanuel Vadot				regulator-min-microvolt = <750000>;
2836be33864SEmmanuel Vadot				regulator-max-microvolt = <1350000>;
2846be33864SEmmanuel Vadot				regulator-ramp-delay = <6001>;
2856be33864SEmmanuel Vadot				regulator-state-mem {
2866be33864SEmmanuel Vadot					regulator-off-in-suspend;
2876be33864SEmmanuel Vadot				};
2886be33864SEmmanuel Vadot			};
2896be33864SEmmanuel Vadot
2906be33864SEmmanuel Vadot			vcc_ddr: DCDC_REG3 {
2916be33864SEmmanuel Vadot				regulator-name = "vcc_ddr";
2926be33864SEmmanuel Vadot				regulator-always-on;
2936be33864SEmmanuel Vadot				regulator-boot-on;
2946be33864SEmmanuel Vadot				regulator-state-mem {
2956be33864SEmmanuel Vadot					regulator-on-in-suspend;
2966be33864SEmmanuel Vadot				};
2976be33864SEmmanuel Vadot			};
2986be33864SEmmanuel Vadot
2996be33864SEmmanuel Vadot			vcc_1v8: DCDC_REG4 {
3006be33864SEmmanuel Vadot				regulator-name = "vcc_1v8";
3016be33864SEmmanuel Vadot				regulator-always-on;
3026be33864SEmmanuel Vadot				regulator-boot-on;
3036be33864SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
3046be33864SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
3056be33864SEmmanuel Vadot				regulator-state-mem {
3066be33864SEmmanuel Vadot					regulator-on-in-suspend;
3076be33864SEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
3086be33864SEmmanuel Vadot				};
3096be33864SEmmanuel Vadot			};
3106be33864SEmmanuel Vadot
3117ef62cebSEmmanuel Vadot			vcca1v8_codec: LDO_REG1 {
3127ef62cebSEmmanuel Vadot				regulator-name = "vcca1v8_codec";
3136be33864SEmmanuel Vadot				regulator-always-on;
3146be33864SEmmanuel Vadot				regulator-boot-on;
3156be33864SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
3166be33864SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
3176be33864SEmmanuel Vadot				regulator-state-mem {
3186be33864SEmmanuel Vadot					regulator-off-in-suspend;
3196be33864SEmmanuel Vadot				};
3206be33864SEmmanuel Vadot			};
3216be33864SEmmanuel Vadot
3227ef62cebSEmmanuel Vadot			vcca1v8_hdmi: LDO_REG2 {
3237ef62cebSEmmanuel Vadot				regulator-name = "vcca1v8_hdmi";
3246be33864SEmmanuel Vadot				regulator-always-on;
3256be33864SEmmanuel Vadot				regulator-boot-on;
3266be33864SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
3276be33864SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
3286be33864SEmmanuel Vadot				regulator-state-mem {
3296be33864SEmmanuel Vadot					regulator-off-in-suspend;
3306be33864SEmmanuel Vadot				};
3316be33864SEmmanuel Vadot			};
3326be33864SEmmanuel Vadot
3336be33864SEmmanuel Vadot			vcca_1v8: LDO_REG3 {
3346be33864SEmmanuel Vadot				regulator-name = "vcca_1v8";
3356be33864SEmmanuel Vadot				regulator-always-on;
3366be33864SEmmanuel Vadot				regulator-boot-on;
3376be33864SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
3386be33864SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
3396be33864SEmmanuel Vadot				regulator-state-mem {
3406be33864SEmmanuel Vadot					regulator-on-in-suspend;
3416be33864SEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
3426be33864SEmmanuel Vadot				};
3436be33864SEmmanuel Vadot			};
3446be33864SEmmanuel Vadot
3456be33864SEmmanuel Vadot			vcc_sdio: LDO_REG4 {
3466be33864SEmmanuel Vadot				regulator-name = "vcc_sdio";
3476be33864SEmmanuel Vadot				regulator-always-on;
3486be33864SEmmanuel Vadot				regulator-boot-on;
3496be33864SEmmanuel Vadot				regulator-min-microvolt = <3000000>;
3506be33864SEmmanuel Vadot				regulator-max-microvolt = <3000000>;
3516be33864SEmmanuel Vadot				regulator-state-mem {
3526be33864SEmmanuel Vadot					regulator-on-in-suspend;
3536be33864SEmmanuel Vadot					regulator-suspend-microvolt = <3000000>;
3546be33864SEmmanuel Vadot				};
3556be33864SEmmanuel Vadot			};
3566be33864SEmmanuel Vadot
3576be33864SEmmanuel Vadot			vcca3v0_codec: LDO_REG5 {
3586be33864SEmmanuel Vadot				regulator-name = "vcca3v0_codec";
3596be33864SEmmanuel Vadot				regulator-always-on;
3606be33864SEmmanuel Vadot				regulator-boot-on;
3616be33864SEmmanuel Vadot				regulator-min-microvolt = <3000000>;
3626be33864SEmmanuel Vadot				regulator-max-microvolt = <3000000>;
3636be33864SEmmanuel Vadot				regulator-state-mem {
3646be33864SEmmanuel Vadot					regulator-off-in-suspend;
3656be33864SEmmanuel Vadot				};
3666be33864SEmmanuel Vadot			};
3676be33864SEmmanuel Vadot
3686be33864SEmmanuel Vadot			vcc_1v5: LDO_REG6 {
3696be33864SEmmanuel Vadot				regulator-name = "vcc_1v5";
3706be33864SEmmanuel Vadot				regulator-always-on;
3716be33864SEmmanuel Vadot				regulator-boot-on;
3726be33864SEmmanuel Vadot				regulator-min-microvolt = <1500000>;
3736be33864SEmmanuel Vadot				regulator-max-microvolt = <1500000>;
3746be33864SEmmanuel Vadot				regulator-state-mem {
3756be33864SEmmanuel Vadot					regulator-on-in-suspend;
3766be33864SEmmanuel Vadot					regulator-suspend-microvolt = <1500000>;
3776be33864SEmmanuel Vadot				};
3786be33864SEmmanuel Vadot			};
3796be33864SEmmanuel Vadot
3807ef62cebSEmmanuel Vadot			vcca0v9_hdmi: LDO_REG7 {
3817ef62cebSEmmanuel Vadot				regulator-name = "vcca0v9_hdmi";
3826be33864SEmmanuel Vadot				regulator-always-on;
3836be33864SEmmanuel Vadot				regulator-boot-on;
3846be33864SEmmanuel Vadot				regulator-min-microvolt = <900000>;
3856be33864SEmmanuel Vadot				regulator-max-microvolt = <900000>;
3866be33864SEmmanuel Vadot				regulator-state-mem {
3876be33864SEmmanuel Vadot					regulator-off-in-suspend;
3886be33864SEmmanuel Vadot				};
3896be33864SEmmanuel Vadot			};
3906be33864SEmmanuel Vadot
3916be33864SEmmanuel Vadot			vcc_3v0: LDO_REG8 {
3926be33864SEmmanuel Vadot				regulator-name = "vcc_3v0";
3936be33864SEmmanuel Vadot				regulator-always-on;
3946be33864SEmmanuel Vadot				regulator-boot-on;
3956be33864SEmmanuel Vadot				regulator-min-microvolt = <3000000>;
3966be33864SEmmanuel Vadot				regulator-max-microvolt = <3000000>;
3976be33864SEmmanuel Vadot				regulator-state-mem {
3986be33864SEmmanuel Vadot					regulator-on-in-suspend;
3996be33864SEmmanuel Vadot					regulator-suspend-microvolt = <3000000>;
4006be33864SEmmanuel Vadot				};
4016be33864SEmmanuel Vadot			};
4026be33864SEmmanuel Vadot
4036be33864SEmmanuel Vadot			vcc_cam: SWITCH_REG1 {
4046be33864SEmmanuel Vadot				regulator-name = "vcc_cam";
4056be33864SEmmanuel Vadot				regulator-always-on;
4066be33864SEmmanuel Vadot				regulator-boot-on;
4076be33864SEmmanuel Vadot				regulator-state-mem {
4086be33864SEmmanuel Vadot					regulator-off-in-suspend;
4096be33864SEmmanuel Vadot				};
4106be33864SEmmanuel Vadot			};
4116be33864SEmmanuel Vadot
4126be33864SEmmanuel Vadot			vcc_mipi: SWITCH_REG2 {
4136be33864SEmmanuel Vadot				regulator-name = "vcc_mipi";
4146be33864SEmmanuel Vadot				regulator-always-on;
4156be33864SEmmanuel Vadot				regulator-boot-on;
4166be33864SEmmanuel Vadot				regulator-state-mem {
4176be33864SEmmanuel Vadot					regulator-off-in-suspend;
4186be33864SEmmanuel Vadot				};
4196be33864SEmmanuel Vadot			};
4206be33864SEmmanuel Vadot		};
4216be33864SEmmanuel Vadot	};
4226be33864SEmmanuel Vadot
4236be33864SEmmanuel Vadot	vdd_cpu_b: regulator@40 {
4246be33864SEmmanuel Vadot		compatible = "silergy,syr827";
4256be33864SEmmanuel Vadot		reg = <0x40>;
4266be33864SEmmanuel Vadot		fcs,suspend-voltage-selector = <1>;
4276be33864SEmmanuel Vadot		pinctrl-names = "default";
4286be33864SEmmanuel Vadot		pinctrl-0 = <&vsel1_pin>;
4296be33864SEmmanuel Vadot		regulator-name = "vdd_cpu_b";
4306be33864SEmmanuel Vadot		regulator-min-microvolt = <712500>;
4316be33864SEmmanuel Vadot		regulator-max-microvolt = <1500000>;
4326be33864SEmmanuel Vadot		regulator-ramp-delay = <1000>;
4336be33864SEmmanuel Vadot		regulator-always-on;
4346be33864SEmmanuel Vadot		regulator-boot-on;
4356be33864SEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
4366be33864SEmmanuel Vadot
4376be33864SEmmanuel Vadot		regulator-state-mem {
4386be33864SEmmanuel Vadot			regulator-off-in-suspend;
4396be33864SEmmanuel Vadot		};
4406be33864SEmmanuel Vadot	};
4416be33864SEmmanuel Vadot
4426be33864SEmmanuel Vadot	vdd_gpu: regulator@41 {
4436be33864SEmmanuel Vadot		compatible = "silergy,syr828";
4446be33864SEmmanuel Vadot		reg = <0x41>;
4456be33864SEmmanuel Vadot		fcs,suspend-voltage-selector = <1>;
4466be33864SEmmanuel Vadot		pinctrl-names = "default";
4476be33864SEmmanuel Vadot		pinctrl-0 = <&vsel2_pin>;
4486be33864SEmmanuel Vadot		regulator-name = "vdd_gpu";
4496be33864SEmmanuel Vadot		regulator-min-microvolt = <712500>;
4506be33864SEmmanuel Vadot		regulator-max-microvolt = <1500000>;
4516be33864SEmmanuel Vadot		regulator-ramp-delay = <1000>;
4526be33864SEmmanuel Vadot		regulator-always-on;
4536be33864SEmmanuel Vadot		regulator-boot-on;
4546be33864SEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
4556be33864SEmmanuel Vadot
4566be33864SEmmanuel Vadot		regulator-state-mem {
4576be33864SEmmanuel Vadot			regulator-off-in-suspend;
4586be33864SEmmanuel Vadot		};
4596be33864SEmmanuel Vadot	};
4606be33864SEmmanuel Vadot};
4616be33864SEmmanuel Vadot
4626be33864SEmmanuel Vadot&i2c1 {
4636be33864SEmmanuel Vadot	i2c-scl-rising-time-ns = <300>;
4646be33864SEmmanuel Vadot	i2c-scl-falling-time-ns = <15>;
4656be33864SEmmanuel Vadot	status = "okay";
4668cc087a1SEmmanuel Vadot
4678cc087a1SEmmanuel Vadot	es8316: codec@11 {
4688cc087a1SEmmanuel Vadot		compatible = "everest,es8316";
4698cc087a1SEmmanuel Vadot		reg = <0x11>;
4708cc087a1SEmmanuel Vadot		clocks = <&cru SCLK_I2S_8CH_OUT>;
4718cc087a1SEmmanuel Vadot		clock-names = "mclk";
4728cc087a1SEmmanuel Vadot		#sound-dai-cells = <0>;
4738cc087a1SEmmanuel Vadot
4748cc087a1SEmmanuel Vadot		port {
4758cc087a1SEmmanuel Vadot			es8316_p0_0: endpoint {
4768cc087a1SEmmanuel Vadot				remote-endpoint = <&i2s0_p0_0>;
4778cc087a1SEmmanuel Vadot			};
4788cc087a1SEmmanuel Vadot		};
4798cc087a1SEmmanuel Vadot	};
4806be33864SEmmanuel Vadot};
4816be33864SEmmanuel Vadot
4826be33864SEmmanuel Vadot&i2c3 {
4836be33864SEmmanuel Vadot	i2c-scl-rising-time-ns = <450>;
4846be33864SEmmanuel Vadot	i2c-scl-falling-time-ns = <15>;
4856be33864SEmmanuel Vadot	status = "okay";
4866be33864SEmmanuel Vadot};
4876be33864SEmmanuel Vadot
4886be33864SEmmanuel Vadot&i2c4 {
4896be33864SEmmanuel Vadot	i2c-scl-rising-time-ns = <600>;
4906be33864SEmmanuel Vadot	i2c-scl-falling-time-ns = <20>;
4916be33864SEmmanuel Vadot	status = "okay";
4926be33864SEmmanuel Vadot};
4936be33864SEmmanuel Vadot
4946be33864SEmmanuel Vadot&i2s0 {
4955def4c47SEmmanuel Vadot	pinctrl-0 = <&i2s0_2ch_bus>;
496aa1a8ff2SEmmanuel Vadot	pinctrl-1 = <&i2s0_2ch_bus_bclk_off>;
4975def4c47SEmmanuel Vadot	rockchip,capture-channels = <2>;
4985def4c47SEmmanuel Vadot	rockchip,playback-channels = <2>;
4996be33864SEmmanuel Vadot	status = "okay";
5008cc087a1SEmmanuel Vadot
5018cc087a1SEmmanuel Vadot	i2s0_p0: port {
5028cc087a1SEmmanuel Vadot		i2s0_p0_0: endpoint {
5038cc087a1SEmmanuel Vadot			dai-format = "i2s";
5048cc087a1SEmmanuel Vadot			mclk-fs = <256>;
5058cc087a1SEmmanuel Vadot			remote-endpoint = <&es8316_p0_0>;
5068cc087a1SEmmanuel Vadot		};
5078cc087a1SEmmanuel Vadot	};
5086be33864SEmmanuel Vadot};
5096be33864SEmmanuel Vadot
5106be33864SEmmanuel Vadot&i2s1 {
5116be33864SEmmanuel Vadot	rockchip,playback-channels = <2>;
5126be33864SEmmanuel Vadot	rockchip,capture-channels = <2>;
5136be33864SEmmanuel Vadot};
5146be33864SEmmanuel Vadot
5156be33864SEmmanuel Vadot&i2s2 {
5166be33864SEmmanuel Vadot	status = "okay";
5176be33864SEmmanuel Vadot};
5186be33864SEmmanuel Vadot
5196be33864SEmmanuel Vadot&io_domains {
5207ef62cebSEmmanuel Vadot	audio-supply = <&vcca1v8_codec>;
5216be33864SEmmanuel Vadot	bt656-supply = <&vcc_3v0>;
5226be33864SEmmanuel Vadot	gpio1830-supply = <&vcc_3v0>;
5237ef62cebSEmmanuel Vadot	sdmmc-supply = <&vcc_sdio>;
5246be33864SEmmanuel Vadot	status = "okay";
5256be33864SEmmanuel Vadot};
5266be33864SEmmanuel Vadot
5276be33864SEmmanuel Vadot&pcie0 {
5286be33864SEmmanuel Vadot	ep-gpios = <&gpio4 RK_PD3 GPIO_ACTIVE_HIGH>;
5296be33864SEmmanuel Vadot	num-lanes = <4>;
5306be33864SEmmanuel Vadot	pinctrl-0 = <&pcie_clkreqnb_cpm>;
5316be33864SEmmanuel Vadot	pinctrl-names = "default";
5326be33864SEmmanuel Vadot	vpcie0v9-supply = <&vcc_0v9>;
5336be33864SEmmanuel Vadot	vpcie1v8-supply = <&vcc_1v8>;
5346be33864SEmmanuel Vadot	vpcie3v3-supply = <&vcc3v3_pcie>;
5356be33864SEmmanuel Vadot	status = "okay";
5366be33864SEmmanuel Vadot};
5376be33864SEmmanuel Vadot
5387ef62cebSEmmanuel Vadot&pcie_phy {
5397ef62cebSEmmanuel Vadot	status = "okay";
5407ef62cebSEmmanuel Vadot};
5417ef62cebSEmmanuel Vadot
5426be33864SEmmanuel Vadot&pinctrl {
5436be33864SEmmanuel Vadot	bt {
5446be33864SEmmanuel Vadot		bt_enable_h: bt-enable-h {
5456be33864SEmmanuel Vadot			rockchip,pins = <0 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
5466be33864SEmmanuel Vadot		};
5476be33864SEmmanuel Vadot
5486be33864SEmmanuel Vadot		bt_host_wake_l: bt-host-wake-l {
5496be33864SEmmanuel Vadot			rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
5506be33864SEmmanuel Vadot		};
5516be33864SEmmanuel Vadot
5526be33864SEmmanuel Vadot		bt_wake_l: bt-wake-l {
5536be33864SEmmanuel Vadot			rockchip,pins = <2 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>;
5546be33864SEmmanuel Vadot		};
5556be33864SEmmanuel Vadot	};
5566be33864SEmmanuel Vadot
557e67e8565SEmmanuel Vadot	es8316 {
558e67e8565SEmmanuel Vadot		hp_detect: hp-detect {
559e67e8565SEmmanuel Vadot			rockchip,pins = <1 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>;
560e67e8565SEmmanuel Vadot		};
561e67e8565SEmmanuel Vadot
562e67e8565SEmmanuel Vadot		hp_int: hp-int {
563e67e8565SEmmanuel Vadot			rockchip,pins = <1 RK_PA1 RK_FUNC_GPIO &pcfg_pull_up>;
564e67e8565SEmmanuel Vadot		};
565e67e8565SEmmanuel Vadot	};
566e67e8565SEmmanuel Vadot
5677ef62cebSEmmanuel Vadot	leds {
5687ef62cebSEmmanuel Vadot		user_led2: user-led2 {
5697ef62cebSEmmanuel Vadot			rockchip,pins = <3 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>;
5707ef62cebSEmmanuel Vadot		};
5717ef62cebSEmmanuel Vadot	};
5727ef62cebSEmmanuel Vadot
5736be33864SEmmanuel Vadot	pcie {
5746be33864SEmmanuel Vadot		pcie_pwr_en: pcie-pwr-en {
5756be33864SEmmanuel Vadot			rockchip,pins = <2 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
5766be33864SEmmanuel Vadot		};
5776be33864SEmmanuel Vadot	};
5786be33864SEmmanuel Vadot
5797ef62cebSEmmanuel Vadot	pmic {
5807ef62cebSEmmanuel Vadot		pmic_int_l: pmic-int-l {
5817ef62cebSEmmanuel Vadot			rockchip,pins = <1 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>;
5827ef62cebSEmmanuel Vadot		};
5837ef62cebSEmmanuel Vadot
5847ef62cebSEmmanuel Vadot		vsel1_pin: vsel1-pin {
5857ef62cebSEmmanuel Vadot			rockchip,pins = <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_down>;
5867ef62cebSEmmanuel Vadot		};
5877ef62cebSEmmanuel Vadot
5887ef62cebSEmmanuel Vadot		vsel2_pin: vsel2-pin {
5897ef62cebSEmmanuel Vadot			rockchip,pins = <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_down>;
5907ef62cebSEmmanuel Vadot		};
5917ef62cebSEmmanuel Vadot	};
5927ef62cebSEmmanuel Vadot
5936be33864SEmmanuel Vadot	sdio0 {
5946be33864SEmmanuel Vadot		sdio0_bus4: sdio0-bus4 {
5956be33864SEmmanuel Vadot			rockchip,pins = <2 RK_PC4 1 &pcfg_pull_up_20ma>,
5966be33864SEmmanuel Vadot					<2 RK_PC5 1 &pcfg_pull_up_20ma>,
5976be33864SEmmanuel Vadot					<2 RK_PC6 1 &pcfg_pull_up_20ma>,
5986be33864SEmmanuel Vadot					<2 RK_PC7 1 &pcfg_pull_up_20ma>;
5996be33864SEmmanuel Vadot		};
6006be33864SEmmanuel Vadot
6016be33864SEmmanuel Vadot		sdio0_cmd: sdio0-cmd {
6026be33864SEmmanuel Vadot			rockchip,pins = <2 RK_PD0 1 &pcfg_pull_up_20ma>;
6036be33864SEmmanuel Vadot		};
6046be33864SEmmanuel Vadot
6056be33864SEmmanuel Vadot		sdio0_clk: sdio0-clk {
6066be33864SEmmanuel Vadot			rockchip,pins = <2 RK_PD1 1 &pcfg_pull_none_20ma>;
6076be33864SEmmanuel Vadot		};
6086be33864SEmmanuel Vadot	};
6096be33864SEmmanuel Vadot
6106be33864SEmmanuel Vadot	usb-typec {
6116be33864SEmmanuel Vadot		vcc5v0_typec_en: vcc5v0-typec-en {
6126be33864SEmmanuel Vadot			rockchip,pins = <1 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;
6136be33864SEmmanuel Vadot		};
6146be33864SEmmanuel Vadot	};
6156be33864SEmmanuel Vadot
6166be33864SEmmanuel Vadot	usb2 {
6176be33864SEmmanuel Vadot		vcc5v0_host_en: vcc5v0-host-en {
6186be33864SEmmanuel Vadot			rockchip,pins = <4 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>;
6196be33864SEmmanuel Vadot		};
6206be33864SEmmanuel Vadot	};
6216be33864SEmmanuel Vadot
6226be33864SEmmanuel Vadot	wifi {
6236be33864SEmmanuel Vadot		wifi_enable_h: wifi-enable-h {
6246be33864SEmmanuel Vadot			rockchip,pins = <0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
6256be33864SEmmanuel Vadot		};
6266be33864SEmmanuel Vadot
6276be33864SEmmanuel Vadot		wifi_host_wake_l: wifi-host-wake-l {
6286be33864SEmmanuel Vadot			rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
6296be33864SEmmanuel Vadot		};
6306be33864SEmmanuel Vadot	};
6316be33864SEmmanuel Vadot};
6326be33864SEmmanuel Vadot
6337ef62cebSEmmanuel Vadot&pmu_io_domains {
6347ef62cebSEmmanuel Vadot	pmu1830-supply = <&vcc_3v0>;
6357ef62cebSEmmanuel Vadot	status = "okay";
6367ef62cebSEmmanuel Vadot};
6377ef62cebSEmmanuel Vadot
6386be33864SEmmanuel Vadot&pwm2 {
6396be33864SEmmanuel Vadot	status = "okay";
6406be33864SEmmanuel Vadot};
6416be33864SEmmanuel Vadot
6426be33864SEmmanuel Vadot&saradc {
6436be33864SEmmanuel Vadot	status = "okay";
6446be33864SEmmanuel Vadot
6456be33864SEmmanuel Vadot	vref-supply = <&vcc_1v8>;
6466be33864SEmmanuel Vadot};
6476be33864SEmmanuel Vadot
6487ef62cebSEmmanuel Vadot&sdhci {
649f126890aSEmmanuel Vadot	max-frequency = <150000000>;
6507ef62cebSEmmanuel Vadot	bus-width = <8>;
651f126890aSEmmanuel Vadot	mmc-hs200-1_8v;
6527ef62cebSEmmanuel Vadot	non-removable;
6537ef62cebSEmmanuel Vadot	status = "okay";
6547ef62cebSEmmanuel Vadot};
6557ef62cebSEmmanuel Vadot
6566be33864SEmmanuel Vadot&sdio0 {
6576be33864SEmmanuel Vadot	#address-cells = <1>;
6586be33864SEmmanuel Vadot	#size-cells = <0>;
6596be33864SEmmanuel Vadot	bus-width = <4>;
6606be33864SEmmanuel Vadot	clock-frequency = <50000000>;
6616be33864SEmmanuel Vadot	cap-sdio-irq;
6626be33864SEmmanuel Vadot	cap-sd-highspeed;
6636be33864SEmmanuel Vadot	keep-power-in-suspend;
6646be33864SEmmanuel Vadot	mmc-pwrseq = <&sdio_pwrseq>;
6656be33864SEmmanuel Vadot	non-removable;
6666be33864SEmmanuel Vadot	pinctrl-names = "default";
6676be33864SEmmanuel Vadot	pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
6686be33864SEmmanuel Vadot	sd-uhs-sdr104;
6696be33864SEmmanuel Vadot};
6706be33864SEmmanuel Vadot
6716be33864SEmmanuel Vadot&sdmmc {
6726be33864SEmmanuel Vadot	bus-width = <4>;
6736be33864SEmmanuel Vadot	cap-mmc-highspeed;
6746be33864SEmmanuel Vadot	cap-sd-highspeed;
6756be33864SEmmanuel Vadot	cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
6766be33864SEmmanuel Vadot	disable-wp;
6776be33864SEmmanuel Vadot	max-frequency = <150000000>;
6786be33864SEmmanuel Vadot	pinctrl-names = "default";
6796be33864SEmmanuel Vadot	pinctrl-0 = <&sdmmc_clk &sdmmc_cd &sdmmc_cmd &sdmmc_bus4>;
6806be33864SEmmanuel Vadot	status = "okay";
6816be33864SEmmanuel Vadot};
6826be33864SEmmanuel Vadot
6838cc087a1SEmmanuel Vadot&spdif {
6848cc087a1SEmmanuel Vadot
6858cc087a1SEmmanuel Vadot	spdif_p0: port {
6868cc087a1SEmmanuel Vadot		spdif_p0_0: endpoint {
6878cc087a1SEmmanuel Vadot			remote-endpoint = <&dit_p0_0>;
6888cc087a1SEmmanuel Vadot		};
6898cc087a1SEmmanuel Vadot	};
6908cc087a1SEmmanuel Vadot};
6918cc087a1SEmmanuel Vadot
6926be33864SEmmanuel Vadot&tcphy0 {
6936be33864SEmmanuel Vadot	status = "okay";
6946be33864SEmmanuel Vadot};
6956be33864SEmmanuel Vadot
6966be33864SEmmanuel Vadot&tcphy1 {
6976be33864SEmmanuel Vadot	status = "okay";
6986be33864SEmmanuel Vadot};
6996be33864SEmmanuel Vadot
7006be33864SEmmanuel Vadot&tsadc {
7016be33864SEmmanuel Vadot	status = "okay";
7026be33864SEmmanuel Vadot
7036be33864SEmmanuel Vadot	/* tshut mode 0:CRU 1:GPIO */
7046be33864SEmmanuel Vadot	rockchip,hw-tshut-mode = <1>;
7056be33864SEmmanuel Vadot	/* tshut polarity 0:LOW 1:HIGH */
7066be33864SEmmanuel Vadot	rockchip,hw-tshut-polarity = <1>;
7076be33864SEmmanuel Vadot};
7086be33864SEmmanuel Vadot
7096be33864SEmmanuel Vadot&u2phy0 {
7106be33864SEmmanuel Vadot	status = "okay";
7116be33864SEmmanuel Vadot
7126be33864SEmmanuel Vadot	u2phy0_otg: otg-port {
7136be33864SEmmanuel Vadot		status = "okay";
7146be33864SEmmanuel Vadot	};
7156be33864SEmmanuel Vadot
7166be33864SEmmanuel Vadot	u2phy0_host: host-port {
7176be33864SEmmanuel Vadot		phy-supply = <&vcc5v0_host>;
7186be33864SEmmanuel Vadot		status = "okay";
7196be33864SEmmanuel Vadot	};
7206be33864SEmmanuel Vadot};
7216be33864SEmmanuel Vadot
7226be33864SEmmanuel Vadot&u2phy1 {
7236be33864SEmmanuel Vadot	status = "okay";
7246be33864SEmmanuel Vadot
7256be33864SEmmanuel Vadot	u2phy1_otg: otg-port {
7266be33864SEmmanuel Vadot		status = "okay";
7276be33864SEmmanuel Vadot	};
7286be33864SEmmanuel Vadot
7296be33864SEmmanuel Vadot	u2phy1_host: host-port {
7306be33864SEmmanuel Vadot		phy-supply = <&vcc5v0_host>;
7316be33864SEmmanuel Vadot		status = "okay";
7326be33864SEmmanuel Vadot	};
7336be33864SEmmanuel Vadot};
7346be33864SEmmanuel Vadot
7356be33864SEmmanuel Vadot&uart0 {
7366be33864SEmmanuel Vadot	pinctrl-names = "default";
7376be33864SEmmanuel Vadot	pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
7386be33864SEmmanuel Vadot};
7396be33864SEmmanuel Vadot
7406be33864SEmmanuel Vadot&uart2 {
7416be33864SEmmanuel Vadot	status = "okay";
7426be33864SEmmanuel Vadot};
7436be33864SEmmanuel Vadot
7446be33864SEmmanuel Vadot&usb_host0_ehci {
7456be33864SEmmanuel Vadot	status = "okay";
7466be33864SEmmanuel Vadot};
7476be33864SEmmanuel Vadot
7486be33864SEmmanuel Vadot&usb_host0_ohci {
7496be33864SEmmanuel Vadot	status = "okay";
7506be33864SEmmanuel Vadot};
7516be33864SEmmanuel Vadot
7526be33864SEmmanuel Vadot&usb_host1_ehci {
7536be33864SEmmanuel Vadot	status = "okay";
7546be33864SEmmanuel Vadot};
7556be33864SEmmanuel Vadot
7566be33864SEmmanuel Vadot&usb_host1_ohci {
7576be33864SEmmanuel Vadot	status = "okay";
7586be33864SEmmanuel Vadot};
7596be33864SEmmanuel Vadot
7606be33864SEmmanuel Vadot&usbdrd3_0 {
7616be33864SEmmanuel Vadot	status = "okay";
7626be33864SEmmanuel Vadot};
7636be33864SEmmanuel Vadot
7647ef62cebSEmmanuel Vadot&usbdrd3_1 {
7657ef62cebSEmmanuel Vadot	status = "okay";
7667ef62cebSEmmanuel Vadot};
7677ef62cebSEmmanuel Vadot
7686be33864SEmmanuel Vadot&usbdrd_dwc3_0 {
7696be33864SEmmanuel Vadot	status = "okay";
7705def4c47SEmmanuel Vadot	dr_mode = "host";
7716be33864SEmmanuel Vadot};
7726be33864SEmmanuel Vadot
7736be33864SEmmanuel Vadot&usbdrd_dwc3_1 {
7746be33864SEmmanuel Vadot	status = "okay";
7756be33864SEmmanuel Vadot	dr_mode = "host";
7766be33864SEmmanuel Vadot};
7776be33864SEmmanuel Vadot
7786be33864SEmmanuel Vadot&vopb {
7796be33864SEmmanuel Vadot	status = "okay";
7806be33864SEmmanuel Vadot};
7816be33864SEmmanuel Vadot
7826be33864SEmmanuel Vadot&vopb_mmu {
7836be33864SEmmanuel Vadot	status = "okay";
7846be33864SEmmanuel Vadot};
7856be33864SEmmanuel Vadot
7866be33864SEmmanuel Vadot&vopl {
7876be33864SEmmanuel Vadot	status = "okay";
7886be33864SEmmanuel Vadot};
7896be33864SEmmanuel Vadot
7906be33864SEmmanuel Vadot&vopl_mmu {
7916be33864SEmmanuel Vadot	status = "okay";
7926be33864SEmmanuel Vadot};
793