Skip to contentSkip to conversation

phy-addr via dt

DISCUSSION Wjatscheslaw Stoljarski (Slawa) 2 participants 3 messages Nov 3, 2014

lore
Share & tools
lore
#1 lore raw

Hi Wjatscheslaw,

Quoted 3 lines · Wjatscheslaw Stoljarski (Slawa)

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

Signature · 9 lines
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