[U-Boot] [U-Boot-DM] Enable ENET clocks on IMX6ULL
Jagan Teki
jagan at amarulasolutions.com
Tue Jul 31 07:08:22 UTC 2018
On Tue, Jul 31, 2018 at 12:31 PM, Sven Schwermer <sven at svenschwermer.de> wrote:
> Hi,
>
> I’m creating a new board in u-boot and I want to use as much driver model / device tree as possible. I noticed, that my clocks don’t seem to be set up correctly: The Ethernet PLL is not active and the clock is not muxed to the CLK pin of the RMII interface. Some of the boards using the IMX6UL(L) run the setup of the clocks as part of their board code, e.g. here: https://github.com/u-boot/u-boot/blob/master/arch/arm/mach-imx/mx6/opos6ul.c#L70
>
> What is the preferred way to do this now? Is the clock framework supported in driver model / device tree for iMX? If not, I’d need to create a minimal init function in my board code. What hook is the correct one so that it gets executed before the Ethernet driver is probed?
We have added recently, try to test in on master.
https://patchwork.ozlabs.org/cover/950886/
https://patchwork.ozlabs.org/cover/950964/
More information about the U-Boot
mailing list