]>
Commit | Line | Data |
---|---|---|
3cbfba02 DW |
1 | /***************************************************************************************;\r |
2 | ;* *;\r | |
3 | ;* *;\r | |
4 | ;* Intel Corporation - ACPI Reference Code for the Baytrail *;\r | |
5 | ;* Family of Customer Reference Boards. *;\r | |
6 | ;* *;\r | |
7 | ;* *;\r | |
8 | ;* Copyright (c) 2011 - 2014, Intel Corporation. All rights reserved *;\r | |
9 | ;* *;\r | |
10 | ;* This program and the accompanying materials are licensed and made available under *;\r | |
11 | ;* the terms and conditions of the BSD License that accompanies this distribution. *;\r | |
12 | ;* The full text of the license may be found at *;\r | |
13 | ;* http://opensource.org/licenses/bsd-license.php. *;\r | |
14 | ;* *;\r | |
15 | ;* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, *;\r | |
16 | ;* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. *;\r | |
17 | ;* *;\r | |
18 | ;* *;\r | |
19 | ;* *;\r | |
20 | ;***************************************************************************************/\r | |
21 | \r | |
22 | OperationRegion(PWKE,PCI_Config,0x62,0x04)\r | |
23 | \r | |
24 | Field(PWKE,DWordAcc,NoLock,Preserve)\r | |
25 | {\r | |
26 | , 1,\r | |
27 | PWUC, 8 // Port Wake Up Capability Mask\r | |
28 | }\r | |
29 | \r | |
30 | Method(_PSW,1)\r | |
31 | {\r | |
32 | If(Arg0)\r | |
33 | {\r | |
34 | Store(Ones,PWUC)\r | |
35 | }\r | |
36 | Else\r | |
37 | {\r | |
38 | Store(0,PWUC)\r | |
39 | }\r | |
40 | }\r | |
41 | \r | |
42 | // Leaves the USB ports on in S3/S4 to allow\r | |
43 | // the ability to Wake from USB. Therefore, define\r | |
44 | // the below control methods to state D2 entry during\r | |
45 | // the given S-State.\r | |
46 | \r | |
47 | Method(_S3D,0)\r | |
48 | {\r | |
49 | Return(2)\r | |
50 | }\r | |
51 | \r | |
52 | Method(_S4D,0)\r | |
53 | {\r | |
54 | Return(2)\r | |
55 | }\r | |
56 | \r | |
57 | Device(HUBN)\r | |
58 | {\r | |
59 | Name(_ADR, Zero)\r | |
60 | Device(PR01)\r | |
61 | {\r | |
62 | Name(_ADR, One)\r | |
63 | \r | |
64 | //\r | |
65 | // There will have "Generic USB Hub" existed at Port 1 of each EHCI controller\r | |
66 | // in Windows "Device Manager" while RMH is enabled, so need to add _UPC\r | |
67 | // and _PLD to report OS that it's not user visible to pass WHQL: Single Computer\r | |
68 | // Display Object test in Win7\r | |
69 | //\r | |
70 | Name(_UPC, Package()\r | |
71 | {\r | |
72 | 0xFF, // Port is connectable\r | |
73 | 0x00, // Connector type - Type "A"\r | |
74 | 0x00000000, // Reserved 0 - must be zero\r | |
75 | 0x00000000\r | |
76 | }) // Reserved 1 - must be zero\r | |
77 | \r | |
78 | Name(_PLD, Package()\r | |
79 | {\r | |
80 | Buffer (0x10)\r | |
81 | {\r | |
82 | 0x81, 0x00, 0x00, 0x00, // Revision 1, Ignore color\r | |
83 | 0x00, 0x00, 0x00, 0x00,\r | |
84 | 0x30, 0x1C, 0x00, 0x00, // Panel Unknown, Shape Unknown\r | |
85 | 0x00, 0x00, 0x00, 0x00\r | |
86 | }\r | |
87 | })\r | |
88 | \r | |
89 | Device(PR11)\r | |
90 | {\r | |
91 | Name(_ADR, One)\r | |
92 | Name(_UPC, Package()\r | |
93 | {\r | |
94 | 0xFF, // Port is connectable\r | |
95 | 0xFF, // Proprietary connector\r | |
96 | 0x00000000, // Reserved 0 - must be zero\r | |
97 | 0x00000000\r | |
98 | }) // Reserved 1 - must be zero\r | |
99 | Name(_PLD, Package()\r | |
100 | {\r | |
101 | Buffer (0x10)\r | |
102 | {\r | |
103 | 0x81, 0x00, 0x00, 0x00, // Revision 1, Ignore color\r | |
104 | 0x00, 0x00, 0x00, 0x00,\r | |
105 | 0xE1, 0x1C, 0x00, 0x00, // Front Panel, Vertical Upper, Horz. Left, Shape Unknown\r | |
106 | 0x00, 0x00, 0x00, 0x00\r | |
107 | }\r | |
108 | })\r | |
109 | }\r | |
110 | \r | |
111 | Device(PR12)\r | |
112 | {\r | |
113 | Name(_ADR, 0x02)\r | |
114 | Name(_UPC, Package()\r | |
115 | {\r | |
116 | 0xFF, // Port is connectable\r | |
117 | 0xFF, // Proprietary connector\r | |
118 | 0x00000000, // Reserved 0 - must be zero\r | |
119 | 0x00000000\r | |
120 | }) // Reserved 1 - must be zero\r | |
121 | Name(_PLD, Package()\r | |
122 | {\r | |
123 | Buffer (0x10)\r | |
124 | {\r | |
125 | 0x81, 0x00, 0x00, 0x00, // Revision 1, Ignore color\r | |
126 | 0x00, 0x00, 0x00, 0x00,\r | |
127 | 0xE1, 0x1D, 0x00, 0x00, // Front Panel, Vertical Center, Horz. Left, Shape Unknown\r | |
128 | 0x00, 0x00, 0x00, 0x00\r | |
129 | }\r | |
130 | })\r | |
131 | }\r | |
132 | \r | |
133 | Device(PR13)\r | |
134 | {\r | |
135 | Name(_ADR, 0x03)\r | |
136 | Name(_UPC, Package()\r | |
137 | {\r | |
138 | 0xFF, // Port is connectable\r | |
139 | 0xFF, // Proprietary connector\r | |
140 | 0x00000000, // Reserved 0 - must be zero\r | |
141 | 0x00000000\r | |
142 | }) // Reserved 1 - must be zero\r | |
143 | Name(_PLD, Package()\r | |
144 | {\r | |
145 | Buffer (0x10)\r | |
146 | {\r | |
147 | 0x81, 0x00, 0x00, 0x00, // Revision 1, Ignore color\r | |
148 | 0x00, 0x00, 0x00, 0x00,\r | |
149 | 0xE1, 0x1D, 0x00, 0x00, // Front Panel, Vertical Center, Horz. Left, Shape Unknown\r | |
150 | 0x00, 0x00, 0x00, 0x00\r | |
151 | }\r | |
152 | })\r | |
153 | }\r | |
154 | \r | |
155 | Device(PR14)\r | |
156 | {\r | |
157 | Name(_ADR, 0x04)\r | |
158 | Name(_UPC, Package()\r | |
159 | {\r | |
160 | 0xFF, // Port is connectable\r | |
161 | 0xFF, // Proprietary connector\r | |
162 | 0x00000000, // Reserved 0 - must be zero\r | |
163 | 0x00000000\r | |
164 | }) // Reserved 1 - must be zero\r | |
165 | \r | |
166 | Name(_PLD, Package()\r | |
167 | {\r | |
168 | Buffer (0x10)\r | |
169 | {\r | |
170 | 0x81, 0x00, 0x00, 0x00, // Revision 1, Ignore color\r | |
171 | 0x00, 0x00, 0x00, 0x00,\r | |
172 | 0xE1, 0x1E, 0x00, 0x00, // Front Panel, Vertical Lower, Horz. Left, Shape Unknown\r | |
173 | 0x00, 0x00, 0x00, 0x00\r | |
174 | }\r | |
175 | })\r | |
176 | \r | |
177 | // copy USB Sideband Deferring GPE Vector (HOST_ALERT#1) to DSM method\r | |
178 | Include("UsbSbd.asl")\r | |
179 | }\r | |
180 | \r | |
181 | Device(PR15)\r | |
182 | {\r | |
183 | Name(_ADR, 0x05)\r | |
184 | Name(_UPC, Package()\r | |
185 | {\r | |
186 | 0xFF, // Port is connectable\r | |
187 | 0xFF, // Proprietary connector\r | |
188 | 0x00000000, // Reserved 0 - must be zero\r | |
189 | 0x00000000\r | |
190 | }) // Reserved 1 - must be zero\r | |
191 | Name(_PLD, Package()\r | |
192 | {\r | |
193 | Buffer (0x10)\r | |
194 | {\r | |
195 | 0x81, 0x00, 0x00, 0x00, // Revision 1, Ignore color\r | |
196 | 0x00, 0x00, 0x00, 0x00,\r | |
197 | 0xB1, 0x1E, 0x00, 0x00, // Panel Unknown, Shape Unknown\r | |
198 | 0x00, 0x00, 0x00, 0x00\r | |
199 | }\r | |
200 | })\r | |
201 | // copy USB Sideband Deferring GPE Vector (HOST_ALERT#2) to DSM method\r | |
202 | Include("UsbSbd.asl")\r | |
203 | }\r | |
204 | \r | |
205 | Device(PR16)\r | |
206 | {\r | |
207 | Name(_ADR, 0x06)\r | |
208 | Name(_UPC, Package()\r | |
209 | {\r | |
210 | 0xFF, // Port is connectable\r | |
211 | 0xFF, // Proprietary connector\r | |
212 | 0x00000000, // Reserved 0 - must be zero\r | |
213 | 0x00000000\r | |
214 | }) // Reserved 1 - must be zero\r | |
215 | Name(_PLD, Package()\r | |
216 | {\r | |
217 | Buffer (0x10)\r | |
218 | {\r | |
219 | 0x81, 0x00, 0x00, 0x00, // Revision 1, Ignore color\r | |
220 | 0x00, 0x00, 0x00, 0x00,\r | |
221 | 0xB1, 0x1E, 0x00, 0x00, // Panel Unknown, Shape Unknown\r | |
222 | 0x00, 0x00, 0x00, 0x00\r | |
223 | }\r | |
224 | })\r | |
225 | // copy USB Sideband Deferring GPE Vector (HOST_ALERT#1) to DSM method\r | |
226 | Include("UsbSbd.asl")\r | |
227 | }\r | |
228 | \r | |
229 | Device(PR17)\r | |
230 | {\r | |
231 | Name(_ADR, 0x07)\r | |
232 | Name(_UPC, Package()\r | |
233 | {\r | |
234 | 0xFF, // Port is connectable\r | |
235 | 0xFF, // Proprietary connector\r | |
236 | 0x00000000, // Reserved 0 - must be zero\r | |
237 | 0x00000000\r | |
238 | }) // Reserved 1 - must be zero\r | |
239 | Name(_PLD, Package()\r | |
240 | {\r | |
241 | Buffer (0x10)\r | |
242 | {\r | |
243 | 0x81, 0x00, 0x00, 0x00, // Revision 1, Ignore color\r | |
244 | 0x00, 0x00, 0x00, 0x00,\r | |
245 | 0xB1, 0x1E, 0x00, 0x00, // Panel Unknown, Shape Unknown\r | |
246 | 0x00, 0x00, 0x00, 0x00\r | |
247 | }\r | |
248 | })\r | |
249 | // copy USB Sideband Deferring GPE Vector (HOST_ALERT#2) to DSM method\r | |
250 | Include("UsbSbd.asl")\r | |
251 | }\r | |
252 | \r | |
253 | Device(PR18)\r | |
254 | {\r | |
255 | Name(_ADR, 0x08)\r | |
256 | Name(_UPC, Package()\r | |
257 | {\r | |
258 | 0xFF, // Port is connectable\r | |
259 | 0xFF, // Proprietary connector\r | |
260 | 0x00000000, // Reserved 0 - must be zero\r | |
261 | 0x00000000\r | |
262 | }) // Reserved 1 - must be zero\r | |
263 | Name(_PLD, Package()\r | |
264 | {\r | |
265 | Buffer (0x10)\r | |
266 | {\r | |
267 | 0x81, 0x00, 0x00, 0x00, // Revision 1, Ignore color\r | |
268 | 0x00, 0x00, 0x00, 0x00,\r | |
269 | 0xB1, 0x1E, 0x00, 0x00, // Panel Unknown, Shape Unknown\r | |
270 | 0x00, 0x00, 0x00, 0x00\r | |
271 | }\r | |
272 | })\r | |
273 | }\r | |
274 | } // End of PR01\r | |
275 | } // End of HUBN\r |