Message ID | 20241130014043.12942-1-naoki@radxa.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [1/2] arm64: dts: rockchip: use Type-C port as USB HOST port for Radxa ROCK 5B | expand |
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts index 0ec4992b43cd..c5776e3b4aab 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts @@ -840,6 +840,14 @@ &tsadc { status = "okay"; }; +&u2phy0 { + status = "okay"; +}; + +&u2phy0_otg { + status = "okay"; +}; + &u2phy1 { status = "okay"; }; @@ -883,6 +891,11 @@ &usb_host0_ehci { status = "okay"; }; +&usb_host0_xhci { + dr_mode = "host"; + status = "okay"; +}; + &usb_host1_ehci { status = "okay"; }; @@ -900,6 +913,10 @@ &usb_host2_xhci { status = "okay"; }; +&usbdp_phy0 { + status = "okay"; +}; + &usbdp_phy1 { status = "okay"; };
Type-C port is dual-role USB 3.0 port. add usb_host0_xhci and phy nodes to use it as HOST port. Signed-off-by: FUKAUMI Naoki <naoki@radxa.com> --- arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)