summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx3
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2008-12-01 14:15:40 -0800
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-12-14 12:05:02 +0000
commitd517cab1c7fc92178e11c7ded2548b06b273d293 (patch)
tree8201abd1b7505972df413add3c7c0c49346f707f /arch/arm/mach-mx3
parentd40a09920be4d64414c3e5396c6399ac96ad0e00 (diff)
downloadblackbird-op-linux-d517cab1c7fc92178e11c7ded2548b06b273d293.tar.gz
blackbird-op-linux-d517cab1c7fc92178e11c7ded2548b06b273d293.zip
[ARM] pcm037: add 1wire support
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Evgeniy Polyakov <zbr@ioremap.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-mx3')
-rw-r--r--arch/arm/mach-mx3/pcm037.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-mx3/pcm037.c b/arch/arm/mach-mx3/pcm037.c
index 843f68c8ead1..8cd1fdf1897c 100644
--- a/arch/arm/mach-mx3/pcm037.c
+++ b/arch/arm/mach-mx3/pcm037.c
@@ -81,6 +81,9 @@ static void __init mxc_board_init(void)
mxc_iomux_mode(MX31_PIN_CSPI3_MISO__TXD3);
mxc_register_device(&mxc_uart_device2, &uart_pdata);
+
+ mxc_iomux_mode(MX31_PIN_BATT_LINE__OWIRE);
+ mxc_register_device(&mxc_w1_master_device, NULL);
}
/*
OpenPOWER on IntegriCloud