| /* SPDX-License-Identifier: GPL-2.0-only */ |
| |
| Scope (\_SB.PCI0.EHC1.HUB7.PRT1) |
| { |
| // Hub Port 1 |
| Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities |
| { |
| 0xFF, // Connectable |
| 0xFF, // OEM Connector |
| 0, // Reserved |
| 0 // Reserved |
| }) |
| |
| // Not Visible |
| Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device |
| { |
| Return (GPLD (0)) |
| } |
| |
| Device (USB2) |
| { |
| Name (_ADR, 2) |
| |
| // Left USB Port |
| Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities |
| { |
| 0xFF, // Connectable |
| 0, // USB Port |
| 0, // Reserved |
| 0 // Reserved |
| }) |
| |
| // Visible |
| Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device |
| { |
| Return (GPLD (1)) |
| } |
| |
| } |
| |
| Device (USB3) |
| { |
| Name (_ADR, 3) |
| |
| // Bottom Right USB Port |
| Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities |
| { |
| 0xFF, // Connectable |
| 0, // USB Port |
| 0, // Reserved |
| 0 // Reserved |
| }) |
| |
| // Visible |
| Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device |
| { |
| Return (GPLD (1)) |
| } |
| } |
| |
| Device (USB4) |
| { |
| Name (_ADR, 4) |
| |
| // Top Right USB Port |
| Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities |
| { |
| 0xFF, // Connectable |
| 0, // USB Port |
| 0, // Reserved |
| 0 // Reserved |
| }) |
| |
| // Visible |
| Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device |
| { |
| Return (GPLD (1)) |
| } |
| } |
| |
| } |
| |
| Scope (_SB.PCI0.EHC2.HUB7.PRT1) |
| { |
| // Hub Port 2 |
| Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities |
| { |
| 0xFF, // Connectable |
| 0xFF, // OEM Connector |
| 0, // Reserved |
| 0 // Reserved |
| }) |
| |
| // Not Visible |
| Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device |
| { |
| Return (GPLD (0)) |
| } |
| |
| Device (USB1) |
| { |
| Name (_ADR, 1) |
| |
| // Bluetooth |
| Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities |
| { |
| 0xFF, // Connectable |
| 0xFF, // OEM Connector |
| 0, // Reserved |
| 0 // Reserved |
| }) |
| |
| // Not Visible |
| Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device |
| { |
| Return (GPLD (0)) |
| } |
| } |
| |
| Device (USB3) |
| { |
| Name (_ADR, 3) |
| |
| // Webcam |
| Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities |
| { |
| 0xFF, // Connectable |
| 0xFF, // OEM Connector |
| 0, // Reserved |
| 0 // Reserved |
| }) |
| |
| // Not Visible |
| Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device |
| { |
| Return (GPLD (0)) |
| } |
| } |
| } |