MX27ADS: Add 1-wire support
authorVladimir Barinov <vova.barinov@gmail.com>
Wed, 29 Apr 2009 00:00:52 +0000 (04:00 +0400)
committerSascha Hauer <s.hauer@pengutronix.de>
Thu, 7 May 2009 14:19:20 +0000 (16:19 +0200)
Add 1-wire support for MX27ADS board

Signed-off-by: Vladimir Barinov <vbarinov@embeddedalley.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mx2/mx27ads.c

index 41d67f2ba390f865f2996a2a0cbd9ca82987770c..90268a51f1faf258615997d3468aed932f2a15e5 100644 (file)
@@ -121,6 +121,8 @@ static unsigned int mx27ads_pins[] = {
        PA29_PF_VSYNC,
        PA30_PF_CONTRAST,
        PA31_PF_OE_ACD,
+       /* OWIRE */
+       PE16_AF_OWIRE,
 };
 
 static struct mxc_nand_platform_data mx27ads_nand_board_info = {
@@ -200,6 +202,7 @@ static struct imx_fb_platform_data mx27ads_fb_data = {
 static struct platform_device *platform_devices[] __initdata = {
        &mx27ads_nor_mtd_device,
        &mxc_fec_device,
+       &mxc_w1_master_device,
 };
 
 static struct imxuart_platform_data uart_pdata[] = {