]> git.sur5r.net Git - u-boot/commitdiff
arm64: allwinner: h5: orangepi-prime: Sync usb otg nodes from Linux
authorJagan Teki <jagan@amarulasolutions.com>
Mon, 7 May 2018 07:33:50 +0000 (13:03 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 28 May 2018 11:10:43 +0000 (16:40 +0530)
orangepi-prime has usb otg routed host with either EHCI0/OHCI0
sync the same from Linux.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Acked-by: Jun Nie <jun.nie@linaro.org>
arch/arm/dts/sun50i-h5-orangepi-prime.dts

index d4577dfae15e8547a367b845dd649f1725285fe7..131d8058c47b673cb25bf6b06623afe41fe3695c 100644 (file)
        };
 };
 
+&ehci0 {
+       status = "okay";
+};
+
 &ehci1 {
        status = "okay";
 };
        status = "okay";
 };
 
+&ohci0 {
+       status = "okay";
+};
+
 &ohci1 {
        status = "okay";
 };
        status = "okay";
 };
 
+&usb_otg {
+       dr_mode = "otg";
+       status = "okay";
+};
+
 &usbphy {
        status = "okay";
 };