summaryrefslogtreecommitdiff
path: root/src/mainboard/google/dedede/variants/beadrix
diff options
context:
space:
mode:
authorKevin Yang <kevin.yang@ecs.corp-partner.google.com>2024-02-16 18:15:08 +0800
committerFelix Held <felix-coreboot@felixheld.de>2024-02-19 13:15:33 +0000
commit9bf38c7d672dbfe0771a15574a7e0c59f38c139c (patch)
treec1b8e689070905710e531eeb442e6c33d5a3fc42 /src/mainboard/google/dedede/variants/beadrix
parent3ebe14f3b644b0ec93abe09b85dc6f35882d6c9f (diff)
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 <kevin.yang@ecs.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/80573 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Derek Huang <derekhuang@google.com>
Diffstat (limited to 'src/mainboard/google/dedede/variants/beadrix')
-rw-r--r--src/mainboard/google/dedede/variants/beadrix/overridetree.cb18
1 files changed, 18 insertions, 0 deletions
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
@@ -109,6 +109,24 @@ chip soc/intel/jasperlake
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"
device usb 2.5 on end