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

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

 



On Thu, Aug 15, 2013 at 05:21:50PM +0200, Sebastian Andrzej Siewior wrote:
> 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>

Acked-by: Felipe Balbi <balbi@xxxxxx>

> ---
>  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
> 

-- 
balbi

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux