aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ixp4xx/goramo_mlr.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-ixp4xx/goramo_mlr.c')
-rw-r--r--arch/arm/mach-ixp4xx/goramo_mlr.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-ixp4xx/goramo_mlr.c b/arch/arm/mach-ixp4xx/goramo_mlr.c
index e54ff491c105..5a635c657ea2 100644
--- a/arch/arm/mach-ixp4xx/goramo_mlr.c
+++ b/arch/arm/mach-ixp4xx/goramo_mlr.c
@@ -17,6 +17,13 @@
17#include <asm/mach/pci.h> 17#include <asm/mach/pci.h>
18#include <asm/system_info.h> 18#include <asm/system_info.h>
19 19
20#define IXP4XX_GPIO_OUT 0x1
21#define IXP4XX_GPIO_IN 0x2
22
23void gpio_line_config(u8 line, u32 direction);
24void gpio_line_get(u8 line, int *value);
25void gpio_line_set(u8 line, int value);
26
20#define SLOT_ETHA 0x0B /* IDSEL = AD21 */ 27#define SLOT_ETHA 0x0B /* IDSEL = AD21 */
21#define SLOT_ETHB 0x0C /* IDSEL = AD20 */ 28#define SLOT_ETHB 0x0C /* IDSEL = AD20 */
22#define SLOT_MPCI 0x0D /* IDSEL = AD19 */ 29#define SLOT_MPCI 0x0D /* IDSEL = AD19 */