]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP2: Add pin multiplexing configuration for OMAP34xx I2C pins
authorJarkko Nikula <jarkko.nikula@nokia.com>
Tue, 10 Jun 2008 21:54:58 +0000 (14:54 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 10 Jun 2008 21:54:58 +0000 (14:54 -0700)
ARM: OMAP2: Add pin multiplexing configuration for OMAP34xx I2C pins

Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/mux.c
include/asm-arm/arch-omap/mux.h

index 6919d5232edf0c425ee49d458dfbf63ccb78ee72..5a68fb35dbb50e404316455b6fd5f1ce6be0c726 100644 (file)
@@ -226,6 +226,24 @@ static struct pin_config __initdata_or_module omap34xx_pins[] = {
  *             mux-mode | [active-mode | off-mode]
  */
 
+/* 34xx I2C */
+MUX_CFG_34XX("K21_34XX_I2C1_SCL", 0x1ba,
+               OMAP34XX_MUX_MODE0 | OMAP34XX_PIN_INPUT_PULLUP)
+MUX_CFG_34XX("J21_34XX_I2C1_SDA", 0x1bc,
+               OMAP34XX_MUX_MODE0 | OMAP34XX_PIN_INPUT_PULLUP)
+MUX_CFG_34XX("AF15_34XX_I2C2_SCL", 0x1be,
+               OMAP34XX_MUX_MODE0 | OMAP34XX_PIN_INPUT_PULLUP)
+MUX_CFG_34XX("AE15_34XX_I2C2_SDA", 0x1c0,
+               OMAP34XX_MUX_MODE0 | OMAP34XX_PIN_INPUT_PULLUP)
+MUX_CFG_34XX("AF14_34XX_I2C3_SCL", 0x1c2,
+               OMAP34XX_MUX_MODE0 | OMAP34XX_PIN_INPUT_PULLUP)
+MUX_CFG_34XX("AG14_34XX_I2C3_SDA", 0x1c4,
+               OMAP34XX_MUX_MODE0 | OMAP34XX_PIN_INPUT_PULLUP)
+MUX_CFG_34XX("AD26_34XX_I2C4_SCL", 0xa00,
+               OMAP34XX_MUX_MODE0 | OMAP34XX_PIN_INPUT_PULLUP)
+MUX_CFG_34XX("AE26_34XX_I2C4_SDA", 0xa02,
+               OMAP34XX_MUX_MODE0 | OMAP34XX_PIN_INPUT_PULLUP)
+
 /* PHY - HSUSB: 12-pin ULPI PHY: Port 1*/
 MUX_CFG_34XX("Y8_3430_USB1HS_PHY_CLK", 0x5da,
                OMAP34XX_MUX_MODE3 | OMAP34XX_PIN_OUTPUT)
index ad39b0b61bff1a7abfa8d22026bdc22d722fceec..7a51aa099405aac2dd680e926731b330a3104d3f 100644 (file)
@@ -644,6 +644,15 @@ enum omap24xx_index {
 };
 
 enum omap34xx_index {
+       /* 34xx I2C */
+       K21_34XX_I2C1_SCL,
+       J21_34XX_I2C1_SDA,
+       AF15_34XX_I2C2_SCL,
+       AE15_34XX_I2C2_SDA,
+       AF14_34XX_I2C3_SCL,
+       AG14_34XX_I2C3_SDA,
+       AD26_34XX_I2C4_SCL,
+       AE26_34XX_I2C4_SDA,
 
        /* PHY - HSUSB: 12-pin ULPI PHY: Port 1*/
        Y8_3430_USB1HS_PHY_CLK,