[PATCH 1/3] ARM: i.MX6: tqma6x: dts: move FEC enablement to baseboard

Sascha Hauer s.hauer at pengutronix.de
Mon Dec 9 03:29:45 EST 2013


On Fri, Dec 06, 2013 at 08:17:46PM +0100, Robert Schwebel wrote:
> The definition if the FEC is used is made by the baseboard (MBa6x), not
> by the module (TQMa6x). Move it there.
> 
> Signed-off-by: Robert Schwebel <r.schwebel at pengutronix.de>
> ---
>  arch/arm/dts/imx6q-mba6x.dts  | 4 ++++
>  arch/arm/dts/imx6q-tqma6x.dts | 2 +-
>  2 files changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/dts/imx6q-mba6x.dts b/arch/arm/dts/imx6q-mba6x.dts
> index 69d46b4..e057fc4 100644
> --- a/arch/arm/dts/imx6q-mba6x.dts
> +++ b/arch/arm/dts/imx6q-mba6x.dts
> @@ -26,6 +26,10 @@
>  	};
>  };
>  
> +&fec {
> +	status = "okay";
> +};
> +

This is the wrong file, it's the baseboard for the i.MX6q module only.
Added it to imx6qdl-mba6x.dtsi instead.

>  &iomuxc {
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&pinctrl_hog>;
> diff --git a/arch/arm/dts/imx6q-tqma6x.dts b/arch/arm/dts/imx6q-tqma6x.dts
> index 597388e..f556381 100644
> --- a/arch/arm/dts/imx6q-tqma6x.dts
> +++ b/arch/arm/dts/imx6q-tqma6x.dts
> @@ -81,7 +81,7 @@
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&pinctrl_enet_1>;
>  	phy-mode = "rgmii";
> -	status = "okay";
> +	status = "disabled";

This is the file you remove in 3/3. Applied this change to
imx6qdl-tqma6x.dtsi instead.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list