blob: 200f18bdf34fa6c612de4fb8c2ed4ead499a4307 [file] [log] [blame]
Angel Pons6bc13742020-04-05 15:46:38 +02001/* SPDX-License-Identifier: GPL-2.0-only */
2/* This file is part of the coreboot project. */
Hannah Williams1cdce27c2016-04-05 10:03:38 -07003
4/* XHCI Controller 0:15.0 */
Karthikeyan Ramasubramanian50e060e2019-01-29 14:37:38 -07005Device (XHCI) {
Hannah Williams85e3c772016-05-25 11:12:43 -07006 Name (_ADR, 0x00150000) /* Device 21, Function 0 */
Hannah Williams1cdce27c2016-04-05 10:03:38 -07007
8 Name (_S3D, 3) /* D3 supported in S3 */
9 Name (_S0W, 3) /* D3 can wake device in S0 */
10 Name (_S3W, 3) /* D3 can wake system from S3 */
11
Hannah Williams85e3c772016-05-25 11:12:43 -070012 /* Declare XHCI GPE status and enable bits are bit 13 */
Hannah Williams1cdce27c2016-04-05 10:03:38 -070013 Name (_PRW, Package() { GPE0A_XHCI_PME_STS, 3 })
14
Hannah Williams85e3c772016-05-25 11:12:43 -070015 Method (_STA, 0)
Hannah Williams1cdce27c2016-04-05 10:03:38 -070016 {
17 Return (0xF)
18 }
Duncan Lauriebf713b02018-05-07 15:33:18 -070019
20 Device (RHUB)
21 {
22 /* Root Hub */
23 Name (_ADR, Zero)
24
Julius Wernercd49cce2019-03-05 16:53:33 -080025#if CONFIG(SOC_INTEL_GLK)
Furquan Shaikhad62b9a2019-01-30 22:47:17 -080026#include "xhci_glk_ports.asl"
27#else
28#include "xhci_apl_ports.asl"
29#endif
Duncan Lauriebf713b02018-05-07 15:33:18 -070030 }
Hannah Williams1cdce27c2016-04-05 10:03:38 -070031}