xref: /freebsd-src/sys/contrib/device-tree/src/arm64/rockchip/rk3399-rock-pi-4.dtsi (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
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#include <dt-bindings/input/linux-event-codes.h>
87ef62cebSEmmanuel Vadot#include <dt-bindings/leds/common.h>
96be33864SEmmanuel Vadot#include <dt-bindings/pwm/pwm.h>
106be33864SEmmanuel Vadot
116be33864SEmmanuel Vadot/ {
122eb4d8dcSEmmanuel Vadot	aliases {
138d13bc63SEmmanuel Vadot		ethernet0 = &gmac;
14cb7aa33aSEmmanuel Vadot		mmc0 = &sdhci;
15cb7aa33aSEmmanuel Vadot		mmc1 = &sdmmc;
162eb4d8dcSEmmanuel Vadot	};
172eb4d8dcSEmmanuel Vadot
186be33864SEmmanuel Vadot	chosen {
196be33864SEmmanuel Vadot		stdout-path = "serial2:1500000n8";
206be33864SEmmanuel Vadot	};
216be33864SEmmanuel Vadot
226be33864SEmmanuel Vadot	clkin_gmac: external-gmac-clock {
236be33864SEmmanuel Vadot		compatible = "fixed-clock";
246be33864SEmmanuel Vadot		clock-frequency = <125000000>;
256be33864SEmmanuel Vadot		clock-output-names = "clkin_gmac";
266be33864SEmmanuel Vadot		#clock-cells = <0>;
276be33864SEmmanuel Vadot	};
286be33864SEmmanuel Vadot
297ef62cebSEmmanuel Vadot	leds {
307ef62cebSEmmanuel Vadot		compatible = "gpio-leds";
317ef62cebSEmmanuel Vadot		pinctrl-names = "default";
327ef62cebSEmmanuel Vadot		pinctrl-0 = <&user_led2>;
337ef62cebSEmmanuel Vadot
347ef62cebSEmmanuel Vadot		/* USER_LED2 */
357ef62cebSEmmanuel Vadot		led-0 {
367ef62cebSEmmanuel Vadot			function = LED_FUNCTION_STATUS;
377ef62cebSEmmanuel Vadot			color = <LED_COLOR_ID_BLUE>;
387ef62cebSEmmanuel Vadot			gpios = <&gpio3 RK_PD5 GPIO_ACTIVE_HIGH>;
397ef62cebSEmmanuel Vadot			linux,default-trigger = "heartbeat";
407ef62cebSEmmanuel Vadot		};
417ef62cebSEmmanuel Vadot	};
427ef62cebSEmmanuel Vadot
436be33864SEmmanuel Vadot	sdio_pwrseq: sdio-pwrseq {
446be33864SEmmanuel Vadot		compatible = "mmc-pwrseq-simple";
456be33864SEmmanuel Vadot		clocks = <&rk808 1>;
46f126890aSEmmanuel Vadot		clock-names = "lpo";
476be33864SEmmanuel Vadot		pinctrl-names = "default";
486be33864SEmmanuel Vadot		pinctrl-0 = <&wifi_enable_h>;
496be33864SEmmanuel Vadot		reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
506be33864SEmmanuel Vadot	};
516be33864SEmmanuel Vadot
52e67e8565SEmmanuel Vadot	sound: sound {
538cc087a1SEmmanuel Vadot		compatible = "audio-graph-card";
548cc087a1SEmmanuel Vadot		label = "Analog";
558cc087a1SEmmanuel Vadot		dais = <&i2s0_p0>;
568cc087a1SEmmanuel Vadot	};
578cc087a1SEmmanuel Vadot
588cc087a1SEmmanuel Vadot	sound-dit {
598cc087a1SEmmanuel Vadot		compatible = "audio-graph-card";
608cc087a1SEmmanuel Vadot		label = "SPDIF";
618cc087a1SEmmanuel Vadot		dais = <&spdif_p0>;
628cc087a1SEmmanuel Vadot	};
638cc087a1SEmmanuel Vadot
648cc087a1SEmmanuel Vadot	spdif-dit {
658cc087a1SEmmanuel Vadot		compatible = "linux,spdif-dit";
668cc087a1SEmmanuel Vadot		#sound-dai-cells = <0>;
678cc087a1SEmmanuel Vadot
688cc087a1SEmmanuel Vadot		port {
698cc087a1SEmmanuel Vadot			dit_p0_0: endpoint {
708cc087a1SEmmanuel Vadot				remote-endpoint = <&spdif_p0_0>;
718cc087a1SEmmanuel Vadot			};
728cc087a1SEmmanuel Vadot		};
738cc087a1SEmmanuel Vadot	};
748cc087a1SEmmanuel Vadot
757ef62cebSEmmanuel Vadot	vbus_typec: vbus-typec-regulator {
767ef62cebSEmmanuel Vadot		compatible = "regulator-fixed";
777ef62cebSEmmanuel Vadot		enable-active-high;
787ef62cebSEmmanuel Vadot		gpio = <&gpio1 RK_PA3 GPIO_ACTIVE_HIGH>;
797ef62cebSEmmanuel Vadot		pinctrl-names = "default";
807ef62cebSEmmanuel Vadot		pinctrl-0 = <&vcc5v0_typec_en>;
817ef62cebSEmmanuel Vadot		regulator-name = "vbus_typec";
827ef62cebSEmmanuel Vadot		regulator-always-on;
837ef62cebSEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
847ef62cebSEmmanuel Vadot	};
857ef62cebSEmmanuel Vadot
866be33864SEmmanuel Vadot	vcc12v_dcin: dc-12v {
876be33864SEmmanuel Vadot		compatible = "regulator-fixed";
886be33864SEmmanuel Vadot		regulator-name = "vcc12v_dcin";
896be33864SEmmanuel Vadot		regulator-always-on;
906be33864SEmmanuel Vadot		regulator-boot-on;
916be33864SEmmanuel Vadot		regulator-min-microvolt = <12000000>;
926be33864SEmmanuel Vadot		regulator-max-microvolt = <12000000>;
936be33864SEmmanuel Vadot	};
946be33864SEmmanuel Vadot
957ef62cebSEmmanuel Vadot	vcc3v3_lan: vcc3v3-lan-regulator {
966be33864SEmmanuel Vadot		compatible = "regulator-fixed";
977ef62cebSEmmanuel Vadot		regulator-name = "vcc3v3_lan";
986be33864SEmmanuel Vadot		regulator-always-on;
996be33864SEmmanuel Vadot		regulator-boot-on;
1007ef62cebSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
1017ef62cebSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
1026be33864SEmmanuel Vadot		vin-supply = <&vcc3v3_sys>;
1036be33864SEmmanuel Vadot	};
1046be33864SEmmanuel Vadot
1056be33864SEmmanuel Vadot	vcc3v3_pcie: vcc3v3-pcie-regulator {
1066be33864SEmmanuel Vadot		compatible = "regulator-fixed";
1076be33864SEmmanuel Vadot		enable-active-high;
1086be33864SEmmanuel Vadot		gpio = <&gpio2 RK_PD2 GPIO_ACTIVE_HIGH>;
1096be33864SEmmanuel Vadot		pinctrl-names = "default";
1106be33864SEmmanuel Vadot		pinctrl-0 = <&pcie_pwr_en>;
1116be33864SEmmanuel Vadot		regulator-name = "vcc3v3_pcie";
1126be33864SEmmanuel Vadot		regulator-always-on;
1136be33864SEmmanuel Vadot		regulator-boot-on;
1146be33864SEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
1156be33864SEmmanuel Vadot	};
1166be33864SEmmanuel Vadot
1176be33864SEmmanuel Vadot	vcc3v3_sys: vcc3v3-sys {
1186be33864SEmmanuel Vadot		compatible = "regulator-fixed";
1196be33864SEmmanuel Vadot		regulator-name = "vcc3v3_sys";
1206be33864SEmmanuel Vadot		regulator-always-on;
1216be33864SEmmanuel Vadot		regulator-boot-on;
1226be33864SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
1236be33864SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
1246be33864SEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
1256be33864SEmmanuel Vadot	};
1266be33864SEmmanuel Vadot
1276be33864SEmmanuel Vadot	vcc5v0_host: vcc5v0-host-regulator {
1286be33864SEmmanuel Vadot		compatible = "regulator-fixed";
1296be33864SEmmanuel Vadot		enable-active-high;
1306be33864SEmmanuel Vadot		gpio = <&gpio4 RK_PD1 GPIO_ACTIVE_HIGH>;
1316be33864SEmmanuel Vadot		pinctrl-names = "default";
1326be33864SEmmanuel Vadot		pinctrl-0 = <&vcc5v0_host_en>;
1336be33864SEmmanuel Vadot		regulator-name = "vcc5v0_host";
1346be33864SEmmanuel Vadot		regulator-always-on;
1356be33864SEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
1366be33864SEmmanuel Vadot	};
1376be33864SEmmanuel Vadot
1387ef62cebSEmmanuel Vadot	vcc5v0_sys: vcc-sys {
1396be33864SEmmanuel Vadot		compatible = "regulator-fixed";
1407ef62cebSEmmanuel Vadot		regulator-name = "vcc5v0_sys";
1416be33864SEmmanuel Vadot		regulator-always-on;
1426be33864SEmmanuel Vadot		regulator-boot-on;
1437ef62cebSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
1447ef62cebSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
1457ef62cebSEmmanuel Vadot		vin-supply = <&vcc12v_dcin>;
1467ef62cebSEmmanuel Vadot	};
1477ef62cebSEmmanuel Vadot
1487ef62cebSEmmanuel Vadot	vcc_0v9: vcc-0v9 {
1497ef62cebSEmmanuel Vadot		compatible = "regulator-fixed";
1507ef62cebSEmmanuel Vadot		regulator-name = "vcc_0v9";
1517ef62cebSEmmanuel Vadot		regulator-always-on;
1527ef62cebSEmmanuel Vadot		regulator-boot-on;
1537ef62cebSEmmanuel Vadot		regulator-min-microvolt = <900000>;
1547ef62cebSEmmanuel Vadot		regulator-max-microvolt = <900000>;
1557ef62cebSEmmanuel Vadot		vin-supply = <&vcc3v3_sys>;
1566be33864SEmmanuel Vadot	};
1576be33864SEmmanuel Vadot
1586be33864SEmmanuel Vadot	vdd_log: vdd-log {
1596be33864SEmmanuel Vadot		compatible = "pwm-regulator";
1606be33864SEmmanuel Vadot		pwms = <&pwm2 0 25000 1>;
161c9ccf3a3SEmmanuel Vadot		pwm-supply = <&vcc5v0_sys>;
1626be33864SEmmanuel Vadot		regulator-name = "vdd_log";
1636be33864SEmmanuel Vadot		regulator-always-on;
1646be33864SEmmanuel Vadot		regulator-boot-on;
1656be33864SEmmanuel Vadot		regulator-min-microvolt = <800000>;
1666be33864SEmmanuel Vadot		regulator-max-microvolt = <1400000>;
1676be33864SEmmanuel Vadot	};
1686be33864SEmmanuel Vadot};
1696be33864SEmmanuel Vadot
1706be33864SEmmanuel Vadot&cpu_l0 {
1716be33864SEmmanuel Vadot	cpu-supply = <&vdd_cpu_l>;
1726be33864SEmmanuel Vadot};
1736be33864SEmmanuel Vadot
1746be33864SEmmanuel Vadot&cpu_l1 {
1756be33864SEmmanuel Vadot	cpu-supply = <&vdd_cpu_l>;
1766be33864SEmmanuel Vadot};
1776be33864SEmmanuel Vadot
1786be33864SEmmanuel Vadot&cpu_l2 {
1796be33864SEmmanuel Vadot	cpu-supply = <&vdd_cpu_l>;
1806be33864SEmmanuel Vadot};
1816be33864SEmmanuel Vadot
1826be33864SEmmanuel Vadot&cpu_l3 {
1836be33864SEmmanuel Vadot	cpu-supply = <&vdd_cpu_l>;
1846be33864SEmmanuel Vadot};
1856be33864SEmmanuel Vadot
1866be33864SEmmanuel Vadot&cpu_b0 {
1876be33864SEmmanuel Vadot	cpu-supply = <&vdd_cpu_b>;
1886be33864SEmmanuel Vadot};
1896be33864SEmmanuel Vadot
1906be33864SEmmanuel Vadot&cpu_b1 {
1916be33864SEmmanuel Vadot	cpu-supply = <&vdd_cpu_b>;
1926be33864SEmmanuel Vadot};
1936be33864SEmmanuel Vadot
1946be33864SEmmanuel Vadot&emmc_phy {
195*7d0873ebSEmmanuel Vadot	rockchip,enable-strobe-pulldown;
1966be33864SEmmanuel Vadot	status = "okay";
1976be33864SEmmanuel Vadot};
1986be33864SEmmanuel Vadot
1996be33864SEmmanuel Vadot&gmac {
2006be33864SEmmanuel Vadot	assigned-clocks = <&cru SCLK_RMII_SRC>;
2016be33864SEmmanuel Vadot	assigned-clock-parents = <&clkin_gmac>;
2026be33864SEmmanuel Vadot	clock_in_out = "input";
2037ef62cebSEmmanuel Vadot	phy-supply = <&vcc3v3_lan>;
2046be33864SEmmanuel Vadot	phy-mode = "rgmii";
2056be33864SEmmanuel Vadot	pinctrl-names = "default";
2066be33864SEmmanuel Vadot	pinctrl-0 = <&rgmii_pins>;
2076be33864SEmmanuel Vadot	snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
2086be33864SEmmanuel Vadot	snps,reset-active-low;
2096be33864SEmmanuel Vadot	snps,reset-delays-us = <0 10000 50000>;
2106be33864SEmmanuel Vadot	tx_delay = <0x28>;
2116be33864SEmmanuel Vadot	rx_delay = <0x11>;
2126be33864SEmmanuel Vadot	status = "okay";
2136be33864SEmmanuel Vadot};
2146be33864SEmmanuel Vadot
2156be33864SEmmanuel Vadot&gpu {
2166be33864SEmmanuel Vadot	mali-supply = <&vdd_gpu>;
2176be33864SEmmanuel Vadot	status = "okay";
2186be33864SEmmanuel Vadot};
2196be33864SEmmanuel Vadot
2206be33864SEmmanuel Vadot&hdmi {
2217ef62cebSEmmanuel Vadot	avdd-0v9-supply = <&vcca0v9_hdmi>;
2227ef62cebSEmmanuel Vadot	avdd-1v8-supply = <&vcca1v8_hdmi>;
2236be33864SEmmanuel Vadot	ddc-i2c-bus = <&i2c3>;
2246be33864SEmmanuel Vadot	pinctrl-names = "default";
2256be33864SEmmanuel Vadot	pinctrl-0 = <&hdmi_cec>;
2266be33864SEmmanuel Vadot	status = "okay";
2276be33864SEmmanuel Vadot};
2286be33864SEmmanuel Vadot
2296be33864SEmmanuel Vadot&hdmi_sound {
2306be33864SEmmanuel Vadot	status = "okay";
2316be33864SEmmanuel Vadot};
2326be33864SEmmanuel Vadot
2336be33864SEmmanuel Vadot&i2c0 {
2346be33864SEmmanuel Vadot	clock-frequency = <400000>;
2356be33864SEmmanuel Vadot	i2c-scl-rising-time-ns = <168>;
2366be33864SEmmanuel Vadot	i2c-scl-falling-time-ns = <4>;
2376be33864SEmmanuel Vadot	status = "okay";
2386be33864SEmmanuel Vadot
2396be33864SEmmanuel Vadot	rk808: pmic@1b {
2406be33864SEmmanuel Vadot		compatible = "rockchip,rk808";
2416be33864SEmmanuel Vadot		reg = <0x1b>;
2426be33864SEmmanuel Vadot		interrupt-parent = <&gpio1>;
2436be33864SEmmanuel Vadot		interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
2446be33864SEmmanuel Vadot		#clock-cells = <1>;
2456be33864SEmmanuel Vadot		clock-output-names = "xin32k", "rk808-clkout2";
2466be33864SEmmanuel Vadot		pinctrl-names = "default";
2476be33864SEmmanuel Vadot		pinctrl-0 = <&pmic_int_l>;
2486be33864SEmmanuel Vadot		rockchip,system-power-controller;
2496be33864SEmmanuel Vadot		wakeup-source;
2506be33864SEmmanuel Vadot
2516be33864SEmmanuel Vadot		vcc1-supply = <&vcc5v0_sys>;
2526be33864SEmmanuel Vadot		vcc2-supply = <&vcc5v0_sys>;
2536be33864SEmmanuel Vadot		vcc3-supply = <&vcc5v0_sys>;
2546be33864SEmmanuel Vadot		vcc4-supply = <&vcc5v0_sys>;
2556be33864SEmmanuel Vadot		vcc6-supply = <&vcc5v0_sys>;
2566be33864SEmmanuel Vadot		vcc7-supply = <&vcc5v0_sys>;
2576be33864SEmmanuel Vadot		vcc8-supply = <&vcc3v3_sys>;
2586be33864SEmmanuel Vadot		vcc9-supply = <&vcc5v0_sys>;
2596be33864SEmmanuel Vadot		vcc10-supply = <&vcc5v0_sys>;
2606be33864SEmmanuel Vadot		vcc11-supply = <&vcc5v0_sys>;
2616be33864SEmmanuel Vadot		vcc12-supply = <&vcc3v3_sys>;
2626be33864SEmmanuel Vadot		vddio-supply = <&vcc_1v8>;
2636be33864SEmmanuel Vadot
2646be33864SEmmanuel Vadot		regulators {
2656be33864SEmmanuel Vadot			vdd_center: DCDC_REG1 {
2666be33864SEmmanuel Vadot				regulator-name = "vdd_center";
2676be33864SEmmanuel Vadot				regulator-always-on;
2686be33864SEmmanuel Vadot				regulator-boot-on;
2696be33864SEmmanuel Vadot				regulator-min-microvolt = <750000>;
2706be33864SEmmanuel Vadot				regulator-max-microvolt = <1350000>;
2716be33864SEmmanuel Vadot				regulator-ramp-delay = <6001>;
2726be33864SEmmanuel Vadot				regulator-state-mem {
2736be33864SEmmanuel Vadot					regulator-off-in-suspend;
2746be33864SEmmanuel Vadot				};
2756be33864SEmmanuel Vadot			};
2766be33864SEmmanuel Vadot
2776be33864SEmmanuel Vadot			vdd_cpu_l: DCDC_REG2 {
2786be33864SEmmanuel Vadot				regulator-name = "vdd_cpu_l";
2796be33864SEmmanuel Vadot				regulator-always-on;
2806be33864SEmmanuel Vadot				regulator-boot-on;
2816be33864SEmmanuel Vadot				regulator-min-microvolt = <750000>;
2826be33864SEmmanuel Vadot				regulator-max-microvolt = <1350000>;
2836be33864SEmmanuel Vadot				regulator-ramp-delay = <6001>;
2846be33864SEmmanuel Vadot				regulator-state-mem {
2856be33864SEmmanuel Vadot					regulator-off-in-suspend;
2866be33864SEmmanuel Vadot				};
2876be33864SEmmanuel Vadot			};
2886be33864SEmmanuel Vadot
2896be33864SEmmanuel Vadot			vcc_ddr: DCDC_REG3 {
2906be33864SEmmanuel Vadot				regulator-name = "vcc_ddr";
2916be33864SEmmanuel Vadot				regulator-always-on;
2926be33864SEmmanuel Vadot				regulator-boot-on;
2936be33864SEmmanuel Vadot				regulator-state-mem {
2946be33864SEmmanuel Vadot					regulator-on-in-suspend;
2956be33864SEmmanuel Vadot				};
2966be33864SEmmanuel Vadot			};
2976be33864SEmmanuel Vadot
2986be33864SEmmanuel Vadot			vcc_1v8: DCDC_REG4 {
2996be33864SEmmanuel Vadot				regulator-name = "vcc_1v8";
3006be33864SEmmanuel Vadot				regulator-always-on;
3016be33864SEmmanuel Vadot				regulator-boot-on;
3026be33864SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
3036be33864SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
3046be33864SEmmanuel Vadot				regulator-state-mem {
3056be33864SEmmanuel Vadot					regulator-on-in-suspend;
3066be33864SEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
3076be33864SEmmanuel Vadot				};
3086be33864SEmmanuel Vadot			};
3096be33864SEmmanuel Vadot
3107ef62cebSEmmanuel Vadot			vcca1v8_codec: LDO_REG1 {
3117ef62cebSEmmanuel Vadot				regulator-name = "vcca1v8_codec";
3126be33864SEmmanuel Vadot				regulator-always-on;
3136be33864SEmmanuel Vadot				regulator-boot-on;
3146be33864SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
3156be33864SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
3166be33864SEmmanuel Vadot				regulator-state-mem {
3176be33864SEmmanuel Vadot					regulator-off-in-suspend;
3186be33864SEmmanuel Vadot				};
3196be33864SEmmanuel Vadot			};
3206be33864SEmmanuel Vadot
3217ef62cebSEmmanuel Vadot			vcca1v8_hdmi: LDO_REG2 {
3227ef62cebSEmmanuel Vadot				regulator-name = "vcca1v8_hdmi";
3236be33864SEmmanuel Vadot				regulator-always-on;
3246be33864SEmmanuel Vadot				regulator-boot-on;
3256be33864SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
3266be33864SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
3276be33864SEmmanuel Vadot				regulator-state-mem {
3286be33864SEmmanuel Vadot					regulator-off-in-suspend;
3296be33864SEmmanuel Vadot				};
3306be33864SEmmanuel Vadot			};
3316be33864SEmmanuel Vadot
3326be33864SEmmanuel Vadot			vcca_1v8: LDO_REG3 {
3336be33864SEmmanuel Vadot				regulator-name = "vcca_1v8";
3346be33864SEmmanuel Vadot				regulator-always-on;
3356be33864SEmmanuel Vadot				regulator-boot-on;
3366be33864SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
3376be33864SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
3386be33864SEmmanuel Vadot				regulator-state-mem {
3396be33864SEmmanuel Vadot					regulator-on-in-suspend;
3406be33864SEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
3416be33864SEmmanuel Vadot				};
3426be33864SEmmanuel Vadot			};
3436be33864SEmmanuel Vadot
3446be33864SEmmanuel Vadot			vcc_sdio: LDO_REG4 {
3456be33864SEmmanuel Vadot				regulator-name = "vcc_sdio";
3466be33864SEmmanuel Vadot				regulator-always-on;
3476be33864SEmmanuel Vadot				regulator-boot-on;
3486be33864SEmmanuel Vadot				regulator-min-microvolt = <3000000>;
3496be33864SEmmanuel Vadot				regulator-max-microvolt = <3000000>;
3506be33864SEmmanuel Vadot				regulator-state-mem {
3516be33864SEmmanuel Vadot					regulator-on-in-suspend;
3526be33864SEmmanuel Vadot					regulator-suspend-microvolt = <3000000>;
3536be33864SEmmanuel Vadot				};
3546be33864SEmmanuel Vadot			};
3556be33864SEmmanuel Vadot
3566be33864SEmmanuel Vadot			vcca3v0_codec: LDO_REG5 {
3576be33864SEmmanuel Vadot				regulator-name = "vcca3v0_codec";
3586be33864SEmmanuel Vadot				regulator-always-on;
3596be33864SEmmanuel Vadot				regulator-boot-on;
3606be33864SEmmanuel Vadot				regulator-min-microvolt = <3000000>;
3616be33864SEmmanuel Vadot				regulator-max-microvolt = <3000000>;
3626be33864SEmmanuel Vadot				regulator-state-mem {
3636be33864SEmmanuel Vadot					regulator-off-in-suspend;
3646be33864SEmmanuel Vadot				};
3656be33864SEmmanuel Vadot			};
3666be33864SEmmanuel Vadot
3676be33864SEmmanuel Vadot			vcc_1v5: LDO_REG6 {
3686be33864SEmmanuel Vadot				regulator-name = "vcc_1v5";
3696be33864SEmmanuel Vadot				regulator-always-on;
3706be33864SEmmanuel Vadot				regulator-boot-on;
3716be33864SEmmanuel Vadot				regulator-min-microvolt = <1500000>;
3726be33864SEmmanuel Vadot				regulator-max-microvolt = <1500000>;
3736be33864SEmmanuel Vadot				regulator-state-mem {
3746be33864SEmmanuel Vadot					regulator-on-in-suspend;
3756be33864SEmmanuel Vadot					regulator-suspend-microvolt = <1500000>;
3766be33864SEmmanuel Vadot				};
3776be33864SEmmanuel Vadot			};
3786be33864SEmmanuel Vadot
3797ef62cebSEmmanuel Vadot			vcca0v9_hdmi: LDO_REG7 {
3807ef62cebSEmmanuel Vadot				regulator-name = "vcca0v9_hdmi";
3816be33864SEmmanuel Vadot				regulator-always-on;
3826be33864SEmmanuel Vadot				regulator-boot-on;
3836be33864SEmmanuel Vadot				regulator-min-microvolt = <900000>;
3846be33864SEmmanuel Vadot				regulator-max-microvolt = <900000>;
3856be33864SEmmanuel Vadot				regulator-state-mem {
3866be33864SEmmanuel Vadot					regulator-off-in-suspend;
3876be33864SEmmanuel Vadot				};
3886be33864SEmmanuel Vadot			};
3896be33864SEmmanuel Vadot
3906be33864SEmmanuel Vadot			vcc_3v0: LDO_REG8 {
3916be33864SEmmanuel Vadot				regulator-name = "vcc_3v0";
3926be33864SEmmanuel Vadot				regulator-always-on;
3936be33864SEmmanuel Vadot				regulator-boot-on;
3946be33864SEmmanuel Vadot				regulator-min-microvolt = <3000000>;
3956be33864SEmmanuel Vadot				regulator-max-microvolt = <3000000>;
3966be33864SEmmanuel Vadot				regulator-state-mem {
3976be33864SEmmanuel Vadot					regulator-on-in-suspend;
3986be33864SEmmanuel Vadot					regulator-suspend-microvolt = <3000000>;
3996be33864SEmmanuel Vadot				};
4006be33864SEmmanuel Vadot			};
4016be33864SEmmanuel Vadot
4026be33864SEmmanuel Vadot			vcc_cam: SWITCH_REG1 {
4036be33864SEmmanuel Vadot				regulator-name = "vcc_cam";
4046be33864SEmmanuel Vadot				regulator-always-on;
4056be33864SEmmanuel Vadot				regulator-boot-on;
4066be33864SEmmanuel Vadot				regulator-state-mem {
4076be33864SEmmanuel Vadot					regulator-off-in-suspend;
4086be33864SEmmanuel Vadot				};
4096be33864SEmmanuel Vadot			};
4106be33864SEmmanuel Vadot
4116be33864SEmmanuel Vadot			vcc_mipi: SWITCH_REG2 {
4126be33864SEmmanuel Vadot				regulator-name = "vcc_mipi";
4136be33864SEmmanuel Vadot				regulator-always-on;
4146be33864SEmmanuel Vadot				regulator-boot-on;
4156be33864SEmmanuel Vadot				regulator-state-mem {
4166be33864SEmmanuel Vadot					regulator-off-in-suspend;
4176be33864SEmmanuel Vadot				};
4186be33864SEmmanuel Vadot			};
4196be33864SEmmanuel Vadot		};
4206be33864SEmmanuel Vadot	};
4216be33864SEmmanuel Vadot
4226be33864SEmmanuel Vadot	vdd_cpu_b: regulator@40 {
4236be33864SEmmanuel Vadot		compatible = "silergy,syr827";
4246be33864SEmmanuel Vadot		reg = <0x40>;
4256be33864SEmmanuel Vadot		fcs,suspend-voltage-selector = <1>;
4266be33864SEmmanuel Vadot		pinctrl-names = "default";
4276be33864SEmmanuel Vadot		pinctrl-0 = <&vsel1_pin>;
4286be33864SEmmanuel Vadot		regulator-name = "vdd_cpu_b";
4296be33864SEmmanuel Vadot		regulator-min-microvolt = <712500>;
4306be33864SEmmanuel Vadot		regulator-max-microvolt = <1500000>;
4316be33864SEmmanuel Vadot		regulator-ramp-delay = <1000>;
4326be33864SEmmanuel Vadot		regulator-always-on;
4336be33864SEmmanuel Vadot		regulator-boot-on;
4346be33864SEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
4356be33864SEmmanuel Vadot
4366be33864SEmmanuel Vadot		regulator-state-mem {
4376be33864SEmmanuel Vadot			regulator-off-in-suspend;
4386be33864SEmmanuel Vadot		};
4396be33864SEmmanuel Vadot	};
4406be33864SEmmanuel Vadot
4416be33864SEmmanuel Vadot	vdd_gpu: regulator@41 {
4426be33864SEmmanuel Vadot		compatible = "silergy,syr828";
4436be33864SEmmanuel Vadot		reg = <0x41>;
4446be33864SEmmanuel Vadot		fcs,suspend-voltage-selector = <1>;
4456be33864SEmmanuel Vadot		pinctrl-names = "default";
4466be33864SEmmanuel Vadot		pinctrl-0 = <&vsel2_pin>;
4476be33864SEmmanuel Vadot		regulator-name = "vdd_gpu";
4486be33864SEmmanuel Vadot		regulator-min-microvolt = <712500>;
4496be33864SEmmanuel Vadot		regulator-max-microvolt = <1500000>;
4506be33864SEmmanuel Vadot		regulator-ramp-delay = <1000>;
4516be33864SEmmanuel Vadot		regulator-always-on;
4526be33864SEmmanuel Vadot		regulator-boot-on;
4536be33864SEmmanuel Vadot		vin-supply = <&vcc5v0_sys>;
4546be33864SEmmanuel Vadot
4556be33864SEmmanuel Vadot		regulator-state-mem {
4566be33864SEmmanuel Vadot			regulator-off-in-suspend;
4576be33864SEmmanuel Vadot		};
4586be33864SEmmanuel Vadot	};
4596be33864SEmmanuel Vadot};
4606be33864SEmmanuel Vadot
4616be33864SEmmanuel Vadot&i2c1 {
4626be33864SEmmanuel Vadot	i2c-scl-rising-time-ns = <300>;
4636be33864SEmmanuel Vadot	i2c-scl-falling-time-ns = <15>;
4646be33864SEmmanuel Vadot	status = "okay";
4658cc087a1SEmmanuel Vadot
4668cc087a1SEmmanuel Vadot	es8316: codec@11 {
4678cc087a1SEmmanuel Vadot		compatible = "everest,es8316";
4688cc087a1SEmmanuel Vadot		reg = <0x11>;
4698cc087a1SEmmanuel Vadot		clocks = <&cru SCLK_I2S_8CH_OUT>;
4708cc087a1SEmmanuel Vadot		clock-names = "mclk";
4718cc087a1SEmmanuel Vadot		#sound-dai-cells = <0>;
4728cc087a1SEmmanuel Vadot
4738cc087a1SEmmanuel Vadot		port {
4748cc087a1SEmmanuel Vadot			es8316_p0_0: endpoint {
4758cc087a1SEmmanuel Vadot				remote-endpoint = <&i2s0_p0_0>;
4768cc087a1SEmmanuel Vadot			};
4778cc087a1SEmmanuel Vadot		};
4788cc087a1SEmmanuel Vadot	};
4796be33864SEmmanuel Vadot};
4806be33864SEmmanuel Vadot
4816be33864SEmmanuel Vadot&i2c3 {
4826be33864SEmmanuel Vadot	i2c-scl-rising-time-ns = <450>;
4836be33864SEmmanuel Vadot	i2c-scl-falling-time-ns = <15>;
4846be33864SEmmanuel Vadot	status = "okay";
4856be33864SEmmanuel Vadot};
4866be33864SEmmanuel Vadot
4876be33864SEmmanuel Vadot&i2c4 {
4886be33864SEmmanuel Vadot	i2c-scl-rising-time-ns = <600>;
4896be33864SEmmanuel Vadot	i2c-scl-falling-time-ns = <20>;
4906be33864SEmmanuel Vadot	status = "okay";
4916be33864SEmmanuel Vadot};
4926be33864SEmmanuel Vadot
4936be33864SEmmanuel Vadot&i2s0 {
4945def4c47SEmmanuel Vadot	pinctrl-0 = <&i2s0_2ch_bus>;
495aa1a8ff2SEmmanuel Vadot	pinctrl-1 = <&i2s0_2ch_bus_bclk_off>;
4965def4c47SEmmanuel Vadot	rockchip,capture-channels = <2>;
4975def4c47SEmmanuel Vadot	rockchip,playback-channels = <2>;
4986be33864SEmmanuel Vadot	status = "okay";
4998cc087a1SEmmanuel Vadot
5008cc087a1SEmmanuel Vadot	i2s0_p0: port {
5018cc087a1SEmmanuel Vadot		i2s0_p0_0: endpoint {
5028cc087a1SEmmanuel Vadot			dai-format = "i2s";
5038cc087a1SEmmanuel Vadot			mclk-fs = <256>;
5048cc087a1SEmmanuel Vadot			remote-endpoint = <&es8316_p0_0>;
5058cc087a1SEmmanuel Vadot		};
5068cc087a1SEmmanuel Vadot	};
5076be33864SEmmanuel Vadot};
5086be33864SEmmanuel Vadot
5096be33864SEmmanuel Vadot&i2s1 {
5106be33864SEmmanuel Vadot	rockchip,playback-channels = <2>;
5116be33864SEmmanuel Vadot	rockchip,capture-channels = <2>;
5126be33864SEmmanuel Vadot};
5136be33864SEmmanuel Vadot
5146be33864SEmmanuel Vadot&i2s2 {
5156be33864SEmmanuel Vadot	status = "okay";
5166be33864SEmmanuel Vadot};
5176be33864SEmmanuel Vadot
5186be33864SEmmanuel Vadot&io_domains {
5197ef62cebSEmmanuel Vadot	audio-supply = <&vcca1v8_codec>;
5206be33864SEmmanuel Vadot	bt656-supply = <&vcc_3v0>;
5216be33864SEmmanuel Vadot	gpio1830-supply = <&vcc_3v0>;
5227ef62cebSEmmanuel Vadot	sdmmc-supply = <&vcc_sdio>;
5236be33864SEmmanuel Vadot	status = "okay";
5246be33864SEmmanuel Vadot};
5256be33864SEmmanuel Vadot
5266be33864SEmmanuel Vadot&pcie0 {
5276be33864SEmmanuel Vadot	ep-gpios = <&gpio4 RK_PD3 GPIO_ACTIVE_HIGH>;
5286be33864SEmmanuel Vadot	num-lanes = <4>;
5296be33864SEmmanuel Vadot	pinctrl-0 = <&pcie_clkreqnb_cpm>;
5306be33864SEmmanuel Vadot	pinctrl-names = "default";
5316be33864SEmmanuel Vadot	vpcie0v9-supply = <&vcc_0v9>;
5326be33864SEmmanuel Vadot	vpcie1v8-supply = <&vcc_1v8>;
5336be33864SEmmanuel Vadot	vpcie3v3-supply = <&vcc3v3_pcie>;
5346be33864SEmmanuel Vadot	status = "okay";
5356be33864SEmmanuel Vadot};
5366be33864SEmmanuel Vadot
5377ef62cebSEmmanuel Vadot&pcie_phy {
5387ef62cebSEmmanuel Vadot	status = "okay";
5397ef62cebSEmmanuel Vadot};
5407ef62cebSEmmanuel Vadot
5416be33864SEmmanuel Vadot&pinctrl {
5426be33864SEmmanuel Vadot	bt {
5436be33864SEmmanuel Vadot		bt_enable_h: bt-enable-h {
5446be33864SEmmanuel Vadot			rockchip,pins = <0 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
5456be33864SEmmanuel Vadot		};
5466be33864SEmmanuel Vadot
5476be33864SEmmanuel Vadot		bt_host_wake_l: bt-host-wake-l {
5486be33864SEmmanuel Vadot			rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
5496be33864SEmmanuel Vadot		};
5506be33864SEmmanuel Vadot
5516be33864SEmmanuel Vadot		bt_wake_l: bt-wake-l {
5526be33864SEmmanuel Vadot			rockchip,pins = <2 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>;
5536be33864SEmmanuel Vadot		};
5546be33864SEmmanuel Vadot	};
5556be33864SEmmanuel Vadot
556e67e8565SEmmanuel Vadot	es8316 {
557e67e8565SEmmanuel Vadot		hp_detect: hp-detect {
558e67e8565SEmmanuel Vadot			rockchip,pins = <1 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>;
559e67e8565SEmmanuel Vadot		};
560e67e8565SEmmanuel Vadot
561e67e8565SEmmanuel Vadot		hp_int: hp-int {
562e67e8565SEmmanuel Vadot			rockchip,pins = <1 RK_PA1 RK_FUNC_GPIO &pcfg_pull_up>;
563e67e8565SEmmanuel Vadot		};
564e67e8565SEmmanuel Vadot	};
565e67e8565SEmmanuel Vadot
5667ef62cebSEmmanuel Vadot	leds {
5677ef62cebSEmmanuel Vadot		user_led2: user-led2 {
5687ef62cebSEmmanuel Vadot			rockchip,pins = <3 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>;
5697ef62cebSEmmanuel Vadot		};
5707ef62cebSEmmanuel Vadot	};
5717ef62cebSEmmanuel Vadot
5726be33864SEmmanuel Vadot	pcie {
5736be33864SEmmanuel Vadot		pcie_pwr_en: pcie-pwr-en {
5746be33864SEmmanuel Vadot			rockchip,pins = <2 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
5756be33864SEmmanuel Vadot		};
5766be33864SEmmanuel Vadot	};
5776be33864SEmmanuel Vadot
5787ef62cebSEmmanuel Vadot	pmic {
5797ef62cebSEmmanuel Vadot		pmic_int_l: pmic-int-l {
5807ef62cebSEmmanuel Vadot			rockchip,pins = <1 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>;
5817ef62cebSEmmanuel Vadot		};
5827ef62cebSEmmanuel Vadot
5837ef62cebSEmmanuel Vadot		vsel1_pin: vsel1-pin {
5847ef62cebSEmmanuel Vadot			rockchip,pins = <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_down>;
5857ef62cebSEmmanuel Vadot		};
5867ef62cebSEmmanuel Vadot
5877ef62cebSEmmanuel Vadot		vsel2_pin: vsel2-pin {
5887ef62cebSEmmanuel Vadot			rockchip,pins = <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_down>;
5897ef62cebSEmmanuel Vadot		};
5907ef62cebSEmmanuel Vadot	};
5917ef62cebSEmmanuel Vadot
5926be33864SEmmanuel Vadot	sdio0 {
5936be33864SEmmanuel Vadot		sdio0_bus4: sdio0-bus4 {
5946be33864SEmmanuel Vadot			rockchip,pins = <2 RK_PC4 1 &pcfg_pull_up_20ma>,
5956be33864SEmmanuel Vadot					<2 RK_PC5 1 &pcfg_pull_up_20ma>,
5966be33864SEmmanuel Vadot					<2 RK_PC6 1 &pcfg_pull_up_20ma>,
5976be33864SEmmanuel Vadot					<2 RK_PC7 1 &pcfg_pull_up_20ma>;
5986be33864SEmmanuel Vadot		};
5996be33864SEmmanuel Vadot
6006be33864SEmmanuel Vadot		sdio0_cmd: sdio0-cmd {
6016be33864SEmmanuel Vadot			rockchip,pins = <2 RK_PD0 1 &pcfg_pull_up_20ma>;
6026be33864SEmmanuel Vadot		};
6036be33864SEmmanuel Vadot
6046be33864SEmmanuel Vadot		sdio0_clk: sdio0-clk {
6056be33864SEmmanuel Vadot			rockchip,pins = <2 RK_PD1 1 &pcfg_pull_none_20ma>;
6066be33864SEmmanuel Vadot		};
6076be33864SEmmanuel Vadot	};
6086be33864SEmmanuel Vadot
6096be33864SEmmanuel Vadot	usb-typec {
6106be33864SEmmanuel Vadot		vcc5v0_typec_en: vcc5v0-typec-en {
6116be33864SEmmanuel Vadot			rockchip,pins = <1 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;
6126be33864SEmmanuel Vadot		};
6136be33864SEmmanuel Vadot	};
6146be33864SEmmanuel Vadot
6156be33864SEmmanuel Vadot	usb2 {
6166be33864SEmmanuel Vadot		vcc5v0_host_en: vcc5v0-host-en {
6176be33864SEmmanuel Vadot			rockchip,pins = <4 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>;
6186be33864SEmmanuel Vadot		};
6196be33864SEmmanuel Vadot	};
6206be33864SEmmanuel Vadot
6216be33864SEmmanuel Vadot	wifi {
6226be33864SEmmanuel Vadot		wifi_enable_h: wifi-enable-h {
6236be33864SEmmanuel Vadot			rockchip,pins = <0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
6246be33864SEmmanuel Vadot		};
6256be33864SEmmanuel Vadot
6266be33864SEmmanuel Vadot		wifi_host_wake_l: wifi-host-wake-l {
6276be33864SEmmanuel Vadot			rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
6286be33864SEmmanuel Vadot		};
6296be33864SEmmanuel Vadot	};
6306be33864SEmmanuel Vadot};
6316be33864SEmmanuel Vadot
6327ef62cebSEmmanuel Vadot&pmu_io_domains {
6337ef62cebSEmmanuel Vadot	pmu1830-supply = <&vcc_3v0>;
6347ef62cebSEmmanuel Vadot	status = "okay";
6357ef62cebSEmmanuel Vadot};
6367ef62cebSEmmanuel Vadot
6376be33864SEmmanuel Vadot&pwm2 {
6386be33864SEmmanuel Vadot	status = "okay";
6396be33864SEmmanuel Vadot};
6406be33864SEmmanuel Vadot
6416be33864SEmmanuel Vadot&saradc {
6426be33864SEmmanuel Vadot	status = "okay";
6436be33864SEmmanuel Vadot
6446be33864SEmmanuel Vadot	vref-supply = <&vcc_1v8>;
6456be33864SEmmanuel Vadot};
6466be33864SEmmanuel Vadot
6477ef62cebSEmmanuel Vadot&sdhci {
648f126890aSEmmanuel Vadot	max-frequency = <150000000>;
6497ef62cebSEmmanuel Vadot	bus-width = <8>;
650*7d0873ebSEmmanuel Vadot	mmc-hs400-1_8v;
651*7d0873ebSEmmanuel Vadot	mmc-hs400-enhanced-strobe;
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