Subrata Banik | 0808992 | 2020-10-03 13:02:06 +0530 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #include <soc/gpe.h> |
| 4 | |
| 5 | /* XHCI Controller 0:14.0 */ |
| 6 | |
| 7 | Device (XHCI) |
| 8 | { |
| 9 | Name (_ADR, 0x00140000) |
| 10 | |
| 11 | Name (_PRW, Package () { GPE0_PME_B0, 3 }) |
| 12 | |
| 13 | Name (_S3D, 3) /* D3 supported in S3 */ |
| 14 | Name (_S0W, 3) /* D3 can wake device in S0 */ |
| 15 | Name (_S3W, 3) /* D3 can wake system from S3 */ |
| 16 | |
| 17 | Method (_PS0, 0, Serialized) |
| 18 | { |
| 19 | |
| 20 | } |
| 21 | |
| 22 | Method (_PS3, 0, Serialized) |
| 23 | { |
| 24 | |
| 25 | } |
Michał Żygowski | f422ed8 | 2022-04-20 12:52:51 +0200 | [diff] [blame] | 26 | #if CONFIG(SOC_INTEL_ALDERLAKE_PCH_S) |
| 27 | /* Root Hub for Alder Lake-P PCH */ |
| 28 | Device (RHUB) |
| 29 | { |
| 30 | Name (_ADR, Zero) |
Subrata Banik | 0808992 | 2020-10-03 13:02:06 +0530 | [diff] [blame] | 31 | |
Michał Żygowski | f422ed8 | 2022-04-20 12:52:51 +0200 | [diff] [blame] | 32 | /* USB2 */ |
| 33 | Device (HS01) { Name (_ADR, 1) } |
| 34 | Device (HS02) { Name (_ADR, 2) } |
| 35 | Device (HS03) { Name (_ADR, 3) } |
| 36 | Device (HS04) { Name (_ADR, 4) } |
| 37 | Device (HS05) { Name (_ADR, 5) } |
| 38 | Device (HS06) { Name (_ADR, 6) } |
| 39 | Device (HS07) { Name (_ADR, 7) } |
| 40 | Device (HS08) { Name (_ADR, 8) } |
| 41 | Device (HS09) { Name (_ADR, 9) } |
| 42 | Device (HS10) { Name (_ADR, 10) } |
| 43 | Device (HS11) { Name (_ADR, 11) } |
| 44 | Device (HS12) { Name (_ADR, 12) } |
| 45 | Device (HS13) { Name (_ADR, 13) } |
| 46 | Device (HS14) { Name (_ADR, 14) } |
| 47 | /* USB3 */ |
| 48 | Device (SS01) { Name (_ADR, 15) } |
| 49 | Device (SS02) { Name (_ADR, 16) } |
| 50 | Device (SS03) { Name (_ADR, 17) } |
| 51 | Device (SS04) { Name (_ADR, 18) } |
| 52 | Device (SS05) { Name (_ADR, 19) } |
| 53 | Device (SS06) { Name (_ADR, 20) } |
| 54 | Device (SS07) { Name (_ADR, 21) } |
| 55 | Device (SS08) { Name (_ADR, 22) } |
| 56 | Device (SS09) { Name (_ADR, 23) } |
| 57 | Device (SS10) { Name (_ADR, 24) } |
| 58 | } |
| 59 | #else |
Subrata Banik | 0808992 | 2020-10-03 13:02:06 +0530 | [diff] [blame] | 60 | /* Root Hub for Alder Lake-P PCH */ |
| 61 | Device (RHUB) |
| 62 | { |
| 63 | Name (_ADR, Zero) |
| 64 | |
| 65 | /* USB2 */ |
| 66 | Device (HS01) { Name (_ADR, 1) } |
| 67 | Device (HS02) { Name (_ADR, 2) } |
| 68 | Device (HS03) { Name (_ADR, 3) } |
| 69 | Device (HS04) { Name (_ADR, 4) } |
| 70 | Device (HS05) { Name (_ADR, 5) } |
| 71 | Device (HS06) { Name (_ADR, 6) } |
| 72 | Device (HS07) { Name (_ADR, 7) } |
| 73 | Device (HS08) { Name (_ADR, 8) } |
| 74 | Device (HS09) { Name (_ADR, 9) } |
| 75 | Device (HS10) { Name (_ADR, 10) } |
| 76 | /* USB3 */ |
Adam Mills | 9c4514b | 2022-08-10 15:49:00 +1000 | [diff] [blame] | 77 | Device (SS01) { Name (_ADR, 13) } |
| 78 | Device (SS02) { Name (_ADR, 14) } |
| 79 | Device (SS03) { Name (_ADR, 15) } |
| 80 | Device (SS04) { Name (_ADR, 16) } |
Subrata Banik | 0808992 | 2020-10-03 13:02:06 +0530 | [diff] [blame] | 81 | } |
Michał Żygowski | f422ed8 | 2022-04-20 12:52:51 +0200 | [diff] [blame] | 82 | #endif |
Subrata Banik | 0808992 | 2020-10-03 13:02:06 +0530 | [diff] [blame] | 83 | } |