aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorS.j. Wang <shengjiu.wang@nxp.com>2019-04-28 05:52:48 -0400
committerLee Jones <lee.jones@linaro.org>2019-05-14 03:13:27 -0400
commit13d72945323c33680433bc92ffe1465a59599993 (patch)
treedde733e8a4ad764788d6e3a634898188016b9845
parenta2a0c4ef4e560061b2ec226924a3e2d8652c89b1 (diff)
mfd: imx6sx: Add MQS register definition for iomuxc gpr
Add macros to define masks and bits for imx6sx MQS registers Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
-rw-r--r--include/linux/mfd/syscon/imx6q-iomuxc-gpr.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/mfd/syscon/imx6q-iomuxc-gpr.h b/include/linux/mfd/syscon/imx6q-iomuxc-gpr.h
index c1b25f5e386d..f232c8130d00 100644
--- a/include/linux/mfd/syscon/imx6q-iomuxc-gpr.h
+++ b/include/linux/mfd/syscon/imx6q-iomuxc-gpr.h
@@ -410,6 +410,15 @@
410#define IMX6SX_GPR1_FEC_CLOCK_PAD_DIR_MASK (0x3 << 17) 410#define IMX6SX_GPR1_FEC_CLOCK_PAD_DIR_MASK (0x3 << 17)
411#define IMX6SX_GPR1_FEC_CLOCK_MUX_SEL_EXT (0x3 << 13) 411#define IMX6SX_GPR1_FEC_CLOCK_MUX_SEL_EXT (0x3 << 13)
412 412
413#define IMX6SX_GPR2_MQS_OVERSAMPLE_MASK (0x1 << 26)
414#define IMX6SX_GPR2_MQS_OVERSAMPLE_SHIFT (26)
415#define IMX6SX_GPR2_MQS_EN_MASK (0x1 << 25)
416#define IMX6SX_GPR2_MQS_EN_SHIFT (25)
417#define IMX6SX_GPR2_MQS_SW_RST_MASK (0x1 << 24)
418#define IMX6SX_GPR2_MQS_SW_RST_SHIFT (24)
419#define IMX6SX_GPR2_MQS_CLK_DIV_MASK (0xFF << 16)
420#define IMX6SX_GPR2_MQS_CLK_DIV_SHIFT (16)
421
413#define IMX6SX_GPR4_FEC_ENET1_STOP_REQ (0x1 << 3) 422#define IMX6SX_GPR4_FEC_ENET1_STOP_REQ (0x1 << 3)
414#define IMX6SX_GPR4_FEC_ENET2_STOP_REQ (0x1 << 4) 423#define IMX6SX_GPR4_FEC_ENET2_STOP_REQ (0x1 << 4)
415 424