[PATCH] clk: mvebu: Do not gate ge0/1 and runit clocks on Kirkwood

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Jan 27 10:41:04 EST 2013

Dear Andrew Lunn,

On Sun, 27 Jan 2013 16:28:37 +0100, Andrew Lunn wrote:

> I've been thinking the same, store the MAC address before turning the
> clock off and restore it when enabling the clock. We have a need for
> special clocks on kirkwood anyway for turning off the sata and pcie
> PHYs. So adding special clocks for ethernet is not too big a deal.

At least on Armada 370/XP, U-Boot passes the MAC address through a
special ATAG. Willy Tarreau has written some code to read this special
ATAG and feed it into the Device Tree, so that we get the MAC address
as set by U-Boot. I unfortunately haven't had the time to look at
Willy's code and push it, but it does seem like an interesting solution.

Are you interested?

Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.

More information about the linux-arm-kernel mailing list