blob: b9418721bb49c7213597a0aafd6b09fd4de93a4c [file] [log] [blame]
Angel Ponsd32b6de2020-04-03 01:23:13 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Matt DeVillier13da7302017-07-09 15:21:55 -05002
3Scope (\_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 Singerfa06bcb2022-12-26 09:32:47 +010010 0, // Reserved
11 0 // Reserved
Matt DeVillier13da7302017-07-09 15:21:55 -050012 })
13
14 // Not Visible
15 Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
16 {
Felix Singerfa06bcb2022-12-26 09:32:47 +010017 Return (GPLD (0))
Matt DeVillier13da7302017-07-09 15:21:55 -050018 }
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 Singerfa06bcb2022-12-26 09:32:47 +010028 0, // USB Port
29 0, // Reserved
30 0 // Reserved
Matt DeVillier13da7302017-07-09 15:21:55 -050031 })
32
33 // Visible
34 Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
35 {
Felix Singerdfbb6342022-12-26 08:39:35 +010036 Return (GPLD (1))
Matt DeVillier13da7302017-07-09 15:21:55 -050037 }
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 Singerfa06bcb2022-12-26 09:32:47 +010049 0, // USB Port
50 0, // Reserved
51 0 // Reserved
Matt DeVillier13da7302017-07-09 15:21:55 -050052 })
53
54 // Visible
55 Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
56 {
Felix Singerdfbb6342022-12-26 08:39:35 +010057 Return (GPLD (1))
Matt DeVillier13da7302017-07-09 15:21:55 -050058 }
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 Singerfa06bcb2022-12-26 09:32:47 +010070 0, // Reserved
71 0 // Reserved
Matt DeVillier13da7302017-07-09 15:21:55 -050072 })
73
74 // Not Visible
75 Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
76 {
Felix Singerfa06bcb2022-12-26 09:32:47 +010077 Return (GPLD (0))
Matt DeVillier13da7302017-07-09 15:21:55 -050078 }
79 }
80
81}
82
83Scope (\_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 Singerfa06bcb2022-12-26 09:32:47 +010090 0, // Reserved
91 0 // Reserved
Matt DeVillier13da7302017-07-09 15:21:55 -050092 })
93
94 // Not Visible
95 Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
96 {
Felix Singerfa06bcb2022-12-26 09:32:47 +010097 Return (GPLD (0))
Matt DeVillier13da7302017-07-09 15:21:55 -050098 }
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 Singerfa06bcb2022-12-26 09:32:47 +0100109 0, // Reserved
110 0 // Reserved
Matt DeVillier13da7302017-07-09 15:21:55 -0500111 })
112
113 // Not Visible
114 Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
115 {
Felix Singerfa06bcb2022-12-26 09:32:47 +0100116 Return (GPLD (0))
Matt DeVillier13da7302017-07-09 15:21:55 -0500117 }
118 }
119}