With all boards converted to DT enabled mv643xx_eth we can now remove the clock alias for gbe clocks.
Signed-off-by: Sebastian Hesselbarth <[email protected]> --- Cc: Grant Likely <[email protected]> Cc: Rob Herring <[email protected]> Cc: Rob Landley <[email protected]> Cc: Lennert Buytenhek <[email protected]> Cc: David Miller <[email protected]> Cc: Florian Fainelli <[email protected]> Cc: Arnaud Patard <[email protected]> Cc: Russell King <[email protected]> Cc: Jason Cooper <[email protected]> Cc: Andrew Lunn <[email protected]> Cc: Jean-Francois Moine <[email protected]> Cc: Thomas Petazzoni <[email protected]> Cc: Simon Guinot <[email protected]> Cc: Jamie Lentin <[email protected]> Cc: Michael Walle <[email protected]> Cc: Eric Hutter <[email protected]> Cc: Joshua Coombs <[email protected]> Cc: Willy Tarreau <[email protected]> Cc: Simon Baatz <[email protected]> Cc: Alan M Butler <[email protected]> Cc: Nigel Roberts <[email protected]> Cc: Valentin Longchamp <[email protected]> Cc: Stefan Peter <[email protected]> Cc: Arnaud Ebalard <[email protected]> Cc: Nobuhiro Iwamatsu <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] --- arch/arm/mach-kirkwood/board-dt.c | 16 ---------------- 1 files changed, 0 insertions(+), 16 deletions(-) diff --git a/arch/arm/mach-kirkwood/board-dt.c b/arch/arm/mach-kirkwood/board-dt.c index 7904758..f474cb9 100644 --- a/arch/arm/mach-kirkwood/board-dt.c +++ b/arch/arm/mach-kirkwood/board-dt.c @@ -42,7 +42,6 @@ static void __init kirkwood_legacy_clk_init(void) struct device_node *np = of_find_compatible_node( NULL, NULL, "marvell,kirkwood-gating-clock"); struct of_phandle_args clkspec; - struct clk *clk; clkspec.np = np; clkspec.args_count = 1; @@ -58,21 +57,6 @@ static void __init kirkwood_legacy_clk_init(void) clkspec.args[0] = CGC_BIT_SDIO; orion_clkdev_add(NULL, "mvsdio", of_clk_get_from_provider(&clkspec)); - - /* - * The ethernet interfaces forget the MAC address assigned by - * u-boot if the clocks are turned off. Until proper DT support - * is available we always enable them for now. - */ - clkspec.args[0] = CGC_BIT_GE0; - clk = of_clk_get_from_provider(&clkspec); - orion_clkdev_add(NULL, "mv643xx_eth_port.0", clk); - clk_prepare_enable(clk); - - clkspec.args[0] = CGC_BIT_GE1; - clk = of_clk_get_from_provider(&clkspec); - orion_clkdev_add(NULL, "mv643xx_eth_port.1", clk); - clk_prepare_enable(clk); } static void __init kirkwood_of_clk_init(void) -- 1.7.2.5 _______________________________________________ devicetree-discuss mailing list [email protected] https://lists.ozlabs.org/listinfo/devicetree-discuss
