+++ /dev/null
-/***************************************************************************************;\r
-;* *;\r
-;* *;\r
-;* Intel Corporation - ACPI Reference Code for the Baytrail *;\r
-;* Family of Customer Reference Boards. *;\r
-;* *;\r
-;* *;\r
-;* Copyright (c) 2011 - 2014, Intel Corporation. All rights reserved *;\r
-;* *;\r
-;* ThSPDX-License-Identifier: BSD-2-Clause-Patent\r
-;* *;\r
-;* *;\r
-;* *;\r
-;***************************************************************************************/\r
-\r
-OperationRegion(PWKE,PCI_Config,0x62,0x04)\r
-\r
-Field(PWKE,DWordAcc,NoLock,Preserve)\r
-{\r
- , 1,\r
- PWUC, 8 // Port Wake Up Capability Mask\r
-}\r
-\r
-Method(_PSW,1)\r
-{\r
- If(Arg0)\r
- {\r
- Store(Ones,PWUC)\r
- }\r
- Else\r
- {\r
- Store(0,PWUC)\r
- }\r
-}\r
-\r
-// Leaves the USB ports on in S3/S4 to allow\r
-// the ability to Wake from USB. Therefore, define\r
-// the below control methods to state D2 entry during\r
-// the given S-State.\r
-\r
-Method(_S3D,0)\r
-{\r
- Return(2)\r
-}\r
-\r
-Method(_S4D,0)\r
-{\r
- Return(2)\r
-}\r
-\r
-Device(HUBN)\r
-{\r
- Name(_ADR, Zero)\r
- Device(PR01)\r
- {\r
- Name(_ADR, One)\r
-\r
- //\r
- // There will have "Generic USB Hub" existed at Port 1 of each EHCI controller\r
- // in Windows "Device Manager" while RMH is enabled, so need to add _UPC\r
- // and _PLD to report OS that it's not user visible to pass WHQL: Single Computer\r
- // Display Object test in Win7\r
- //\r
- Name(_UPC, Package()\r
- {\r
- 0xFF, // Port is connectable\r
- 0x00, // Connector type - Type "A"\r
- 0x00000000, // Reserved 0 - must be zero\r
- 0x00000000\r
- }) // Reserved 1 - must be zero\r
-\r
- Name(_PLD, Package()\r
- {\r
- Buffer (0x10)\r
- {\r
- 0x81, 0x00, 0x00, 0x00, // Revision 1, Ignore color\r
- 0x00, 0x00, 0x00, 0x00,\r
- 0x30, 0x1C, 0x00, 0x00, // Panel Unknown, Shape Unknown\r
- 0x00, 0x00, 0x00, 0x00\r
- }\r
- })\r
-\r
- Device(PR11)\r
- {\r
- Name(_ADR, One)\r
- Name(_UPC, Package()\r
- {\r
- 0xFF, // Port is connectable\r
- 0xFF, // Proprietary connector\r
- 0x00000000, // Reserved 0 - must be zero\r
- 0x00000000\r
- }) // Reserved 1 - must be zero\r
- Name(_PLD, Package()\r
- {\r
- Buffer (0x10)\r
- {\r
- 0x81, 0x00, 0x00, 0x00, // Revision 1, Ignore color\r
- 0x00, 0x00, 0x00, 0x00,\r
- 0xE1, 0x1C, 0x00, 0x00, // Front Panel, Vertical Upper, Horz. Left, Shape Unknown\r
- 0x00, 0x00, 0x00, 0x00\r
- }\r
- })\r
- }\r
-\r
- Device(PR12)\r
- {\r
- Name(_ADR, 0x02)\r
- Name(_UPC, Package()\r
- {\r
- 0xFF, // Port is connectable\r
- 0xFF, // Proprietary connector\r
- 0x00000000, // Reserved 0 - must be zero\r
- 0x00000000\r
- }) // Reserved 1 - must be zero\r
- Name(_PLD, Package()\r
- {\r
- Buffer (0x10)\r
- {\r
- 0x81, 0x00, 0x00, 0x00, // Revision 1, Ignore color\r
- 0x00, 0x00, 0x00, 0x00,\r
- 0xE1, 0x1D, 0x00, 0x00, // Front Panel, Vertical Center, Horz. Left, Shape Unknown\r
- 0x00, 0x00, 0x00, 0x00\r
- }\r
- })\r
- }\r
-\r
- Device(PR13)\r
- {\r
- Name(_ADR, 0x03)\r
- Name(_UPC, Package()\r
- {\r
- 0xFF, // Port is connectable\r
- 0xFF, // Proprietary connector\r
- 0x00000000, // Reserved 0 - must be zero\r
- 0x00000000\r
- }) // Reserved 1 - must be zero\r
- Name(_PLD, Package()\r
- {\r
- Buffer (0x10)\r
- {\r
- 0x81, 0x00, 0x00, 0x00, // Revision 1, Ignore color\r
- 0x00, 0x00, 0x00, 0x00,\r
- 0xE1, 0x1D, 0x00, 0x00, // Front Panel, Vertical Center, Horz. Left, Shape Unknown\r
- 0x00, 0x00, 0x00, 0x00\r
- }\r
- })\r
- }\r
-\r
- Device(PR14)\r
- {\r
- Name(_ADR, 0x04)\r
- Name(_UPC, Package()\r
- {\r
- 0xFF, // Port is connectable\r
- 0xFF, // Proprietary connector\r
- 0x00000000, // Reserved 0 - must be zero\r
- 0x00000000\r
- }) // Reserved 1 - must be zero\r
-\r
- Name(_PLD, Package()\r
- {\r
- Buffer (0x10)\r
- {\r
- 0x81, 0x00, 0x00, 0x00, // Revision 1, Ignore color\r
- 0x00, 0x00, 0x00, 0x00,\r
- 0xE1, 0x1E, 0x00, 0x00, // Front Panel, Vertical Lower, Horz. Left, Shape Unknown\r
- 0x00, 0x00, 0x00, 0x00\r
- }\r
- })\r
-\r
- // copy USB Sideband Deferring GPE Vector (HOST_ALERT#1) to DSM method\r
- Include("UsbSbd.asl")\r
- }\r
-\r
- Device(PR15)\r
- {\r
- Name(_ADR, 0x05)\r
- Name(_UPC, Package()\r
- {\r
- 0xFF, // Port is connectable\r
- 0xFF, // Proprietary connector\r
- 0x00000000, // Reserved 0 - must be zero\r
- 0x00000000\r
- }) // Reserved 1 - must be zero\r
- Name(_PLD, Package()\r
- {\r
- Buffer (0x10)\r
- {\r
- 0x81, 0x00, 0x00, 0x00, // Revision 1, Ignore color\r
- 0x00, 0x00, 0x00, 0x00,\r
- 0xB1, 0x1E, 0x00, 0x00, // Panel Unknown, Shape Unknown\r
- 0x00, 0x00, 0x00, 0x00\r
- }\r
- })\r
- // copy USB Sideband Deferring GPE Vector (HOST_ALERT#2) to DSM method\r
- Include("UsbSbd.asl")\r
- }\r
-\r
- Device(PR16)\r
- {\r
- Name(_ADR, 0x06)\r
- Name(_UPC, Package()\r
- {\r
- 0xFF, // Port is connectable\r
- 0xFF, // Proprietary connector\r
- 0x00000000, // Reserved 0 - must be zero\r
- 0x00000000\r
- }) // Reserved 1 - must be zero\r
- Name(_PLD, Package()\r
- {\r
- Buffer (0x10)\r
- {\r
- 0x81, 0x00, 0x00, 0x00, // Revision 1, Ignore color\r
- 0x00, 0x00, 0x00, 0x00,\r
- 0xB1, 0x1E, 0x00, 0x00, // Panel Unknown, Shape Unknown\r
- 0x00, 0x00, 0x00, 0x00\r
- }\r
- })\r
- // copy USB Sideband Deferring GPE Vector (HOST_ALERT#1) to DSM method\r
- Include("UsbSbd.asl")\r
- }\r
-\r
- Device(PR17)\r
- {\r
- Name(_ADR, 0x07)\r
- Name(_UPC, Package()\r
- {\r
- 0xFF, // Port is connectable\r
- 0xFF, // Proprietary connector\r
- 0x00000000, // Reserved 0 - must be zero\r
- 0x00000000\r
- }) // Reserved 1 - must be zero\r
- Name(_PLD, Package()\r
- {\r
- Buffer (0x10)\r
- {\r
- 0x81, 0x00, 0x00, 0x00, // Revision 1, Ignore color\r
- 0x00, 0x00, 0x00, 0x00,\r
- 0xB1, 0x1E, 0x00, 0x00, // Panel Unknown, Shape Unknown\r
- 0x00, 0x00, 0x00, 0x00\r
- }\r
- })\r
- // copy USB Sideband Deferring GPE Vector (HOST_ALERT#2) to DSM method\r
- Include("UsbSbd.asl")\r
- }\r
-\r
- Device(PR18)\r
- {\r
- Name(_ADR, 0x08)\r
- Name(_UPC, Package()\r
- {\r
- 0xFF, // Port is connectable\r
- 0xFF, // Proprietary connector\r
- 0x00000000, // Reserved 0 - must be zero\r
- 0x00000000\r
- }) // Reserved 1 - must be zero\r
- Name(_PLD, Package()\r
- {\r
- Buffer (0x10)\r
- {\r
- 0x81, 0x00, 0x00, 0x00, // Revision 1, Ignore color\r
- 0x00, 0x00, 0x00, 0x00,\r
- 0xB1, 0x1E, 0x00, 0x00, // Panel Unknown, Shape Unknown\r
- 0x00, 0x00, 0x00, 0x00\r
- }\r
- })\r
- }\r
- } // End of PR01\r
-} // End of HUBN\r