[PATCH 2/4] usb: musb: am335x: add second port to beagle bone

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



So I assumed that Beagle bone has only one USB port in host mode because
the micro USB connector had an USB-UART there. I was wrong a little. The
second port runs on host mode, but the micro USB plug is connected to an
internal HUB with two ports: one to the USB-UART and one to musb
instance one.
For that reason, this patch enables both ports: the primary in device
mode only and the second in host mode only.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
---
 arch/arm/boot/dts/am335x-bone.dts | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm/boot/dts/am335x-bone.dts b/arch/arm/boot/dts/am335x-bone.dts
index e8447a7..596d653 100644
--- a/arch/arm/boot/dts/am335x-bone.dts
+++ b/arch/arm/boot/dts/am335x-bone.dts
@@ -131,9 +131,24 @@
 				status = "okay";
 			};
 
+			usb-phy@47401b00 {
+				status = "okay";
+			};
+
 			usb@47401000 {
 				status = "okay";
 			};
+
+			usb@47401800 {
+				status = "okay";
+				usb@47401c00 {
+					mg,port-mode = <1>;
+				};
+			};
+
+			dma-controller@07402000  {
+				status = "okay";
+			};
 		};
 
 		i2c0: i2c@44e0b000 {
-- 
1.8.4.rc2

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux