• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/* SPDX-License-Identifier: GPL-2.0-only */
2
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		0,	// Reserved
11		0	// Reserved
12	})
13
14	// Not Visible
15	Method (_PLD, 0, NotSerialized)  // _PLD: Physical Location of Device
16	{
17		Return (GPLD (0))
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			0,	// USB Port
29			0,	// Reserved
30			0	// Reserved
31		})
32
33		// Visible
34		Method (_PLD, 0, NotSerialized)  // _PLD: Physical Location of Device
35		{
36			Return (GPLD (1))
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
49			0,	// USB Port
50			0,	// Reserved
51			0	// Reserved
52		})
53
54		// Visible
55		Method (_PLD, 0, NotSerialized)  // _PLD: Physical Location of Device
56		{
57			Return (GPLD (1))
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
70			0,	// Reserved
71			0	// Reserved
72		})
73
74		// Not Visible
75		Method (_PLD, 0, NotSerialized)  // _PLD: Physical Location of Device
76		{
77			Return (GPLD (0))
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		0,	// Reserved
91		0	// Reserved
92	})
93
94	// Not Visible
95	Method (_PLD, 0, NotSerialized)  // _PLD: Physical Location of Device
96	{
97		Return (GPLD (0))
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			0,	// Reserved
110			0	// Reserved
111		})
112
113		// Not Visible
114		Method (_PLD, 0, NotSerialized)  // _PLD: Physical Location of Device
115		{
116			Return (GPLD (0))
117		}
118	}
119}
120