summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2018-05-09 11:21:46 +0800
committerYe Li <ye.li@nxp.com>2018-05-23 04:15:49 -0700
commit6ccb18feb68644292ed0df02588e775ffa942872 (patch)
tree0e5e6dafc158b4a7e99bc67565e0707c4f824cfb
parent1127c7f41b967cffd041905254adb426bde0c48a (diff)
MLK-18243-5 arm: mach-imx: iomux: add i.MX8MM PE property
i.MX8MM has a PE property, it does not have LVTTL Signed-off-by: Ye Li <ye.li@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit 96169c1f2de1ac90a244166ab5bb6c874cdfd6bd)
-rw-r--r--arch/arm/include/asm/mach-imx/iomux-v3.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/include/asm/mach-imx/iomux-v3.h b/arch/arm/include/asm/mach-imx/iomux-v3.h
index 93543c18c6c..34f2af4838f 100644
--- a/arch/arm/include/asm/mach-imx/iomux-v3.h
+++ b/arch/arm/include/asm/mach-imx/iomux-v3.h
@@ -4,6 +4,7 @@
* <armlinux@phytec.de>
*
* Copyright (C) 2011 Freescale Semiconductor, Inc.
+ * Copyright 2018 NXP
*
* SPDX-License-Identifier: GPL-2.0+
*/
@@ -105,7 +106,11 @@ typedef u64 iomux_v3_cfg_t;
#define PAD_CTL_ODE (0x1 << 5)
#define PAD_CTL_PUE (0x1 << 6)
#define PAD_CTL_HYS (0x1 << 7)
+#if defined(CONFIG_IMX8MM)
+#define PAD_CTL_PE (0x1 << 8)
+#else
#define PAD_CTL_LVTTL (0x1 << 8)
+#endif
#elif defined CONFIG_MX7