mb/amd/bilby: Enable DP2 and DP3 enumeration

DP2 and DP2 is muxed with USBC port. This implementation
configures mux for DP functioanlity.

TEST=Verify display over DP2 and DP3.

Signed-off-by: Aamir Bohra <aamirbohra@gmail.com>
Change-Id: If0c8dfbb47175789bb27d4506c1e8b45c425c76a
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56755
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: ritul guru <ritul.bits@gmail.com>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
Aamir Bohra 2021-04-07 14:31:31 +05:30 committed by Paul Fagerburg
parent 12441dce06
commit 1b9ae18726
1 changed files with 9 additions and 0 deletions

View File

@ -92,6 +92,15 @@ chip soc/amd/picasso
.tx_res_tune = 0x01,
}"
register "usb_pd_config_override[0]" = "{
.rfmux_override_en = 1,
.rfmux_config = USB_PD_RFMUX_DP_X4_MODE,
}"
register "usb_pd_config_override[1]" = "{
.rfmux_override_en = 1,
.rfmux_config = USB_PD_RFMUX_DP_X4_MODE,
}"
# USB OC pin mapping; all ports share one OC pin
register "usb_port_overcurrent_pin[0]" = "USB_OC_PIN_0"
register "usb_port_overcurrent_pin[1]" = "USB_OC_PIN_0"