mb/prodrive/hermes: Add multifunction device for UART 2

On CNP-H, only four I2C controllers are available, so PCI devices 19.0
and 19.1 are missing. However, PCI device 19.2 still exists as UART 2.

That function 0 is missing means UART 2 can only be used in ACPI mode.
Both devices need to be marked as hidden on the devicetree so that the
allocator takes UART 2 into account.

Change-Id: Ie77198cc0327414b9f88cf15ba4efaddb4f5cca4
Signed-off-by: Christian Walter <christian.walter@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43481
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
This commit is contained in:
Christian Walter 2020-07-15 13:04:40 +02:00 committed by Patrick Rudolph
parent 3299b2ded5
commit 2276ffa380
1 changed files with 4 additions and 1 deletions

View File

@ -173,7 +173,10 @@ chip soc/intel/cannonlake
device pci 14.3 on end # CNVi wifi
end
device pci 19.2 on end # UART #2
# This device does not have any function on CNP-H, but it needs
# to be here so that the resource allocator is aware of UART 2.
device pci 19.0 hidden end
device pci 19.2 hidden end # UART #2, in ACPI mode
device pci 1b.4 on
smbios_slot_desc "SlotTypePciExpressGen3X16" "SlotLengthOther" "SLOT1" "SlotDataBusWidth4X"