[PATCH 2/2] ARM: dts: Aspeed: Enable USB ports on eval board.

Andrew Jeffery andrew at aj.id.au
Fri Apr 13 15:24:04 AEST 2018


On Fri, 13 Apr 2018, at 14:10, Benjamin Herrenschmidt wrote:
> This enables both USB ports as host with EHCI and UHCI
> attached to them.
> 
> Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>

Reviewed-by: Andrew Jeffery <andrew at aj.id.au>

> ---
>  arch/arm/boot/dts/aspeed-ast2500-evb.dts | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/aspeed-ast2500-evb.dts b/arch/arm/boot/
> dts/aspeed-ast2500-evb.dts
> index 6946c8610c4c..0c3f14d05046 100644
> --- a/arch/arm/boot/dts/aspeed-ast2500-evb.dts
> +++ b/arch/arm/boot/dts/aspeed-ast2500-evb.dts
> @@ -80,3 +80,21 @@
>  		reg = <0x4d>;
>  	};
>  };
> +
> +&ehci0 {
> +	status = "okay";
> +	pinctrl-names = "default";
> +	pinctrl-0 = <&pinctrl_usb2ah_default>;
> +};
> +
> +&ehci1 {
> +	status = "okay";
> +	pinctrl-names = "default";
> +	pinctrl-0 = <&pinctrl_usb2bh_default>;
> +};
> +
> +&uhci {
> +	status = "okay";
> +
> +	/* No pinctrl, this follows the above EHCI settings */
> +};
> -- 
> 2.14.3
> 


More information about the Linux-aspeed mailing list