Skip to content

Commit

Permalink
eth: bf609 eth clock: add pclk clock for stmmac driver probe
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Miao <realmz6@gmail.com>
  • Loading branch information
Steven Miao committed Apr 24, 2015
1 parent 4f650a5 commit d91e14b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions arch/blackfin/mach-bf609/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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"),
};

Expand Down

0 comments on commit d91e14b

Please sign in to comment.