aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/zork/variants/baseboard/devicetree_dalboz.cb
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/baseboard/devicetree_dalboz.cb
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/baseboard/devicetree_dalboz.cb')
-rw-r--r--src/mainboard/google/zork/variants/baseboard/devicetree_dalboz.cb8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/google/zork/variants/baseboard/devicetree_dalboz.cb b/src/mainboard/google/zork/variants/baseboard/devicetree_dalboz.cb
index e2d9183311..aae84b74eb 100644
--- a/src/mainboard/google/zork/variants/baseboard/devicetree_dalboz.cb
+++ b/src/mainboard/google/zork/variants/baseboard/devicetree_dalboz.cb
@@ -130,6 +130,14 @@ chip soc/amd/picasso
.tx_res_tune = 0x01,
}"
+ # 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_1" # USB C1
+ register "usb_port_overcurrent_pin[2]" = "USB_OC_PIN_0" # USB A0
+ register "usb_port_overcurrent_pin[3]" = "USB_OC_PIN_1" # USB A1
+ register "usb_port_overcurrent_pin[4]" = "USB_OC_NONE" # Camera
+ register "usb_port_overcurrent_pin[5]" = "USB_OC_NONE" # Bluetooth
+
# SPI Configuration
register "common_config.spi_config" = "{
.normal_speed = SPI_SPEED_33M, /* MHz */