summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/zork/variants/trembyle
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2020-07-21 21:51:27 -0700
committerFelix Held <felix-coreboot@felixheld.de>2020-07-23 14:11:03 +0000
commit65e111774113a03bb4c6752c963f15f0d524aaae (patch)
treeabb494933cbba89d89edd9dbfee6df13004faf21 /src/mainboard/google/zork/variants/trembyle
parentac16650e0cad71905678bf9aecc2f78dd7da228d (diff)
downloadcoreboot-65e111774113a03bb4c6752c963f15f0d524aaae.tar.gz
coreboot-65e111774113a03bb4c6752c963f15f0d524aaae.tar.bz2
coreboot-65e111774113a03bb4c6752c963f15f0d524aaae.zip
mb/google/zork: Configure all pads in ramstage for trembyle reference
This change configures all missing pads in ramstage for trembyle reference. This ensures that the state of all pads is set correctly for the payload/OS. Also, all the pads for the platform are configured in baseboard gpio table in ramstage to ensure that variants can override any pads if required. BUG=b:154351731 Change-Id: Idd827b6a4f995546493596f22249f8699bdf526b Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43697 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/google/zork/variants/trembyle')
-rw-r--r--src/mainboard/google/zork/variants/trembyle/gpio.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/google/zork/variants/trembyle/gpio.c b/src/mainboard/google/zork/variants/trembyle/gpio.c
index 6f7c4a2b2dd8..d8367e7e1a60 100644
--- a/src/mainboard/google/zork/variants/trembyle/gpio.c
+++ b/src/mainboard/google/zork/variants/trembyle/gpio.c
@@ -14,6 +14,8 @@ static const struct soc_amd_gpio trembyle_bid1_bid2_gpio_set_stage_ram[] = {
PAD_NF(GPIO_14, USB_OC4_L, PULL_NONE),
/* USB_OC2_L - USB A0 */
PAD_NF(GPIO_18, USB_OC2_L, PULL_NONE),
+ /* EN_PWR_WIFI */
+ PAD_GPO(GPIO_29, HIGH),
/* EN_PWR_TOUCHPAD_PS2 */
PAD_GPO(GPIO_67, HIGH),
/* DMIC_AD_EN */
@@ -31,6 +33,8 @@ static const struct soc_amd_gpio trembyle_bid3_gpio_set_stage_ram[] = {
PAD_NF(GPIO_14, USB_OC4_L, PULL_NONE),
/* USB_OC2_L - USB A0 */
PAD_NF(GPIO_18, USB_OC2_L, PULL_NONE),
+ /* EN_PWR_WIFI */
+ PAD_GPO(GPIO_29, HIGH),
/* EN_PWR_TOUCHPAD_PS2 */
PAD_GPO(GPIO_67, HIGH),
/* MST_GPIO_2 (Fw Update HDMI hub) */