[PATCH 08/10] ARM: i.MX51 babbage: provide MAC adress in devicetree

Sascha Hauer s.hauer at pengutronix.de
Tue May 21 13:53:13 EDT 2013


On Tue, May 21, 2013 at 07:22:45PM +0400, Alexander Shiyan wrote:
> > Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> > ---
> >  arch/arm/dts/imx51-babbage.dts | 4 ++++
> >  1 file changed, 4 insertions(+)
> > 
> > diff --git a/arch/arm/dts/imx51-babbage.dts b/arch/arm/dts/imx51-babbage.dts
> > index 9630b61..4c43312 100644
> > --- a/arch/arm/dts/imx51-babbage.dts
> > +++ b/arch/arm/dts/imx51-babbage.dts
> > @@ -216,6 +216,10 @@
> >  	status = "okay";
> >  };
> >  
> > +&iim {
> > +	barebox,provide-mac-address = <&fec 1 9>;
> > +};
> 
> Fixme, is this entry compatible with kernel devicetree?
> If not, should it be stripped from dt passed to kernel?

It's compatible in the sense that the Kernel does not use this
property (it does not even use the iim node).

I see no reason why it should hurt the Kernel when there are some
barebox specific properties in the devicetree, at least not when they
are explicitly specified as barebox specific.

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