From 4ca566343d1eae006338ea5caee271e506df222f Mon Sep 17 00:00:00 2001 From: Dolan Liu Date: Fri, 21 Mar 2025 10:43:00 +0800 Subject: [PATCH] mb/google/fatcat/var/felino: Remove BT offload and Keep PMC Pin NC Since CNVI BT Offload is not yet ready on Pantherlake and HW already soldered these 4 pads connection onto the board, therefore keep Pad Config NC_LOCK and BT offload disable. BUG=b:397578690 Test=emerge-fatcat coreboot and make sure WIFI/BT works Change-Id: I2d84e8cff499d462133143b12fa6335e76323926 Signed-off-by: Dolan Liu Reviewed-on: https://review.coreboot.org/c/coreboot/+/86944 Reviewed-by: Subrata Banik Tested-by: build bot (Jenkins) Reviewed-by: Pranava Y N Reviewed-by: Jayvik Desai --- .../google/fatcat/variants/felino/gpio.c | 24 +++++++++---------- .../fatcat/variants/felino/overridetree.cb | 2 ++ 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/src/mainboard/google/fatcat/variants/felino/gpio.c b/src/mainboard/google/fatcat/variants/felino/gpio.c index 7f67a40ae6..3b2a6934e2 100644 --- a/src/mainboard/google/fatcat/variants/felino/gpio.c +++ b/src/mainboard/google/fatcat/variants/felino/gpio.c @@ -169,14 +169,14 @@ static const struct pad_config gpio_table[] = { PAD_NC(GPP_D08, NONE), /* GPP_D09: USB_MUX_SEL */ PAD_CFG_GPO(GPP_D09, 1, PLTRST), - /* GPP_D10: PMC_WLAN_CLK */ - PAD_CFG_NF(GPP_D10, NONE, DEEP, NF1), - /* GPP_D11: CNV_PCM_SYNC */ - PAD_CFG_NF(GPP_D11, NONE, DEEP, NF1), - /* GPP_D12: PMC_SOC_OUT */ - PAD_CFG_NF(GPP_D12, NONE, DEEP, NF1), - /* GPP_D13: PMC_SOC_IN */ - PAD_CFG_NF(GPP_D13, NONE, DEEP, NF1), + /* GPP_D10: PMC_WLAN_CLK ==> NC */ + PAD_NC_LOCK(GPP_D10, NONE, LOCK_CONFIG), + /* GPP_D11: CNV_PCM_SYNC ==> NC */ + PAD_NC_LOCK(GPP_D11, NATIVE, LOCK_CONFIG), + /* GPP_D12: PMC_SOC_OUT ==> NC */ + PAD_NC_LOCK(GPP_D12, NATIVE, LOCK_CONFIG), + /* GPP_D13: PMC_SOC_IN ==> NC */ + PAD_NC_LOCK(GPP_D13, NATIVE, LOCK_CONFIG), /* GPP_D14: NC */ PAD_NC(GPP_D14, NONE), /* GPP_D15: NC */ @@ -358,8 +358,8 @@ static const struct pad_config gpio_table[] = { PAD_CFG_NF(GPP_V00, NONE, DEEP, NF1), /* GPP_V01: BC_ACOK_MCP */ PAD_CFG_NF(GPP_V01, NONE, DEEP, NF1), - /* GPP_V02: NC */ - PAD_NC(GPP_V02, NONE), + /* GPP_V02: LAN_WAKE# */ + PAD_CFG_NF(GPP_V02, NONE, DEEP, NF1), /* GPP_V03: PWRBTN_MCP_N */ PAD_CFG_NF(GPP_V03, NONE, DEEP, NF1), /* GPP_V04: PM_SLP_S3_N */ @@ -378,8 +378,8 @@ static const struct pad_config gpio_table[] = { PAD_NC(GPP_V10, NONE), /* GPP_V11: NC */ PAD_NC(GPP_V11, NONE), - /* GPP_V12: NC */ - PAD_NC(GPP_V12, NONE), + /* GPP_V12: WAKE# */ + PAD_CFG_NF(GPP_V12, NONE, DEEP, NF1), /* GPP_V13: NC */ PAD_NC(GPP_V13, NONE), /* GPP_V14: NC */ diff --git a/src/mainboard/google/fatcat/variants/felino/overridetree.cb b/src/mainboard/google/fatcat/variants/felino/overridetree.cb index baad62038e..819bbaa43b 100644 --- a/src/mainboard/google/fatcat/variants/felino/overridetree.cb +++ b/src/mainboard/google/fatcat/variants/felino/overridetree.cb @@ -60,6 +60,8 @@ chip soc/intel/pantherlake # Enable CNVi WiFi register "cnvi_wifi_core" = "true" + # Disable CNVi BT Offload + register "cnvi_bt_audio_offload" = "false" register "usb2_ports[0]" = "USB2_PORT_TYPE_C(OC_SKIP)" # USB2_C0 register "usb2_ports[1]" = "USB2_PORT_TYPE_C(OC_SKIP)" # USB2_C1