eth: bf609 eth clock: add pclk clock for stmmac driver probe
authorSteven Miao <realmz6@gmail.com>
Fri, 24 Apr 2015 03:39:08 +0000 (11:39 +0800)
committerSteven Miao <realmz6@gmail.com>
Fri, 24 Apr 2015 03:36:35 +0000 (11:36 +0800)
Signed-off-by: Steven Miao <realmz6@gmail.com>
arch/blackfin/mach-bf609/clock.c

index 244fa4a..3783058 100644 (file)
@@ -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"),
 };