ARM: dts: sun8i-h3: bananapi-m2-plus: Sync usb otg nodes from Linux
authorJagan Teki <jagan@amarulasolutions.com>
Mon, 7 May 2018 07:33:45 +0000 (13:03 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 28 May 2018 11:10:43 +0000 (16:40 +0530)
Bananapi-m2-plus 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/sun8i-h3-bananapi-m2-plus.dts

index f3b1d5f6dbd248a5d58a7cfd9f09698a20cba524..e766aa3e2fe9a00f218c36759af642d14972a4aa 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 {
        /* USB VBUS is on as long as VCC-IO is on */
        status = "okay";