Commit 15ec9598 authored by Icenowy Zheng's avatar Icenowy Zheng Committed by Chen-Yu Tsai

arm64: allwinner: a64: enable USB host controller for BPi M64

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: default avatarIcenowy Zheng <icenowy@aosc.io>
Signed-off-by: default avatarChen-Yu Tsai <wens@csie.org>
parent 78c3cbc8
...@@ -67,6 +67,10 @@ reg_vcc3v3: vcc3v3 { ...@@ -67,6 +67,10 @@ reg_vcc3v3: vcc3v3 {
}; };
}; };
&ehci1 {
status = "okay";
};
&emac { &emac {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&rgmii_pins>; pinctrl-0 = <&rgmii_pins>;
...@@ -122,6 +126,10 @@ &mmc2 { ...@@ -122,6 +126,10 @@ &mmc2 {
status = "okay"; status = "okay";
}; };
&ohci1 {
status = "okay";
};
&uart0 { &uart0 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&uart0_pins_a>; pinctrl-0 = <&uart0_pins_a>;
...@@ -133,3 +141,7 @@ &uart1 { ...@@ -133,3 +141,7 @@ &uart1 {
pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>; pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
status = "okay"; status = "okay";
}; };
&usbphy {
status = "okay";
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment