From 9bf38c7d672dbfe0771a15574a7e0c59f38c139c Mon Sep 17 00:00:00 2001 From: Kevin Yang Date: Fri, 16 Feb 2024 18:15:08 +0800 Subject: mb/google/dedede/var/beadrix: Disable un-used C1 port by daughterboard Probe usb ports by FW_CONFIG setting to disable C1 port on beadrix poin2 new daughterboard without C1 port. BUG=b:316365055 BRANCH=firmware-dedede-13606.B TEST=emerge-dedede coreboot Change-Id: I494a922d2b04dcf7bd35680f5d95f8463e225f2d Signed-off-by: Kevin Yang Reviewed-on: https://review.coreboot.org/c/coreboot/+/80573 Tested-by: build bot (Jenkins) Reviewed-by: Derek Huang --- .../google/dedede/variants/beadrix/overridetree.cb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/mainboard/google/dedede/variants/beadrix/overridetree.cb b/src/mainboard/google/dedede/variants/beadrix/overridetree.cb index 7145ecf5ab..0554baf795 100644 --- a/src/mainboard/google/dedede/variants/beadrix/overridetree.cb +++ b/src/mainboard/google/dedede/variants/beadrix/overridetree.cb @@ -108,6 +108,24 @@ chip soc/intel/jasperlake device pci 14.0 on chip drivers/usb/acpi device usb 0.0 on + chip drivers/usb/acpi + register "desc" = ""Right Type-C Port"" + register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" + register "group" = "ACPI_PLD_GROUP(2, 1)" + device usb 2.1 on + probe DB_PORTS DB_PORTS_1C_LTE + probe DB_PORTS DB_PORTS_1C + end + end + chip drivers/usb/acpi + register "desc" = ""Right Type-C Port"" + register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" + register "group" = "ACPI_PLD_GROUP(2, 1)" + device usb 3.1 on + probe DB_PORTS DB_PORTS_1C_LTE + probe DB_PORTS DB_PORTS_1C + end + end chip drivers/usb/acpi register "desc" = ""UFCamera"" register "type" = "UPC_TYPE_INTERNAL" -- cgit v1.2.3