* phy-addr via dt
@ 2014-11-03 10:53 Wjatscheslaw Stoljarski (Slawa)
2014-11-03 12:01 ` Sascha Hauer
0 siblings, 1 reply; 3+ messages in thread
From: Wjatscheslaw Stoljarski (Slawa) @ 2014-11-03 10:53 UTC (permalink / raw)
To: barebox
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: phy-addr via dt
2014-11-03 10:53 phy-addr via dt Wjatscheslaw Stoljarski (Slawa)
@ 2014-11-03 12:01 ` Sascha Hauer
2014-11-03 13:10 ` Wjatscheslaw Stoljarski (Slawa)
0 siblings, 1 reply; 3+ messages in thread
From: Sascha Hauer @ 2014-11-03 12:01 UTC (permalink / raw)
To: Wjatscheslaw Stoljarski (Slawa); +Cc: barebox
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-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: phy-addr via dt
2014-11-03 12:01 ` Sascha Hauer
@ 2014-11-03 13:10 ` Wjatscheslaw Stoljarski (Slawa)
0 siblings, 0 replies; 3+ messages in thread
From: Wjatscheslaw Stoljarski (Slawa) @ 2014-11-03 13:10 UTC (permalink / raw)
To: barebox
Hi Sascha,
It works! Thanks!
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-11-03 13:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-03 10:53 phy-addr via dt Wjatscheslaw Stoljarski (Slawa)
2014-11-03 12:01 ` Sascha Hauer
2014-11-03 13:10 ` Wjatscheslaw Stoljarski (Slawa)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox