summaryrefslogtreecommitdiff
path: root/src/mainboard/asus/p8x7x-series/variants
diff options
context:
space:
mode:
authorKeith Hui <buurin@gmail.com>2024-04-14 19:57:45 -0400
committerFelix Held <felix-coreboot@felixheld.de>2024-04-18 10:57:23 +0000
commitb93d6676d379897d4fdde630fc36d667036f8c8a (patch)
treeab435fe82c84dfde93695ef8bfa71f000828d678 /src/mainboard/asus/p8x7x-series/variants
parentf2107579ffbd0858b20e9c832dd731c01ff327bd (diff)
mb/asus/p8z77-m[_pro]: Correct PCH GPIO config
According to a boardview, GPIO27 is connected to the front panel power LED, and should be output. It will be made to blink before entering S3 suspend in a follow-up. Change-Id: I7e47f63999e8c0bfbd37e3273d33c00bc035bcbb Signed-off-by: Keith Hui <buurin@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81921 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Diffstat (limited to 'src/mainboard/asus/p8x7x-series/variants')
-rw-r--r--src/mainboard/asus/p8x7x-series/variants/p8z77-m/gpio.c3
-rw-r--r--src/mainboard/asus/p8x7x-series/variants/p8z77-m_pro/gpio.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/mainboard/asus/p8x7x-series/variants/p8z77-m/gpio.c b/src/mainboard/asus/p8x7x-series/variants/p8z77-m/gpio.c
index c1012e3f82..2c71c6adc4 100644
--- a/src/mainboard/asus/p8x7x-series/variants/p8z77-m/gpio.c
+++ b/src/mainboard/asus/p8x7x-series/variants/p8z77-m/gpio.c
@@ -50,7 +50,7 @@ static const struct pch_gpio_set1 pch_gpio_set1_direction = {
.gpio17 = GPIO_DIR_INPUT,
.gpio21 = GPIO_DIR_INPUT,
.gpio24 = GPIO_DIR_OUTPUT,
- .gpio27 = GPIO_DIR_INPUT,
+ .gpio27 = GPIO_DIR_OUTPUT,
.gpio28 = GPIO_DIR_OUTPUT,
.gpio29 = GPIO_DIR_OUTPUT,
.gpio31 = GPIO_DIR_OUTPUT,
@@ -61,6 +61,7 @@ static const struct pch_gpio_set1 pch_gpio_set1_level = {
.gpio12 = GPIO_LEVEL_LOW,
.gpio15 = GPIO_LEVEL_LOW,
.gpio24 = GPIO_LEVEL_LOW,
+ .gpio27 = GPIO_LEVEL_HIGH,
.gpio28 = GPIO_LEVEL_LOW,
.gpio29 = GPIO_LEVEL_HIGH,
.gpio31 = GPIO_LEVEL_HIGH,
diff --git a/src/mainboard/asus/p8x7x-series/variants/p8z77-m_pro/gpio.c b/src/mainboard/asus/p8x7x-series/variants/p8z77-m_pro/gpio.c
index 2455bd6711..da76f78d41 100644
--- a/src/mainboard/asus/p8x7x-series/variants/p8z77-m_pro/gpio.c
+++ b/src/mainboard/asus/p8x7x-series/variants/p8z77-m_pro/gpio.c
@@ -50,7 +50,7 @@ static const struct pch_gpio_set1 pch_gpio_set1_direction = {
.gpio17 = GPIO_DIR_INPUT,
.gpio21 = GPIO_DIR_INPUT,
.gpio24 = GPIO_DIR_OUTPUT,
- .gpio27 = GPIO_DIR_INPUT,
+ .gpio27 = GPIO_DIR_OUTPUT,
.gpio28 = GPIO_DIR_OUTPUT,
.gpio29 = GPIO_DIR_OUTPUT,
.gpio31 = GPIO_DIR_OUTPUT,
@@ -61,6 +61,7 @@ static const struct pch_gpio_set1 pch_gpio_set1_level = {
.gpio12 = GPIO_LEVEL_LOW,
.gpio15 = GPIO_LEVEL_LOW,
.gpio24 = GPIO_LEVEL_LOW,
+ .gpio27 = GPIO_LEVEL_HIGH,
.gpio28 = GPIO_LEVEL_LOW,
.gpio29 = GPIO_LEVEL_HIGH,
.gpio31 = GPIO_LEVEL_HIGH,