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, 4 })
19 UWES ((\U2WE & 0xFFF), PORTSCN_OFFSET, XMEM)
20 UWES ((\U3WE & 0x3F ), PORTSCXUSB3_OFFSET, XMEM)
23 Name (_S3D, 3) /* D3 supported in S3 */
24 Name (_S0W, 3) /* D3 can wake device in S0 */
25 Name (_S3W, 3) /* D3 can wake system from S3 */
27 Name (_S4D, 3) /* D3 supported in S4 */
28 Name (_S4W, 3) /* D3 can wake system from S4 */
30 OperationRegion (XPRT, PCI_Config, 0x00, 0x100)
31 Field (XPRT, AnyAcc, NoLock, Preserve)
35 XMEM, 16, /* MEM_BASE */
37 D0D3, 2, /* POWERSTATE */
41 PMES, 1, /* PME_STS */
44 Method (_PS0, 0, Serialized)
49 Method (_PS3, 0, Serialized)
54 /* Root Hub for Cannonlake-LP PCH */
60 Device (HS01) { Name (_ADR, 1) }
61 Device (HS02) { Name (_ADR, 2) }
62 Device (HS03) { Name (_ADR, 3) }
63 Device (HS04) { Name (_ADR, 4) }
64 Device (HS05) { Name (_ADR, 5) }
65 Device (HS06) { Name (_ADR, 6) }
66 Device (HS07) { Name (_ADR, 7) }
67 Device (HS08) { Name (_ADR, 8) }
68 Device (HS09) { Name (_ADR, 9) }
69 Device (HS10) { Name (_ADR, 10) }
70 Device (HS11) { Name (_ADR, 11) }
71 Device (HS12) { Name (_ADR, 12) }
74 Device (USR1) { Name (_ADR, 11) }
75 Device (USR2) { Name (_ADR, 12) }
78 Device (SS01) { Name (_ADR, 13) }
79 Device (SS02) { Name (_ADR, 14) }
80 Device (SS03) { Name (_ADR, 15) }
81 Device (SS04) { Name (_ADR, 16) }
82 Device (SS05) { Name (_ADR, 17) }
83 Device (SS06) { Name (_ADR, 18) }