| 1 |
/* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 |
|
| 3 |
Scope (\_SB.PCI0.XHCI.HUB7.PRT2) |
| 4 |
{ |
| 5 |
// USB 2.0 Port 1 |
| 6 |
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities |
| 7 |
{ |
| 8 |
0xFF, // Connectable |
| 9 |
0, // USB Port |
| 10 |
0, // Reserved |
| 11 |
0 // Reserved |
| 12 |
}) |
| 13 |
|
| 14 |
// Visible |
| 15 |
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device |
| 16 |
{ |
| 17 |
Return (GPLD (1)) |
| 18 |
} |
| 19 |
} |
| 20 |
Scope (\_SB.PCI0.XHCI.HUB7.PRT3) |
| 21 |
{ |
| 22 |
// USB 2.0 Port 2 |
| 23 |
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities |
| 24 |
{ |
| 25 |
0xFF, // Connectable |
| 26 |
0, // USB Port |
| 27 |
0, // Reserved |
| 28 |
0 // Reserved |
| 29 |
}) |
| 30 |
|
| 31 |
// Visible |
| 32 |
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device |
| 33 |
{ |
| 34 |
Return (GPLD (1)) |
| 35 |
} |
| 36 |
} |
| 37 |
Scope (\_SB.PCI0.XHCI.HUB7.PRT4) |
| 38 |
{ |
| 39 |
// Bluetooth |
| 40 |
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities |
| 41 |
{ |
| 42 |
0xFF, // Connectable |
| 43 |
0xFF, // OEM Connector |
| 44 |
0, // Reserved |
| 45 |
0 // Reserved |
| 46 |
}) |
| 47 |
|
| 48 |
// Not Visible |
| 49 |
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device |
| 50 |
{ |
| 51 |
Return (GPLD (0)) |
| 52 |
} |
| 53 |
} |
| 54 |
Scope (\_SB.PCI0.XHCI.HUB7.PRT5) |
| 55 |
{ |
| 56 |
// USB 2.0 Port 3 |
| 57 |
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities |
| 58 |
{ |
| 59 |
0xFF, // Connectable |
| 60 |
0, // USB Port |
| 61 |
0, // Reserved |
| 62 |
0 // Reserved |
| 63 |
}) |
| 64 |
|
| 65 |
// Visible |
| 66 |
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device |
| 67 |
{ |
| 68 |
Return (GPLD (1)) |
| 69 |
} |
| 70 |
} |
| 71 |
Scope (\_SB.PCI0.XHCI.HUB7.PRT6) |
| 72 |
{ |
| 73 |
// USB 2.0 Port 4 |
| 74 |
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities |
| 75 |
{ |
| 76 |
0xFF, // Connectable |
| 77 |
0, // USB Port |
| 78 |
0, // Reserved |
| 79 |
0 // Reserved |
| 80 |
}) |
| 81 |
|
| 82 |
// Visible |
| 83 |
Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device |
| 84 |
{ |
| 85 |
Return (GPLD (1)) |
| 86 |
} |
| 87 |
} |
| 88 |
Scope (\_SB.PCI0.XHCI.HUB7.SSP1) |
| 89 |
{ |
| 90 |
// USB 3.0 Port 1 |
| 91 |
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities |
| 92 |
{ |
| 93 |
0xFF, // Connectable |
| 94 |
0x03, // USB 3.0 Port |
| 95 |
0, // Reserved |
| 96 |
0 // Reserved |
| 97 |
}) |
| 98 |
} |
| 99 |
Scope (\_SB.PCI0.XHCI.HUB7.SSP2) |
| 100 |
{ |
| 101 |
// USB 3.0 Port 2 |
| 102 |
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities |
| 103 |
{ |
| 104 |
0xFF, // Connectable |
| 105 |
0x03, // USB 3.0 Port |
| 106 |
0, // Reserved |
| 107 |
0 // Reserved |
| 108 |
}) |
| 109 |
} |
| 110 |
Scope (\_SB.PCI0.XHCI.HUB7.SSP3) |
| 111 |
{ |
| 112 |
// USB 3.0 Port 3 |
| 113 |
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities |
| 114 |
{ |
| 115 |
0xFF, // Connectable |
| 116 |
0x03, // USB 3.0 Port |
| 117 |
0, // Reserved |
| 118 |
0 // Reserved |
| 119 |
}) |
| 120 |
} |
| 121 |
Scope (\_SB.PCI0.XHCI.HUB7.SSP4) |
| 122 |
{ |
| 123 |
// USB 3.0 Port 4 |
| 124 |
Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities |
| 125 |
{ |
| 126 |
0xFF, // Connectable |
| 127 |
0x03, // USB 3.0 Port |
| 128 |
0, // Reserved |
| 129 |
0 // Reserved |
| 130 |
}) |
| 131 |
} |