diff options
author | Andrew Lunn <andrew@lunn.ch> | 2013-01-06 11:10:37 +0100 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-01-06 17:53:06 +0000 |
commit | d2268be3dc0ef59f9d572f082c08e698e4617bc4 (patch) | |
tree | 3bbf96cb96faef318524cf2f01dfc400be5718f2 /arch/arm/mach-kirkwood/board-dt.c | |
parent | 107c21c3461d402ac0d2cdc1929e686612890727 (diff) |
ARM: Kirkwood: Fix missing sdio clock
We moved to declaring clk gates in DT. However, device which do not
yet have a DT binding need to have a clkdev alias. This was missing
for SDIO.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Stefan Peter <s.peter@mplch>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-kirkwood/board-dt.c')
-rw-r--r-- | arch/arm/mach-kirkwood/board-dt.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-kirkwood/board-dt.c b/arch/arm/mach-kirkwood/board-dt.c index ff4150a2ad0..de4fd2bb1e2 100644 --- a/arch/arm/mach-kirkwood/board-dt.c +++ b/arch/arm/mach-kirkwood/board-dt.c @@ -67,6 +67,10 @@ static void __init kirkwood_legacy_clk_init(void) orion_clkdev_add(NULL, "mv643xx_eth_port.1", of_clk_get_from_provider(&clkspec)); + clkspec.args[0] = CGC_BIT_SDIO; + orion_clkdev_add(NULL, "mvsdio", + of_clk_get_from_provider(&clkspec)); + } static void __init kirkwood_of_clk_init(void) |