forked from Minki/linux
eth: bf609 eth clock: add pclk clock for stmmac driver probe
Signed-off-by: Steven Miao <realmz6@gmail.com>
This commit is contained in:
parent
4f650a5966
commit
d91e14b3b9
@ -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"),
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user