/* * Hardware definitions for Voipac PXA270 * * Copyright (C) 2010 * Marek Vasut * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "generic.h" #include "devices.h" /****************************************************************************** * Pin configuration ******************************************************************************/ static unsigned long vpac270_pin_config[] __initdata = { /* MMC */ GPIO32_MMC_CLK, GPIO92_MMC_DAT_0, GPIO109_MMC_DAT_1, GPIO110_MMC_DAT_2, GPIO111_MMC_DAT_3, GPIO112_MMC_CMD, GPIO53_GPIO, /* SD detect */ GPIO52_GPIO, /* SD r/o switch */ /* GPIO KEYS */ GPIO1_GPIO, /* USER BTN */ /* LEDs */ GPIO15_GPIO, /* orange led */ /* FFUART */ GPIO34_FFUART_RXD, GPIO39_FFUART_TXD, GPIO27_FFUART_RTS, GPIO100_FFUART_CTS, GPIO33_FFUART_DSR, GPIO40_FFUART_DTR, GPIO10_FFUART_DCD, GPIO38_FFUART_RI, /* LCD */ GPIO58_LCD_LDD_0, GPIO59_LCD_LDD_1, GPIO60_LCD_LDD_2, GPIO61_LCD_LDD_3, GPIO62_LCD_LDD_4, GPIO63_LCD_LDD_5, GPIO64_LCD_LDD_6, GPIO65_LCD_LDD_7, GPIO66_LCD_LDD_8, GPIO67_LCD_LDD_9, GPIO68_LCD_LDD_10, GPIO69_LCD_LDD_11, GPIO70_LCD_LDD_12, GPIO71_LCD_LDD_13, GPIO72_LCD_LDD_14, GPIO73_LCD_LDD_15, GPIO86_LCD_LDD_16, GPIO87_LCD_LDD_17, GPIO74_LCD_FCLK, GPIO75_LCD_LCLK, GPIO76_LCD_PCLK, GPIO77_LCD_BIAS, /* PCMCIA */ GPIO48_nPOE, GPIO49_nPWE, GPIO50_nPIOR, GPIO51_nPIOW, GPIO85_nPCE_1, GPIO54_nPCE_2, GPIO55_nPREG, GPIO57_nIOIS16, GPIO56_nPWAIT, GPIO104_PSKTSEL, GPIO84_GPIO, /* PCMCIA CD */ GPIO35_GPIO, /* PCMCIA RDY */ GPIO107_GPIO, /* PCMCIA PPEN */ GPIO11_GPIO, /* PCMCIA RESET */ GPIO17_GPIO, /* CF CD */ GPIO12_GPIO, /* CF RDY */ GPIO16_GPIO, /* CF RESET */ /* UHC */ GPIO88_USBH1_PWR, GPIO89_USBH1_PEN, GPIO119_USBH2_PWR, GPIO120_USBH2_PEN, /* UDC */ GPIO41_GPIO, /* Ethernet */ GPIO114_GPIO, /* IRQ */ /* AC97 */ GPIO28_AC97_BITCLK,