ARM i.MX6: Fix ethernet PLL clocks
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 21 Nov 2012 13:42:31 +0000 (14:42 +0100)
committerSascha Hauer <s.hauer@pengutronix.de>
Thu, 22 Nov 2012 14:32:33 +0000 (15:32 +0100)
commit7a04092c733fd72ded1294719046cfdb31feced3
tree2505ec2958480a8a06b5d11c07eb191bbf6ed8e0
parent13861701a83765cc442ffe9bac0126ec75a3342e
ARM i.MX6: Fix ethernet PLL clocks

In current code the ethernet PLL is not handled correctly. The PLL runs at 500MHz
and has different outputs. Only the enet reference clock is implemented. This
patch changes the PLL so that it outputs 500MHz and adds the additional outputs
as dividers. This now matches the datasheet which says:

> This PLL synthesizes a low jitter clock from 24 MHz reference clock.
> The PLL outputs a 500 MHz clock. The reference clocks generated by this PLL are:
>  • Ref_PCIe = 125 MHz
>  • Ref_SATA = 100 MHz
>  • Ref_ethernet, which is configurable based on the PLL_ENET[1:0] register field.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Documentation/devicetree/bindings/clock/imx6q-clock.txt
arch/arm/mach-imx/clk-imx6q.c
arch/arm/mach-imx/clk-pllv3.c