Angel Pons | d32b6de | 2020-04-03 01:23:13 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Matt DeVillier | 13da730 | 2017-07-09 15:21:55 -0500 | [diff] [blame] | 2 | |
| 3 | Scope (\_SB.PCI0.EHC1.HUB7.PRT1) |
| 4 | { |
| 5 | // Hub Port 1 |
| 6 | Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities |
| 7 | { |
| 8 | 0xFF, // Connectable |
| 9 | 0xFF, // OEM Connector |
Felix Singer | fa06bcb | 2022-12-26 09:32:47 +0100 | [diff] [blame^] | 10 | 0, // Reserved |
| 11 | 0 // Reserved |
Matt DeVillier | 13da730 | 2017-07-09 15:21:55 -0500 | [diff] [blame] | 12 | }) |
| 13 | |
| 14 | // Not Visible |
| 15 | Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device |
| 16 | { |
Felix Singer | fa06bcb | 2022-12-26 09:32:47 +0100 | [diff] [blame^] | 17 | Return (GPLD (0)) |
Matt DeVillier | 13da730 | 2017-07-09 15:21:55 -0500 | [diff] [blame] | 18 | } |
| 19 | |
| 20 | Device (USB1) |
| 21 | { |
| 22 | Name (_ADR, 1) |
| 23 | |
| 24 | // Left USB Port |
| 25 | Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities |
| 26 | { |
| 27 | 0xFF, // Connectable |
Felix Singer | fa06bcb | 2022-12-26 09:32:47 +0100 | [diff] [blame^] | 28 | 0, // USB Port |
| 29 | 0, // Reserved |
| 30 | 0 // Reserved |
Matt DeVillier | 13da730 | 2017-07-09 15:21:55 -0500 | [diff] [blame] | 31 | }) |
| 32 | |
| 33 | // Visible |
| 34 | Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device |
| 35 | { |
Felix Singer | dfbb634 | 2022-12-26 08:39:35 +0100 | [diff] [blame] | 36 | Return (GPLD (1)) |
Matt DeVillier | 13da730 | 2017-07-09 15:21:55 -0500 | [diff] [blame] | 37 | } |
| 38 | |
| 39 | } |
| 40 | |
| 41 | Device (USB2) |
| 42 | { |
| 43 | Name (_ADR, 2) |
| 44 | |
| 45 | // Right USB Port |
| 46 | Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities |
| 47 | { |
| 48 | 0xFF, // Connectable |
Felix Singer | fa06bcb | 2022-12-26 09:32:47 +0100 | [diff] [blame^] | 49 | 0, // USB Port |
| 50 | 0, // Reserved |
| 51 | 0 // Reserved |
Matt DeVillier | 13da730 | 2017-07-09 15:21:55 -0500 | [diff] [blame] | 52 | }) |
| 53 | |
| 54 | // Visible |
| 55 | Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device |
| 56 | { |
Felix Singer | dfbb634 | 2022-12-26 08:39:35 +0100 | [diff] [blame] | 57 | Return (GPLD (1)) |
Matt DeVillier | 13da730 | 2017-07-09 15:21:55 -0500 | [diff] [blame] | 58 | } |
| 59 | } |
| 60 | |
| 61 | Device (USB4) |
| 62 | { |
| 63 | Name (_ADR, 4) |
| 64 | |
| 65 | // SD Card Slot |
| 66 | Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities |
| 67 | { |
| 68 | 0xFF, // Connectable |
| 69 | 0xFF, // OEM Connector |
Felix Singer | fa06bcb | 2022-12-26 09:32:47 +0100 | [diff] [blame^] | 70 | 0, // Reserved |
| 71 | 0 // Reserved |
Matt DeVillier | 13da730 | 2017-07-09 15:21:55 -0500 | [diff] [blame] | 72 | }) |
| 73 | |
| 74 | // Not Visible |
| 75 | Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device |
| 76 | { |
Felix Singer | fa06bcb | 2022-12-26 09:32:47 +0100 | [diff] [blame^] | 77 | Return (GPLD (0)) |
Matt DeVillier | 13da730 | 2017-07-09 15:21:55 -0500 | [diff] [blame] | 78 | } |
| 79 | } |
| 80 | |
| 81 | } |
| 82 | |
| 83 | Scope (\_SB.PCI0.EHC2.HUB7.PRT1) |
| 84 | { |
| 85 | // Hub Port 2 |
| 86 | Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities |
| 87 | { |
| 88 | 0xFF, // Connectable |
| 89 | 0xFF, // OEM Connector |
Felix Singer | fa06bcb | 2022-12-26 09:32:47 +0100 | [diff] [blame^] | 90 | 0, // Reserved |
| 91 | 0 // Reserved |
Matt DeVillier | 13da730 | 2017-07-09 15:21:55 -0500 | [diff] [blame] | 92 | }) |
| 93 | |
| 94 | // Not Visible |
| 95 | Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device |
| 96 | { |
Felix Singer | fa06bcb | 2022-12-26 09:32:47 +0100 | [diff] [blame^] | 97 | Return (GPLD (0)) |
Matt DeVillier | 13da730 | 2017-07-09 15:21:55 -0500 | [diff] [blame] | 98 | } |
| 99 | |
| 100 | Device (USB4) |
| 101 | { |
| 102 | Name (_ADR, 4) |
| 103 | |
| 104 | // Webcam |
| 105 | Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities |
| 106 | { |
| 107 | 0xFF, // Connectable |
| 108 | 0xFF, // OEM Connector |
Felix Singer | fa06bcb | 2022-12-26 09:32:47 +0100 | [diff] [blame^] | 109 | 0, // Reserved |
| 110 | 0 // Reserved |
Matt DeVillier | 13da730 | 2017-07-09 15:21:55 -0500 | [diff] [blame] | 111 | }) |
| 112 | |
| 113 | // Not Visible |
| 114 | Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device |
| 115 | { |
Felix Singer | fa06bcb | 2022-12-26 09:32:47 +0100 | [diff] [blame^] | 116 | Return (GPLD (0)) |
Matt DeVillier | 13da730 | 2017-07-09 15:21:55 -0500 | [diff] [blame] | 117 | } |
| 118 | } |
| 119 | } |