Signed-off-by: Jens Gehrlein <[EMAIL PROTECTED]>
---
board/tqc/tqma31/tqma31.c | 7 +++++++
include/asm-arm/arch-mx31/mx31-regs.h | 1 +
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/board/tqc/tqma31/tqma31.c b/board/tqc/tqma31/tqma31.c
index abb8db0..dd2bb0a 100644
--- a/board/tqc/tqma31/tqma31.c
+++ b/board/tqc/tqma31/tqma31.c
@@ -69,6 +69,13 @@ static void setup_iomux (void)
mx31_pad_ctl (PAD_CTL_CSPI2_SPI_RDY, 0);
mx31_pad_ctl (PAD_CTL_CSPI2_MISO, 0);
mx31_pad_ctl (PAD_CTL_CSPI2_MOSI, 0);
+
+ /* Pins for IPU */
+ mx31_pad_ctl (PAD_CTL_FPSHIFT, PAD_CTL_IPP_PUE_PULL \
+ | PAD_CTL_IPP_PUS_100K_DN \
+ | PAD_CTL_IPP_HYS_STD \
+ | PAD_CTL_IPP_ODE_STD \
+ | PAD_CTL_IPP_SRE_FAST);
}
static int adjust_voltages (void)
diff --git a/include/asm-arm/arch-mx31/mx31-regs.h
b/include/asm-arm/arch-mx31/mx31-regs.h
index 4d661e8..407b2c6 100644
--- a/include/asm-arm/arch-mx31/mx31-regs.h
+++ b/include/asm-arm/arch-mx31/mx31-regs.h
@@ -213,6 +213,7 @@
#define PAD_CTL_IO1_SHIFT 0
#define PAD_CTL_IO2_SHIFT 10
#define PAD_CTL_IO3_SHIFT 20
+#define PAD_CTL_FPSHIFT ((0x184 << 8) |
PAD_CTL_IO1_SHIFT)
#define PAD_CTL_CSPI2_SS2 ((0x1F4 << 8) | PAD_CTL_IO3_SHIFT)
#define PAD_CTL_CSPI2_SCLK ((0x1F4 << 8) | PAD_CTL_IO2_SHIFT)
#define PAD_CTL_CSPI2_SPI_RDY ((0x1F4 << 8) | PAD_CTL_IO1_SHIFT)
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
U-Boot-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/u-boot-users