• Richard Genoud's avatar
    clk: mvebu: armada-38x: add support for missing clocks · 6a4a4595
    Richard Genoud authored
    Clearfog boards can come with a CPU clocked at 1600MHz (commercial)
    or 1333MHz (industrial).
    
    They have also some dip-switches to select a different clock (666, 800,
    1066, 1200).
    
    The funny thing is that the recovery button is on the MPP34 fq selector.
    So, when booting an industrial board with this button down, the frequency
    666MHz is selected (and the kernel didn't boot).
    
    This patch add all the missing clocks.
    
    The only mode I didn't test is 2GHz (uboot found 4294MHz instead :/ ).
    
    Fixes: 0e85aece ("clk: mvebu: add clock support for Armada 380/385")
    Cc: <stable@vger.kernel.org> # 3.16.x: 9593f4f5: clk: mvebu: armada-38x: add support for 1866MHz variants
    Cc: <stable@vger.kernel.org> # 3.16.x
    Signed-off-by: default avatarRichard Genoud <richard.genoud@gmail.com>
    Acked-by: default avatarGregory CLEMENT <gregory.clement@bootlin.com>
    Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
    6a4a4595
armada-38x.c 4.5 KB