mb/amd/mandolin: add USB over-current pin mapping to devicetree

The over-current pin mapping matches the board schematics.

Change-Id: I23fd208680dcb52f5adaa144f00cb46bc7a21b91
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43834
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Felix Held 2020-07-24 19:11:23 +02:00
parent bcb3d03973
commit c508894faf
1 changed files with 8 additions and 0 deletions

View File

@ -98,6 +98,14 @@ chip soc/amd/picasso
.tx_res_tune = 0x01, .tx_res_tune = 0x01,
}" }"
# 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"
register "usb_port_overcurrent_pin[2]" = "USB_OC_PIN_0"
register "usb_port_overcurrent_pin[3]" = "USB_OC_PIN_0"
register "usb_port_overcurrent_pin[4]" = "USB_OC_PIN_0"
register "usb_port_overcurrent_pin[5]" = "USB_OC_PIN_0"
# eSPI Configuration # eSPI Configuration
register "common_config.espi_config" = "{ register "common_config.espi_config" = "{
.std_io_decode_bitmap = ESPI_DECODE_IO_0X60_0X64_EN, .std_io_decode_bitmap = ESPI_DECODE_IO_0X60_0X64_EN,