xref: /freebsd/sys/contrib/device-tree/src/arm64/rockchip/rk3582-radxa-e52c.dts (revision 833e5d42ab135b0238e61c5b3c19b8619677cbfa)
12846c905SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
22846c905SEmmanuel Vadot/*
32846c905SEmmanuel Vadot * Copyright (c) 2024 Radxa Computer (Shenzhen) Co., Ltd.
42846c905SEmmanuel Vadot */
52846c905SEmmanuel Vadot
62846c905SEmmanuel Vadot/dts-v1/;
72846c905SEmmanuel Vadot
82846c905SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
92846c905SEmmanuel Vadot#include <dt-bindings/input/input.h>
102846c905SEmmanuel Vadot#include <dt-bindings/leds/common.h>
112846c905SEmmanuel Vadot#include <dt-bindings/pinctrl/rockchip.h>
122846c905SEmmanuel Vadot#include <dt-bindings/pwm/pwm.h>
132846c905SEmmanuel Vadot#include "rk3588s.dtsi"
142846c905SEmmanuel Vadot
152846c905SEmmanuel Vadot/ {
162846c905SEmmanuel Vadot	model = "Radxa E52C";
172846c905SEmmanuel Vadot	compatible = "radxa,e52c", "rockchip,rk3582", "rockchip,rk3588s";
182846c905SEmmanuel Vadot
192846c905SEmmanuel Vadot	aliases {
202846c905SEmmanuel Vadot		mmc0 = &sdhci;
212846c905SEmmanuel Vadot		mmc1 = &sdmmc;
222846c905SEmmanuel Vadot	};
232846c905SEmmanuel Vadot
242846c905SEmmanuel Vadot	chosen {
252846c905SEmmanuel Vadot		stdout-path = "serial2:1500000n8";
262846c905SEmmanuel Vadot	};
272846c905SEmmanuel Vadot
282846c905SEmmanuel Vadot	keys-0 {
292846c905SEmmanuel Vadot		compatible = "adc-keys";
302846c905SEmmanuel Vadot		io-channels = <&saradc 0>;
312846c905SEmmanuel Vadot		io-channel-names = "buttons";
322846c905SEmmanuel Vadot		keyup-threshold-microvolt = <18000>;
332846c905SEmmanuel Vadot		poll-interval = <100>;
342846c905SEmmanuel Vadot
352846c905SEmmanuel Vadot		button-0 {
362846c905SEmmanuel Vadot			label = "Maskrom";
372846c905SEmmanuel Vadot			linux,code = <KEY_VENDOR>;
382846c905SEmmanuel Vadot			press-threshold-microvolt = <0>;
392846c905SEmmanuel Vadot		};
402846c905SEmmanuel Vadot	};
412846c905SEmmanuel Vadot
422846c905SEmmanuel Vadot	keys-1 {
432846c905SEmmanuel Vadot		compatible = "gpio-keys";
442846c905SEmmanuel Vadot		pinctrl-names = "default";
452846c905SEmmanuel Vadot		pinctrl-0 = <&btn_0>;
462846c905SEmmanuel Vadot
472846c905SEmmanuel Vadot		button-1 {
482846c905SEmmanuel Vadot			label = "User";
492846c905SEmmanuel Vadot			gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_LOW>;
502846c905SEmmanuel Vadot			linux,code = <BTN_0>;
512846c905SEmmanuel Vadot			wakeup-source;
522846c905SEmmanuel Vadot		};
532846c905SEmmanuel Vadot	};
542846c905SEmmanuel Vadot
552846c905SEmmanuel Vadot	leds-0 {
562846c905SEmmanuel Vadot		compatible = "gpio-leds";
572846c905SEmmanuel Vadot		pinctrl-names = "default";
582846c905SEmmanuel Vadot		pinctrl-0 = <&led_0>;
592846c905SEmmanuel Vadot
602846c905SEmmanuel Vadot		led-0 {
612846c905SEmmanuel Vadot			color = <LED_COLOR_ID_GREEN>;
622846c905SEmmanuel Vadot			default-state = "on";
632846c905SEmmanuel Vadot			function = LED_FUNCTION_STATUS;
642846c905SEmmanuel Vadot			gpios = <&gpio3 RK_PC4 GPIO_ACTIVE_HIGH>;
652846c905SEmmanuel Vadot			linux,default-trigger = "heartbeat";
662846c905SEmmanuel Vadot		};
672846c905SEmmanuel Vadot	};
682846c905SEmmanuel Vadot
692846c905SEmmanuel Vadot	leds-1 {
702846c905SEmmanuel Vadot		compatible = "pwm-leds";
712846c905SEmmanuel Vadot
722846c905SEmmanuel Vadot		led-1 {
732846c905SEmmanuel Vadot			color = <LED_COLOR_ID_GREEN>;
742846c905SEmmanuel Vadot			default-state = "on";
752846c905SEmmanuel Vadot			function = LED_FUNCTION_LAN;
762846c905SEmmanuel Vadot			linux,default-trigger = "netdev";
772846c905SEmmanuel Vadot			pwms = <&pwm14 0 1000000 PWM_POLARITY_INVERTED>;
782846c905SEmmanuel Vadot			max-brightness = <255>;
792846c905SEmmanuel Vadot		};
802846c905SEmmanuel Vadot
812846c905SEmmanuel Vadot		led-2 {
822846c905SEmmanuel Vadot			color = <LED_COLOR_ID_GREEN>;
832846c905SEmmanuel Vadot			default-state = "on";
842846c905SEmmanuel Vadot			function = LED_FUNCTION_WAN;
852846c905SEmmanuel Vadot			linux,default-trigger = "netdev";
862846c905SEmmanuel Vadot			pwms = <&pwm11 0 1000000 PWM_POLARITY_INVERTED>;
872846c905SEmmanuel Vadot			max-brightness = <255>;
882846c905SEmmanuel Vadot		};
892846c905SEmmanuel Vadot	};
902846c905SEmmanuel Vadot
912846c905SEmmanuel Vadot	vcc_1v1_nldo_s3: regulator-1v1 {
922846c905SEmmanuel Vadot		compatible = "regulator-fixed";
932846c905SEmmanuel Vadot		regulator-name = "vcc_1v1_nldo_s3";
942846c905SEmmanuel Vadot		regulator-always-on;
952846c905SEmmanuel Vadot		regulator-boot-on;
962846c905SEmmanuel Vadot		regulator-min-microvolt = <1100000>;
972846c905SEmmanuel Vadot		regulator-max-microvolt = <1100000>;
982846c905SEmmanuel Vadot		vin-supply = <&vcc_sysin>;
992846c905SEmmanuel Vadot	};
1002846c905SEmmanuel Vadot
1012846c905SEmmanuel Vadot	vcc_3v3_pmu: regulator-3v3-0 {
1022846c905SEmmanuel Vadot		compatible = "regulator-fixed";
1032846c905SEmmanuel Vadot		regulator-name = "vcc_3v3_pmu";
1042846c905SEmmanuel Vadot		regulator-always-on;
1052846c905SEmmanuel Vadot		regulator-boot-on;
1062846c905SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
1072846c905SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
1082846c905SEmmanuel Vadot		vin-supply = <&vcc_3v3_s3>;
1092846c905SEmmanuel Vadot	};
1102846c905SEmmanuel Vadot
1112846c905SEmmanuel Vadot	vcc_3v3_s0: regulator-3v3-1 {
1122846c905SEmmanuel Vadot		compatible = "regulator-fixed";
1132846c905SEmmanuel Vadot		regulator-name = "vcc_3v3_s0";
1142846c905SEmmanuel Vadot		regulator-always-on;
1152846c905SEmmanuel Vadot		regulator-boot-on;
1162846c905SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
1172846c905SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
1182846c905SEmmanuel Vadot		vin-supply = <&vcc_3v3_s3>;
1192846c905SEmmanuel Vadot	};
1202846c905SEmmanuel Vadot
1212846c905SEmmanuel Vadot	vcca: regulator-4v0 {
1222846c905SEmmanuel Vadot		compatible = "regulator-fixed";
1232846c905SEmmanuel Vadot		regulator-name = "vcca";
1242846c905SEmmanuel Vadot		regulator-always-on;
1252846c905SEmmanuel Vadot		regulator-boot-on;
1262846c905SEmmanuel Vadot		regulator-min-microvolt = <4000000>;
1272846c905SEmmanuel Vadot		regulator-max-microvolt = <4000000>;
1282846c905SEmmanuel Vadot		vin-supply = <&vcc_sysin>;
1292846c905SEmmanuel Vadot	};
1302846c905SEmmanuel Vadot
1312846c905SEmmanuel Vadot	vcc5v0_usb_otg0: regulator-5v0-0 {
1322846c905SEmmanuel Vadot		compatible = "regulator-fixed";
1332846c905SEmmanuel Vadot		enable-active-high;
1342846c905SEmmanuel Vadot		gpio = <&gpio0 RK_PD4 GPIO_ACTIVE_HIGH>;
1352846c905SEmmanuel Vadot		pinctrl-names = "default";
1362846c905SEmmanuel Vadot		pinctrl-0 = <&usb_otg_pwren_h>;
1372846c905SEmmanuel Vadot		regulator-name = "vcc5v0_usb_otg0";
1382846c905SEmmanuel Vadot		regulator-min-microvolt = <5000000>;
1392846c905SEmmanuel Vadot		regulator-max-microvolt = <5000000>;
1402846c905SEmmanuel Vadot		vin-supply = <&vcc_sysin>;
1412846c905SEmmanuel Vadot	};
1422846c905SEmmanuel Vadot
1432846c905SEmmanuel Vadot	vcc_5v0: regulator-5v0-1 {
1442846c905SEmmanuel Vadot		compatible = "regulator-fixed";
1452846c905SEmmanuel Vadot		enable-active-high;
1462846c905SEmmanuel Vadot		gpio = <&gpio4 RK_PA3 GPIO_ACTIVE_HIGH>;
1472846c905SEmmanuel Vadot		pinctrl-names = "default";
1482846c905SEmmanuel Vadot		pinctrl-0 = <&vcc_5v0_pwren_h>;
1492846c905SEmmanuel Vadot		regulator-name = "vcc_5v0";
1502846c905SEmmanuel Vadot		regulator-min-microvolt = <5000000>;
1512846c905SEmmanuel Vadot		regulator-max-microvolt = <5000000>;
1522846c905SEmmanuel Vadot		vin-supply = <&vcc_sysin>;
1532846c905SEmmanuel Vadot	};
1542846c905SEmmanuel Vadot
1552846c905SEmmanuel Vadot	vcc_sysin: regulator-5v0-2 {
1562846c905SEmmanuel Vadot		compatible = "regulator-fixed";
1572846c905SEmmanuel Vadot		regulator-name = "vcc_sysin";
1582846c905SEmmanuel Vadot		regulator-always-on;
1592846c905SEmmanuel Vadot		regulator-boot-on;
1602846c905SEmmanuel Vadot		regulator-min-microvolt = <5000000>;
1612846c905SEmmanuel Vadot		regulator-max-microvolt = <5000000>;
1622846c905SEmmanuel Vadot	};
1632846c905SEmmanuel Vadot};
1642846c905SEmmanuel Vadot
1652846c905SEmmanuel Vadot&combphy0_ps {
1662846c905SEmmanuel Vadot	status = "okay";
1672846c905SEmmanuel Vadot};
1682846c905SEmmanuel Vadot
1692846c905SEmmanuel Vadot&combphy2_psu {
1702846c905SEmmanuel Vadot	status = "okay";
1712846c905SEmmanuel Vadot};
1722846c905SEmmanuel Vadot
1732846c905SEmmanuel Vadot/*
1742846c905SEmmanuel Vadot * In the Rockchip RK3582 SoC, some CPU cores end up disabled
1752846c905SEmmanuel Vadot * and unused because they're marked in the efuses as defective.
1762846c905SEmmanuel Vadot * The disabling in the DT is performed by the boot loader.
1772846c905SEmmanuel Vadot */
1782846c905SEmmanuel Vadot&cpu_b0 {
1792846c905SEmmanuel Vadot	cpu-supply = <&vdd_cpu_big0_s0>;
1802846c905SEmmanuel Vadot};
1812846c905SEmmanuel Vadot
1822846c905SEmmanuel Vadot&cpu_b1 {
1832846c905SEmmanuel Vadot	cpu-supply = <&vdd_cpu_big0_s0>;
1842846c905SEmmanuel Vadot};
1852846c905SEmmanuel Vadot
1862846c905SEmmanuel Vadot&cpu_b2 {
1872846c905SEmmanuel Vadot	cpu-supply = <&vdd_cpu_big1_s0>;
1882846c905SEmmanuel Vadot};
1892846c905SEmmanuel Vadot
1902846c905SEmmanuel Vadot&cpu_b3 {
1912846c905SEmmanuel Vadot	cpu-supply = <&vdd_cpu_big1_s0>;
1922846c905SEmmanuel Vadot};
1932846c905SEmmanuel Vadot
1942846c905SEmmanuel Vadot&cpu_l0 {
1952846c905SEmmanuel Vadot	cpu-supply = <&vdd_cpu_lit_s0>;
1962846c905SEmmanuel Vadot};
1972846c905SEmmanuel Vadot
1982846c905SEmmanuel Vadot&cpu_l1 {
1992846c905SEmmanuel Vadot	cpu-supply = <&vdd_cpu_lit_s0>;
2002846c905SEmmanuel Vadot};
2012846c905SEmmanuel Vadot
2022846c905SEmmanuel Vadot&cpu_l2 {
2032846c905SEmmanuel Vadot	cpu-supply = <&vdd_cpu_lit_s0>;
2042846c905SEmmanuel Vadot};
2052846c905SEmmanuel Vadot
2062846c905SEmmanuel Vadot&cpu_l3 {
2072846c905SEmmanuel Vadot	cpu-supply = <&vdd_cpu_lit_s0>;
2082846c905SEmmanuel Vadot};
2092846c905SEmmanuel Vadot
2102846c905SEmmanuel Vadot&i2c0 {
2112846c905SEmmanuel Vadot	pinctrl-names = "default";
2122846c905SEmmanuel Vadot	pinctrl-0 = <&i2c0m2_xfer>;
2132846c905SEmmanuel Vadot	status = "okay";
2142846c905SEmmanuel Vadot
2152846c905SEmmanuel Vadot	vdd_cpu_big0_s0: regulator@42 {
2162846c905SEmmanuel Vadot		compatible = "rockchip,rk8602";
2172846c905SEmmanuel Vadot		reg = <0x42>;
2182846c905SEmmanuel Vadot		fcs,suspend-voltage-selector = <1>;
2192846c905SEmmanuel Vadot		regulator-name = "vdd_cpu_big0_s0";
2202846c905SEmmanuel Vadot		regulator-always-on;
2212846c905SEmmanuel Vadot		regulator-boot-on;
2222846c905SEmmanuel Vadot		regulator-min-microvolt = <550000>;
2232846c905SEmmanuel Vadot		regulator-max-microvolt = <1050000>;
2242846c905SEmmanuel Vadot		regulator-ramp-delay = <2300>;
2252846c905SEmmanuel Vadot		vin-supply = <&vcc_sysin>;
2262846c905SEmmanuel Vadot
2272846c905SEmmanuel Vadot		regulator-state-mem {
2282846c905SEmmanuel Vadot			regulator-off-in-suspend;
2292846c905SEmmanuel Vadot		};
2302846c905SEmmanuel Vadot	};
2312846c905SEmmanuel Vadot
2322846c905SEmmanuel Vadot	vdd_cpu_big1_s0: regulator@43 {
2332846c905SEmmanuel Vadot		compatible = "rockchip,rk8603", "rockchip,rk8602";
2342846c905SEmmanuel Vadot		reg = <0x43>;
2352846c905SEmmanuel Vadot		fcs,suspend-voltage-selector = <1>;
2362846c905SEmmanuel Vadot		regulator-name = "vdd_cpu_big1_s0";
2372846c905SEmmanuel Vadot		regulator-always-on;
2382846c905SEmmanuel Vadot		regulator-boot-on;
2392846c905SEmmanuel Vadot		regulator-min-microvolt = <550000>;
2402846c905SEmmanuel Vadot		regulator-max-microvolt = <1050000>;
2412846c905SEmmanuel Vadot		regulator-ramp-delay = <2300>;
2422846c905SEmmanuel Vadot		vin-supply = <&vcc_sysin>;
2432846c905SEmmanuel Vadot
2442846c905SEmmanuel Vadot		regulator-state-mem {
2452846c905SEmmanuel Vadot			regulator-off-in-suspend;
2462846c905SEmmanuel Vadot		};
2472846c905SEmmanuel Vadot	};
2482846c905SEmmanuel Vadot
2492846c905SEmmanuel Vadot	eeprom@50 {
2502846c905SEmmanuel Vadot		compatible = "belling,bl24c16a", "atmel,24c16";
2512846c905SEmmanuel Vadot		reg = <0x50>;
2522846c905SEmmanuel Vadot		pagesize = <16>;
253*833e5d42SEmmanuel Vadot		read-only;
2542846c905SEmmanuel Vadot		vcc-supply = <&vcc_3v3_pmu>;
2552846c905SEmmanuel Vadot	};
2562846c905SEmmanuel Vadot};
2572846c905SEmmanuel Vadot
2582846c905SEmmanuel Vadot&i2c2 {
2592846c905SEmmanuel Vadot	status = "okay";
2602846c905SEmmanuel Vadot
2612846c905SEmmanuel Vadot	vdd_npu_s0: regulator@42 {
2622846c905SEmmanuel Vadot		compatible = "rockchip,rk8602";
2632846c905SEmmanuel Vadot		reg = <0x42>;
2642846c905SEmmanuel Vadot		fcs,suspend-voltage-selector = <1>;
2652846c905SEmmanuel Vadot		regulator-name = "vdd_npu_s0";
2662846c905SEmmanuel Vadot		regulator-always-on;
2672846c905SEmmanuel Vadot		regulator-boot-on;
2682846c905SEmmanuel Vadot		regulator-min-microvolt = <550000>;
2692846c905SEmmanuel Vadot		regulator-max-microvolt = <950000>;
2702846c905SEmmanuel Vadot		regulator-ramp-delay = <2300>;
2712846c905SEmmanuel Vadot		vin-supply = <&vcc_sysin>;
2722846c905SEmmanuel Vadot
2732846c905SEmmanuel Vadot		regulator-state-mem {
2742846c905SEmmanuel Vadot			regulator-off-in-suspend;
2752846c905SEmmanuel Vadot		};
2762846c905SEmmanuel Vadot	};
2772846c905SEmmanuel Vadot};
2782846c905SEmmanuel Vadot
2792846c905SEmmanuel Vadot&i2c5 {
2802846c905SEmmanuel Vadot	pinctrl-names = "default";
2812846c905SEmmanuel Vadot	pinctrl-0 = <&i2c5m2_xfer>;
2822846c905SEmmanuel Vadot	status = "okay";
2832846c905SEmmanuel Vadot
2842846c905SEmmanuel Vadot	rtc@51 {
2852846c905SEmmanuel Vadot		compatible = "haoyu,hym8563";
2862846c905SEmmanuel Vadot		reg = <0x51>;
2872846c905SEmmanuel Vadot		#clock-cells = <0>;
2882846c905SEmmanuel Vadot		clock-output-names = "rtcic_32kout";
2892846c905SEmmanuel Vadot		interrupt-parent = <&gpio0>;
2902846c905SEmmanuel Vadot		interrupts = <RK_PB0 IRQ_TYPE_LEVEL_LOW>;
2912846c905SEmmanuel Vadot		pinctrl-names = "default";
2922846c905SEmmanuel Vadot		pinctrl-0 = <&rtc_int_l>;
2932846c905SEmmanuel Vadot		wakeup-source;
2942846c905SEmmanuel Vadot	};
2952846c905SEmmanuel Vadot};
2962846c905SEmmanuel Vadot
2972846c905SEmmanuel Vadot&pcie2x1l1 {
2982846c905SEmmanuel Vadot	pinctrl-names = "default";
2992846c905SEmmanuel Vadot	pinctrl-0 = <&pcie20x1_1_perstn_m1>;
3002846c905SEmmanuel Vadot	reset-gpios = <&gpio4 RK_PA2 GPIO_ACTIVE_HIGH>;
3012846c905SEmmanuel Vadot	vpcie3v3-supply = <&vcc_3v3_s3>;
3022846c905SEmmanuel Vadot	status = "okay";
3032846c905SEmmanuel Vadot};
3042846c905SEmmanuel Vadot
3052846c905SEmmanuel Vadot&pcie2x1l2 {
3062846c905SEmmanuel Vadot	pinctrl-names = "default";
3072846c905SEmmanuel Vadot	pinctrl-0 = <&pcie20x1_2_perstn_m0>;
3082846c905SEmmanuel Vadot	reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>;
3092846c905SEmmanuel Vadot	vpcie3v3-supply = <&vcc_3v3_s3>;
3102846c905SEmmanuel Vadot	status = "okay";
3112846c905SEmmanuel Vadot};
3122846c905SEmmanuel Vadot
3132846c905SEmmanuel Vadot&pinctrl {
3142846c905SEmmanuel Vadot	keys {
3152846c905SEmmanuel Vadot		btn_0: button-0 {
3162846c905SEmmanuel Vadot			rockchip,pins = <4 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
3172846c905SEmmanuel Vadot		};
3182846c905SEmmanuel Vadot	};
3192846c905SEmmanuel Vadot
3202846c905SEmmanuel Vadot	leds {
3212846c905SEmmanuel Vadot		led_0: led-0 {
3222846c905SEmmanuel Vadot			rockchip,pins = <3 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>;
3232846c905SEmmanuel Vadot		};
3242846c905SEmmanuel Vadot	};
3252846c905SEmmanuel Vadot
3262846c905SEmmanuel Vadot	pcie {
3272846c905SEmmanuel Vadot		pcie20x1_1_perstn_m1: pcie-1 {
3282846c905SEmmanuel Vadot			rockchip,pins = <4 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
3292846c905SEmmanuel Vadot		};
3302846c905SEmmanuel Vadot
3312846c905SEmmanuel Vadot		pcie20x1_2_perstn_m0: pcie-2 {
3322846c905SEmmanuel Vadot			rockchip,pins = <3 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>;
3332846c905SEmmanuel Vadot		};
3342846c905SEmmanuel Vadot	};
3352846c905SEmmanuel Vadot
3362846c905SEmmanuel Vadot	regulators {
3372846c905SEmmanuel Vadot		vcc_5v0_pwren_h: regulator-5v0-1 {
3382846c905SEmmanuel Vadot			rockchip,pins = <4 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
3392846c905SEmmanuel Vadot		};
3402846c905SEmmanuel Vadot	};
3412846c905SEmmanuel Vadot
3422846c905SEmmanuel Vadot	rtc {
3432846c905SEmmanuel Vadot		rtc_int_l: rtc-0 {
3442846c905SEmmanuel Vadot			rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
3452846c905SEmmanuel Vadot		};
3462846c905SEmmanuel Vadot	};
3472846c905SEmmanuel Vadot
3482846c905SEmmanuel Vadot	usb {
3492846c905SEmmanuel Vadot		usb_otg_pwren_h: regulator-5v0-0 {
3502846c905SEmmanuel Vadot			rockchip,pins = <0 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>;
3512846c905SEmmanuel Vadot		};
3522846c905SEmmanuel Vadot	};
3532846c905SEmmanuel Vadot};
3542846c905SEmmanuel Vadot
3552846c905SEmmanuel Vadot&pwm11 {
3562846c905SEmmanuel Vadot	pinctrl-names = "default";
3572846c905SEmmanuel Vadot	pinctrl-0 = <&pwm11m1_pins>;
3582846c905SEmmanuel Vadot	status = "okay";
3592846c905SEmmanuel Vadot};
3602846c905SEmmanuel Vadot
3612846c905SEmmanuel Vadot&pwm14 {
3622846c905SEmmanuel Vadot	pinctrl-names = "default";
3632846c905SEmmanuel Vadot	pinctrl-0 = <&pwm14m1_pins>;
3642846c905SEmmanuel Vadot	status = "okay";
3652846c905SEmmanuel Vadot};
3662846c905SEmmanuel Vadot
3672846c905SEmmanuel Vadot&saradc {
3682846c905SEmmanuel Vadot	vref-supply = <&vcca_1v8_s0>;
3692846c905SEmmanuel Vadot	status = "okay";
3702846c905SEmmanuel Vadot};
3712846c905SEmmanuel Vadot
3722846c905SEmmanuel Vadot&sdhci {
3732846c905SEmmanuel Vadot	bus-width = <8>;
3742846c905SEmmanuel Vadot	cap-mmc-highspeed;
3752846c905SEmmanuel Vadot	mmc-hs400-1_8v;
3762846c905SEmmanuel Vadot	mmc-hs400-enhanced-strobe;
3772846c905SEmmanuel Vadot	no-sd;
3782846c905SEmmanuel Vadot	no-sdio;
3792846c905SEmmanuel Vadot	non-removable;
3802846c905SEmmanuel Vadot	vmmc-supply = <&vcc_3v3_s0>;
3812846c905SEmmanuel Vadot	vqmmc-supply = <&vcc_1v8_s3>;
3822846c905SEmmanuel Vadot	status = "okay";
3832846c905SEmmanuel Vadot};
3842846c905SEmmanuel Vadot
3852846c905SEmmanuel Vadot&sdmmc {
3862846c905SEmmanuel Vadot	bus-width = <4>;
3872846c905SEmmanuel Vadot	cap-mmc-highspeed;
3882846c905SEmmanuel Vadot	cap-sd-highspeed;
3892846c905SEmmanuel Vadot	cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
3902846c905SEmmanuel Vadot	disable-wp;
3912846c905SEmmanuel Vadot	no-sdio;
3922846c905SEmmanuel Vadot	sd-uhs-sdr104;
3932846c905SEmmanuel Vadot	vmmc-supply = <&vcc_3v3_s3>;
3942846c905SEmmanuel Vadot	vqmmc-supply = <&vccio_sd_s0>;
3952846c905SEmmanuel Vadot	status = "okay";
3962846c905SEmmanuel Vadot};
3972846c905SEmmanuel Vadot
3982846c905SEmmanuel Vadot&spi2 {
3992846c905SEmmanuel Vadot	status = "okay";
4002846c905SEmmanuel Vadot	assigned-clocks = <&cru CLK_SPI2>;
4012846c905SEmmanuel Vadot	assigned-clock-rates = <200000000>;
4022846c905SEmmanuel Vadot	num-cs = <1>;
4032846c905SEmmanuel Vadot	pinctrl-names = "default";
4042846c905SEmmanuel Vadot	pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>;
4052846c905SEmmanuel Vadot
4062846c905SEmmanuel Vadot	pmic@0 {
4072846c905SEmmanuel Vadot		compatible = "rockchip,rk806";
4082846c905SEmmanuel Vadot		reg = <0>;
4092846c905SEmmanuel Vadot		gpio-controller;
4102846c905SEmmanuel Vadot		#gpio-cells = <2>;
4112846c905SEmmanuel Vadot		interrupt-parent = <&gpio0>;
4122846c905SEmmanuel Vadot		interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
4132846c905SEmmanuel Vadot		pinctrl-names = "default";
4142846c905SEmmanuel Vadot		pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>,
4152846c905SEmmanuel Vadot			    <&rk806_dvs2_null>, <&rk806_dvs3_null>;
4162846c905SEmmanuel Vadot		spi-max-frequency = <1000000>;
4172846c905SEmmanuel Vadot		system-power-controller;
4182846c905SEmmanuel Vadot
4192846c905SEmmanuel Vadot		vcc1-supply = <&vcc_sysin>;
4202846c905SEmmanuel Vadot		vcc2-supply = <&vcc_sysin>;
4212846c905SEmmanuel Vadot		vcc3-supply = <&vcc_sysin>;
4222846c905SEmmanuel Vadot		vcc4-supply = <&vcc_sysin>;
4232846c905SEmmanuel Vadot		vcc5-supply = <&vcc_sysin>;
4242846c905SEmmanuel Vadot		vcc6-supply = <&vcc_sysin>;
4252846c905SEmmanuel Vadot		vcc7-supply = <&vcc_sysin>;
4262846c905SEmmanuel Vadot		vcc8-supply = <&vcc_sysin>;
4272846c905SEmmanuel Vadot		vcc9-supply = <&vcc_sysin>;
4282846c905SEmmanuel Vadot		vcc10-supply = <&vcc_sysin>;
4292846c905SEmmanuel Vadot		vcc11-supply = <&vcc_2v0_pldo_s3>;
4302846c905SEmmanuel Vadot		vcc12-supply = <&vcc_sysin>;
4312846c905SEmmanuel Vadot		vcc13-supply = <&vcc_1v1_nldo_s3>;
4322846c905SEmmanuel Vadot		vcc14-supply = <&vcc_1v1_nldo_s3>;
4332846c905SEmmanuel Vadot		vcca-supply = <&vcca>;
4342846c905SEmmanuel Vadot
4352846c905SEmmanuel Vadot		rk806_dvs1_null: dvs1-null-pins {
4362846c905SEmmanuel Vadot			pins = "gpio_pwrctrl1";
4372846c905SEmmanuel Vadot			function = "pin_fun0";
4382846c905SEmmanuel Vadot		};
4392846c905SEmmanuel Vadot
4402846c905SEmmanuel Vadot		rk806_dvs2_null: dvs2-null-pins {
4412846c905SEmmanuel Vadot			pins = "gpio_pwrctrl2";
4422846c905SEmmanuel Vadot			function = "pin_fun0";
4432846c905SEmmanuel Vadot		};
4442846c905SEmmanuel Vadot
4452846c905SEmmanuel Vadot		rk806_dvs3_null: dvs3-null-pins {
4462846c905SEmmanuel Vadot			pins = "gpio_pwrctrl3";
4472846c905SEmmanuel Vadot			function = "pin_fun0";
4482846c905SEmmanuel Vadot		};
4492846c905SEmmanuel Vadot
4502846c905SEmmanuel Vadot		regulators {
4512846c905SEmmanuel Vadot			vdd_gpu_s0: dcdc-reg1 {
4522846c905SEmmanuel Vadot				regulator-name = "vdd_gpu_s0";
4532846c905SEmmanuel Vadot				regulator-boot-on;
4542846c905SEmmanuel Vadot				regulator-min-microvolt = <550000>;
4552846c905SEmmanuel Vadot				regulator-max-microvolt = <950000>;
4562846c905SEmmanuel Vadot				regulator-ramp-delay = <12500>;
4572846c905SEmmanuel Vadot				regulator-enable-ramp-delay = <400>;
4582846c905SEmmanuel Vadot
4592846c905SEmmanuel Vadot				regulator-state-mem {
4602846c905SEmmanuel Vadot					regulator-off-in-suspend;
4612846c905SEmmanuel Vadot				};
4622846c905SEmmanuel Vadot			};
4632846c905SEmmanuel Vadot
4642846c905SEmmanuel Vadot			vdd_cpu_lit_s0: dcdc-reg2 {
4652846c905SEmmanuel Vadot				regulator-name = "vdd_cpu_lit_s0";
4662846c905SEmmanuel Vadot				regulator-always-on;
4672846c905SEmmanuel Vadot				regulator-boot-on;
4682846c905SEmmanuel Vadot				regulator-min-microvolt = <550000>;
4692846c905SEmmanuel Vadot				regulator-max-microvolt = <950000>;
4702846c905SEmmanuel Vadot				regulator-ramp-delay = <12500>;
4712846c905SEmmanuel Vadot
4722846c905SEmmanuel Vadot				regulator-state-mem {
4732846c905SEmmanuel Vadot					regulator-off-in-suspend;
4742846c905SEmmanuel Vadot				};
4752846c905SEmmanuel Vadot			};
4762846c905SEmmanuel Vadot
4772846c905SEmmanuel Vadot			vdd_logic_s0: dcdc-reg3 {
4782846c905SEmmanuel Vadot				regulator-name = "vdd_logic_s0";
4792846c905SEmmanuel Vadot				regulator-always-on;
4802846c905SEmmanuel Vadot				regulator-boot-on;
4812846c905SEmmanuel Vadot				regulator-min-microvolt = <675000>;
4822846c905SEmmanuel Vadot				regulator-max-microvolt = <750000>;
4832846c905SEmmanuel Vadot				regulator-ramp-delay = <12500>;
4842846c905SEmmanuel Vadot
4852846c905SEmmanuel Vadot				regulator-state-mem {
4862846c905SEmmanuel Vadot					regulator-on-in-suspend;
4872846c905SEmmanuel Vadot					regulator-suspend-microvolt = <750000>;
4882846c905SEmmanuel Vadot				};
4892846c905SEmmanuel Vadot			};
4902846c905SEmmanuel Vadot
4912846c905SEmmanuel Vadot			vdd_vdenc_s0: dcdc-reg4 {
4922846c905SEmmanuel Vadot				regulator-name = "vdd_vdenc_s0";
4932846c905SEmmanuel Vadot				regulator-always-on;
4942846c905SEmmanuel Vadot				regulator-boot-on;
4952846c905SEmmanuel Vadot				regulator-min-microvolt = <550000>;
4962846c905SEmmanuel Vadot				regulator-max-microvolt = <950000>;
4972846c905SEmmanuel Vadot				regulator-ramp-delay = <12500>;
4982846c905SEmmanuel Vadot
4992846c905SEmmanuel Vadot				regulator-state-mem {
5002846c905SEmmanuel Vadot					regulator-off-in-suspend;
5012846c905SEmmanuel Vadot				};
5022846c905SEmmanuel Vadot			};
5032846c905SEmmanuel Vadot
5042846c905SEmmanuel Vadot			vdd_ddr_s0: dcdc-reg5 {
5052846c905SEmmanuel Vadot				regulator-name = "vdd_ddr_s0";
5062846c905SEmmanuel Vadot				regulator-always-on;
5072846c905SEmmanuel Vadot				regulator-boot-on;
5082846c905SEmmanuel Vadot				regulator-min-microvolt = <675000>;
5092846c905SEmmanuel Vadot				regulator-max-microvolt = <900000>;
5102846c905SEmmanuel Vadot				regulator-ramp-delay = <12500>;
5112846c905SEmmanuel Vadot
5122846c905SEmmanuel Vadot				regulator-state-mem {
5132846c905SEmmanuel Vadot					regulator-off-in-suspend;
5142846c905SEmmanuel Vadot					regulator-suspend-microvolt = <850000>;
5152846c905SEmmanuel Vadot				};
5162846c905SEmmanuel Vadot			};
5172846c905SEmmanuel Vadot
5182846c905SEmmanuel Vadot			vdd2_ddr_s3: dcdc-reg6 {
5192846c905SEmmanuel Vadot				regulator-name = "vdd2_ddr_s3";
5202846c905SEmmanuel Vadot				regulator-always-on;
5212846c905SEmmanuel Vadot				regulator-boot-on;
5222846c905SEmmanuel Vadot
5232846c905SEmmanuel Vadot				regulator-state-mem {
5242846c905SEmmanuel Vadot					regulator-on-in-suspend;
5252846c905SEmmanuel Vadot				};
5262846c905SEmmanuel Vadot			};
5272846c905SEmmanuel Vadot
5282846c905SEmmanuel Vadot			vcc_2v0_pldo_s3: dcdc-reg7 {
5292846c905SEmmanuel Vadot				regulator-name = "vcc_2v0_pldo_s3";
5302846c905SEmmanuel Vadot				regulator-always-on;
5312846c905SEmmanuel Vadot				regulator-boot-on;
5322846c905SEmmanuel Vadot				regulator-min-microvolt = <2000000>;
5332846c905SEmmanuel Vadot				regulator-max-microvolt = <2000000>;
5342846c905SEmmanuel Vadot
5352846c905SEmmanuel Vadot				regulator-state-mem {
5362846c905SEmmanuel Vadot					regulator-on-in-suspend;
5372846c905SEmmanuel Vadot					regulator-suspend-microvolt = <2000000>;
5382846c905SEmmanuel Vadot				};
5392846c905SEmmanuel Vadot			};
5402846c905SEmmanuel Vadot
5412846c905SEmmanuel Vadot			vcc_3v3_s3: dcdc-reg8 {
5422846c905SEmmanuel Vadot				regulator-name = "vcc_3v3_s3";
5432846c905SEmmanuel Vadot				regulator-always-on;
5442846c905SEmmanuel Vadot				regulator-boot-on;
5452846c905SEmmanuel Vadot				regulator-min-microvolt = <3300000>;
5462846c905SEmmanuel Vadot				regulator-max-microvolt = <3300000>;
5472846c905SEmmanuel Vadot
5482846c905SEmmanuel Vadot				regulator-state-mem {
5492846c905SEmmanuel Vadot					regulator-on-in-suspend;
5502846c905SEmmanuel Vadot					regulator-suspend-microvolt = <3300000>;
5512846c905SEmmanuel Vadot				};
5522846c905SEmmanuel Vadot			};
5532846c905SEmmanuel Vadot
5542846c905SEmmanuel Vadot			vddq_ddr_s0: dcdc-reg9 {
5552846c905SEmmanuel Vadot				regulator-name = "vddq_ddr_s0";
5562846c905SEmmanuel Vadot				regulator-always-on;
5572846c905SEmmanuel Vadot				regulator-boot-on;
5582846c905SEmmanuel Vadot
5592846c905SEmmanuel Vadot				regulator-state-mem {
5602846c905SEmmanuel Vadot					regulator-off-in-suspend;
5612846c905SEmmanuel Vadot				};
5622846c905SEmmanuel Vadot			};
5632846c905SEmmanuel Vadot
5642846c905SEmmanuel Vadot			vcc_1v8_s3: dcdc-reg10 {
5652846c905SEmmanuel Vadot				regulator-name = "vcc_1v8_s3";
5662846c905SEmmanuel Vadot				regulator-always-on;
5672846c905SEmmanuel Vadot				regulator-boot-on;
5682846c905SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
5692846c905SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
5702846c905SEmmanuel Vadot
5712846c905SEmmanuel Vadot				regulator-state-mem {
5722846c905SEmmanuel Vadot					regulator-on-in-suspend;
5732846c905SEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
5742846c905SEmmanuel Vadot				};
5752846c905SEmmanuel Vadot			};
5762846c905SEmmanuel Vadot
5772846c905SEmmanuel Vadot			vcc_1v8_s0: pldo-reg1 {
5782846c905SEmmanuel Vadot				regulator-name = "vcc_1v8_s0";
5792846c905SEmmanuel Vadot				regulator-always-on;
5802846c905SEmmanuel Vadot				regulator-boot-on;
5812846c905SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
5822846c905SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
5832846c905SEmmanuel Vadot
5842846c905SEmmanuel Vadot				regulator-state-mem {
5852846c905SEmmanuel Vadot					regulator-on-in-suspend;
5862846c905SEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
5872846c905SEmmanuel Vadot				};
5882846c905SEmmanuel Vadot			};
5892846c905SEmmanuel Vadot
5902846c905SEmmanuel Vadot			vcca_1v8_s0: pldo-reg2 {
5912846c905SEmmanuel Vadot				regulator-name = "vcca_1v8_s0";
5922846c905SEmmanuel Vadot				regulator-always-on;
5932846c905SEmmanuel Vadot				regulator-boot-on;
5942846c905SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
5952846c905SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
5962846c905SEmmanuel Vadot
5972846c905SEmmanuel Vadot				regulator-state-mem {
5982846c905SEmmanuel Vadot					regulator-on-in-suspend;
5992846c905SEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
6002846c905SEmmanuel Vadot				};
6012846c905SEmmanuel Vadot			};
6022846c905SEmmanuel Vadot
6032846c905SEmmanuel Vadot			vdda_1v2_s0: pldo-reg3 {
6042846c905SEmmanuel Vadot				regulator-name = "vdda_1v2_s0";
6052846c905SEmmanuel Vadot				regulator-always-on;
6062846c905SEmmanuel Vadot				regulator-boot-on;
6072846c905SEmmanuel Vadot				regulator-min-microvolt = <1200000>;
6082846c905SEmmanuel Vadot				regulator-max-microvolt = <1200000>;
6092846c905SEmmanuel Vadot
6102846c905SEmmanuel Vadot				regulator-state-mem {
6112846c905SEmmanuel Vadot					regulator-off-in-suspend;
6122846c905SEmmanuel Vadot				};
6132846c905SEmmanuel Vadot			};
6142846c905SEmmanuel Vadot
6152846c905SEmmanuel Vadot			vcca_3v3_s0: pldo-reg4 {
6162846c905SEmmanuel Vadot				regulator-name = "vcca_3v3_s0";
6172846c905SEmmanuel Vadot				regulator-always-on;
6182846c905SEmmanuel Vadot				regulator-boot-on;
6192846c905SEmmanuel Vadot				regulator-min-microvolt = <3300000>;
6202846c905SEmmanuel Vadot				regulator-max-microvolt = <3300000>;
6212846c905SEmmanuel Vadot
6222846c905SEmmanuel Vadot				regulator-state-mem {
6232846c905SEmmanuel Vadot					regulator-on-in-suspend;
6242846c905SEmmanuel Vadot					regulator-suspend-microvolt = <3300000>;
6252846c905SEmmanuel Vadot				};
6262846c905SEmmanuel Vadot			};
6272846c905SEmmanuel Vadot
6282846c905SEmmanuel Vadot			vccio_sd_s0: pldo-reg5 {
6292846c905SEmmanuel Vadot				regulator-name = "vccio_sd_s0";
6302846c905SEmmanuel Vadot				regulator-always-on;
6312846c905SEmmanuel Vadot				regulator-boot-on;
6322846c905SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
6332846c905SEmmanuel Vadot				regulator-max-microvolt = <3300000>;
6342846c905SEmmanuel Vadot
6352846c905SEmmanuel Vadot				regulator-state-mem {
6362846c905SEmmanuel Vadot					regulator-off-in-suspend;
6372846c905SEmmanuel Vadot				};
6382846c905SEmmanuel Vadot			};
6392846c905SEmmanuel Vadot
6402846c905SEmmanuel Vadot			pldo6_s3: pldo-reg6 {
6412846c905SEmmanuel Vadot				regulator-name = "pldo6_s3";
6422846c905SEmmanuel Vadot				regulator-always-on;
6432846c905SEmmanuel Vadot				regulator-boot-on;
6442846c905SEmmanuel Vadot				regulator-min-microvolt = <1800000>;
6452846c905SEmmanuel Vadot				regulator-max-microvolt = <1800000>;
6462846c905SEmmanuel Vadot
6472846c905SEmmanuel Vadot				regulator-state-mem {
6482846c905SEmmanuel Vadot					regulator-on-in-suspend;
6492846c905SEmmanuel Vadot					regulator-suspend-microvolt = <1800000>;
6502846c905SEmmanuel Vadot				};
6512846c905SEmmanuel Vadot			};
6522846c905SEmmanuel Vadot
6532846c905SEmmanuel Vadot			vdd_0v75_s3: nldo-reg1 {
6542846c905SEmmanuel Vadot				regulator-name = "vdd_0v75_s3";
6552846c905SEmmanuel Vadot				regulator-always-on;
6562846c905SEmmanuel Vadot				regulator-boot-on;
6572846c905SEmmanuel Vadot				regulator-min-microvolt = <750000>;
6582846c905SEmmanuel Vadot				regulator-max-microvolt = <750000>;
6592846c905SEmmanuel Vadot
6602846c905SEmmanuel Vadot				regulator-state-mem {
6612846c905SEmmanuel Vadot					regulator-on-in-suspend;
6622846c905SEmmanuel Vadot					regulator-suspend-microvolt = <750000>;
6632846c905SEmmanuel Vadot				};
6642846c905SEmmanuel Vadot			};
6652846c905SEmmanuel Vadot
6662846c905SEmmanuel Vadot			vdda_ddr_pll_s0: nldo-reg2 {
6672846c905SEmmanuel Vadot				regulator-name = "vdda_ddr_pll_s0";
6682846c905SEmmanuel Vadot				regulator-always-on;
6692846c905SEmmanuel Vadot				regulator-boot-on;
6702846c905SEmmanuel Vadot				regulator-min-microvolt = <850000>;
6712846c905SEmmanuel Vadot				regulator-max-microvolt = <850000>;
6722846c905SEmmanuel Vadot
6732846c905SEmmanuel Vadot				regulator-state-mem {
6742846c905SEmmanuel Vadot					regulator-on-in-suspend;
6752846c905SEmmanuel Vadot					regulator-suspend-microvolt = <850000>;
6762846c905SEmmanuel Vadot				};
6772846c905SEmmanuel Vadot			};
6782846c905SEmmanuel Vadot
6792846c905SEmmanuel Vadot			vdda_0v75_s0: nldo-reg3 {
6802846c905SEmmanuel Vadot				regulator-name = "vdda_0v75_s0";
6812846c905SEmmanuel Vadot				regulator-always-on;
6822846c905SEmmanuel Vadot				regulator-boot-on;
6832846c905SEmmanuel Vadot				regulator-min-microvolt = <750000>;
6842846c905SEmmanuel Vadot				regulator-max-microvolt = <750000>;
6852846c905SEmmanuel Vadot
6862846c905SEmmanuel Vadot				regulator-state-mem {
6872846c905SEmmanuel Vadot					regulator-on-in-suspend;
6882846c905SEmmanuel Vadot					regulator-suspend-microvolt = <750000>;
6892846c905SEmmanuel Vadot				};
6902846c905SEmmanuel Vadot			};
6912846c905SEmmanuel Vadot
6922846c905SEmmanuel Vadot			vdda_0v85_s0: nldo-reg4 {
6932846c905SEmmanuel Vadot				regulator-name = "vdda_0v85_s0";
6942846c905SEmmanuel Vadot				regulator-always-on;
6952846c905SEmmanuel Vadot				regulator-boot-on;
6962846c905SEmmanuel Vadot				regulator-min-microvolt = <850000>;
6972846c905SEmmanuel Vadot				regulator-max-microvolt = <850000>;
6982846c905SEmmanuel Vadot
6992846c905SEmmanuel Vadot				regulator-state-mem {
7002846c905SEmmanuel Vadot					regulator-off-in-suspend;
7012846c905SEmmanuel Vadot				};
7022846c905SEmmanuel Vadot			};
7032846c905SEmmanuel Vadot
7042846c905SEmmanuel Vadot			vdd_0v75_s0: nldo-reg5 {
7052846c905SEmmanuel Vadot				regulator-name = "vdd_0v75_s0";
7062846c905SEmmanuel Vadot				regulator-always-on;
7072846c905SEmmanuel Vadot				regulator-boot-on;
7082846c905SEmmanuel Vadot				regulator-min-microvolt = <750000>;
7092846c905SEmmanuel Vadot				regulator-max-microvolt = <750000>;
7102846c905SEmmanuel Vadot
7112846c905SEmmanuel Vadot				regulator-state-mem {
7122846c905SEmmanuel Vadot					regulator-off-in-suspend;
7132846c905SEmmanuel Vadot				};
7142846c905SEmmanuel Vadot			};
7152846c905SEmmanuel Vadot		};
7162846c905SEmmanuel Vadot	};
7172846c905SEmmanuel Vadot};
7182846c905SEmmanuel Vadot
7192846c905SEmmanuel Vadot&tsadc {
7202846c905SEmmanuel Vadot	status = "okay";
7212846c905SEmmanuel Vadot};
7222846c905SEmmanuel Vadot
7232846c905SEmmanuel Vadot&u2phy0 {
7242846c905SEmmanuel Vadot	status = "okay";
7252846c905SEmmanuel Vadot};
7262846c905SEmmanuel Vadot
7272846c905SEmmanuel Vadot&u2phy0_otg {
7282846c905SEmmanuel Vadot	phy-supply = <&vcc5v0_usb_otg0>;
7292846c905SEmmanuel Vadot	status = "okay";
7302846c905SEmmanuel Vadot};
7312846c905SEmmanuel Vadot
7322846c905SEmmanuel Vadot&uart2 {
7332846c905SEmmanuel Vadot	pinctrl-0 = <&uart2m0_xfer>;
7342846c905SEmmanuel Vadot	status = "okay";
7352846c905SEmmanuel Vadot};
7362846c905SEmmanuel Vadot
7372846c905SEmmanuel Vadot&usb_host0_xhci {
7382846c905SEmmanuel Vadot	dr_mode = "host";
7392846c905SEmmanuel Vadot	status = "okay";
7402846c905SEmmanuel Vadot};
7412846c905SEmmanuel Vadot
7422846c905SEmmanuel Vadot&usbdp_phy0 {
7432846c905SEmmanuel Vadot	status = "okay";
7442846c905SEmmanuel Vadot};
745