blob: fd4236753caa9f970064182ff63e0c2b7bf82d27 [file] [log] [blame]
Angel Pons47f26db2020-04-05 13:22:34 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Matt DeVillier74e1fb02017-04-17 18:49:50 -05002
3Scope (\_SB.PCI0.XHCI.RHUB.PRT1)
4{
5 // Left USB 2.0
6 Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
7 {
8 0xFF, // Connectable
Felix Singerfa06bcb2022-12-26 09:32:47 +01009 0, // USB Port
10 0, // Reserved
11 0 // Reserved
Matt DeVillier74e1fb02017-04-17 18:49:50 -050012 })
13
14 // Visible
15 Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
16 {
Felix Singerdfbb6342022-12-26 08:39:35 +010017 Return (GPLD (1))
Matt DeVillier74e1fb02017-04-17 18:49:50 -050018 }
19}
20Scope (\_SB.PCI0.XHCI.RHUB.PRT2)
21{
22 // Right USB 2.0
23 Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
24 {
25 0xFF, // Connectable
Felix Singerfa06bcb2022-12-26 09:32:47 +010026 0, // USB Port
27 0, // Reserved
28 0 // Reserved
Matt DeVillier74e1fb02017-04-17 18:49:50 -050029 })
30
31 // Visible
32 Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
33 {
Felix Singerdfbb6342022-12-26 08:39:35 +010034 Return (GPLD (1))
Matt DeVillier74e1fb02017-04-17 18:49:50 -050035 }
36}
37Scope (\_SB.PCI0.XHCI.RHUB.PRT3)
38{
39 // Webcam
40 Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
41 {
42 0xFF, // Connectable
43 0xFF, // OEM Connector
Felix Singerfa06bcb2022-12-26 09:32:47 +010044 0, // Reserved
45 0 // Reserved
Matt DeVillier74e1fb02017-04-17 18:49:50 -050046 })
47
48 // Not Visible
49 Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
50 {
Felix Singerfa06bcb2022-12-26 09:32:47 +010051 Return (GPLD (0))
Matt DeVillier74e1fb02017-04-17 18:49:50 -050052 }
53}
54Scope (\_SB.PCI0.XHCI.RHUB.PRT4)
55{
56 // Bluetooth
57 Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
58 {
59 0xFF, // Connectable
60 0xFF, // OEM Connector
Felix Singerfa06bcb2022-12-26 09:32:47 +010061 0, // Reserved
62 0 // Reserved
Matt DeVillier74e1fb02017-04-17 18:49:50 -050063 })
64
65 // Not Visible
66 Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
67 {
Felix Singerfa06bcb2022-12-26 09:32:47 +010068 Return (GPLD (0))
Matt DeVillier74e1fb02017-04-17 18:49:50 -050069 }
70}
71Scope (\_SB.PCI0.XHCI.RHUB.SSP1)
72{
73 // Left USB 3.0
74 Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
75 {
76 0xFF, // Connectable
77 0x03, // USB 3.0 Port
Felix Singerfa06bcb2022-12-26 09:32:47 +010078 0, // Reserved
79 0 // Reserved
Matt DeVillier74e1fb02017-04-17 18:49:50 -050080 })
81}