Duncan Laurie | 3f94a74 | 2014-01-14 14:59:28 -0800 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2014 Google Inc. |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU General Public License as |
| 8 | * published by the Free Software Foundation; version 2 of |
| 9 | * the License. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU General Public License for more details. |
Duncan Laurie | 3f94a74 | 2014-01-14 14:59:28 -0800 | [diff] [blame] | 15 | */ |
| 16 | |
| 17 | Device (XHCI) |
| 18 | { |
| 19 | Name (_ADR, 0x00140000) |
| 20 | Name (_PRW, Package () { 0x0d, 3 }) |
| 21 | Name (_S3D, 3) /* Highest D state in S3 state */ |
| 22 | |
| 23 | Device (RHUB) |
| 24 | { |
| 25 | Name (_ADR, 0x00000000) |
Matt DeVillier | fab0a49 | 2017-04-17 18:47:16 -0500 | [diff] [blame^] | 26 | |
| 27 | // GPLD: Generate Port Location Data (PLD) |
| 28 | Method (GPLD, 1, Serialized) { |
| 29 | Name (PCKG, Package (0x01) { |
| 30 | Buffer (0x10) {} |
| 31 | }) |
| 32 | |
| 33 | // REV: Revision 0x02 for ACPI 5.0 |
| 34 | CreateField (DerefOf (Index (PCKG, Zero)), Zero, 0x07, REV) |
| 35 | Store (0x02, REV) |
| 36 | |
| 37 | // VISI: Port visibility to user per port |
| 38 | CreateField (DerefOf (Index (PCKG, Zero)), 0x40, One, VISI) |
| 39 | Store (Arg0, VISI) |
| 40 | Return (PCKG) |
| 41 | } |
| 42 | |
Duncan Laurie | 3f94a74 | 2014-01-14 14:59:28 -0800 | [diff] [blame] | 43 | Device (PRT1) { Name (_ADR, 1) } |
| 44 | Device (PRT2) { Name (_ADR, 2) } |
| 45 | Device (PRT3) { Name (_ADR, 3) } |
| 46 | Device (PRT4) { Name (_ADR, 4) } |
Matt DeVillier | f9c46f0 | 2017-04-17 18:45:55 -0500 | [diff] [blame] | 47 | Device (SSP1) { Name (_ADR, 7) } |
Duncan Laurie | 3f94a74 | 2014-01-14 14:59:28 -0800 | [diff] [blame] | 48 | } |
| 49 | } |