ARM: plat-nomadik: Introduce new DB8540 GPIO registers
authorMaxime Coquelin <[email protected]>
Wed, 10 Oct 2012 11:59:02 +0000 (13:59 +0200)
committerLinus Walleij <[email protected]>
Sun, 28 Oct 2012 20:16:15 +0000 (21:16 +0100)
DB8540's GPIO controller introduce level detection
support for both interrupts and wakeups.

Signed-off-by: Maxime Coquelin <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
arch/arm/plat-nomadik/include/plat/gpio-nomadik.h

index c08a54d9d8897dd686462787d8d205206e00da84..cf81111b79a6b01d72c8266a1d67a392f07ef89f 100644 (file)
@@ -38,6 +38,9 @@
 #define NMK_GPIO_RWIMSC        0x50
 #define NMK_GPIO_FWIMSC        0x54
 #define NMK_GPIO_WKS   0x58
+/* These appear in DB8540 and later ASICs */
+#define NMK_GPIO_EDGELEVEL 0x5C
+#define NMK_GPIO_LEVEL 0x60
 
 /* Alternate functions: function C is set in hw by setting both A and B */
 #define NMK_GPIO_ALT_GPIO      0