]> Pileus Git - ~andy/linux/commitdiff
usb: musb: am335x: add second port to beagle bone
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 20 Aug 2013 16:35:50 +0000 (18:35 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 27 Aug 2013 19:18:44 +0000 (14:18 -0500)
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@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
arch/arm/boot/dts/am335x-bone.dts

index e8447a79dc7edde9b256de24e8fffe9a506fac59..d318987d44a1931931f553eaad143c54efc53280 100644 (file)
                                status = "okay";
                        };
 
+                       usb-phy@47401b00 {
+                               status = "okay";
+                       };
+
                        usb@47401000 {
                                status = "okay";
                        };
+
+                       usb@47401800 {
+                               status = "okay";
+                               dr_mode = "host";
+                       };
+
+                       dma-controller@07402000  {
+                               status = "okay";
+                       };
                };
 
                i2c0: i2c@44e0b000 {