summaryrefslogtreecommitdiff
path: root/src/mainboard/google/dedede
diff options
context:
space:
mode:
authorTim Chen <tim-chen@quanta.corp-partner.google.com>2020-11-10 17:16:55 +0800
committerTim Wawrzynczak <twawrzynczak@chromium.org>2020-11-13 01:26:18 +0000
commit1f0e6e738436ace8ec9667d23c56fcfb746135a7 (patch)
tree2a0fbe95cb8e73b37e1268154cf46150a220d5bd /src/mainboard/google/dedede
parent161de9f80fbb6ae84764fd28b3440f6e89059a35 (diff)
downloadcoreboot-1f0e6e738436ace8ec9667d23c56fcfb746135a7.tar.xz
mb/google/dedede/var/metaknight: enable USB2 port for camera
Enable USB2 port 5 for user facing camera. Enable USB2 port 6 for world facing camera. BUG=b:169813211 BRANCH=None TEST=build metaknight firmware Change-Id: Iecb7787d46eab7096dec9f838a16da101105e09a Signed-off-by: Tim Chen <tim-chen@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/47391 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Diffstat (limited to 'src/mainboard/google/dedede')
-rw-r--r--src/mainboard/google/dedede/variants/metaknight/overridetree.cb20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/variants/metaknight/overridetree.cb b/src/mainboard/google/dedede/variants/metaknight/overridetree.cb
index 556a44f5eb..d5903f6f8e 100644
--- a/src/mainboard/google/dedede/variants/metaknight/overridetree.cb
+++ b/src/mainboard/google/dedede/variants/metaknight/overridetree.cb
@@ -1,5 +1,9 @@
chip soc/intel/jasperlake
+ # USB Port Configuration
+ register "usb2_ports[5]" = "USB2_PORT_MID(OC_SKIP)" # User Facing Camera
+ register "usb2_ports[6]" = "USB2_PORT_MID(OC_SKIP)" # World Facing Camera
+
# Intel Common SoC Config
#+-------------------+---------------------------+
#| Field | Value |
@@ -43,6 +47,22 @@ chip soc/intel/jasperlake
}"
device domain 0 on
+ device pci 14.0 on
+ chip drivers/usb/acpi
+ device usb 0.0 on
+ chip drivers/usb/acpi
+ register "desc" = ""User Facing Camera""
+ register "type" = "UPC_TYPE_INTERNAL"
+ device usb 2.5 on end
+ end
+ chip drivers/usb/acpi
+ register "desc" = ""World Facing Camera""
+ register "type" = "UPC_TYPE_INTERNAL"
+ device usb 2.6 on end
+ end
+ end
+ end
+ end # USB xHCI
device pci 15.0 on end
device pci 15.3 off end # I2C 3
end