aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-dove/board-dt.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/arch/arm/mach-dove/board-dt.c b/arch/arm/mach-dove/board-dt.c
index 1efbe1d51b7f..9a116d796323 100644
--- a/arch/arm/mach-dove/board-dt.c
+++ b/arch/arm/mach-dove/board-dt.c
@@ -23,28 +23,6 @@
23#include <plat/irq.h> 23#include <plat/irq.h>
24#include "common.h" 24#include "common.h"
25 25
26/*
27 * There are still devices that doesn't even know about DT,
28 * get clock gates here and add a clock lookup.
29 */
30static void __init dove_legacy_clk_init(void)
31{
32 struct device_node *np = of_find_compatible_node(NULL, NULL,
33 "marvell,dove-gating-clock");
34 struct of_phandle_args clkspec;
35
36 clkspec.np = np;
37 clkspec.args_count = 1;
38
39 clkspec.args[0] = CLOCK_GATING_BIT_PCIE0;
40 orion_clkdev_add("0", "pcie",
41 of_clk_get_from_provider(&clkspec));
42
43 clkspec.args[0] = CLOCK_GATING_BIT_PCIE1;
44 orion_clkdev_add("1", "pcie",
45 of_clk_get_from_provider(&clkspec));
46}
47
48static void __init dove_dt_time_init(void) 26static void __init dove_dt_time_init(void)
49{ 27{
50 of_clk_init(NULL); 28 of_clk_init(NULL);
@@ -59,13 +37,6 @@ static void __init dove_dt_init(void)
59 tauros2_init(0); 37 tauros2_init(0);
60#endif 38#endif
61 BUG_ON(mvebu_mbus_dt_init()); 39 BUG_ON(mvebu_mbus_dt_init());
62
63 /* Setup clocks for legacy devices */
64 dove_legacy_clk_init();
65
66 /* Internal devices not ported to DT yet */
67 dove_pcie_init(1, 1);
68
69 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); 40 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
70} 41}
71 42