devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] arm64: allwinner: a64: enable USB host controller for BPi M64
@ 2017-07-20 23:07 Icenowy Zheng
       [not found] ` <20170720230717.58255-1-icenowy-h8G6r0blFSE@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: Icenowy Zheng @ 2017-07-20 23:07 UTC (permalink / raw)
  To: Maxime Ripard, Chen-Yu Tsai
  Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-sunxi-/JYPxA39Uh5TLH3MbocFFw, Icenowy Zheng

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-h8G6r0blFSE@public.gmane.org>
---
 arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts
index 0d1f026d831a..829922d077fb 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts
@@ -67,6 +67,10 @@
 	};
 };
 
+&ehci1 {
+	status = "okay";
+};
+
 &emac {
 	pinctrl-names = "default";
 	pinctrl-0 = <&rgmii_pins>;
@@ -122,6 +126,10 @@
 	status = "okay";
 };
 
+&ohci1 {
+	status = "okay";
+};
+
 &uart0 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&uart0_pins_a>;
@@ -133,3 +141,7 @@
 	pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
 	status = "okay";
 };
+
+&usbphy {
+	status = "okay";
+};
-- 
2.13.0

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-07-23 15:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-20 23:07 [PATCH 1/3] arm64: allwinner: a64: enable USB host controller for BPi M64 Icenowy Zheng
     [not found] ` <20170720230717.58255-1-icenowy-h8G6r0blFSE@public.gmane.org>
2017-07-20 23:07   ` [PATCH 2/3] arm64: allwinner: a64: enable AXP803 for Banana Pi M64 Icenowy Zheng
     [not found]     ` <20170720230717.58255-2-icenowy-h8G6r0blFSE@public.gmane.org>
2017-07-21  7:42       ` [linux-sunxi] " Chen-Yu Tsai
     [not found]         ` <CAGb2v67Ntz_Qr0ek5sb-RRPnb0W-vEjx4_XC+SzHJDcr7ZLrkg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-07-21  7:44           ` Icenowy Zheng
     [not found]             ` <DA3547F4-D0C7-46A9-8C7F-3F1AD7CBCB11-h8G6r0blFSE@public.gmane.org>
2017-07-21  7:49               ` Chen-Yu Tsai
2017-07-21 11:38                 ` [linux-sunxi] " icenowy
     [not found]                   ` <a64c561e8b4acef7e7fb07561b3b8e78-h8G6r0blFSE@public.gmane.org>
2017-07-23 15:15                     ` Chen-Yu Tsai
     [not found]                       ` <CAGb2v67OjvoSxxGnGbD4mkVaE8sy0cWK-2y7_t-=UoPgOox8bg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-07-23 15:39                         ` [linux-sunxi] " Icenowy Zheng
2017-07-20 23:07   ` [PATCH 3/3] arm64: allwinner: a64: add proper support for the Wi-Fi on BPi M64 Icenowy Zheng
2017-07-21  7:34   ` [PATCH 1/3] arm64: allwinner: a64: enable USB host controller for " Chen-Yu Tsai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).