mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
42 lines
1.1 KiB
Diff
42 lines
1.1 KiB
Diff
|
From e74c355ea6cb075230018379bde9ae7e0db33b4b Mon Sep 17 00:00:00 2001
|
||
|
From: Fabio Estevam <fabio.estevam@freescale.com>
|
||
|
Date: Fri, 3 May 2013 04:37:07 +0000
|
||
|
Subject: [PATCH 04/15] mx23: Fix pad voltage selection bit
|
||
|
|
||
|
On mx23 the pad voltage selection bit needs to be always '0', since '1' is a
|
||
|
reserved value.
|
||
|
|
||
|
For example:
|
||
|
|
||
|
Pin 108, EMI_A06 pin voltage selection:
|
||
|
0= 1.8V (mDDR) or 2.5V (DDR1);
|
||
|
1= reserved.
|
||
|
|
||
|
Fix the pad voltage definitions for the mx23 case.
|
||
|
|
||
|
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
|
||
|
Acked-by: Marek Vasut <marex@denx.de>
|
||
|
---
|
||
|
arch/arm/include/asm/arch-mxs/iomux.h | 4 ++++
|
||
|
1 file changed, 4 insertions(+)
|
||
|
|
||
|
diff --git a/arch/arm/include/asm/arch-mxs/iomux.h b/arch/arm/include/asm/arch-mxs/iomux.h
|
||
|
index 4288715..d919fb2 100644
|
||
|
--- a/arch/arm/include/asm/arch-mxs/iomux.h
|
||
|
+++ b/arch/arm/include/asm/arch-mxs/iomux.h
|
||
|
@@ -71,7 +71,11 @@ typedef u32 iomux_cfg_t;
|
||
|
#define PAD_16MA 3
|
||
|
|
||
|
#define PAD_1V8 0
|
||
|
+#if defined(CONFIG_MX28)
|
||
|
#define PAD_3V3 1
|
||
|
+#else
|
||
|
+#define PAD_3V3 0
|
||
|
+#endif
|
||
|
|
||
|
#define PAD_NOPULL 0
|
||
|
#define PAD_PULLUP 1
|
||
|
--
|
||
|
1.8.2.2
|
||
|
|