浏览代码

eth: bf609 eth clock: add pclk clock for stmmac driver probe

Signed-off-by: Steven Miao <realmz6@gmail.com>
Steven Miao 10 年之前
父节点
当前提交
d91e14b3b9
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      arch/blackfin/mach-bf609/clock.c

+ 7 - 0
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"),
 };