soc/amd/common/block/include/gpio_defs: add GPIO IRQ status registers

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I585691038690f1d6855ab09f1ca5791a18cfdbfe
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59590
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
This commit is contained in:
Felix Held 2021-11-23 10:12:56 +01:00
parent a31dbb8b8e
commit a8820c74b5
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,8 @@
#define GPIO_WAKE_STAT_0 0x2f0 #define GPIO_WAKE_STAT_0 0x2f0
#define GPIO_WAKE_STAT_1 0x2f4 #define GPIO_WAKE_STAT_1 0x2f4
#define GPIO_IRQ_STAT_0 0x2f8
#define GPIO_IRQ_STAT_1 0x2fc
#define GPIO_PIN_IN (1 << 0) /* for byte access */ #define GPIO_PIN_IN (1 << 0) /* for byte access */
#define GPIO_PIN_OUT (1 << 6) /* for byte access */ #define GPIO_PIN_OUT (1 << 6) /* for byte access */