Skip to content

Commit

Permalink
ARM: MX3: add I2C support for lilly-1131
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
  • Loading branch information
Daniel Mack authored and Sascha Hauer committed May 26, 2009
1 parent 38160e0 commit 4193d2d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/arm/mach-mx3/mx31lilly.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ static struct platform_device physmap_flash_device = {
static struct platform_device *devices[] __initdata = {
&smsc91x_device,
&physmap_flash_device,
&mxc_i2c_device1,
};

static int mx31lilly_baseboard;
Expand All @@ -127,6 +128,8 @@ static void __init mx31lilly_board_init(void)
}

mxc_iomux_alloc_pin(MX31_PIN_CS4__CS4, "Ethernet CS");
mxc_iomux_alloc_pin(MX31_PIN_CSPI2_MOSI__SCL, "I2C SCL");
mxc_iomux_alloc_pin(MX31_PIN_CSPI2_MISO__SDA, "I2C SDA");

platform_add_devices(devices, ARRAY_SIZE(devices));
}
Expand Down

0 comments on commit 4193d2d

Please sign in to comment.