Path: blob/master/arch/arm/mach-pxa/include/mach/eseries-gpio.h
10820 views
/*1* eseries-gpio.h2*3* Copyright (C) Ian Molton <[email protected]>4*5* This program is free software; you can redistribute it and/or modify6* it under the terms of the GNU General Public License version 2 as7* published by the Free Software Foundation.8*9*/1011/* e-series power button */12#define GPIO_ESERIES_POWERBTN 01314/* UDC GPIO definitions */15#define GPIO_E7XX_USB_DISC 1316#define GPIO_E7XX_USB_PULLUP 31718#define GPIO_E800_USB_DISC 419#define GPIO_E800_USB_PULLUP 842021/* e740 PCMCIA GPIO definitions */22/* Note: PWR1 seems to be inverted */23#define GPIO_E740_PCMCIA_CD0 824#define GPIO_E740_PCMCIA_CD1 4425#define GPIO_E740_PCMCIA_RDY0 1126#define GPIO_E740_PCMCIA_RDY1 627#define GPIO_E740_PCMCIA_RST0 2728#define GPIO_E740_PCMCIA_RST1 2429#define GPIO_E740_PCMCIA_PWR0 2030#define GPIO_E740_PCMCIA_PWR1 233132/* e750 PCMCIA GPIO definitions */33#define GPIO_E750_PCMCIA_CD0 834#define GPIO_E750_PCMCIA_RDY0 1235#define GPIO_E750_PCMCIA_RST0 2736#define GPIO_E750_PCMCIA_PWR0 203738/* e800 PCMCIA GPIO definitions */39#define GPIO_E800_PCMCIA_RST0 6940#define GPIO_E800_PCMCIA_RST1 7241#define GPIO_E800_PCMCIA_PWR0 2042#define GPIO_E800_PCMCIA_PWR1 734344/* e7xx IrDA power control */45#define GPIO_E7XX_IR_OFF 384647/* e740 audio control GPIOs */48#define GPIO_E740_WM9705_nAVDD2 1649#define GPIO_E740_MIC_ON 4050#define GPIO_E740_AMP_ON 415152/* e750 audio control GPIOs */53#define GPIO_E750_HP_AMP_OFF 454#define GPIO_E750_SPK_AMP_OFF 755#define GPIO_E750_HP_DETECT 375657/* e800 audio control GPIOs */58#define GPIO_E800_HP_DETECT 8159#define GPIO_E800_HP_AMP_OFF 8260#define GPIO_E800_SPK_AMP_ON 836162/* ASIC related GPIOs */63#define GPIO_ESERIES_TMIO_IRQ 564#define GPIO_ESERIES_TMIO_PCLR 1965#define GPIO_ESERIES_TMIO_SUSPEND 4566#define GPIO_E800_ANGELX_IRQ 8676869