66ecbfea76
This commit adds a core clock driver for the Orion5x SoC, with support for the tclk, the CPU frequency and the DDR frequency. All the details about the Sample-At-Reset register were extracted from the U-Boot sources for Orion5x. Note that Orion5x does not have gatable clocks, so this core clock driver is sufficient to support clocking on Orion5x platforms. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Link: https://lkml.kernel.org/r/1398202002-28530-5-git-send-email-thomas.petazzoni@free-electrons.com Cc: Mike Turquette <mturquette@linaro.org> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
40 lines
550 B
Text
40 lines
550 B
Text
config MVEBU_CLK_COMMON
|
|
bool
|
|
|
|
config MVEBU_CLK_CPU
|
|
bool
|
|
|
|
config MVEBU_CLK_COREDIV
|
|
bool
|
|
|
|
config ARMADA_370_CLK
|
|
bool
|
|
select MVEBU_CLK_COMMON
|
|
select MVEBU_CLK_CPU
|
|
select MVEBU_CLK_COREDIV
|
|
|
|
config ARMADA_375_CLK
|
|
bool
|
|
select MVEBU_CLK_COMMON
|
|
|
|
config ARMADA_38X_CLK
|
|
bool
|
|
select MVEBU_CLK_COMMON
|
|
|
|
config ARMADA_XP_CLK
|
|
bool
|
|
select MVEBU_CLK_COMMON
|
|
select MVEBU_CLK_CPU
|
|
select MVEBU_CLK_COREDIV
|
|
|
|
config DOVE_CLK
|
|
bool
|
|
select MVEBU_CLK_COMMON
|
|
|
|
config KIRKWOOD_CLK
|
|
bool
|
|
select MVEBU_CLK_COMMON
|
|
|
|
config ORION_CLK
|
|
bool
|
|
select MVEBU_CLK_COMMON
|