aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Miao <realmz6@gmail.com>2015-04-24 11:39:08 +0800
committersteven <steven@ubuntu-VirtualBox.(none)>2016-03-23 16:27:17 +0100
commit391e74a51ea2ce54f4d4a213a207a6bfb73e0b33 (patch)
tree56dcf63078868f3e7d85d2b76ed3ba58f1479fbf
parenta29fa90aef539e09c68629b8c01a898721ce3cda (diff)
downloadblackfin-linux-for-linus.tar.gz
eth: bf609 eth clock: add pclk clock for stmmac driver probefor-linus
Signed-off-by: Steven Miao <realmz6@gmail.com>
-rw-r--r--arch/blackfin/mach-bf609/clock.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf609/clock.c b/arch/blackfin/mach-bf609/clock.c
index 244fa4ab4c56b8..378305844b2c9e 100644
--- a/arch/blackfin/mach-bf609/clock.c
+++ b/arch/blackfin/mach-bf609/clock.c
@@ -363,6 +363,12 @@ static struct clk ethclk = {
.ops = &dummy_clk_ops,
};
+static struct clk ethpclk = {
+ .name = "pclk",
+ .parent = &sclk0,
+ .ops = &dummy_clk_ops,
+};
+
static struct clk spiclk = {
.name = "spi",
.parent = &sclk1,
@@ -381,6 +387,7 @@ static struct clk_lookup bf609_clks[] = {
CLK(dclk, NULL, "DCLK"),
CLK(oclk, NULL, "OCLK"),
CLK(ethclk, NULL, "stmmaceth"),
+ CLK(ethpclk, NULL, "pclk"),
CLK(spiclk, NULL, "spi"),
};