summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Poeschel <poeschel@lemonage.de>2013-01-11 00:53:30 +0000
committerTom Rini <trini@ti.com>2013-02-07 10:36:25 -0500
commitaca0b8b4f7ec6622c171038084fb84b33dcea580 (patch)
treee767202f6397b76a7b5497c532b7d44bf02b2eb2
parentd70f54808dfa83b574e1239c3eccbcf3317343e1 (diff)
am33xx: add a pulldown macro to pinmux config
Signed-off-by: Lars Poeschel <poeschel@lemonage.de>
-rw-r--r--arch/arm/include/asm/arch-am33xx/mux.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-am33xx/mux.h b/arch/arm/include/asm/arch-am33xx/mux.h
index aed6b00cc68..460ac1c02dc 100644
--- a/arch/arm/include/asm/arch-am33xx/mux.h
+++ b/arch/arm/include/asm/arch-am33xx/mux.h
@@ -25,7 +25,8 @@
/* PAD Control Fields */
#define SLEWCTRL (0x1 << 6)
#define RXACTIVE (0x1 << 5)
-#define PULLUP_EN (0x1 << 4) /* Pull UP Selection */
+#define PULLDOWN_EN (0x0 << 4) /* Pull Down Selection */
+#define PULLUP_EN (0x1 << 4) /* Pull Up Selection */
#define PULLUDEN (0x0 << 3) /* Pull up enabled */
#define PULLUDDIS (0x1 << 3) /* Pull up disabled */
#define MODE(val) val /* used for Readability */