Skip to content

Commit

Permalink
Armadillo500 Add i2c second bus support.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alberto Panizzo authored and Sascha Hauer committed Nov 14, 2009
1 parent 07299ca commit e9a6c5d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/arm/mach-mx3/armadillo5x0.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,11 @@ static int armadillo5x0_pins[] = {
MX31_PIN_FPSHIFT__FPSHIFT,
MX31_PIN_DRDY0__DRDY0,
IOMUX_MODE(MX31_PIN_LCS1, IOMUX_CONFIG_GPIO), /*ADV7125_PSAVE*/
/* I2C2 */
MX31_PIN_CSPI2_MOSI__SCL,
MX31_PIN_CSPI2_MISO__SDA,
};

/* GPIO BUTTONS */
static struct gpio_keys_button armadillo5x0_buttons[] = {
{
Expand Down Expand Up @@ -332,6 +336,7 @@ static struct imxuart_platform_data uart_pdata = {

static struct platform_device *devices[] __initdata = {
&armadillo5x0_smc911x_device,
&mxc_i2c_device1,
&armadillo5x0_button_device,
};

Expand Down

0 comments on commit e9a6c5d

Please sign in to comment.