~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to arch/arm/mach-orion5x/mss2-setup.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
193
193
/****************************************************************************
194
194
 * General Setup
195
195
 ****************************************************************************/
196
 
static struct orion5x_mpp_mode mss2_mpp_modes[] __initdata = {
197
 
        {  0, MPP_GPIO },               /* Power LED */
198
 
        {  1, MPP_GPIO },               /* Error LED */
199
 
        {  2, MPP_UNUSED },
200
 
        {  3, MPP_GPIO },               /* RTC interrupt */
201
 
        {  4, MPP_GPIO },               /* HDD ind. (Single/Dual)*/
202
 
        {  5, MPP_GPIO },               /* HD0 5V control */
203
 
        {  6, MPP_GPIO },               /* HD0 12V control */
204
 
        {  7, MPP_GPIO },               /* HD1 5V control */
205
 
        {  8, MPP_GPIO },               /* HD1 12V control */
206
 
        {  9, MPP_UNUSED },
207
 
        { 10, MPP_GPIO },               /* Fan control */
208
 
        { 11, MPP_GPIO },               /* Power button */
209
 
        { 12, MPP_GPIO },               /* Reset button */
210
 
        { 13, MPP_UNUSED },
211
 
        { 14, MPP_SATA_LED },           /* SATA 0 active */
212
 
        { 15, MPP_SATA_LED },           /* SATA 1 active */
213
 
        { 16, MPP_UNUSED },
214
 
        { 17, MPP_UNUSED },
215
 
        { 18, MPP_UNUSED },
216
 
        { 19, MPP_UNUSED },
217
 
        { -1 },
 
196
static unsigned int mss2_mpp_modes[] __initdata = {
 
197
        MPP0_GPIO,              /* Power LED */
 
198
        MPP1_GPIO,              /* Error LED */
 
199
        MPP2_UNUSED,
 
200
        MPP3_GPIO,              /* RTC interrupt */
 
201
        MPP4_GPIO,              /* HDD ind. (Single/Dual)*/
 
202
        MPP5_GPIO,              /* HD0 5V control */
 
203
        MPP6_GPIO,              /* HD0 12V control */
 
204
        MPP7_GPIO,              /* HD1 5V control */
 
205
        MPP8_GPIO,              /* HD1 12V control */
 
206
        MPP9_UNUSED,
 
207
        MPP10_GPIO,             /* Fan control */
 
208
        MPP11_GPIO,             /* Power button */
 
209
        MPP12_GPIO,             /* Reset button */
 
210
        MPP13_UNUSED,
 
211
        MPP14_SATA_LED,         /* SATA 0 active */
 
212
        MPP15_SATA_LED,         /* SATA 1 active */
 
213
        MPP16_UNUSED,
 
214
        MPP17_UNUSED,
 
215
        MPP18_UNUSED,
 
216
        MPP19_UNUSED,
 
217
        0,
218
218
};
219
219
 
220
220
static void __init mss2_init(void)