blob: 9f7304bb57ff04f6732c663bbfc392c7ab1aa143 [file] [log] [blame]
Hannah Williams85e3c772016-05-25 11:12:43 -07001/*
2 * This file is part of the coreboot project.
Hannah Williams1cdce27c2016-04-05 10:03:38 -07003 *
4 * Copyright (C) 2016 Intel Corporation.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 */
15
16/* XHCI Controller 0:15.0 */
Karthikeyan Ramasubramanian50e060e2019-01-29 14:37:38 -070017Device (XHCI) {
Hannah Williams85e3c772016-05-25 11:12:43 -070018 Name (_ADR, 0x00150000) /* Device 21, Function 0 */
Hannah Williams1cdce27c2016-04-05 10:03:38 -070019
20 Name (_S3D, 3) /* D3 supported in S3 */
21 Name (_S0W, 3) /* D3 can wake device in S0 */
22 Name (_S3W, 3) /* D3 can wake system from S3 */
23
Hannah Williams85e3c772016-05-25 11:12:43 -070024 /* Declare XHCI GPE status and enable bits are bit 13 */
Hannah Williams1cdce27c2016-04-05 10:03:38 -070025 Name (_PRW, Package() { GPE0A_XHCI_PME_STS, 3 })
26
Hannah Williams85e3c772016-05-25 11:12:43 -070027 Method (_STA, 0)
Hannah Williams1cdce27c2016-04-05 10:03:38 -070028 {
29 Return (0xF)
30 }
Duncan Lauriebf713b02018-05-07 15:33:18 -070031
32 Device (RHUB)
33 {
34 /* Root Hub */
35 Name (_ADR, Zero)
36
Furquan Shaikhad62b9a2019-01-30 22:47:17 -080037#if IS_ENABLED(CONFIG_SOC_INTEL_GLK)
38#include "xhci_glk_ports.asl"
39#else
40#include "xhci_apl_ports.asl"
41#endif
Duncan Lauriebf713b02018-05-07 15:33:18 -070042 }
Hannah Williams1cdce27c2016-04-05 10:03:38 -070043}