summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya/variants/kinox/gpio.c
diff options
context:
space:
mode:
authorIan Feng <ian_feng@compal.corp-partner.google.com>2022-06-16 15:17:06 +0800
committerFelix Held <felix-coreboot@felixheld.de>2022-06-22 12:35:02 +0000
commitd36aca5e22d3c5410c953af7a8e9db9ec86082bb (patch)
tree0fe11c4eb069be747e07f8474b7562059e951ac5 /src/mainboard/google/brya/variants/kinox/gpio.c
parent27d6299d51744bda549b7764b8fde909ad812e33 (diff)
mb/google/brya/var/kinox: Enable PCIe WLAN
Enable PCIe WLAN for Kinox 1. Enable PCI port 5 for PCIe WLAN 2. Enable CLKREQ, CLK SRC 2 for PCI port 5 BUG=b:236175551 TEST=Build and boot to OS in Kinox. Ensure that the WLAN module is enumerated in the output of lspci. localhost ~ # lspci 02:00.0 Network controller: Realtek Semiconductor Co., Ltd.Device c852 (rev 01) Signed-off-by: Ian Feng <ian_feng@compal.corp-partner.google.com> Change-Id: I3fbeadc85c9c88f5d178326dbbc83762083fe59a Reviewed-on: https://review.coreboot.org/c/coreboot/+/65168 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Frank Wu <frank_wu@compal.corp-partner.google.com>
Diffstat (limited to 'src/mainboard/google/brya/variants/kinox/gpio.c')
-rw-r--r--src/mainboard/google/brya/variants/kinox/gpio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/variants/kinox/gpio.c b/src/mainboard/google/brya/variants/kinox/gpio.c
index 6027435cd3..3460d1c679 100644
--- a/src/mainboard/google/brya/variants/kinox/gpio.c
+++ b/src/mainboard/google/brya/variants/kinox/gpio.c
@@ -70,6 +70,8 @@ static const struct pad_config override_gpio_table[] = {
/* F16 : GSXCLK ==> NC */
PAD_NC_LOCK(GPP_F16, NONE, LOCK_CONFIG),
+ /* H3 : SX_EXIT_HOLDOFF# ==> WLAN_PCIE_WAKE_ODL */
+ PAD_CFG_GPI_SCI_LOW_LOCK(GPP_H3, NONE, EDGE_SINGLE, LOCK_CONFIG),
/* H12 : I2C7_SDA ==> NC */
PAD_NC_LOCK(GPP_H12, NONE, LOCK_CONFIG),
/* H23 : SRCCLKREQ5# ==> NC */