aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs/mach-mx28evk.c
diff options
context:
space:
mode:
authorDong Aisheng <b29396@freescale.com>2011-07-19 23:41:42 -0400
committerSascha Hauer <s.hauer@pengutronix.de>2011-08-23 02:56:13 -0400
commitc8ebcac823bb0246c42168c277069356432efd34 (patch)
tree398581f4d38b1fef34a5cfce7f6e9418428471ce /arch/arm/mach-mxs/mach-mx28evk.c
parentcf66ea8e14b753f1c4d38322d3e52f8838528091 (diff)
ARM: mxs: add saif device
Signed-off-by: Dong Aisheng <b29396@freescale.com> Cc: Sascha Hauer <s.hauer@pengutronix.de> Reviewed-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mxs/mach-mx28evk.c')
-rw-r--r--arch/arm/mach-mxs/mach-mx28evk.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/mach-mx28evk.c b/arch/arm/mach-mxs/mach-mx28evk.c
index eaaf6ff28990..1e5fda94d96c 100644
--- a/arch/arm/mach-mxs/mach-mx28evk.c
+++ b/arch/arm/mach-mxs/mach-mx28evk.c
@@ -183,6 +183,18 @@ static const iomux_cfg_t mx28evk_pads[] __initconst = {
183 183
184 /* led */ 184 /* led */
185 MX28_PAD_AUART1_TX__GPIO_3_5 | MXS_PAD_CTRL, 185 MX28_PAD_AUART1_TX__GPIO_3_5 | MXS_PAD_CTRL,
186
187 /* saif0 & saif1 */
188 MX28_PAD_SAIF0_MCLK__SAIF0_MCLK |
189 (MXS_PAD_12MA | MXS_PAD_3V3 | MXS_PAD_PULLUP),
190 MX28_PAD_SAIF0_LRCLK__SAIF0_LRCLK |
191 (MXS_PAD_12MA | MXS_PAD_3V3 | MXS_PAD_PULLUP),
192 MX28_PAD_SAIF0_BITCLK__SAIF0_BITCLK |
193 (MXS_PAD_12MA | MXS_PAD_3V3 | MXS_PAD_PULLUP),
194 MX28_PAD_SAIF0_SDATA0__SAIF0_SDATA0 |
195 (MXS_PAD_12MA | MXS_PAD_3V3 | MXS_PAD_PULLUP),
196 MX28_PAD_SAIF1_SDATA0__SAIF1_SDATA0 |
197 (MXS_PAD_12MA | MXS_PAD_3V3 | MXS_PAD_PULLUP),
186}; 198};
187 199
188/* led */ 200/* led */
@@ -392,6 +404,9 @@ static void __init mx28evk_init(void)
392 404
393 mx28_add_mxsfb(&mx28evk_mxsfb_pdata); 405 mx28_add_mxsfb(&mx28evk_mxsfb_pdata);
394 406
407 mx28_add_saif(0);
408 mx28_add_saif(1);
409
395 /* power on mmc slot by writing 0 to the gpio */ 410 /* power on mmc slot by writing 0 to the gpio */
396 ret = gpio_request_one(MX28EVK_MMC0_SLOT_POWER, GPIOF_OUT_INIT_LOW, 411 ret = gpio_request_one(MX28EVK_MMC0_SLOT_POWER, GPIOF_OUT_INIT_LOW,
397 "mmc0-slot-power"); 412 "mmc0-slot-power");