Commit d91e14b3 authored by Steven Miao's avatar Steven Miao

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

Signed-off-by: default avatarSteven Miao <realmz6@gmail.com>
parent 4f650a59
...@@ -363,6 +363,12 @@ static struct clk ethclk = { ...@@ -363,6 +363,12 @@ static struct clk ethclk = {
.ops = &dummy_clk_ops, .ops = &dummy_clk_ops,
}; };
static struct clk ethpclk = {
.name = "pclk",
.parent = &sclk0,
.ops = &dummy_clk_ops,
};
static struct clk spiclk = { static struct clk spiclk = {
.name = "spi", .name = "spi",
.parent = &sclk1, .parent = &sclk1,
...@@ -381,6 +387,7 @@ static struct clk_lookup bf609_clks[] = { ...@@ -381,6 +387,7 @@ static struct clk_lookup bf609_clks[] = {
CLK(dclk, NULL, "DCLK"), CLK(dclk, NULL, "DCLK"),
CLK(oclk, NULL, "OCLK"), CLK(oclk, NULL, "OCLK"),
CLK(ethclk, NULL, "stmmaceth"), CLK(ethclk, NULL, "stmmaceth"),
CLK(ethpclk, NULL, "pclk"),
CLK(spiclk, NULL, "spi"), CLK(spiclk, NULL, "spi"),
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment