aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx3/mx31lilly.c
diff options
context:
space:
mode:
authorDaniel Mack <daniel@caiaq.de>2009-05-20 13:54:39 -0400
committerSascha Hauer <s.hauer@pengutronix.de>2009-05-26 06:31:55 -0400
commit4193d2d2d7c8307803d035932d5e33d848a96951 (patch)
tree4eb89c956282c5ba8821b495dfa904a2f22e1643 /arch/arm/mach-mx3/mx31lilly.c
parent38160e0b0126565947e986701ae1bdbff01f121d (diff)
ARM: MX3: add I2C support for lilly-1131
Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx3/mx31lilly.c')
-rw-r--r--arch/arm/mach-mx3/mx31lilly.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-mx3/mx31lilly.c b/arch/arm/mach-mx3/mx31lilly.c
index f15a2eb7bd8b..6ab2f163cb95 100644
--- a/arch/arm/mach-mx3/mx31lilly.c
+++ b/arch/arm/mach-mx3/mx31lilly.c
@@ -108,6 +108,7 @@ static struct platform_device physmap_flash_device = {
108static struct platform_device *devices[] __initdata = { 108static struct platform_device *devices[] __initdata = {
109 &smsc91x_device, 109 &smsc91x_device,
110 &physmap_flash_device, 110 &physmap_flash_device,
111 &mxc_i2c_device1,
111}; 112};
112 113
113static int mx31lilly_baseboard; 114static int mx31lilly_baseboard;
@@ -127,6 +128,8 @@ static void __init mx31lilly_board_init(void)
127 } 128 }
128 129
129 mxc_iomux_alloc_pin(MX31_PIN_CS4__CS4, "Ethernet CS"); 130 mxc_iomux_alloc_pin(MX31_PIN_CS4__CS4, "Ethernet CS");
131 mxc_iomux_alloc_pin(MX31_PIN_CSPI2_MOSI__SCL, "I2C SCL");
132 mxc_iomux_alloc_pin(MX31_PIN_CSPI2_MISO__SDA, "I2C SDA");
130 133
131 platform_add_devices(devices, ARRAY_SIZE(devices)); 134 platform_add_devices(devices, ARRAY_SIZE(devices));
132} 135}