arm64: allwinner: a64: enable USB host controller for BPi M64
authorIcenowy Zheng <icenowy@aosc.io>
Tue, 25 Jul 2017 12:45:02 +0000 (20:45 +0800)
committerChen-Yu Tsai <wens@csie.org>
Thu, 10 Aug 2017 07:17:26 +0000 (15:17 +0800)
Banana Pi M64 connects the USB host-only controller on A64 SoC to a USB
hub, which provided the two USB Type-A ports on the board.

Enable the USB host controller.

The OTG function of the Micro-USB port needs the drivevbus function of
the AXP803 driver implemented, so it's not enabled now.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts

index 0d1f026d831aac7b7ecda69ac5ec0f57e693ec2b..829922d077fbc65b41e90223e407928e2741c5fd 100644 (file)
        };
 };
 
+&ehci1 {
+       status = "okay";
+};
+
 &emac {
        pinctrl-names = "default";
        pinctrl-0 = <&rgmii_pins>;
        status = "okay";
 };
 
+&ohci1 {
+       status = "okay";
+};
+
 &uart0 {
        pinctrl-names = "default";
        pinctrl-0 = <&uart0_pins_a>;
        pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
        status = "okay";
 };
+
+&usbphy {
+       status = "okay";
+};