diff options
author | Valentin Longchamp <valentin.longchamp@epfl.ch> | 2009-04-22 04:55:50 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-05-07 10:17:35 -0400 |
commit | 56c7a45bee7313d49dd58465492cdbd49fea8e16 (patch) | |
tree | 27b1b86e9fa6e2971c21b1fcd8c25983b96b39b4 /arch/arm/mach-mx3/mx31moboard.c | |
parent | f801079b2b8790a9f096151e2ca1d1239a24d9e4 (diff) |
mx31moboard: setup all pins (v2)
As suggested by Sascha, here we setup all the pins that we are using in
the current (and currently reviewed) drivers for mx31moboard system.
changes since v1: changed I2C1 pin names
Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx3/mx31moboard.c')
-rw-r--r-- | arch/arm/mach-mx3/mx31moboard.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/mach-mx3/mx31moboard.c b/arch/arm/mach-mx3/mx31moboard.c index 623df170a69d..60a51459d583 100644 --- a/arch/arm/mach-mx3/mx31moboard.c +++ b/arch/arm/mach-mx3/mx31moboard.c | |||
@@ -42,6 +42,27 @@ static unsigned int moboard_pins[] = { | |||
42 | /* UART4 */ | 42 | /* UART4 */ |
43 | MX31_PIN_PC_RST__CTS5, MX31_PIN_PC_VS2__RTS5, | 43 | MX31_PIN_PC_RST__CTS5, MX31_PIN_PC_VS2__RTS5, |
44 | MX31_PIN_PC_BVD2__TXD5, MX31_PIN_PC_BVD1__RXD5, | 44 | MX31_PIN_PC_BVD2__TXD5, MX31_PIN_PC_BVD1__RXD5, |
45 | /* I2C0 */ | ||
46 | MX31_PIN_I2C_DAT__I2C1_SDA, MX31_PIN_I2C_CLK__I2C1_SCL, | ||
47 | /* I2C1 */ | ||
48 | MX31_PIN_DCD_DTE1__I2C2_SDA, MX31_PIN_RI_DTE1__I2C2_SCL, | ||
49 | /* SDHC1 */ | ||
50 | MX31_PIN_SD1_DATA3__SD1_DATA3, MX31_PIN_SD1_DATA2__SD1_DATA2, | ||
51 | MX31_PIN_SD1_DATA1__SD1_DATA1, MX31_PIN_SD1_DATA0__SD1_DATA0, | ||
52 | MX31_PIN_SD1_CLK__SD1_CLK, MX31_PIN_SD1_CMD__SD1_CMD, | ||
53 | MX31_PIN_ATA_CS0__GPIO3_26, MX31_PIN_ATA_CS1__GPIO3_27, | ||
54 | /* USB OTG */ | ||
55 | MX31_PIN_USBOTG_DATA0__USBOTG_DATA0, | ||
56 | MX31_PIN_USBOTG_DATA1__USBOTG_DATA1, | ||
57 | MX31_PIN_USBOTG_DATA2__USBOTG_DATA2, | ||
58 | MX31_PIN_USBOTG_DATA3__USBOTG_DATA3, | ||
59 | MX31_PIN_USBOTG_DATA4__USBOTG_DATA4, | ||
60 | MX31_PIN_USBOTG_DATA5__USBOTG_DATA5, | ||
61 | MX31_PIN_USBOTG_DATA6__USBOTG_DATA6, | ||
62 | MX31_PIN_USBOTG_DATA7__USBOTG_DATA7, | ||
63 | MX31_PIN_USBOTG_CLK__USBOTG_CLK, MX31_PIN_USBOTG_DIR__USBOTG_DIR, | ||
64 | MX31_PIN_USBOTG_NXT__USBOTG_NXT, MX31_PIN_USBOTG_STP__USBOTG_STP, | ||
65 | MX31_PIN_USB_OC__GPIO1_30, | ||
45 | }; | 66 | }; |
46 | 67 | ||
47 | static struct physmap_flash_data mx31moboard_flash_data = { | 68 | static struct physmap_flash_data mx31moboard_flash_data = { |