add definition of EGPIO_LCD_INIT

This commit is contained in:
ichiro 2001-07-08 14:41:14 +00:00
parent 46683adc25
commit 0e7c688b67
1 changed files with 11 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: sa11x0_gpioreg.h,v 1.8 2001/07/08 10:36:31 ichiro Exp $ */
/* $NetBSD: sa11x0_gpioreg.h,v 1.9 2001/07/08 14:41:14 ichiro Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc. All rights reserved.
@ -124,6 +124,7 @@ Extended GPIO
#define GPIO_H3600_OPT_IRQ GPIO (24)
#define GPIO_H3600_OPT_DETECT GPIO (27)
#define EGPIO_H3600_VPEN GPIO (0)
#define EGPIO_H3600_CARD_RESET GPIO (1)
#define EGPIO_H3600_OPT_RESET GPIO (2)
#define EGPIO_H3600_CODEC_RESET GPIO (3)
@ -140,11 +141,16 @@ Extended GPIO
#define EGPIO_H3600_LCD5_ON GPIO (14)
#define EGPIO_H3600_LVDD_ON GPIO (15)
#define EGPIO_INIT EGPIO_H3600_OPT_RESET| \
EGPIO_H3600_OPT_NVRAM_ON|\
EGPIO_H3600_OPT_ON| \
EGPIO_H3600_LCD_PCI
#define EGPIO_INIT (EGPIO_H3600_OPT_NVRAM_ON| \
EGPIO_H3600_LCD33_ON| \
EGPIO_H3600_LCD_PCI| \
EGPIO_H3600_AUD_ON) & 0xFFFF
#define EGPIO_LCD_INIT EGPIO_H3600_LCD33_ON| \
EGPIO_H3600_LCD_PCI| \
EGPIO_H3600_LCD5_ON| \
EGPIO_H3600_LVDD_ON
#define IRQ_H3600_POWER_BUTTON IRQ_GPIO0
#define IRQ_H3600_PCMCIA_CD0 IRQ_GPIO17
#define IRQ_H3600_PCMCIA_CD1 IRQ_GPIO10