summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/hatch/variants/duffy/overridetree.cb
diff options
context:
space:
mode:
authorTim Chen <tim-chen@quanta.corp-partner.google.com>2020-04-23 15:48:17 +0800
committerEdward O'Callaghan <quasisec@chromium.org>2020-04-30 06:44:08 +0000
commita932f6e507e1e77755c9670f0ee6aaf77ca5d83c (patch)
treeaf7bc37974624847ded914c53a80e0a7d70244cb /src/mainboard/google/hatch/variants/duffy/overridetree.cb
parent6c1a669b444fc7e6d7542ff910deca1a606d4c29 (diff)
downloadcoreboot-a932f6e507e1e77755c9670f0ee6aaf77ca5d83c.tar.gz
coreboot-a932f6e507e1e77755c9670f0ee6aaf77ca5d83c.tar.bz2
coreboot-a932f6e507e1e77755c9670f0ee6aaf77ca5d83c.zip
mb/google/puff: update USB2 strength
Based on USB SI report to fine tune the strength for USB2 port0. BRANCH=none BUG=b:153590143 TEST=build and test USB2 port0 function works fine. Change-Id: I070c9e1c8153a680fb8f827889738a764d7ea9f4 Signed-off-by: Tim Chen <tim-chen@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40482 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kangheui Won <khwon@chromium.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Diffstat (limited to 'src/mainboard/google/hatch/variants/duffy/overridetree.cb')
-rw-r--r--src/mainboard/google/hatch/variants/duffy/overridetree.cb9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mainboard/google/hatch/variants/duffy/overridetree.cb b/src/mainboard/google/hatch/variants/duffy/overridetree.cb
index ade12c580686..d7acbd71e79a 100644
--- a/src/mainboard/google/hatch/variants/duffy/overridetree.cb
+++ b/src/mainboard/google/hatch/variants/duffy/overridetree.cb
@@ -21,7 +21,14 @@ chip soc/intel/cannonlake
}"
# USB configuration
- register "usb2_ports[0]" = "USB2_PORT_MID(OC2)" # Type-A Port 2
+ register "usb2_ports[0]" = "{
+ .enable = 1,
+ .ocpin = OC2,
+ .tx_bias = USB2_BIAS_0MV,
+ .tx_emp_enable = USB2_PRE_EMP_ON,
+ .pre_emp_bias = USB2_BIAS_11P25MV,
+ .pre_emp_bit = USB2_HALF_BIT_PRE_EMP,
+ }" # Type-A Port 2
register "usb2_ports[1]" = "{
.enable = 1,
.ocpin = OC1,