]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: rockchip: Enable USB OTG for Radxa ROCK Pi E
authorFUKAUMI Naoki <naoki@radxa.com>
Wed, 29 Jan 2025 06:40:04 +0000 (06:40 +0000)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 3 Feb 2025 08:14:12 +0000 (09:14 +0100)
The Radxa ROCK Pi E has USB D+/D- signals on the 40-pin header[1].
Enable it for use as an OTG port.

[1] https://docs.radxa.com/en/rockpi/rockpie/hardware/gpio

Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
Link: https://lore.kernel.org/r/20250129064004.162136-1-naoki@radxa.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dts

index 6310b58de77fb682a1db7a48e8849b1da2e853ef..a4bdd87d0729f2eadafdacb76c333e0c500517f6 100644 (file)
        status = "okay";
 };
 
+&u2phy_otg {
+       status = "okay";
+};
+
 &uart2 {
        status = "okay";
 };
 
+&usb20_otg {
+       status = "okay";
+};
+
 &usbdrd3 {
        dr_mode = "host";
        status = "okay";