blob: e40d435699fbb435eb1d6cdd438ffb01ec6e8bde [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 // USB HUB
23 Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
24 {
25 0xFF, // Connectable
26 0xFF, // OEM Connector
Felix Singerfa06bcb2022-12-26 09:32:47 +010027 0, // Reserved
28 0 // Reserved
Matt DeVillier74e1fb02017-04-17 18:49:50 -050029 })
30
31 // Not Visible
32 Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
33 {
Felix Singerfa06bcb2022-12-26 09:32:47 +010034 Return (GPLD (0))
Matt DeVillier74e1fb02017-04-17 18:49:50 -050035 }
36
37 Device (USB1)
38 {
39 Name (_ADR, 4)
40
41 // Right USB 2.0
42 Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
43 {
44 0xFF, // Connectable
Felix Singerfa06bcb2022-12-26 09:32:47 +010045 0, // USB Port
46 0, // Reserved
47 0 // Reserved
Matt DeVillier74e1fb02017-04-17 18:49:50 -050048 })
49
50 // Visible
51 Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
52 {
Felix Singerdfbb6342022-12-26 08:39:35 +010053 Return (GPLD (1))
Matt DeVillier74e1fb02017-04-17 18:49:50 -050054 }
55 }
56
57 Device (USB3)
58 {
59 Name (_ADR, 5)
60
61 // SIM Card Slot
62 Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
63 {
64 0xFF, // Connectable
65 0xFF, // OEM Connector
Felix Singerfa06bcb2022-12-26 09:32:47 +010066 0, // Reserved
67 0 // Reserved
Matt DeVillier74e1fb02017-04-17 18:49:50 -050068 })
69
70 // Not Visible
71 Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
72 {
Felix Singerfa06bcb2022-12-26 09:32:47 +010073 Return (GPLD (0))
Matt DeVillier74e1fb02017-04-17 18:49:50 -050074 }
75 }
76}
77Scope (\_SB.PCI0.XHCI.RHUB.PRT3)
78{
79 // Webcam
80 Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
81 {
82 0xFF, // Connectable
83 0xFF, // OEM Connector
Felix Singerfa06bcb2022-12-26 09:32:47 +010084 0, // Reserved
85 0 // Reserved
Matt DeVillier74e1fb02017-04-17 18:49:50 -050086 })
87
88 // Not Visible
89 Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
90 {
Felix Singerfa06bcb2022-12-26 09:32:47 +010091 Return (GPLD (0))
Matt DeVillier74e1fb02017-04-17 18:49:50 -050092 }
93}
94Scope (\_SB.PCI0.XHCI.RHUB.PRT4)
95{
96 // Bluetooth
97 Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
98 {
99 0xFF, // Connectable
100 0xFF, // OEM Connector
Felix Singerfa06bcb2022-12-26 09:32:47 +0100101 0, // Reserved
102 0 // Reserved
Matt DeVillier74e1fb02017-04-17 18:49:50 -0500103 })
104
105 // Not Visible
106 Method (_PLD, 0, NotSerialized) // _PLD: Physical Location of Device
107 {
Felix Singerfa06bcb2022-12-26 09:32:47 +0100108 Return (GPLD (0))
Matt DeVillier74e1fb02017-04-17 18:49:50 -0500109 }
110}
111Scope (\_SB.PCI0.XHCI.RHUB.SSP1)
112{
113 // Left USB 3.0
114 Name (_UPC, Package (0x04) // _UPC: USB Port Capabilities
115 {
116 0xFF, // Connectable
117 0x03, // USB 3.0 Port
Felix Singerfa06bcb2022-12-26 09:32:47 +0100118 0, // Reserved
119 0 // Reserved
Matt DeVillier74e1fb02017-04-17 18:49:50 -0500120 })
121}