soc/intel/tigerlake: Add USB ACPI devices for PCH-H

Change-Id: Ia1c1c3d172366ddcc8c194cb2e0b0c2fb2acf678
Signed-off-by: Jeremy Soller <jeremy@system76.com>
Signed-off-by: Tim Crawford <tcrawford@system76.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56953
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
Jeremy Soller 2021-08-12 10:49:58 -06:00 committed by Felix Held
parent cc43ec8b1a
commit d0bf247506
2 changed files with 48 additions and 0 deletions

View File

@ -24,6 +24,41 @@ Device (XHCI)
} }
#if CONFIG(SOC_INTEL_TIGERLAKE_PCH_H)
/* Root Hub for Tigerlake-H PCH */
Device (RHUB)
{
Name (_ADR, Zero)
/* USB2 */
Device (HS01) { Name (_ADR, 1) }
Device (HS02) { Name (_ADR, 2) }
Device (HS03) { Name (_ADR, 3) }
Device (HS04) { Name (_ADR, 4) }
Device (HS05) { Name (_ADR, 5) }
Device (HS06) { Name (_ADR, 6) }
Device (HS07) { Name (_ADR, 7) }
Device (HS08) { Name (_ADR, 8) }
Device (HS09) { Name (_ADR, 9) }
Device (HS10) { Name (_ADR, 10) }
Device (HS11) { Name (_ADR, 11) }
Device (HS12) { Name (_ADR, 12) }
Device (HS13) { Name (_ADR, 13) }
Device (HS14) { Name (_ADR, 14) }
/* USB3 */
Device (SS01) { Name (_ADR, 15) }
Device (SS02) { Name (_ADR, 16) }
Device (SS03) { Name (_ADR, 17) }
Device (SS04) { Name (_ADR, 18) }
Device (SS05) { Name (_ADR, 19) }
Device (SS06) { Name (_ADR, 20) }
Device (SS07) { Name (_ADR, 21) }
Device (SS08) { Name (_ADR, 22) }
Device (SS09) { Name (_ADR, 23) }
Device (SS10) { Name (_ADR, 24) }
}
#else
/* Root Hub for Tigerlake-LP PCH */ /* Root Hub for Tigerlake-LP PCH */
Device (RHUB) Device (RHUB)
{ {
@ -47,4 +82,5 @@ Device (XHCI)
Device (SS03) { Name (_ADR, 15) } Device (SS03) { Name (_ADR, 15) }
Device (SS04) { Name (_ADR, 16) } Device (SS04) { Name (_ADR, 16) }
} }
#endif /* CONFIG(SOC_INTEL_TIGERLAKE_PCH_H) */
} }

View File

@ -54,6 +54,11 @@ const char *soc_acpi_name(const struct device *dev)
case 7: return "HS08"; case 7: return "HS08";
case 8: return "HS09"; case 8: return "HS09";
case 9: return "HS10"; case 9: return "HS10";
/* PCH-H only */
case 10: return "HS11";
case 11: return "HS12";
case 12: return "HS13";
case 13: return "HS14";
} }
break; break;
case 3: case 3:
@ -63,6 +68,13 @@ const char *soc_acpi_name(const struct device *dev)
case 1: return "SS02"; case 1: return "SS02";
case 2: return "SS03"; case 2: return "SS03";
case 3: return "SS04"; case 3: return "SS04";
/* PCH-H only */
case 4: return "SS05";
case 5: return "SS06";
case 6: return "SS07";
case 7: return "SS08";
case 8: return "SS09";
case 9: return "SS10";
} }
break; break;
} }