arm64: dts: rockchip: Enable USB3 for rk3328 Rock64
authorCameron Nemo <cnemo@tutanota.com>
Tue, 4 May 2021 08:36:13 +0000 (16:36 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 9 May 2021 23:52:37 +0000 (01:52 +0200)
Enable USB3 nodes for the rk3328-based PINE Rock64 board.

The separate power regulator is not added as it is controlled by the
same GPIO line as the existing VBUS regulators, so it is already
enabled. Also there is no port representation to tie the regulator to.

[wens@csie.org: Rebased onto v5.12]

Signed-off-by: Cameron Nemo <cnemo@tutanota.com>
[wens@csie.org: Rewrote commit message]
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Link: https://lore.kernel.org/r/20210504083616.9654-2-wens@kernel.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3328-rock64.dts

index 3bef1f39bc6e13e45db0124b7607050685f60e93..1b0f7e4551ea49f13512b136ec925cab8019b586 100644 (file)
        status = "okay";
 };
 
+&usbdrd3 {
+       dr_mode = "host";
+       status = "okay";
+};
+
 &usb_host0_ehci {
        status = "okay";
 };