diff options
author | Justin Waters <justin.waters@timesys.com> | 2010-04-05 16:41:50 -0400 |
---|---|---|
committer | Justin Waters <justin.waters@timesys.com> | 2010-04-05 16:41:50 -0400 |
commit | 14ebb395edca82135ca64c4037122202298a8b07 (patch) | |
tree | 275206209fdc3778b8e1e7a1ff8b45708380aad5 /arch/arm | |
parent | 047ae916310ac0f35826d424f0d2428f519d3f52 (diff) |
Add GPIO definition for One Wire Interface on CCWMX51
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-mx51/mx51_ccwmx51js_gpio.c | 9 |
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) |