Re: [PATCH 4/6] ARM i.MX6: sabrelite: usb is probed from device tree

Alexander Shiyan shc_work at mail.ru
Mon Nov 18 06:11:42 EST 2013


> Signed-off-by: Philipp Zabel <p.zabel at pengutronix.de>
> ---
>  arch/arm/boards/freescale-mx6-sabrelite/board.c | 5 -----
>  arch/arm/dts/imx6q-sabrelite.dts                | 6 ++++++
>  2 files changed, 6 insertions(+), 5 deletions(-)
...
> diff --git a/arch/arm/dts/imx6q-sabrelite.dts b/arch/arm/dts/imx6q-sabrelite.dts
> index 1368ef1..97372dd 100644
> --- a/arch/arm/dts/imx6q-sabrelite.dts
> +++ b/arch/arm/dts/imx6q-sabrelite.dts
> @@ -117,10 +117,16 @@
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&pinctrl_usbotg_1>;
>  	disable-over-current;
> +	phy-mode = "utmi";
> +	barebox,phy_type = "utmi";

No more need to define "barebox,phy_type".

> +	dr_mode = "host";
>  	status = "okay";
>  };
>  
>  &usbh1 {
> +	phy-mode = "utmi";
> +	barebox,phy_type = "utmi";
> +	dr_mode = "host";
>  	status = "okay";
>  };
>  
> -- 

---


More information about the barebox mailing list