m68knommu: Add qspi clk for Coldfire SoCs without real clks.

Since we now have fake clks on devices without real clocks, we need clks
defined for qspi for the qspi driver to work on those devices.

Signed-off-by: Steven King <sfking@fdwdc.com>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
This commit is contained in:
Steven King 2014-05-14 10:06:29 -07:00 committed by Greg Ungerer
parent 5198f847f7
commit 7485952378
6 changed files with 12 additions and 0 deletions

View File

@ -32,6 +32,7 @@ DEFINE_CLK(mcfpit3, "mcfpit.3", MCF_CLK);
DEFINE_CLK(mcfuart0, "mcfuart.0", MCF_BUSCLK); DEFINE_CLK(mcfuart0, "mcfuart.0", MCF_BUSCLK);
DEFINE_CLK(mcfuart1, "mcfuart.1", MCF_BUSCLK); DEFINE_CLK(mcfuart1, "mcfuart.1", MCF_BUSCLK);
DEFINE_CLK(mcfuart2, "mcfuart.2", MCF_BUSCLK); DEFINE_CLK(mcfuart2, "mcfuart.2", MCF_BUSCLK);
DEFINE_CLK(mcfqspi0, "mcfqspi.0", MCF_BUSCLK);
DEFINE_CLK(fec0, "fec.0", MCF_BUSCLK); DEFINE_CLK(fec0, "fec.0", MCF_BUSCLK);
struct clk *mcf_clks[] = { struct clk *mcf_clks[] = {
@ -44,6 +45,7 @@ struct clk *mcf_clks[] = {
&clk_mcfuart0, &clk_mcfuart0,
&clk_mcfuart1, &clk_mcfuart1,
&clk_mcfuart2, &clk_mcfuart2,
&clk_mcfqspi0,
&clk_fec0, &clk_fec0,
NULL NULL
}; };

View File

@ -26,6 +26,7 @@ DEFINE_CLK(mcftmr0, "mcftmr.0", MCF_BUSCLK);
DEFINE_CLK(mcftmr1, "mcftmr.1", MCF_BUSCLK); DEFINE_CLK(mcftmr1, "mcftmr.1", MCF_BUSCLK);
DEFINE_CLK(mcfuart0, "mcfuart.0", MCF_BUSCLK); DEFINE_CLK(mcfuart0, "mcfuart.0", MCF_BUSCLK);
DEFINE_CLK(mcfuart1, "mcfuart.1", MCF_BUSCLK); DEFINE_CLK(mcfuart1, "mcfuart.1", MCF_BUSCLK);
DEFINE_CLK(mcfqspi0, "mcfqspi.0", MCF_BUSCLK);
struct clk *mcf_clks[] = { struct clk *mcf_clks[] = {
&clk_pll, &clk_pll,
@ -34,6 +35,7 @@ struct clk *mcf_clks[] = {
&clk_mcftmr1, &clk_mcftmr1,
&clk_mcfuart0, &clk_mcfuart0,
&clk_mcfuart1, &clk_mcfuart1,
&clk_mcfqspi0,
NULL NULL
}; };

View File

@ -26,6 +26,7 @@ DEFINE_CLK(mcftmr0, "mcftmr.0", MCF_BUSCLK);
DEFINE_CLK(mcftmr1, "mcftmr.1", MCF_BUSCLK); DEFINE_CLK(mcftmr1, "mcftmr.1", MCF_BUSCLK);
DEFINE_CLK(mcfuart0, "mcfuart.0", MCF_BUSCLK); DEFINE_CLK(mcfuart0, "mcfuart.0", MCF_BUSCLK);
DEFINE_CLK(mcfuart1, "mcfuart.1", MCF_BUSCLK); DEFINE_CLK(mcfuart1, "mcfuart.1", MCF_BUSCLK);
DEFINE_CLK(mcfqspi0, "mcfqspi.0", MCF_BUSCLK);
struct clk *mcf_clks[] = { struct clk *mcf_clks[] = {
&clk_pll, &clk_pll,
@ -34,6 +35,7 @@ struct clk *mcf_clks[] = {
&clk_mcftmr1, &clk_mcftmr1,
&clk_mcfuart0, &clk_mcfuart0,
&clk_mcfuart1, &clk_mcfuart1,
&clk_mcfqspi0,
NULL NULL
}; };

View File

@ -39,6 +39,7 @@ DEFINE_CLK(mcftmr2, "mcftmr.2", MCF_BUSCLK);
DEFINE_CLK(mcftmr3, "mcftmr.3", MCF_BUSCLK); DEFINE_CLK(mcftmr3, "mcftmr.3", MCF_BUSCLK);
DEFINE_CLK(mcfuart0, "mcfuart.0", MCF_BUSCLK); DEFINE_CLK(mcfuart0, "mcfuart.0", MCF_BUSCLK);
DEFINE_CLK(mcfuart1, "mcfuart.1", MCF_BUSCLK); DEFINE_CLK(mcfuart1, "mcfuart.1", MCF_BUSCLK);
DEFINE_CLK(mcfqspi0, "mcfqspi.0", MCF_BUSCLK);
DEFINE_CLK(fec0, "fec.0", MCF_BUSCLK); DEFINE_CLK(fec0, "fec.0", MCF_BUSCLK);
struct clk *mcf_clks[] = { struct clk *mcf_clks[] = {
@ -50,6 +51,7 @@ struct clk *mcf_clks[] = {
&clk_mcftmr3, &clk_mcftmr3,
&clk_mcfuart0, &clk_mcfuart0,
&clk_mcfuart1, &clk_mcfuart1,
&clk_mcfqspi0,
&clk_fec0, &clk_fec0,
NULL NULL
}; };

View File

@ -33,6 +33,7 @@ DEFINE_CLK(mcfpit3, "mcfpit.3", MCF_CLK);
DEFINE_CLK(mcfuart0, "mcfuart.0", MCF_BUSCLK); DEFINE_CLK(mcfuart0, "mcfuart.0", MCF_BUSCLK);
DEFINE_CLK(mcfuart1, "mcfuart.1", MCF_BUSCLK); DEFINE_CLK(mcfuart1, "mcfuart.1", MCF_BUSCLK);
DEFINE_CLK(mcfuart2, "mcfuart.2", MCF_BUSCLK); DEFINE_CLK(mcfuart2, "mcfuart.2", MCF_BUSCLK);
DEFINE_CLK(mcfqspi0, "mcfqspi.0", MCF_BUSCLK);
DEFINE_CLK(fec0, "fec.0", MCF_BUSCLK); DEFINE_CLK(fec0, "fec.0", MCF_BUSCLK);
DEFINE_CLK(fec1, "fec.1", MCF_BUSCLK); DEFINE_CLK(fec1, "fec.1", MCF_BUSCLK);
@ -46,6 +47,7 @@ struct clk *mcf_clks[] = {
&clk_mcfuart0, &clk_mcfuart0,
&clk_mcfuart1, &clk_mcfuart1,
&clk_mcfuart2, &clk_mcfuart2,
&clk_mcfqspi0,
&clk_fec0, &clk_fec0,
&clk_fec1, &clk_fec1,
NULL NULL

View File

@ -34,6 +34,7 @@ DEFINE_CLK(mcfpit3, "mcfpit.3", MCF_CLK);
DEFINE_CLK(mcfuart0, "mcfuart.0", MCF_BUSCLK); DEFINE_CLK(mcfuart0, "mcfuart.0", MCF_BUSCLK);
DEFINE_CLK(mcfuart1, "mcfuart.1", MCF_BUSCLK); DEFINE_CLK(mcfuart1, "mcfuart.1", MCF_BUSCLK);
DEFINE_CLK(mcfuart2, "mcfuart.2", MCF_BUSCLK); DEFINE_CLK(mcfuart2, "mcfuart.2", MCF_BUSCLK);
DEFINE_CLK(mcfqspi0, "mcfqspi.0", MCF_BUSCLK);
DEFINE_CLK(fec0, "fec.0", MCF_BUSCLK); DEFINE_CLK(fec0, "fec.0", MCF_BUSCLK);
struct clk *mcf_clks[] = { struct clk *mcf_clks[] = {
@ -46,6 +47,7 @@ struct clk *mcf_clks[] = {
&clk_mcfuart0, &clk_mcfuart0,
&clk_mcfuart1, &clk_mcfuart1,
&clk_mcfuart2, &clk_mcfuart2,
&clk_mcfqspi0,
&clk_fec0, &clk_fec0,
NULL NULL
}; };