1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <intelblocks/xhci.h>
6 /* Include UWES method for enabling USB wake */
7 #include <soc/intel/common/acpi/xhci_wake.asl>
9 /* XHCI Controller 0:14.0 */
13 Name (_ADR, 0x00140000)
15 Name (_PRW, Package () { GPE0_PME_B0, 3 })
17 OperationRegion (XPRT, PCI_Config, 0x00, 0x100)
18 Field (XPRT, AnyAcc, NoLock, Preserve)
22 XMEM, 16, /* MEM_BASE */
27 UWES ((\U2WE & 0xFFF), PORTSCN_OFFSET, XMEM)
28 UWES ((\U3WE & 0x3F ), PORTSCXUSB3_OFFSET, XMEM)
31 Name (_S3D, 3) /* D3 supported in S3 */
32 Name (_S0W, 3) /* D3 can wake device in S0 */
33 Name (_S3W, 3) /* D3 can wake system from S3 */
35 Method (_PS0, 0, Serialized)
40 Method (_PS3, 0, Serialized)
44 #if CONFIG(SOC_INTEL_ALDERLAKE_PCH_S)
45 /* Root Hub for Alder Lake-P PCH */
51 Device (HS01) { Name (_ADR, 1) }
52 Device (HS02) { Name (_ADR, 2) }
53 Device (HS03) { Name (_ADR, 3) }
54 Device (HS04) { Name (_ADR, 4) }
55 Device (HS05) { Name (_ADR, 5) }
56 Device (HS06) { Name (_ADR, 6) }
57 Device (HS07) { Name (_ADR, 7) }
58 Device (HS08) { Name (_ADR, 8) }
59 Device (HS09) { Name (_ADR, 9) }
60 Device (HS10) { Name (_ADR, 10) }
61 Device (HS11) { Name (_ADR, 11) }
62 Device (HS12) { Name (_ADR, 12) }
63 Device (HS13) { Name (_ADR, 13) }
64 Device (HS14) { Name (_ADR, 14) }
66 Device (SS01) { Name (_ADR, 15) }
67 Device (SS02) { Name (_ADR, 16) }
68 Device (SS03) { Name (_ADR, 17) }
69 Device (SS04) { Name (_ADR, 18) }
70 Device (SS05) { Name (_ADR, 19) }
71 Device (SS06) { Name (_ADR, 20) }
72 Device (SS07) { Name (_ADR, 21) }
73 Device (SS08) { Name (_ADR, 22) }
74 Device (SS09) { Name (_ADR, 23) }
75 Device (SS10) { Name (_ADR, 24) }
78 /* Root Hub for Alder Lake-P PCH */
84 Device (HS01) { Name (_ADR, 1) }
85 Device (HS02) { Name (_ADR, 2) }
86 Device (HS03) { Name (_ADR, 3) }
87 Device (HS04) { Name (_ADR, 4) }
88 Device (HS05) { Name (_ADR, 5) }
89 Device (HS06) { Name (_ADR, 6) }
90 Device (HS07) { Name (_ADR, 7) }
91 Device (HS08) { Name (_ADR, 8) }
92 Device (HS09) { Name (_ADR, 9) }
93 Device (HS10) { Name (_ADR, 10) }
95 Device (SS01) { Name (_ADR, 13) }
96 Device (SS02) { Name (_ADR, 14) }
97 Device (SS03) { Name (_ADR, 15) }
98 Device (SS04) { Name (_ADR, 16) }