Re: phy-addr via dt

2014-11-03 Thread Wjatscheslaw Stoljarski (Slawa)
Hi Sascha,

It works! Thanks!

___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


Re: phy-addr via dt

2014-11-03 Thread Sascha Hauer
Hi Wjatscheslaw,

On Mon, Nov 03, 2014 at 11:53:06AM +0100, Wjatscheslaw Stoljarski (Slawa) wrote:
> Hi,
> 
> Is it possible to set default phy-addr for fec_imx driver via device tree or 
> in barebox environment?

It should be possible to add a mdio subnode to the fec device node
and then to add the phy-handle property to the fec node.
Something like:

fec {
phy-handle = <ðphy>;

mdio {
ethphy: phy@7 {
reg = <7>;
};
};
};

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- |

___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


phy-addr via dt

2014-11-03 Thread Wjatscheslaw Stoljarski (Slawa)
Hi,

Is it possible to set default phy-addr for fec_imx driver via device tree or in 
barebox environment?

___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox