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:
parent
5198f847f7
commit
7485952378
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue