imx: mx6sl: Add perclk_clk_sel bit define in CCM
The MX6SL has the perclk_clk_sel to select the perclk source. Add its define in CCM Signed-off-by: Ye.Li <B37916@freescale.com>
This commit is contained in:
parent
1a1f795078
commit
0561b8edf0
|
@ -228,6 +228,8 @@ struct mxc_ccm_reg {
|
||||||
#ifdef CONFIG_MX6SX
|
#ifdef CONFIG_MX6SX
|
||||||
#define MXC_CCM_CSCMR1_QSPI1_CLK_SEL_MASK (0x7 << 7)
|
#define MXC_CCM_CSCMR1_QSPI1_CLK_SEL_MASK (0x7 << 7)
|
||||||
#define MXC_CCM_CSCMR1_QSPI1_CLK_SEL_OFFSET 7
|
#define MXC_CCM_CSCMR1_QSPI1_CLK_SEL_OFFSET 7
|
||||||
|
#endif
|
||||||
|
#if (defined(CONFIG_MX6SL) || defined(CONFIG_MX6SX))
|
||||||
#define MXC_CCM_CSCMR1_PER_CLK_SEL_MASK (1 << 6)
|
#define MXC_CCM_CSCMR1_PER_CLK_SEL_MASK (1 << 6)
|
||||||
#define MXC_CCM_CSCMR1_PER_CLK_SEL_OFFSET 6
|
#define MXC_CCM_CSCMR1_PER_CLK_SEL_OFFSET 6
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue