From 9b26127a45503bf8f048b417df7e40184346ef18 Mon Sep 17 00:00:00 2001 From: Frank Wu Date: Thu, 24 May 2018 13:57:24 +0800 Subject: mb/google/poppy/variants/nami: Use GPP_E4 for BT_OFF# The BT W_DISABLE2# pin is connected to GPP_E4 in the latest schematic. Update GPP_E4 as GPO and set 1 as default. BUG=b:79993692, b:72007632 BRANCH=None TEST=Enable/disable BT/WLAN by following command. Enable: localhost ~ # iotools mmio_write32 0xfdae0590 0x40000201 localhost ~ # iotools mmio_write32 0xfdae05a0 0x40000201 Disable: localhost ~ # iotools mmio_write32 0xfdae0590 0x40000200 localhost ~ # iotools mmio_write32 0xfdae05a0 0x40000200 Change-Id: I9ef1a5314652ab29172d246abd58ee4e1a8a6299 Signed-off-by: Frank Wu Reviewed-on: https://review.coreboot.org/26502 Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) --- src/mainboard/google/poppy/variants/nami/gpio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainboard/google/poppy') diff --git a/src/mainboard/google/poppy/variants/nami/gpio.c b/src/mainboard/google/poppy/variants/nami/gpio.c index 6398d2d046..d1b4c54cbd 100644 --- a/src/mainboard/google/poppy/variants/nami/gpio.c +++ b/src/mainboard/google/poppy/variants/nami/gpio.c @@ -216,8 +216,8 @@ static const struct pad_config gpio_table[] = { PAD_CFG_GPO(GPP_E2, 1, DEEP), /* E3 : CPU_GP0 ==> TRACKPAD_INT# */ PAD_CFG_GPI_APIC(GPP_E3, NONE, PLTRST), - /* E4 : SATA_DEVSLP0 ==> NC(TP914) */ - PAD_CFG_NC(GPP_E4), + /* E4 : SATA_DEVSLP0 ==> BT_OFF# */ + PAD_CFG_GPO(GPP_E4, 1, DEEP), /* E5 : SATA_DEVSLP1 ==> NC(TP928) */ PAD_CFG_NC(GPP_E5), /* E6 : SATA_DEVSLP2 ==> NC(TP915) */ -- cgit v1.2.3