blob: d3c0083c2f99d5639cdc8d9d30dde4a214c53efb [file] [log] [blame]
Duncan Laurie3f94a742014-01-14 14:59:28 -08001/*
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 Laurie3f94a742014-01-14 14:59:28 -080015 */
16
17Device (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 DeVillierfab0a492017-04-17 18:47:16 -050026
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 Laurie3f94a742014-01-14 14:59:28 -080043 Device (PRT1) { Name (_ADR, 1) }
44 Device (PRT2) { Name (_ADR, 2) }
45 Device (PRT3) { Name (_ADR, 3) }
46 Device (PRT4) { Name (_ADR, 4) }
Matt DeVillierf9c46f02017-04-17 18:45:55 -050047 Device (SSP1) { Name (_ADR, 7) }
Duncan Laurie3f94a742014-01-14 14:59:28 -080048 }
49}