[U-Boot] [PATCH v2] odroid-XU3: Add entry for DTS EHCI GPIO

Minkyu Kang mk7.kang at samsung.com
Mon Dec 22 13:22:07 CET 2014


On 06/12/14 05:26, Sjoerd Simons wrote:
> Add samsung,vbus-gpio information for the XU3. This allows the usage of
> the EHCI controller on the XU3, which is connected to the SMSC LAN9514
> chip (usb hub + network).
> 
> Signed-off-by: Sjoerd Simons <sjoerd.simons at collabora.co.uk>
> ---
> Changes since v1:
>   + Correct gpio number
>   + Add USB configuration in the odroid XU3 default config
> 
> Hyungwon could you add this one to your XU3 patchset if you send a next
> version (assuming it looks good)?
> 
> For usb storage/network support this patch should be combined
> with the exynos configuration tweaks patch i submited earlier to the list:
>   Exynos: Move down common USB configuration
> 
>  arch/arm/dts/exynos5422-odroidxu3.dts | 4 ++++
>  include/configs/odroid_xu3.h          | 4 ++++
>  2 files changed, 8 insertions(+)
> 
> diff --git a/arch/arm/dts/exynos5422-odroidxu3.dts b/arch/arm/dts/exynos5422-odroidxu3.dts
> index cff32a9..79a7acd 100644
> --- a/arch/arm/dts/exynos5422-odroidxu3.dts
> +++ b/arch/arm/dts/exynos5422-odroidxu3.dts
> @@ -31,6 +31,10 @@
>  			0xb0000000 0xea00000>;
>  	};
>  
> +	ehci at 12110000 {
> +		samsung,vbus-gpio = <&gpio 0x66 0>; /* X26 */
> +	};
> +
>  	serial at 12C20000 {
>  		status="okay";
>  	};
> diff --git a/include/configs/odroid_xu3.h b/include/configs/odroid_xu3.h
> index 88bb98d..aa0c142 100644
> --- a/include/configs/odroid_xu3.h
> +++ b/include/configs/odroid_xu3.h
> @@ -47,6 +47,10 @@
>  
>  #define CONFIG_DEFAULT_CONSOLE		"console=ttySAC2,115200n8\0"
>  
> +/* USB */
> +#define CONFIG_USB_EHCI
> +#define CONFIG_USB_EHCI_EXYNOS
> +
>  /* FIXME: MUST BE REMOVED AFTER TMU IS TURNED ON */
>  #undef CONFIG_EXYNOS_TMU
>  #undef CONFIG_TMU_CMD_DTT
> 


applied to u-boot-samsung.

Thanks,
Minkyu Kang.


More information about the U-Boot mailing list