Angel Pons | 6bc1374 | 2020-04-05 15:46:38 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Hannah Williams | 1cdce27c | 2016-04-05 10:03:38 -0700 | [diff] [blame] | 2 | |
| 3 | /* XHCI Controller 0:15.0 */ |
Karthikeyan Ramasubramanian | 50e060e | 2019-01-29 14:37:38 -0700 | [diff] [blame] | 4 | Device (XHCI) { |
Hannah Williams | 85e3c77 | 2016-05-25 11:12:43 -0700 | [diff] [blame] | 5 | Name (_ADR, 0x00150000) /* Device 21, Function 0 */ |
Hannah Williams | 1cdce27c | 2016-04-05 10:03:38 -0700 | [diff] [blame] | 6 | |
| 7 | Name (_S3D, 3) /* D3 supported in S3 */ |
| 8 | Name (_S0W, 3) /* D3 can wake device in S0 */ |
| 9 | Name (_S3W, 3) /* D3 can wake system from S3 */ |
| 10 | |
Hannah Williams | 85e3c77 | 2016-05-25 11:12:43 -0700 | [diff] [blame] | 11 | /* Declare XHCI GPE status and enable bits are bit 13 */ |
Hannah Williams | 1cdce27c | 2016-04-05 10:03:38 -0700 | [diff] [blame] | 12 | Name (_PRW, Package() { GPE0A_XHCI_PME_STS, 3 }) |
| 13 | |
Hannah Williams | 85e3c77 | 2016-05-25 11:12:43 -0700 | [diff] [blame] | 14 | Method (_STA, 0) |
Hannah Williams | 1cdce27c | 2016-04-05 10:03:38 -0700 | [diff] [blame] | 15 | { |
| 16 | Return (0xF) |
| 17 | } |
Duncan Laurie | bf713b0 | 2018-05-07 15:33:18 -0700 | [diff] [blame] | 18 | |
| 19 | Device (RHUB) |
| 20 | { |
| 21 | /* Root Hub */ |
| 22 | Name (_ADR, Zero) |
| 23 | |
Angel Pons | b36100f | 2020-09-07 13:18:10 +0200 | [diff] [blame] | 24 | #if CONFIG(SOC_INTEL_GEMINILAKE) |
Furquan Shaikh | ad62b9a | 2019-01-30 22:47:17 -0800 | [diff] [blame] | 25 | #include "xhci_glk_ports.asl" |
| 26 | #else |
| 27 | #include "xhci_apl_ports.asl" |
| 28 | #endif |
Duncan Laurie | bf713b0 | 2018-05-07 15:33:18 -0700 | [diff] [blame] | 29 | } |
Hannah Williams | 1cdce27c | 2016-04-05 10:03:38 -0700 | [diff] [blame] | 30 | } |