summaryrefslogtreecommitdiff
path: root/src/mainboard/google/volteer/variants/elemi
diff options
context:
space:
mode:
authorWisley Chen <wisley.chen@quantatw.com>2021-01-15 14:59:35 +0800
committerPatrick Georgi <pgeorgi@google.com>2021-01-18 07:25:28 +0000
commit9f2d0820052989fcb5290929fabc3c4d5ec75854 (patch)
treefb4ebb5b0e7614c434d9bad3e656587e5f350348 /src/mainboard/google/volteer/variants/elemi
parenta7586772d08872cac262eda2911bdd7256744fc7 (diff)
mb/google/volteer/var/elemi: Configure USB2 ports
Configure the USB2 port 3/4/9 1. USB2 port3 assign to WWAN, and elemi have no WWAN. 2. USB2 port4/port9 connect to Type-C C1/C0 BUG=b:177483059 TEST=emerge-volteer coreboot Signed-off-by: Wisley Chen <wisley.chen@quantatw.com> Change-Id: I9affc69cc325b5eb0219b50bfe46f66eb0bb2016 Reviewed-on: https://review.coreboot.org/c/coreboot/+/49473 Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/volteer/variants/elemi')
-rw-r--r--src/mainboard/google/volteer/variants/elemi/overridetree.cb9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mainboard/google/volteer/variants/elemi/overridetree.cb b/src/mainboard/google/volteer/variants/elemi/overridetree.cb
index c30dce39b4..d8215bfd8d 100644
--- a/src/mainboard/google/volteer/variants/elemi/overridetree.cb
+++ b/src/mainboard/google/volteer/variants/elemi/overridetree.cb
@@ -70,6 +70,15 @@ chip soc/intel/tigerlake
},
}"
+ # Disable M.2 WWAN
+ register "usb2_ports[2]" = "USB2_PORT_EMPTY"
+
+ # Type-A / Type-C C1
+ register "usb2_ports[3]" = "USB2_PORT_TYPE_C(OC_SKIP)"
+
+ # Type-A / Type-C C0
+ register "usb2_ports[8]" = "USB2_PORT_TYPE_C(OC_SKIP)"
+
device domain 0 on
device ref north_xhci on
chip drivers/usb/acpi