soc/intel/cannonlake/acpi/serialio.asl: Don't advertise unavailable devices

On PCH-H the I2C4 0:19.0 device isn't usable and thus 0:19.1 and
0:19.2 can't be detected using standard PCI probing.

Remove I2C4, I2C5 and UART2 from generic ASL code on PCH-H platforms
that advertise its PCI conformance by the _ADR attribute.

Change-Id: I89f9ab7d4afb2e7d1b1e24d072adf99e0da6fecf
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44198
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Patrick Rudolph 2020-08-05 07:58:05 +02:00 committed by Angel Pons
parent c56b90703f
commit 199a69292d

View file

@ -26,6 +26,7 @@ Device (I2C3)
Name (_DDN, "Serial IO I2C Controller 3") Name (_DDN, "Serial IO I2C Controller 3")
} }
#if !CONFIG(SOC_INTEL_CANNONLAKE_PCH_H)
Device (I2C4) Device (I2C4)
{ {
Name (_ADR, 0x00190000) Name (_ADR, 0x00190000)
@ -37,6 +38,7 @@ Device (I2C5)
Name (_ADR, 0x00190001) Name (_ADR, 0x00190001)
Name (_DDN, "Serial IO I2C Controller 5") Name (_DDN, "Serial IO I2C Controller 5")
} }
#endif
Device (SPI0) Device (SPI0)
{ {
@ -68,8 +70,10 @@ Device (UAR1)
Name (_DDN, "Serial IO UART Controller 1") Name (_DDN, "Serial IO UART Controller 1")
} }
#if !CONFIG(SOC_INTEL_CANNONLAKE_PCH_H)
Device (UAR2) Device (UAR2)
{ {
Name (_ADR, 0x00190002) Name (_ADR, 0x00190002)
Name (_DDN, "Serial IO UART Controller 2") Name (_DDN, "Serial IO UART Controller 2")
} }
#endif