• Sascha Hauer's avatar
    ARM i.MX6: Fix ethernet PLL clocks · 7a04092c
    Sascha Hauer authored
    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: default avatarSascha Hauer <s.hauer@pengutronix.de>
    Acked-by: default avatarShawn Guo <shawn.guo@linaro.org>
    7a04092c
imx6q-clock.txt 3.77 KB