patch-2.4.4 linux/include/asm-arm/arch-sa1100/bitsy.h

Next file: linux/include/asm-arm/arch-sa1100/dma.h
Previous file: linux/include/asm-arm/arch-sa1100/assabet.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/include/asm-arm/arch-sa1100/bitsy.h linux/include/asm-arm/arch-sa1100/bitsy.h
@@ -1,6 +1,9 @@
 #ifndef _INCLUDE_BITSY_H_
 #define _INCLUDE_BITSY_H_
 
+#define GPIO_BITSY_NPOWER_BUTTON    GPIO_GPIO (0)
+#define GPIO_BITSY_ACTION_BUTTON    GPIO_GPIO (18)
+
 #define GPIO_BITSY_PCMCIA_CD0  GPIO_GPIO (17)
 #define GPIO_BITSY_PCMCIA_CD1  GPIO_GPIO (10)
 #define GPIO_BITSY_PCMCIA_IRQ0 GPIO_GPIO (21)
@@ -15,6 +18,9 @@
 #define GPIO_BITSY_L3_MODE     GPIO_GPIO (15)
 
 
+
+#define IRQ_GPIO_BITSY_NPOWER_BUTTON    IRQ_GPIO0
+#define IRQ_GPIO_BITSY_ACTION_BUTTON    IRQ_GPIO18
 #define IRQ_GPIO_BITSY_PCMCIA_CD0	IRQ_GPIO17
 #define IRQ_GPIO_BITSY_PCMCIA_CD1	IRQ_GPIO10
 #define IRQ_GPIO_BITSY_PCMCIA_IRQ0	IRQ_GPIO21

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)