diff options
author | Steven Miao <realmz6@gmail.com> | 2015-04-24 11:39:08 +0800 |
---|---|---|
committer | Steven Miao <realmz6@gmail.com> | 2015-04-24 11:36:35 +0800 |
commit | d91e14b3b9e1d8e1d552f4d6aff45551bbb410b1 (patch) | |
tree | 56dcf63078868f3e7d85d2b76ed3ba58f1479fbf /arch/blackfin/mach-bf609 | |
parent | 4f650a5966038f439c5f8d7d85dcc6b3a77a4e7c (diff) | |
download | op-kernel-dev-d91e14b3b9e1d8e1d552f4d6aff45551bbb410b1.zip op-kernel-dev-d91e14b3b9e1d8e1d552f4d6aff45551bbb410b1.tar.gz |
eth: bf609 eth clock: add pclk clock for stmmac driver probe
Signed-off-by: Steven Miao <realmz6@gmail.com>
Diffstat (limited to 'arch/blackfin/mach-bf609')
-rw-r--r-- | arch/blackfin/mach-bf609/clock.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf609/clock.c b/arch/blackfin/mach-bf609/clock.c index 244fa4a..3783058 100644 --- a/arch/blackfin/mach-bf609/clock.c +++ b/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"), }; |