diff options
author | Alberto Panizzo <maramaopercheseimorto@gmail.com> | 2009-10-15 13:31:07 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-11-14 04:29:12 -0500 |
commit | e9a6c5d0c8c3f7f4d4ed5c5b1514327d58b76df3 (patch) | |
tree | 7917a5cfaabb1255a46fb9c93a9f957dfd92a11a /arch/arm/mach-mx3 | |
parent | 07299ca323022be10ccd56055704de3717b8fe69 (diff) |
Armadillo500 Add i2c second bus support.
This add pin allocation an device registration for the
second bus i2c.
Signed-off-by: Alberto Panizzo <maramaopercheseimorto@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx3')
-rw-r--r-- | arch/arm/mach-mx3/armadillo5x0.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-mx3/armadillo5x0.c b/arch/arm/mach-mx3/armadillo5x0.c index bd4a0f90fb3c..fa973e40329e 100644 --- a/arch/arm/mach-mx3/armadillo5x0.c +++ b/arch/arm/mach-mx3/armadillo5x0.c | |||
@@ -99,7 +99,11 @@ static int armadillo5x0_pins[] = { | |||
99 | MX31_PIN_FPSHIFT__FPSHIFT, | 99 | MX31_PIN_FPSHIFT__FPSHIFT, |
100 | MX31_PIN_DRDY0__DRDY0, | 100 | MX31_PIN_DRDY0__DRDY0, |
101 | IOMUX_MODE(MX31_PIN_LCS1, IOMUX_CONFIG_GPIO), /*ADV7125_PSAVE*/ | 101 | IOMUX_MODE(MX31_PIN_LCS1, IOMUX_CONFIG_GPIO), /*ADV7125_PSAVE*/ |
102 | /* I2C2 */ | ||
103 | MX31_PIN_CSPI2_MOSI__SCL, | ||
104 | MX31_PIN_CSPI2_MISO__SDA, | ||
102 | }; | 105 | }; |
106 | |||
103 | /* GPIO BUTTONS */ | 107 | /* GPIO BUTTONS */ |
104 | static struct gpio_keys_button armadillo5x0_buttons[] = { | 108 | static struct gpio_keys_button armadillo5x0_buttons[] = { |
105 | { | 109 | { |
@@ -332,6 +336,7 @@ static struct imxuart_platform_data uart_pdata = { | |||
332 | 336 | ||
333 | static struct platform_device *devices[] __initdata = { | 337 | static struct platform_device *devices[] __initdata = { |
334 | &armadillo5x0_smc911x_device, | 338 | &armadillo5x0_smc911x_device, |
339 | &mxc_i2c_device1, | ||
335 | &armadillo5x0_button_device, | 340 | &armadillo5x0_button_device, |
336 | }; | 341 | }; |
337 | 342 | ||