arm64: dts: rockchip: add USB2 to rk3588s-indiedroid
authorChris Morgan <macromorgan@hotmail.com>
Mon, 18 Sep 2023 17:32:54 +0000 (12:32 -0500)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 4 Oct 2023 21:01:48 +0000 (23:01 +0200)
Enable USB2 (EHCI and OCHI mode) support for the Indiedroid Nova. This
adds support for USB for the 4 full size USB-A ports. Note that USB 3
(the two blue full-size USB-A ports) is still outstanding, as is
support for USB on the USB-C ports. The controller is not yet supported
for these ports.

Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Link: https://lore.kernel.org/r/20230918173255.1325-3-macroalpha82@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3588s-indiedroid-nova.dts

index 646f49cc9e53d037002c17f70b2d24b2e5ff3749..1e2336d3065b0483b273dddf79b560c60d509659 100644 (file)
        status = "okay";
 };
 
+&u2phy2 {
+       status = "okay";
+};
+
+&u2phy2_host {
+       phy-supply = <&vcc5v0_usb>;
+       status = "okay";
+};
+
+&u2phy3 {
+       status = "okay";
+};
+
+&u2phy3_host {
+       phy-supply = <&vcc5v0_usb>;
+       status = "okay";
+};
+
 &uart2 {
        pinctrl-0 = <&uart2m0_xfer>;
        status = "okay";
                pinctrl-names = "default";
        };
 };
+
+&usb_host0_ehci {
+       status = "okay";
+};
+
+&usb_host0_ohci {
+       status = "okay";
+};
+
+&usb_host1_ehci {
+       status = "okay";
+};
+
+&usb_host1_ohci {
+       status = "okay";
+};