[En-Nut-Discussion] Phy initialisation on at91 platform

Ole Reinhardt ole.reinhardt at embedded-it.de
Tue Jun 7 15:48:04 CEST 2011

Hi All,

> For most at91 based boards Harald implemented a special board
> initialisation in arch/arm/board where the Ethernet PHY will be resetted
> with the boot strap pins set correctly.
> in arch/arm/dev/at91_emac.c there is still on special initialisation
> case left for Davicom PHYs. I would like to move this PHY reset to the
> board init as well bot do not want to brake any existing code there...

> If no one complains I would create a board init for our board today and
> will remove this reset code in at91_emac.c.

As there we no complains but only consent, I removed the DM9161 PHY
reset from the at91_emac driver and enabled board init for our
eNet-sam7X platform as well as for the sam7x-ek board.

Anyone else using this phy should implement a board init file in

You can take the enet-sam7x.c as an example.




Thermotemp GmbH, Embedded-IT

Embedded Hard-/ Software and Open Source Development, 
Integration and Consulting


Geschäftsstelle Siegen - Steinstraße 67 - D-57072 Siegen - 
tel +49 (0)271 5513597, +49 (0)271-73681 - fax +49 (0)271 736 97

Hauptsitz - Hademarscher Weg 7 - 13503 Berlin
Tel +49 (0)30 4315205 - Fax +49 (0)30 43665002
Geschäftsführer: Jörg Friedrichs, Ole Reinhardt
Handelsregister Berlin Charlottenburg HRB 45978 UstID DE 156329280 

More information about the En-Nut-Discussion mailing list