On 07/31/2018 09:01 AM, Sven Schwermer wrote: > Hi, Hi,
(fixing the ML address) > 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? > > I’m new to u-boot, so I hope my questions make sense :) I don't think the MX6 has clock driver yet, you can either implement it or enable the clock by hand in the board file. -- Best regards, Marek Vasut _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot