]> git.sur5r.net Git - u-boot/commitdiff
arm64: allwinner: a64: bananapi-m64: Sync usb_otg node from Linux
authorJagan Teki <jagan@amarulasolutions.com>
Mon, 7 May 2018 07:33:41 +0000 (13:03 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 28 May 2018 11:10:43 +0000 (16:40 +0530)
Sync bananapi-m64 usb_otg node from Linux.

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

index 02db114113b0e7477cfaf71b50767c02f9d1c526..80405e5b26872551ae5907adba0f4f725d76e0b5 100644 (file)
        pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
        status = "okay";
 };
+
+&usb_otg {
+       dr_mode = "otg";
+       status = "okay";
+};
+
+&usbphy {
+       usb0_id_det-gpios = <&pio 7 9 GPIO_ACTIVE_HIGH>; /* PH9 */
+       status = "okay";
+};