summaryrefslogtreecommitdiffstats
path: root/drivers/clk/mvebu/common.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2017-06-14 23:50:09 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2017-06-19 08:23:49 +0200
commit1a40aab51a1124ee3e4b7cc80c367a6552936c2a (patch)
tree005b45d92ffea57c3abb82fc5ac224759a825736 /drivers/clk/mvebu/common.c
parent69642d964248e03baa2f38d6f32b484a6b85f4b4 (diff)
downloadbarebox-1a40aab51a1124ee3e4b7cc80c367a6552936c2a.tar.gz
barebox-1a40aab51a1124ee3e4b7cc80c367a6552936c2a.tar.xz
clk: mvebu: Add support for Armada 38x's coreclk
This is a mixture of the Armada 370 barebox driver and the Armada 38x Linux driver. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/clk/mvebu/common.c')
-rw-r--r--drivers/clk/mvebu/common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/clk/mvebu/common.c b/drivers/clk/mvebu/common.c
index a06b29f4e7..f6f118f0db 100644
--- a/drivers/clk/mvebu/common.c
+++ b/drivers/clk/mvebu/common.c
@@ -29,6 +29,8 @@ static struct clk_onecell_data clk_data;
static struct of_device_id mvebu_coreclk_ids[] = {
{ .compatible = "marvell,armada-370-core-clock",
.data = &armada_370_coreclks },
+ { .compatible = "marvell,armada-380-core-clock",
+ .data = &armada_38x_coreclks },
{ .compatible = "marvell,armada-xp-core-clock",
.data = &armada_xp_coreclks },
{ .compatible = "marvell,dove-core-clock",
@@ -144,6 +146,8 @@ static struct of_device_id mvebu_clk_gating_ids[] = {
.data = &armada_370_gating_desc },
{ .compatible = "marvell,armada-xp-gating-clock",
.data = &armada_xp_gating_desc },
+ { .compatible = "marvell,armada-380-gating-clock",
+ .data = &armada_38x_gating_desc },
{ .compatible = "marvell,dove-gating-clock",
.data = &dove_gating_desc },
{ .compatible = "marvell,kirkwood-gating-clock",