imx: add i.MX8MM PE property
authorPeng Fan <peng.fan@nxp.com>
Tue, 27 Aug 2019 06:25:23 +0000 (06:25 +0000)
committerStefano Babic <sbabic@denx.de>
Tue, 8 Oct 2019 14:36:36 +0000 (16:36 +0200)
i.MX8MM does not have LVTTL, it has a PE property

Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/include/asm/mach-imx/iomux-v3.h

index b899a4ff6f063ffa14189185c958f0e551806acc..720e8f70433e6a0c38a02bfa66a1c2b6a176ef6a 100644 (file)
@@ -104,7 +104,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)
+#ifdef CONFIG_IMX8MM
+#define PAD_CTL_PE             (0x1 << 8)
+#else
 #define PAD_CTL_LVTTL          (0x1 << 8)
+#endif
 
 #elif defined CONFIG_MX7