Hannah Williams | 1cdce27c | 2016-04-05 10:03:38 -0700 | [diff] [blame^] | 1 | /* This file is part of the coreboot project. |
| 2 | * |
| 3 | * Copyright (C) 2016 Intel Corporation. |
| 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation; version 2 of the License. |
| 8 | * |
| 9 | * This program is distributed in the hope that it will be useful, |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | * GNU General Public License for more details. |
| 13 | */ |
| 14 | |
| 15 | /* XHCI Controller 0:15.0 */ |
| 16 | Device(XHC1) { |
| 17 | Name(_ADR, 0x00150000) // Device 21, Function 0 |
| 18 | |
| 19 | Name (_S3D, 3) /* D3 supported in S3 */ |
| 20 | Name (_S0W, 3) /* D3 can wake device in S0 */ |
| 21 | Name (_S3W, 3) /* D3 can wake system from S3 */ |
| 22 | |
| 23 | // Declare XHCI GPE status and enable bits are bit 13 |
| 24 | Name (_PRW, Package() { GPE0A_XHCI_PME_STS, 3 }) |
| 25 | |
| 26 | Method (_DSW, 3, NotSerialized) // _DSW: Device Sleep Wake |
| 27 | { |
| 28 | Return (Zero) |
| 29 | } |
| 30 | |
| 31 | Method (_RMV, 0, NotSerialized) // _RMV: Removal Status |
| 32 | { |
| 33 | Return (Zero) |
| 34 | } |
| 35 | |
| 36 | Method(_STA, 0) |
| 37 | { |
| 38 | Return (0xF) |
| 39 | } |
| 40 | |
| 41 | } |