Skip to content

Commit

Permalink
mb/system76/mtl: darp10: Configure SLP_LAN#
Browse files Browse the repository at this point in the history
Change-Id: Ie5c130b603099f4fd0ed5cf522e77b21d83e1656
Signed-off-by: Tim Crawford <[email protected]>
  • Loading branch information
crawfxrd committed Sep 26, 2024
1 parent 7c024f8 commit f06d44b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/mainboard/system76/mtl/variants/darp10/gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ static const struct pad_config gpio_table[] = {
PAD_CFG_NF(GPP_V09, NONE, DEEP, NF1), // SLP_WLAN#
PAD_NC(GPP_V10, NONE),
PAD_CFG_NF(GPP_V11, NONE, DEEP, NF1), // LANPHYPC
PAD_CFG_GPO(GPP_V12, 0, DEEP), // SLP_LAN#
PAD_CFG_NF(GPP_V12, NONE, DEEP, NF1), // SLP_LAN#
// GPP_V13 missing
PAD_CFG_NF(GPP_V14, NONE, DEEP, NF1), // PCIE_WAKE#
// GPP_V15 missing
Expand Down
3 changes: 3 additions & 0 deletions src/mainboard/system76/mtl/variants/darp10/ramstage.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,7 @@ void mainboard_silicon_init_params(FSP_S_CONFIG *params)
// XXX: Enabling C10 reporting causes system to constantly enter and
// exit opportunistic suspend when idle.
params->PchEspiHostC10ReportEnable = 0;

// Ensure SLP_LAN# is configured for Wake-on-LAN
params->PchPmSlpLanLowDc = 1;
}

0 comments on commit f06d44b

Please sign in to comment.