summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/google/brya/Kconfig3
-rw-r--r--src/mainboard/google/brya/variants/hades/gpio.c20
-rw-r--r--src/mainboard/google/brya/variants/hades/overridetree.cb2
-rw-r--r--src/mainboard/google/brya/variants/hades/variant.c2
4 files changed, 14 insertions, 13 deletions
diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig
index 7078d5e2c1..9aa3254795 100644
--- a/src/mainboard/google/brya/Kconfig
+++ b/src/mainboard/google/brya/Kconfig
@@ -174,7 +174,8 @@ config FMDFILE
config TPM_TIS_ACPI_INTERRUPT
int
- default 13 # GPE0_DW0_13 (GPP_A13_IRQ)
+ default 13 if !BOARD_GOOGLE_BASEBOARD_HADES # GPE0_DW0_13 (GPP_A13_IRQ)
+ default 20 if BOARD_GOOGLE_BASEBOARD_HADES # GPE0_DW0_20 (GPP_A20_IRQ)
config OVERRIDE_DEVICETREE
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
diff --git a/src/mainboard/google/brya/variants/hades/gpio.c b/src/mainboard/google/brya/variants/hades/gpio.c
index bb9309f498..e0588c345f 100644
--- a/src/mainboard/google/brya/variants/hades/gpio.c
+++ b/src/mainboard/google/brya/variants/hades/gpio.c
@@ -28,8 +28,8 @@ static const struct pad_config gpio_table[] = {
PAD_CFG_GPO(GPP_A11, 1, DEEP),
/* GPP_A12 : [] ==> EN_PP3300_LAN_X */
PAD_CFG_GPO(GPP_A12, 1, DEEP),
- /* GPP_A13 : [] ==> GSC_PCH_INT_ODL */
- PAD_CFG_GPI_APIC_LOCK(GPP_A13, NONE, LEVEL, INVERT, LOCK_CONFIG),
+ /* GPP_A13 : [] ==> BT_DISABLE_L */
+ PAD_CFG_GPO(GPP_A13, 1, DEEP),
/* GPP_A14 : [] ==> EC_USB_PCH_C0_OC_ODL */
PAD_CFG_NF(GPP_A14, NONE, DEEP, NF1),
/* GPP_A15 : [] ==> EC_USB_PCH_C1_OC_ODL */
@@ -42,8 +42,8 @@ static const struct pad_config gpio_table[] = {
PAD_CFG_NF(GPP_A18, NONE, DEEP, NF1),
/* GPP_A19 : [] ==> EN_PCH_PPVAR_GPU_FBVDDQ_X */
PAD_CFG_GPO(GPP_A19, 0, PLTRST),
- /* GPP_A20 : [] ==> NC */
- PAD_NC(GPP_A20, NONE),
+ /* GPP_A20 : [] ==> GSC_PCH_INT_ODL */
+ PAD_CFG_GPI_APIC_LOCK(GPP_A20, NONE, LEVEL, INVERT, LOCK_CONFIG),
/* GPP_A21 : [] ==> NC */
PAD_NC(GPP_A21, NONE),
/* GPP_A22 : [] ==> NC */
@@ -125,8 +125,8 @@ static const struct pad_config gpio_table[] = {
PAD_CFG_GPO(GPP_D2, 1, DEEP),
/* GPP_D3 : [] ==> PS_NVVDD_TALERT_ODL */
PAD_CFG_GPI(GPP_D3, NONE, PLTRST),
- /* GPP_D4 : [] ==> BT_DISABLE_L */
- PAD_CFG_GPO(GPP_D4, 1, DEEP),
+ /* GPP_D4 : [] ==> NC */
+ PAD_NC(GPP_D4, NONE),
/* GPP_D5 : [] ==> GPU_CLKREQ_ODL */
PAD_CFG_NF(GPP_D5, NONE, PLTRST, NF1),
/* GPP_D6 : [] ==> PCIE_SSD_CLKREQ_ODL */
@@ -164,8 +164,8 @@ static const struct pad_config gpio_table[] = {
PAD_CFG_GPO(GPP_E1, 0, PLTRST),
/* GPP_E2 : [] ==> PG_PP3300_GPU_X_OD */
PAD_CFG_GPI_LOCK(GPP_E2, NONE, LOCK_CONFIG),
- /* GPP_E3 : [] ==> PG_PPVAR_GPU_NVVDD_X_OD (board rev 3 and later) */
- PAD_CFG_GPI(GPP_E3, NONE, DEEP),
+ /* GPP_E3 : [] ==> WIFI_DISABLE_L */
+ PAD_CFG_GPO(GPP_E3, 1, DEEP),
/* GPP_E4 : [] ==> PG_PPVAR_GPU_FBVDDQ_X_OD */
PAD_CFG_GPI(GPP_E4, NONE, DEEP),
/* GPP_E5 : [] ==> PG_GPU_ALLRAILS */
@@ -174,8 +174,8 @@ static const struct pad_config gpio_table[] = {
PAD_NC_LOCK(GPP_E6, NONE, LOCK_CONFIG),
/* GPP_E7 : [] ==> NC */
PAD_NC(GPP_E7, NONE),
- /* GPP_E8 : [] ==> WIFI_DISABLE_L */
- PAD_CFG_GPO(GPP_E8, 1, DEEP),
+ /* GPP_E8 : [] ==> PG_PPVAR_GPU_NVVDD_X_OD */
+ PAD_CFG_GPI(GPP_E8, NONE, DEEP),
/* GPP_E9 : [] ==> USB_A1_OC_ODL */
PAD_CFG_NF_LOCK(GPP_E9, NONE, NF1, LOCK_CONFIG),
/* GPP_E10 : [] ==> EN_PPVAR_PEXVDD_GPU_X */
diff --git a/src/mainboard/google/brya/variants/hades/overridetree.cb b/src/mainboard/google/brya/variants/hades/overridetree.cb
index d91492adc3..9c9171c458 100644
--- a/src/mainboard/google/brya/variants/hades/overridetree.cb
+++ b/src/mainboard/google/brya/variants/hades/overridetree.cb
@@ -196,7 +196,7 @@ chip soc/intel/alderlake
device ref i2c3 on
chip drivers/i2c/tpm
register "hid" = ""GOOG0005""
- register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_A13_IRQ)"
+ register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_A20_IRQ)"
device i2c 50 on end
end
end
diff --git a/src/mainboard/google/brya/variants/hades/variant.c b/src/mainboard/google/brya/variants/hades/variant.c
index 6e980977f3..38ff79371e 100644
--- a/src/mainboard/google/brya/variants/hades/variant.c
+++ b/src/mainboard/google/brya/variants/hades/variant.c
@@ -17,7 +17,7 @@
#define GPU_3V3_PWR_EN GPP_E1
#define GPU_3V3_PG GPP_E2
#define NVVDD_PWR_EN GPP_E0
-#define NVVDD_PG GPP_E3
+#define NVVDD_PG GPP_E8
#define PEXVDD_PWR_EN GPP_E10
#define PEXVDD_PG GPP_E17
#define FBVDD_PWR_EN GPP_A19