]> git.sur5r.net Git - u-boot/commitdiff
arm64: allwinner: h5: orangepi-pc2: Sync usb otg nodes from Linux
authorJagan Teki <jagan@amarulasolutions.com>
Mon, 7 May 2018 07:33:48 +0000 (13:03 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 28 May 2018 11:10:43 +0000 (16:40 +0530)
orangepi-pc2 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-pc2.dts

index 2124043dc88800ef70d9c1645e4ac564ddecc2bd..a65300d5aa5217d278e4c667014afca01c7ec6f2 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";
 };