summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrans Hendriks <fhendriks@eltan.com>2022-08-03 09:57:32 +0200
committerMartin Roth <martin.roth@amd.corp-partner.google.com>2022-08-10 19:21:06 +0000
commitf4040e63c80bc8bd3f89aaaa1b612d86dd82a8bd (patch)
tree3d39034ed3d66f0ba8d23497be27ab276ef595e7
parentf67a1aa76af637b8fb9583dcdffe0a2ef4e31940 (diff)
soc/intel/tigerlake: Add USBOTG and CrashLog to irq table
FSP reports missing IRQ for devices. Add USBOTG (D20:F1) and CrashLog & Telemetry (D10:F0) to irq_constrain. Bug = N/A TEST = Build and boot Siemens AS-TGL1 Change-Id: Ic02d33045a07a6888ba97d8f2c6fa71bc7e363e8 Signed-off-by: Frans Hendriks <fhendriks@eltan.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/66390 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
-rw-r--r--src/soc/intel/tigerlake/fsp_params.c2
-rw-r--r--src/soc/intel/tigerlake/include/soc/pci_devs.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/intel/tigerlake/fsp_params.c b/src/soc/intel/tigerlake/fsp_params.c
index e3c7879902..2c258409c9 100644
--- a/src/soc/intel/tigerlake/fsp_params.c
+++ b/src/soc/intel/tigerlake/fsp_params.c
@@ -145,6 +145,7 @@ static const struct slot_irq_constraints irq_constraints[] = {
{
.slot = PCH_DEV_SLOT_SIO0,
.fns = {
+ ANY_PIRQ(PCH_DEVFN_CT),
ANY_PIRQ(PCH_DEVFN_THC0),
ANY_PIRQ(PCH_DEVFN_THC1),
},
@@ -172,6 +173,7 @@ static const struct slot_irq_constraints irq_constraints[] = {
.slot = PCH_DEV_SLOT_XHCI,
.fns = {
ANY_PIRQ(PCH_DEVFN_XHCI),
+ DIRECT_IRQ(PCH_DEVFN_USBOTG),
FIXED_INT_ANY_PIRQ(PCH_DEVFN_CNVI_WIFI, PCI_INT_A),
},
},
diff --git a/src/soc/intel/tigerlake/include/soc/pci_devs.h b/src/soc/intel/tigerlake/include/soc/pci_devs.h
index 05d96e8de7..7a9ea32eea 100644
--- a/src/soc/intel/tigerlake/include/soc/pci_devs.h
+++ b/src/soc/intel/tigerlake/include/soc/pci_devs.h
@@ -80,6 +80,7 @@
/* PCH Devices */
#define MIN_PCH_SLOT PCH_DEV_SLOT_SIO0
#define PCH_DEV_SLOT_SIO0 0x10
+#define PCH_DEVFN_CT _PCH_DEVFN(SIO0, 0)
#define PCH_DEVFN_THC0 _PCH_DEVFN(SIO0, 6)
#define PCH_DEVFN_THC1 _PCH_DEVFN(SIO0, 7)
#define PCH_DEV_THC0 _PCH_DEV(SIO0, 6)