From 8b40b675a8e45f748e7fbf2495a7f01684fa0401 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Thu, 1 Feb 2018 15:15:31 -0700 Subject: mb/google/kahlee: Enable wlan card so it can be detected The wifi card was not being powered, and was being held in reset during PCI enumeration, so it was not being brought up. BUG=b:72738963 TEST=Verify wlan card shows up in lspci Change-Id: I5a1e83298af35aa80c67c75cd6ec0a2c3213891e Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/23552 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) --- src/mainboard/google/kahlee/variants/baseboard/gpio.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/mainboard') diff --git a/src/mainboard/google/kahlee/variants/baseboard/gpio.c b/src/mainboard/google/kahlee/variants/baseboard/gpio.c index 6954f63512..a6bcea5c86 100644 --- a/src/mainboard/google/kahlee/variants/baseboard/gpio.c +++ b/src/mainboard/google/kahlee/variants/baseboard/gpio.c @@ -38,6 +38,9 @@ const static struct soc_amd_stoneyridge_gpio gpio_set_stage_reset[] = { /* GPIO_3 - MEM_VOLT_SEL */ { GPIO_3, Function0, FCH_GPIO_PULL_UP_ENABLE | INPUT }, + /* GPIO_4 - EN_PP3300_WLAN */ + { GPIO_4, Function0, OUTPUT_H }, + /* GPIO_5 - PCH_TRACKPAD_INT_3V3_ODL, SCI */ { GPIO_5, Function0, FCH_GPIO_PULL_UP_ENABLE | INPUT }, @@ -90,6 +93,9 @@ const static struct soc_amd_stoneyridge_gpio gpio_set_stage_reset[] = { /* GPIO_42 - S5_MUX_CTRL */ { GPIO_42, Function0, OUTPUT_H }, + /* GPIO_70 - WLAN_PE_RST_L */ + { GPIO_70, Function0, OUTPUT_H }, + /* GPIO_74 - LPC_CLK0_EC_R */ { GPIO_74, Function0, FCH_GPIO_PULL_DOWN_ENABLE | INPUT }, @@ -197,9 +203,6 @@ const static struct soc_amd_stoneyridge_gpio gpio_set_stage_ram[] = { /* GPIO_2 - WLAN_PCIE_WAKE_3V3_ODL */ { GPIO_2, Function0, FCH_GPIO_PULL_UP_ENABLE | INPUT }, - /* GPIO_4 - EN_PP3300_WLAN */ - { GPIO_4, Function0, OUTPUT_H }, - /* GPIO_10 - SLP_S0_L (currently not used) */ { GPIO_10, Function0, FCH_GPIO_PULL_UP_ENABLE | INPUT }, @@ -221,9 +224,6 @@ const static struct soc_amd_stoneyridge_gpio gpio_set_stage_ram[] = { /* GPIO_67 - PEN_RESET */ { GPIO_67, Function0, OUTPUT_L }, - /* GPIO_70 - WLAN_PE_RST_L */ - { GPIO_70, Function0, OUTPUT_H }, - /* GPIO_75 - Unused (strap) (R139/R130) */ { GPIO_75, Function1, FCH_GPIO_PULL_UP_ENABLE | INPUT }, -- cgit v1.2.3