Angel Pons | 6bc1374 | 2020-04-05 15:46:38 +0200 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | /* This file is part of the coreboot project. */ |
Hannah Williams | 1cdce27c | 2016-04-05 10:03:38 -0700 | [diff] [blame] | 3 | |
| 4 | /* XHCI Controller 0:15.0 */ |
Karthikeyan Ramasubramanian | 50e060e | 2019-01-29 14:37:38 -0700 | [diff] [blame] | 5 | Device (XHCI) { |
Hannah Williams | 85e3c77 | 2016-05-25 11:12:43 -0700 | [diff] [blame] | 6 | Name (_ADR, 0x00150000) /* Device 21, Function 0 */ |
Hannah Williams | 1cdce27c | 2016-04-05 10:03:38 -0700 | [diff] [blame] | 7 | |
| 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 Williams | 85e3c77 | 2016-05-25 11:12:43 -0700 | [diff] [blame] | 12 | /* Declare XHCI GPE status and enable bits are bit 13 */ |
Hannah Williams | 1cdce27c | 2016-04-05 10:03:38 -0700 | [diff] [blame] | 13 | Name (_PRW, Package() { GPE0A_XHCI_PME_STS, 3 }) |
| 14 | |
Hannah Williams | 85e3c77 | 2016-05-25 11:12:43 -0700 | [diff] [blame] | 15 | Method (_STA, 0) |
Hannah Williams | 1cdce27c | 2016-04-05 10:03:38 -0700 | [diff] [blame] | 16 | { |
| 17 | Return (0xF) |
| 18 | } |
Duncan Laurie | bf713b0 | 2018-05-07 15:33:18 -0700 | [diff] [blame] | 19 | |
| 20 | Device (RHUB) |
| 21 | { |
| 22 | /* Root Hub */ |
| 23 | Name (_ADR, Zero) |
| 24 | |
Julius Werner | cd49cce | 2019-03-05 16:53:33 -0800 | [diff] [blame] | 25 | #if CONFIG(SOC_INTEL_GLK) |
Furquan Shaikh | ad62b9a | 2019-01-30 22:47:17 -0800 | [diff] [blame] | 26 | #include "xhci_glk_ports.asl" |
| 27 | #else |
| 28 | #include "xhci_apl_ports.asl" |
| 29 | #endif |
Duncan Laurie | bf713b0 | 2018-05-07 15:33:18 -0700 | [diff] [blame] | 30 | } |
Hannah Williams | 1cdce27c | 2016-04-05 10:03:38 -0700 | [diff] [blame] | 31 | } |