[PATCH 4/8] arm: mxs: fix pin voltage register value for EMI

Jan Luebbe jlu at pengutronix.de
Thu Dec 25 09:09:01 PST 2014


The EMI pins are documented in the reference manual as using value 0 for both
1.8V and 2.5V. Value 1 is reserved.

Signed-off-by: Jan Luebbe <jlu at pengutronix.de>
---
 arch/arm/mach-mxs/include/mach/iomux.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-mxs/include/mach/iomux.h b/arch/arm/mach-mxs/include/mach/iomux.h
index 4361be5..0091dba 100644
--- a/arch/arm/mach-mxs/include/mach/iomux.h
+++ b/arch/arm/mach-mxs/include/mach/iomux.h
@@ -97,7 +97,7 @@
  * .. PORTF(1, 15). So the PORTF macro is more ugly than necessary.
  */
 # define PORTF(bank,bit)	(BANK((bank) / 2) | BANKPIN((((bank) & 1) << 4) | (bit)) | ERROR((bit) & ~15) | ERROR((bank) & ~7))
-# define VE_2_5V		VOLTAGE(1)
+# define VE_2_5V		VOLTAGE(0)
 # include <mach/iomux-imx23.h>
 #endif
 
-- 
2.1.4




More information about the barebox mailing list