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 = <&ethphy>;

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

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to