Commit 96169c1f authored by Ye Li's avatar Ye Li Committed by Peng Fan

MLK-18243-5 arm: imx-common: iomux: add i.MX8MM PE property

i.MX8MM has a PE property, it does not have LVTTL
Signed-off-by: 's avatarYe Li <ye.li@nxp.com>
Signed-off-by: 's avatarPeng Fan <peng.fan@nxp.com>
parent e5d3d27f
......@@ -4,6 +4,7 @@
* <armlinux@phytec.de>
*
* Copyright (C) 2011 Freescale Semiconductor, Inc.
* Copyright 2018 NXP
*
* SPDX-License-Identifier: GPL-2.0+
*/
......@@ -87,7 +88,7 @@ typedef u64 iomux_v3_cfg_t;
#define IOMUX_CONFIG_LPSR 0x20
#define MUX_MODE_LPSR ((iomux_v3_cfg_t)IOMUX_CONFIG_LPSR << \
MUX_MODE_SHIFT)
#ifdef CONFIG_ARCH_IMX8M
#if defined(CONFIG_IMX8MQ) || defined(CONFIG_IMX8MM)
#define PAD_CTL_DSE0 (0x0 << 0)
#define PAD_CTL_DSE1 (0x1 << 0)
#define PAD_CTL_DSE2 (0x2 << 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment