soc/tigerlake: Update xhci ACPI files for JSP
ACPI files for xhci in JSL is different from TGL. Hence, renaming xhci.asl to xhci_tgl.asl and adding a new file xhci_jsl.asl for JSL. Also, allowing xhci.asl to choose the correct file based on the SoC selected. BUG=None BRANCH=None TEST=Compilation for JasperLake board is working Change-Id: Ia8e88e02989ff80d7cd1f28941e005cb0d842fcb Signed-off-by: Meera Ravindranath <meera.ravindranath@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38880 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Reviewed-by: Aamir Bohra <aamir.bohra@intel.com> Reviewed-by: Subrata Banik <subrata.banik@intel.com>
This commit is contained in:
parent
77eaecf06b
commit
0e61a53b06
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of the coreboot project.
|
* This file is part of the coreboot project.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2019 Intel Corp.
|
* Copyright (C) 2020 Intel Corp.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -13,51 +13,8 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <soc/gpe.h>
|
#if CONFIG(SOC_INTEL_TIGERLAKE)
|
||||||
|
#include "xhci_tgl.asl"
|
||||||
/* XHCI Controller 0:14.0 */
|
#else
|
||||||
|
#include "xhci_jsl.asl"
|
||||||
Device (XHCI)
|
#endif
|
||||||
{
|
|
||||||
Name (_ADR, 0x00140000)
|
|
||||||
|
|
||||||
Name (_PRW, Package () { GPE0_PME_B0, 3 })
|
|
||||||
|
|
||||||
Name (_S3D, 3) /* D3 supported in S3 */
|
|
||||||
Name (_S0W, 3) /* D3 can wake device in S0 */
|
|
||||||
Name (_S3W, 3) /* D3 can wake system from S3 */
|
|
||||||
|
|
||||||
Method (_PS0, 0, Serialized)
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
Method (_PS3, 0, Serialized)
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Root Hub for Tigerlake-LP 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) }
|
|
||||||
|
|
||||||
/* USB3 */
|
|
||||||
Device (SS01) { Name (_ADR, 13) }
|
|
||||||
Device (SS02) { Name (_ADR, 14) }
|
|
||||||
Device (SS03) { Name (_ADR, 15) }
|
|
||||||
Device (SS04) { Name (_ADR, 16) }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -0,0 +1,63 @@
|
||||||
|
/*
|
||||||
|
* This file is part of the coreboot project.
|
||||||
|
*
|
||||||
|
* Copyright (C) 2020 Intel Corp.
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; version 2 of the License.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <soc/gpe.h>
|
||||||
|
|
||||||
|
/* XHCI Controller 0:14.0 */
|
||||||
|
|
||||||
|
Device (XHCI)
|
||||||
|
{
|
||||||
|
Name (_ADR, 0x00140000)
|
||||||
|
|
||||||
|
Name (_PRW, Package () { GPE0_PME_B0, 3 })
|
||||||
|
|
||||||
|
Name (_S3D, 3) /* D3 supported in S3 */
|
||||||
|
Name (_S0W, 3) /* D3 can wake device in S0 */
|
||||||
|
Name (_S3W, 3) /* D3 can wake system from S3 */
|
||||||
|
|
||||||
|
Method (_PS0, 0, Serialized)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
Method (_PS3, 0, Serialized)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Root Hub for Jasperlake 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) }
|
||||||
|
|
||||||
|
/* USB3 */
|
||||||
|
Device (SS01) { Name (_ADR, 9) }
|
||||||
|
Device (SS02) { Name (_ADR, 10) }
|
||||||
|
Device (SS03) { Name (_ADR, 11) }
|
||||||
|
Device (SS04) { Name (_ADR, 12) }
|
||||||
|
Device (SS05) { Name (_ADR, 13) }
|
||||||
|
Device (SS06) { Name (_ADR, 14) }
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,63 @@
|
||||||
|
/*
|
||||||
|
* This file is part of the coreboot project.
|
||||||
|
*
|
||||||
|
* Copyright (C) 2019 Intel Corp.
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; version 2 of the License.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <soc/gpe.h>
|
||||||
|
|
||||||
|
/* XHCI Controller 0:14.0 */
|
||||||
|
|
||||||
|
Device (XHCI)
|
||||||
|
{
|
||||||
|
Name (_ADR, 0x00140000)
|
||||||
|
|
||||||
|
Name (_PRW, Package () { GPE0_PME_B0, 3 })
|
||||||
|
|
||||||
|
Name (_S3D, 3) /* D3 supported in S3 */
|
||||||
|
Name (_S0W, 3) /* D3 can wake device in S0 */
|
||||||
|
Name (_S3W, 3) /* D3 can wake system from S3 */
|
||||||
|
|
||||||
|
Method (_PS0, 0, Serialized)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
Method (_PS3, 0, Serialized)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Root Hub for Tigerlake-LP 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) }
|
||||||
|
|
||||||
|
/* USB3 */
|
||||||
|
Device (SS01) { Name (_ADR, 13) }
|
||||||
|
Device (SS02) { Name (_ADR, 14) }
|
||||||
|
Device (SS03) { Name (_ADR, 15) }
|
||||||
|
Device (SS04) { Name (_ADR, 16) }
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue