Commit b4715df3 authored by Sebastian Hesselbarth's avatar Sebastian Hesselbarth Committed by Jason Cooper

ARM: dove: remove legacy mv643xx_eth setup

With DT support for mv643xx_eth we do not need legacy platform_data
based setup for DT enabled boards anymore.
Signed-off-by: default avatarSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent 99d6455b
...@@ -33,10 +33,6 @@ static void __init dove_legacy_clk_init(void) ...@@ -33,10 +33,6 @@ static void __init dove_legacy_clk_init(void)
clkspec.np = np; clkspec.np = np;
clkspec.args_count = 1; clkspec.args_count = 1;
clkspec.args[0] = CLOCK_GATING_BIT_GBE;
orion_clkdev_add(NULL, "mv643xx_eth_port.0",
of_clk_get_from_provider(&clkspec));
clkspec.args[0] = CLOCK_GATING_BIT_PCIE0; clkspec.args[0] = CLOCK_GATING_BIT_PCIE0;
orion_clkdev_add("0", "pcie", orion_clkdev_add("0", "pcie",
of_clk_get_from_provider(&clkspec)); of_clk_get_from_provider(&clkspec));
...@@ -52,10 +48,6 @@ static void __init dove_of_clk_init(void) ...@@ -52,10 +48,6 @@ static void __init dove_of_clk_init(void)
dove_legacy_clk_init(); dove_legacy_clk_init();
} }
static struct mv643xx_eth_platform_data dove_dt_ge00_data = {
.phy_addr = MV643XX_ETH_PHY_ADDR_DEFAULT,
};
static void __init dove_dt_init(void) static void __init dove_dt_init(void)
{ {
pr_info("Dove 88AP510 SoC\n"); pr_info("Dove 88AP510 SoC\n");
...@@ -69,7 +61,6 @@ static void __init dove_dt_init(void) ...@@ -69,7 +61,6 @@ static void __init dove_dt_init(void)
dove_of_clk_init(); dove_of_clk_init();
/* Internal devices not ported to DT yet */ /* Internal devices not ported to DT yet */
dove_ge00_init(&dove_dt_ge00_data);
dove_pcie_init(1, 1); dove_pcie_init(1, 1);
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment