Ian Feng has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/57010 )
Change subject: mb/google/dedede/var/corori: Configure USB port settings ......................................................................
mb/google/dedede/var/corori: Configure USB port settings
Follow schematic to modify USB port settings.
USB2 [0]: USB Type C Port 0 USB2 [1]: None USB2 [2]: USB Type A Port 0 USB2 [3]: None USB2 [4]: None USB2 [5]: Camera UFC USB2 [6]: Camera WFC USB2 [7]: Integrated Bluetooth
USB3 [0]: USB Type C Port 0 (M/B side) USB3 [1]: None USB3 [2]: USB Type A Port 0 (M/B side) USB3 [3]: None
BUG=b:196998272 BRANCH=keeby TEST=FW_NAME="corori" emerge-keeby coreboot
Signed-off-by: Ian Feng ian_feng@compal.corp-partner.google.com Change-Id: I2045b2be9d79bfd394fa4520faa0fb552a704206 --- M src/mainboard/google/dedede/variants/corori/overridetree.cb 1 file changed, 37 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/10/57010/1
diff --git a/src/mainboard/google/dedede/variants/corori/overridetree.cb b/src/mainboard/google/dedede/variants/corori/overridetree.cb index cbad0d2..1708283 100644 --- a/src/mainboard/google/dedede/variants/corori/overridetree.cb +++ b/src/mainboard/google/dedede/variants/corori/overridetree.cb @@ -1,5 +1,14 @@ chip soc/intel/jasperlake
+ # USB Port Configuration + register "usb2_ports[1]" = "USB2_PORT_EMPTY" # None + register "usb2_ports[3]" = "USB2_PORT_EMPTY" # None + register "usb2_ports[4]" = "USB2_PORT_EMPTY" # None + register "usb2_ports[5]" = "USB2_PORT_MID(OC_SKIP)" # Camera (UFC) + register "usb2_ports[6]" = "USB2_PORT_MID(OC_SKIP)" # Camera (WFC) + register "usb3_ports[1]" = "USB3_PORT_EMPTY" # None + register "usb3_ports[3]" = "USB3_PORT_EMPTY" # None + # Intel Common SoC Config #+-------------------+---------------------------+ #| Field | Value | @@ -32,6 +41,34 @@ register "SerialIoGSpiCsMode[PchSerialIoIndexGSPI0]" = "0"
device domain 0 on + device pci 14.0 on + chip drivers/usb/acpi + device usb 0.0 on + chip drivers/usb/acpi + device usb 2.1 off end + end + chip drivers/usb/acpi + device usb 2.3 off end + end + chip drivers/usb/acpi + register "desc" = ""Camera (UFC)"" + register "type" = "UPC_TYPE_INTERNAL" + device usb 2.5 on end + end + chip drivers/usb/acpi + register "desc" = ""Camera (WFC)"" + register "type" = "UPC_TYPE_INTERNAL" + device usb 2.6 on end + end + chip drivers/usb/acpi + device usb 3.1 off end + end + chip drivers/usb/acpi + device usb 3.3 off end + end + end + end + end # USB xHCI device pci 15.0 on end device pci 1e.2 off end # GSPI 0 device pci 1f.0 on