From d517cab1c7fc92178e11c7ded2548b06b273d293 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Mon, 1 Dec 2008 14:15:40 -0800 Subject: [ARM] pcm037: add 1wire support Signed-off-by: Sascha Hauer Signed-off-by: Evgeniy Polyakov Signed-off-by: Andrew Morton Signed-off-by: Russell King --- arch/arm/mach-mx3/pcm037.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch/arm/mach-mx3') 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); } /* -- cgit v1.2.1