diff options
Diffstat (limited to 'src/mainboard/hp/snb_ivb_desktops/acpi')
-rw-r--r-- | src/mainboard/hp/snb_ivb_desktops/acpi/ec.asl | 3 | ||||
-rw-r--r-- | src/mainboard/hp/snb_ivb_desktops/acpi/pci.asl | 35 | ||||
-rw-r--r-- | src/mainboard/hp/snb_ivb_desktops/acpi/platform.asl | 15 | ||||
-rw-r--r-- | src/mainboard/hp/snb_ivb_desktops/acpi/superio.asl | 27 |
4 files changed, 80 insertions, 0 deletions
diff --git a/src/mainboard/hp/snb_ivb_desktops/acpi/ec.asl b/src/mainboard/hp/snb_ivb_desktops/acpi/ec.asl new file mode 100644 index 0000000000..16990d45f4 --- /dev/null +++ b/src/mainboard/hp/snb_ivb_desktops/acpi/ec.asl @@ -0,0 +1,3 @@ +/* SPDX-License-Identifier: CC-PDDC */ + +/* Please update the license if adding licensable material. */ diff --git a/src/mainboard/hp/snb_ivb_desktops/acpi/pci.asl b/src/mainboard/hp/snb_ivb_desktops/acpi/pci.asl new file mode 100644 index 0000000000..ff3866a258 --- /dev/null +++ b/src/mainboard/hp/snb_ivb_desktops/acpi/pci.asl @@ -0,0 +1,35 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +// Intel PCI to PCI bridge 0:1e.0 + +Device (PCIB) +{ + Name (_ADR, 0x001e0000) + Name (_PRW, Package() { 13, 4 }) // Power Resources for Wake + + Method (_PRT) // _PRT: PCI Interrupt Routing Table + { + If (PICM) { + Return (Package() { + Package() { 0x0000ffff, 0, 0, 0x14 }, + Package() { 0x0000ffff, 1, 0, 0x15 }, + Package() { 0x0000ffff, 2, 0, 0x16 }, + Package() { 0x0000ffff, 3, 0, 0x17 }, + Package() { 0x0001ffff, 0, 0, 0x15 }, + Package() { 0x0001ffff, 1, 0, 0x16 }, + Package() { 0x0001ffff, 2, 0, 0x17 }, + Package() { 0x0001ffff, 3, 0, 0x14 }, + }) + } + Return (Package() { + Package() { 0x0000ffff, 0, \_SB.PCI0.LPCB.LNKE, 0 }, + Package() { 0x0000ffff, 1, \_SB.PCI0.LPCB.LNKF, 0 }, + Package() { 0x0000ffff, 2, \_SB.PCI0.LPCB.LNKG, 0 }, + Package() { 0x0000ffff, 3, \_SB.PCI0.LPCB.LNKH, 0 }, + Package() { 0x0001ffff, 0, \_SB.PCI0.LPCB.LNKF, 0 }, + Package() { 0x0001ffff, 1, \_SB.PCI0.LPCB.LNKG, 0 }, + Package() { 0x0001ffff, 2, \_SB.PCI0.LPCB.LNKH, 0 }, + Package() { 0x0001ffff, 3, \_SB.PCI0.LPCB.LNKE, 0 }, + }) + } +} diff --git a/src/mainboard/hp/snb_ivb_desktops/acpi/platform.asl b/src/mainboard/hp/snb_ivb_desktops/acpi/platform.asl new file mode 100644 index 0000000000..861d3cdf71 --- /dev/null +++ b/src/mainboard/hp/snb_ivb_desktops/acpi/platform.asl @@ -0,0 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +Method(_WAK, 1, NotSerialized) +{ + // Generated by SSDT + \_SB.PCI0.LPCB.SIO0.SIOW (Arg0) + + Return(Package(){0,0}) +} + +Method(_PTS, 1, NotSerialized) +{ + // Generated by SSDT + \_SB.PCI0.LPCB.SIO0.SIOS (Arg0) +} diff --git a/src/mainboard/hp/snb_ivb_desktops/acpi/superio.asl b/src/mainboard/hp/snb_ivb_desktops/acpi/superio.asl new file mode 100644 index 0000000000..506c6d4c2d --- /dev/null +++ b/src/mainboard/hp/snb_ivb_desktops/acpi/superio.asl @@ -0,0 +1,27 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include <superio/nuvoton/npcd378/acpi/superio.asl> + +Scope (\_GPE) +{ + Method (_L0D, 0, NotSerialized) + { + Notify (\_SB.PCI0.EHC1, 0x02) + Notify (\_SB.PCI0.EHC2, 0x02) + //FIXME: Add GBE device + //Notify (\_SB.PCI0.GBE, 0x02) + } + + Method (_L09, 0, NotSerialized) + { + Notify (\_SB.PCI0.RP01, 0x02) + Notify (\_SB.PCI0.RP02, 0x02) + Notify (\_SB.PCI0.RP03, 0x02) + Notify (\_SB.PCI0.RP04, 0x02) + Notify (\_SB.PCI0.RP05, 0x02) + Notify (\_SB.PCI0.RP06, 0x02) + Notify (\_SB.PCI0.RP07, 0x02) + Notify (\_SB.PCI0.RP08, 0x02) + Notify (\_SB.PCI0.PEGP, 0x02) + } +} |