blob: 986ab5b0f97def0f26e1476690ad0791cbb25974 [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
10 Zero, // Reserved
11 Zero // Reserved
12 })
13
14 // Not Visible
15 Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
16 {
17 Return (GPLD (Zero))
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
28 Zero, // USB Port
29 Zero, // Reserved
30 Zero // Reserved
31 })
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
49 Zero, // USB Port
50 Zero, // Reserved
51 Zero // Reserved
52 })
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
70 Zero, // Reserved
71 Zero // Reserved
72 })
73
74 // Not Visible
75 Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
76 {
77 Return (GPLD (Zero))
78 }
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
90 Zero, // Reserved
91 Zero // Reserved
92 })
93
94 // Not Visible
95 Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
96 {
97 Return (GPLD (Zero))
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
109 Zero, // Reserved
110 Zero // Reserved
111 })
112
113 // Not Visible
114 Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
115 {
116 Return (GPLD (Zero))
117 }
118 }
119}