提交 748a2b72 编写于 作者: M Maxime Coquelin 提交者: Linus Walleij

ARM: plat-nomadik: Introduce new DB8540 GPIO registers

DB8540's GPIO controller introduce level detection
support for both interrupts and wakeups.
Signed-off-by: NMaxime Coquelin <maxime.coquelin@stericsson.com>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 8f0d8163
...@@ -38,6 +38,9 @@ ...@@ -38,6 +38,9 @@
#define NMK_GPIO_RWIMSC 0x50 #define NMK_GPIO_RWIMSC 0x50
#define NMK_GPIO_FWIMSC 0x54 #define NMK_GPIO_FWIMSC 0x54
#define NMK_GPIO_WKS 0x58 #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 */ /* Alternate functions: function C is set in hw by setting both A and B */
#define NMK_GPIO_ALT_GPIO 0 #define NMK_GPIO_ALT_GPIO 0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册