summaryrefslogtreecommitdiff
path: root/src/mainboard/google/zork/variants/trembyle
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2020-07-29 01:02:38 +0200
committerFelix Held <felix-coreboot@felixheld.de>2020-07-30 15:01:04 +0000
commite2379969e59bfc1901ee0d7dd66e90fefca701a5 (patch)
tree70e2f6726e6243f2c6ff192decf94497a2744b24 /src/mainboard/google/zork/variants/trembyle
parentd9da698bbd24c39664940fb93c698a431924d713 (diff)
mb/google/zork: add USB over-current pin mapping to devicetree
BUG=b:162010077 Change-Id: Iba3e3ec62cdfd818077017abd28fa754c2ae7797 Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44007 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/google/zork/variants/trembyle')
-rw-r--r--src/mainboard/google/zork/variants/trembyle/overridetree.cb6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/google/zork/variants/trembyle/overridetree.cb b/src/mainboard/google/zork/variants/trembyle/overridetree.cb
index bead29335d..26d9a3ee82 100644
--- a/src/mainboard/google/zork/variants/trembyle/overridetree.cb
+++ b/src/mainboard/google/zork/variants/trembyle/overridetree.cb
@@ -22,6 +22,12 @@ chip soc/amd/picasso
# End : OPN Performance Configuration
+ # USB OC pin mapping
+ register "usb_port_overcurrent_pin[0]" = "USB_OC_PIN_0" # USB C0
+ register "usb_port_overcurrent_pin[1]" = "USB_OC_PIN_2" # USB A0
+ register "usb_port_overcurrent_pin[2]" = "USB_OC_PIN_4" # USB A1
+ register "usb_port_overcurrent_pin[3]" = "USB_OC_PIN_1" # USB C1
+
# Enable I2C2 for trackpad, touchscreen, pen at 400kHz
register "i2c[2]" = "{
.speed = I2C_SPEED_FAST,