summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Waters <justin.waters@timesys.com>2010-04-05 16:41:50 -0400
committerJustin Waters <justin.waters@timesys.com>2010-04-05 16:41:50 -0400
commit14ebb395edca82135ca64c4037122202298a8b07 (patch)
tree275206209fdc3778b8e1e7a1ff8b45708380aad5
parent047ae916310ac0f35826d424f0d2428f519d3f52 (diff)
Add GPIO definition for One Wire Interface on CCWMX51
-rw-r--r--arch/arm/mach-mx51/mx51_ccwmx51js_gpio.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-mx51/mx51_ccwmx51js_gpio.c b/arch/arm/mach-mx51/mx51_ccwmx51js_gpio.c
index 625d044d8327..293c9aa9545f 100644
--- a/arch/arm/mach-mx51/mx51_ccwmx51js_gpio.c
+++ b/arch/arm/mach-mx51/mx51_ccwmx51js_gpio.c
@@ -447,6 +447,15 @@ static struct mxc_iomux_pin_cfg __initdata mxc_iomux_pins[] = {
{MX51_PIN_EIM_D31, IOMUX_CONFIG_ALT0,},
{MX51_PIN_GPIO1_9, IOMUX_CONFIG_ALT0, (PAD_CTL_HYS_ENABLE | PAD_CTL_100K_PU), },
#endif
+ /* One Wire Interface */
+#if defined(CONFIG_W1_MASTER_MXC) || defined(CONFIG_W1_MASTER_MXC_MODULE)
+ {
+ MX51_PIN_OWIRE_LINE, IOMUX_CONFIG_ALT0,
+ (PAD_CTL_HYS_ENABLE | PAD_CTL_PKE_ENABLE |
+ PAD_CTL_ODE_OPENDRAIN_ENABLE | PAD_CTL_DRV_HIGH |
+ PAD_CTL_SRE_FAST | PAD_CTL_100K_PU | PAD_CTL_PUE_PULL),
+ },
+#endif
};
void __init mx51_ccwmx51js_io_init(void)