summaryrefslogtreecommitdiff
path: root/Board/IO/F81216/ACPI
diff options
context:
space:
mode:
Diffstat (limited to 'Board/IO/F81216/ACPI')
-rw-r--r--Board/IO/F81216/ACPI/DeviceASL.cif11
-rw-r--r--Board/IO/F81216/ACPI/Uart1.ASL123
-rw-r--r--Board/IO/F81216/ACPI/Uart2.ASL117
-rw-r--r--Board/IO/F81216/ACPI/Uart3.ASL101
-rw-r--r--Board/IO/F81216/ACPI/Uart4.ASL101
5 files changed, 453 insertions, 0 deletions
diff --git a/Board/IO/F81216/ACPI/DeviceASL.cif b/Board/IO/F81216/ACPI/DeviceASL.cif
new file mode 100644
index 0000000..3d68f5f
--- /dev/null
+++ b/Board/IO/F81216/ACPI/DeviceASL.cif
@@ -0,0 +1,11 @@
+<component>
+ name = "F81216 Device ASL Files"
+ category = ModulePart
+ LocalRoot = "Board\IO\F81216\ACPI\"
+ RefName = "F81216ASLFiles"
+[files]
+"Uart3.ASL"
+"Uart4.ASL"
+"Uart2.ASL"
+"Uart1.ASL"
+<endComponent>
diff --git a/Board/IO/F81216/ACPI/Uart1.ASL b/Board/IO/F81216/ACPI/Uart1.ASL
new file mode 100644
index 0000000..375847e
--- /dev/null
+++ b/Board/IO/F81216/ACPI/Uart1.ASL
@@ -0,0 +1,123 @@
+//**********************************************************************
+//**********************************************************************
+//** **
+//** (C)Copyright 1985-2009, American Megatrends, Inc. **
+//** **
+//** All Rights Reserved. **
+//** **
+//** 5555 Oakbrook Pkwy, Norcross, GA 30093 **
+//** **
+//** Phone: (770)-246-8600 **
+//** **
+//**********************************************************************
+//**********************************************************************
+// $Header: /Alaska/BIN/IO/Fintek/F81216_Sec/F81216 Device ASL Files/Uart1.ASL 3 7/18/12 9:29p Elviscai $
+//
+// $Revision: 3 $
+//
+// $Date: 7/18/12 9:29p $
+//**********************************************************************;
+// Revision History
+// ----------------
+// $Log: /Alaska/BIN/IO/Fintek/F81216_Sec/F81216 Device ASL Files/Uart1.ASL $
+//
+// 3 7/18/12 9:29p Elviscai
+// [TAG] EIPNONE
+// [Category] Bug Fix
+// [Solution] Change _HID judgement if IR mode
+//
+// 2 7/04/11 3:23a Kasalinyi
+// [Category] Improvement
+// [Description] Update to new template
+// [Files] Uart3.ASL
+// Uart4.ASL
+// Uart2.ASL
+// Uart1.ASL
+// DeviceASL.cif
+//
+// 1 10/28/10 2:32a Mikes
+// Implement new name rule
+//
+// 1 3/31/10 5:56a Fantasylai
+//**********************************************************************;
+// UART1 //
+// Category # :0x11
+Device(UR11) {
+// Name(_HID, EISAID("PNP0501")) //PnP Device ID 16550 Type
+ Name(_UID, 0x11) //Generic ID for COMC
+
+ Method(_HID, 0) {Return(^^SIO2.UHID(0x11))} //PnP Device ID
+ Method(_STA, 0) {Return(^^SIO2.DSTA(0x11))} //Get UART status
+ Method(_DIS, 0) {^^SIO2.DCNT(0x11, 0)} //Disable UART
+ //Default is share mode
+ Method(_CRS, 0) {Return(^^SIO2.DCR3(0x11, 0))} //Get UART current resources
+ Method(_SRS, 1) {^^SIO2.DSR3(Arg0, 0x11)} //Set UART recources
+//-----------------------------------------------------------------------
+// UART1 Possible Resources
+//-----------------------------------------------------------------------
+//NOTE: _PRS MUST be the NAME not a METHOD object
+//to have GENERICSIO.C working right!
+//-----------------------------------------------------------------------
+ Name(_PRS, ResourceTemplate() {
+ StartDependentFn(0, 0) {
+ IO(Decode16, 0x260, 0x260, 1, 8)
+ IRQ(Level,ActiveLow,Shared) {11}
+ DMA(Compatibility, NotBusMaster, Transfer8) {}
+ }
+ StartDependentFnNoPri() {
+ IO(Decode16, 0x260, 0x260, 1, 8)
+ IRQ(Level,ActiveLow,Shared) {10,11,12}
+ DMA(Compatibility, NotBusMaster, Transfer8) {}
+ }
+ StartDependentFnNoPri() {
+ IO(Decode16, 0x268, 0x268, 1, 8)
+ IRQ(Level,ActiveLow,Shared) {10,11,12}
+ DMA(Compatibility, NotBusMaster, Transfer8) {}
+ }
+ StartDependentFnNoPri() {
+ IO(Decode16, 0x270, 0x270, 1, 8)
+ IRQ(Level,ActiveLow,Shared) {10,11,12}
+ DMA(Compatibility, NotBusMaster, Transfer8) {}
+ }
+ StartDependentFnNoPri() {
+ IO(Decode16, 0x278, 0x278, 1, 8)
+ IRQ(Level,ActiveLow,Shared) {10,11,12}
+ DMA(Compatibility, NotBusMaster, Transfer8) {}
+ }
+ EndDependentFn()
+ })
+
+
+/*
+//---------Power Resources for UART1 -------------------------
+ PowerResource(URP1, 0, 0) { //SystemLevel Parameter=0,
+ //which means UART can be turned off
+ //in any sleep state
+ Method(_STA, 0) {
+ Return(URAP) //Get Power Status
+ } //end of _STA
+ Method(_ON) {
+ Store(1, URAP) //Power on
+ } //end of _ON
+ Method(_OFF){
+ Store(0, URAP) //Power off
+ } //end of _OFF
+ }
+ Name(_PR0, Package(){URP1}) //Reference to PowerResources
+*/
+} // End Of UAR1
+//-----------------------------------------------------------------------
+
+//*************************************************************************
+//*************************************************************************
+//** **
+//** (C)Copyright 1985-2008, American Megatrends, Inc. **
+//** **
+//** All Rights Reserved. **
+//** **
+//** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 **
+//** **
+//** Phone: (770)-246-8600 **
+//** **
+//*************************************************************************
+//************************************************************************* \ No newline at end of file
diff --git a/Board/IO/F81216/ACPI/Uart2.ASL b/Board/IO/F81216/ACPI/Uart2.ASL
new file mode 100644
index 0000000..64118d3
--- /dev/null
+++ b/Board/IO/F81216/ACPI/Uart2.ASL
@@ -0,0 +1,117 @@
+//**********************************************************************
+//**********************************************************************
+//** **
+//** (C)Copyright 1985-2009, American Megatrends, Inc. **
+//** **
+//** All Rights Reserved. **
+//** **
+//** 5555 Oakbrook Pkwy, Norcross, GA 30093 **
+//** **
+//** Phone: (770)-246-8600 **
+//** **
+//**********************************************************************
+//**********************************************************************
+// $Header: /Alaska/BIN/IO/Fintek/F81216_Sec/F81216 Device ASL Files/Uart2.ASL 2 7/04/11 3:23a Kasalinyi $
+//
+// $Revision: 2 $
+//
+// $Date: 7/04/11 3:23a $
+//**********************************************************************;
+// Revision History
+// ----------------
+// $Log: /Alaska/BIN/IO/Fintek/F81216_Sec/F81216 Device ASL Files/Uart2.ASL $
+//
+// 2 7/04/11 3:23a Kasalinyi
+// [Category] Improvement
+// [Description] Update to new template
+// [Files] Uart3.ASL
+// Uart4.ASL
+// Uart2.ASL
+// Uart1.ASL
+// DeviceASL.cif
+//
+// 1 10/28/10 2:32a Mikes
+// Implement new name rule
+//
+// 1 3/31/10 5:56a Fantasylai
+//**********************************************************************;
+// UART2 //
+// Category # :0x12
+Device(UR12) {
+ Name(_HID, EISAID("PNP0501")) //PnP Device ID 16550 Type
+ Name(_UID, 0x12)
+ //Generic ID for COMD
+// Method(_HID, 0) {Return(^^SIO2.UHID(0x12))} //PnP Device ID
+ Method(_STA, 0) {Return(^^SIO2.DSTA(0x12))} //Get UART status
+ Method(_DIS, 0) {^^SIO2.DCNT(0x12, 0)} //Disable UART
+ //Default is share mode
+ Method(_CRS, 0) {Return(^^SIO2.DCR3(0x12, 0))} //Get UART current resources
+ Method(_SRS, 1) {^^SIO2.DSR3(Arg0, 0x12)} //Set UART recources
+
+//-----------------------------------------------------------------------
+// UART2 Possible Resources
+//-----------------------------------------------------------------------
+//NOTE: _PRS MUST be the NAME not a METHOD object
+//to have GENERICSIO.C working right!
+//-----------------------------------------------------------------------
+ Name(_PRS, ResourceTemplate() {
+ StartDependentFn(0, 0) {
+ IO(Decode16, 0x268, 0x268, 1, 8)
+ IRQ(Level,ActiveLow,Shared) {11}
+ DMA(Compatibility, NotBusMaster, Transfer8) {}
+ }
+ StartDependentFnNoPri() {
+ IO(Decode16, 0x260, 0x260, 1, 8)
+ IRQ(Level,ActiveLow,Shared) {10,11,12}
+ DMA(Compatibility, NotBusMaster, Transfer8) {}
+ }
+ StartDependentFnNoPri() {
+ IO(Decode16, 0x268, 0x268, 1, 8)
+ IRQ(Level,ActiveLow,Shared) {10,11,12}
+ DMA(Compatibility, NotBusMaster, Transfer8) {}
+ }
+ StartDependentFnNoPri() {
+ IO(Decode16, 0x270, 0x270, 1, 8)
+ IRQ(Level,ActiveLow,Shared) {10,11,12}
+ DMA(Compatibility, NotBusMaster, Transfer8) {}
+ }
+ StartDependentFnNoPri() {
+ IO(Decode16, 0x278, 0x278, 1, 8)
+ IRQ(Level,ActiveLow,Shared) {10,11,12}
+ DMA(Compatibility, NotBusMaster, Transfer8) {}
+ }
+ EndDependentFn()
+ })
+/*
+//---------Power Resources for UART2 -------------------------
+ PowerResource(URP2, 0, 0) { //SystemLevel Parameter=0,
+ //which means UART can be turned off
+ //in any sleep state
+ Method(_STA, 0) {
+ Return(URBP) //Get Power Status
+ } //end of _STA
+ Method(_ON) {
+ Store(1, URBP) //Power on
+ } //end of _ON
+ Method(_OFF){
+ Store(0, URBP) //Power off
+ } //end of _OFF
+ }
+ Name(_PR0, Package(){URP2}) //Reference to PowerResources
+*/
+} // End Of UAR2
+//-----------------------------------------------------------------------
+
+//*************************************************************************
+//*************************************************************************
+//** **
+//** (C)Copyright 1985-2008, American Megatrends, Inc. **
+//** **
+//** All Rights Reserved. **
+//** **
+//** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 **
+//** **
+//** Phone: (770)-246-8600 **
+//** **
+//*************************************************************************
+//************************************************************************* \ No newline at end of file
diff --git a/Board/IO/F81216/ACPI/Uart3.ASL b/Board/IO/F81216/ACPI/Uart3.ASL
new file mode 100644
index 0000000..aca730c
--- /dev/null
+++ b/Board/IO/F81216/ACPI/Uart3.ASL
@@ -0,0 +1,101 @@
+//**********************************************************************
+//**********************************************************************
+//** **
+//** (C)Copyright 1985-2011, American Megatrends, Inc. **
+//** **
+//** All Rights Reserved. **
+//** **
+//** 5555 Oakbrook Pkwy, Norcross, GA 30093 **
+//** **
+//** Phone: (770)-246-8600 **
+//** **
+//**********************************************************************
+//**********************************************************************
+// $Header: /Alaska/BIN/IO/Fintek/F81216_Sec/F81216 Device ASL Files/Uart3.ASL 3 7/04/11 3:23a Kasalinyi $
+//
+// $Revision: 3 $
+//
+// $Date: 7/04/11 3:23a $
+//**********************************************************************;
+// Revision History
+// ----------------
+// $Log: /Alaska/BIN/IO/Fintek/F81216_Sec/F81216 Device ASL Files/Uart3.ASL $
+//
+// 3 7/04/11 3:23a Kasalinyi
+// [Category] Improvement
+// [Description] Update to new template
+// [Files] Uart3.ASL
+// Uart4.ASL
+// Uart2.ASL
+// Uart1.ASL
+// DeviceASL.cif
+//
+// 2 10/28/10 2:33a Mikes
+// Implement new name rule
+//
+// 1 3/31/10 5:56a Fantasylai
+//**********************************************************************;
+// UART3 //
+// Category # :0x13
+Device(UR13) {
+ Name(_HID, EISAID("PNP0501")) //PnP Device ID 16550 Type
+ Name(_UID, 0x13)
+
+// Method(_HID, 0) {Return(^^SIO2.UHID(0x13))} //PnP Device ID
+ Method(_STA, 0) {Return(^^SIO2.DSTA(0x13))} //Get UART status
+ Method(_DIS, 0) {^^SIO2.DCNT(0x13, 0)} //Disable UART
+ //Default is share mode
+ Method(_CRS, 0) {Return(^^SIO2.DCR3(0x13, 0))} //Get UART current resources
+ Method(_SRS, 1) {^^SIO2.DSR3(Arg0, 0x13)} //Set UART recources
+
+//-----------------------------------------------------------------------
+// UART3 Possible Resources
+//-----------------------------------------------------------------------
+//NOTE: _PRS MUST be the NAME not a METHOD object
+//to have GENERICSIO.C working right!
+//-----------------------------------------------------------------------
+ Name(_PRS, ResourceTemplate() {
+ StartDependentFn(0, 0) {
+ IO(Decode16, 0x270, 0x270, 1, 8)
+ IRQ(Level,ActiveLow,Shared) {11}
+ DMA(Compatibility, NotBusMaster, Transfer8) {}
+ }
+ StartDependentFnNoPri() {
+ IO(Decode16, 0x260, 0x260, 1, 8)
+ IRQ(Level,ActiveLow,Shared) {10,11,12}
+ DMA(Compatibility, NotBusMaster, Transfer8) {}
+ }
+ StartDependentFnNoPri() {
+ IO(Decode16, 0x268, 0x268, 1, 8)
+ IRQ(Level,ActiveLow,Shared) {10,11,12}
+ DMA(Compatibility, NotBusMaster, Transfer8) {}
+ }
+ StartDependentFnNoPri() {
+ IO(Decode16, 0x270, 0x270, 1, 8)
+ IRQ(Level,ActiveLow,Shared) {10,11,12}
+ DMA(Compatibility, NotBusMaster, Transfer8) {}
+ }
+ StartDependentFnNoPri() {
+ IO(Decode16, 0x278, 0x278, 1, 8)
+ IRQ(Level,ActiveLow,Shared) {10,11,12}
+ DMA(Compatibility, NotBusMaster, Transfer8) {}
+ }
+ EndDependentFn()
+ })
+
+} // End Of UAR3
+//-----------------------------------------------------------------------
+
+//*************************************************************************
+//*************************************************************************
+//** **
+//** (C)Copyright 1985-2011, American Megatrends, Inc. **
+//** **
+//** All Rights Reserved. **
+//** **
+//** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 **
+//** **
+//** Phone: (770)-246-8600 **
+//** **
+//*************************************************************************
+//*************************************************************************
diff --git a/Board/IO/F81216/ACPI/Uart4.ASL b/Board/IO/F81216/ACPI/Uart4.ASL
new file mode 100644
index 0000000..3d3d34a
--- /dev/null
+++ b/Board/IO/F81216/ACPI/Uart4.ASL
@@ -0,0 +1,101 @@
+//**********************************************************************
+//**********************************************************************
+//** **
+//** (C)Copyright 1985-2011, American Megatrends, Inc. **
+//** **
+//** All Rights Reserved. **
+//** **
+//** 5555 Oakbrook Pkwy, Norcross, GA 30093 **
+//** **
+//** Phone: (770)-246-8600 **
+//** **
+//**********************************************************************
+//**********************************************************************
+// $Header: /Alaska/BIN/IO/Fintek/F81216_Sec/F81216 Device ASL Files/Uart4.ASL 3 7/04/11 3:23a Kasalinyi $
+//
+// $Revision: 3 $
+//
+// $Date: 7/04/11 3:23a $
+//**********************************************************************;
+// Revision History
+// ----------------
+// $Log: /Alaska/BIN/IO/Fintek/F81216_Sec/F81216 Device ASL Files/Uart4.ASL $
+//
+// 3 7/04/11 3:23a Kasalinyi
+// [Category] Improvement
+// [Description] Update to new template
+// [Files] Uart3.ASL
+// Uart4.ASL
+// Uart2.ASL
+// Uart1.ASL
+// DeviceASL.cif
+//
+// 2 10/28/10 2:33a Mikes
+// Implement new name rule
+//
+// 1 3/31/10 5:56a Fantasylai
+//**********************************************************************;
+// UART4 //
+// Category # :0x14
+Device(UR14) {
+ Name(_HID, EISAID("PNP0501")) //PnP Device ID 16550 Type
+ Name(_UID, 0x14) //Generic ID for COMD
+
+// Method(_HID, 0) {Return(^^SIO2.UHID(0x14))} //PnP Device ID
+ Method(_STA, 0) {Return(^^SIO2.DSTA(0x14))} //Get UART status
+ Method(_DIS, 0) {^^SIO2.DCNT(0x14, 0)} //Disable UART
+ //Default is share mode
+ Method(_CRS, 0) {Return(^^SIO2.DCR3(0x14, 0))} //Get UART current resources
+ Method(_SRS, 1) {^^SIO2.DSR3(Arg0, 0x14)} //Set UART recources
+
+//-----------------------------------------------------------------------
+// UART4 Possible Resources
+//-----------------------------------------------------------------------
+//NOTE: _PRS MUST be the NAME not a METHOD object
+//to have GENERICSIO.C working right!
+//-----------------------------------------------------------------------
+ Name(_PRS, ResourceTemplate() {
+ StartDependentFn(0, 0) {
+ IO(Decode16, 0x278, 0x278, 1, 8)
+ IRQ(Level,ActiveLow,Shared) {11}
+ DMA(Compatibility, NotBusMaster, Transfer8) {}
+ }
+ StartDependentFnNoPri() {
+ IO(Decode16, 0x260, 0x260, 1, 8)
+ IRQ(Level,ActiveLow,Shared) {10,11,12}
+ DMA(Compatibility, NotBusMaster, Transfer8) {}
+ }
+ StartDependentFnNoPri() {
+ IO(Decode16, 0x268, 0x268, 1, 8)
+ IRQ(Level,ActiveLow,Shared) {10,11,12}
+ DMA(Compatibility, NotBusMaster, Transfer8) {}
+ }
+ StartDependentFnNoPri() {
+ IO(Decode16, 0x270, 0x270, 1, 8)
+ IRQ(Level,ActiveLow,Shared) {10,11,12}
+ DMA(Compatibility, NotBusMaster, Transfer8) {}
+ }
+ StartDependentFnNoPri() {
+ IO(Decode16, 0x278, 0x278, 1, 8)
+ IRQ(Level,ActiveLow,Shared) {10,11,12}
+ DMA(Compatibility, NotBusMaster, Transfer8) {}
+ }
+ EndDependentFn()
+ })
+
+} // End Of UAR4
+//-----------------------------------------------------------------------
+
+//*************************************************************************
+//*************************************************************************
+//** **
+//** (C)Copyright 1985-2011, American Megatrends, Inc. **
+//** **
+//** All Rights Reserved. **
+//** **
+//** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 **
+//** **
+//** Phone: (770)-246-8600 **
+//** **
+//*************************************************************************
+//*************************************************************************