From 6aedba2f134b8154a342248deae49bc37fc234ce Mon Sep 17 00:00:00 2001 From: John Zhao Date: Tue, 26 May 2020 21:19:19 -0700 Subject: soc/intel/tigerlake: Configure Type-C Input Output Manager(IOM) device This adds Type-C Intel Input Output Manager(IOM) device with HID INTC1072. It provides MMIO range from 0xfbc10000 with size 0x1600. Intel Input Output Manager(IOM) kernel driver reads relevant information such as Type-C port status (whether a device is connected to a Type-C port or not) and the activity type on the Type-C ports (such as USB, Display Port, Thunderbolt) using this memory resource. BUG=b:156016218 TEST=Able to detect USB, TBT and USB4 on Volteer. Signed-off-by: John Zhao Change-Id: Ic733e831643bda6e052edf797ba0e6206eb4ddd3 Reviewed-on: https://review.coreboot.org/c/coreboot/+/41762 Reviewed-by: Tim Wawrzynczak Reviewed-by: Wonkyu Kim Reviewed-by: Rajmohan Mani Tested-by: build bot (Jenkins) --- src/soc/intel/tigerlake/acpi/tcss.asl | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/soc/intel/tigerlake/acpi') diff --git a/src/soc/intel/tigerlake/acpi/tcss.asl b/src/soc/intel/tigerlake/acpi/tcss.asl index 3312b597b5..33c1107a05 100644 --- a/src/soc/intel/tigerlake/acpi/tcss.asl +++ b/src/soc/intel/tigerlake/acpi/tcss.asl @@ -318,6 +318,16 @@ Scope (_GPE) Scope (\_SB.PCI0) { + Device (IOM) + { + Name (_HID, "INTC1072") + Name (_DDN, "Intel(R) Tiger Lake Input Output Manager(IOM) driver") + /* IOM preserved MMIO range from 0xFBC10000 to 0xFBC11600. */ + Name (_CRS, ResourceTemplate () { + Memory32Fixed (ReadWrite, IOM_BASE_ADDRESS, IOM_BASE_SIZE) + }) + } + /* * Operation region defined to access the TCSS_DEVEN. Get the MCHBAR in offset * 0x48 in B0:D0:F0. TCSS device enable base address is in offset 0x7090 of MCHBAR. -- cgit v1.2.3