diff options
Diffstat (limited to 'src/mainboard/asrock/b75pro3-m/acpi')
-rw-r--r-- | src/mainboard/asrock/b75pro3-m/acpi/ec.asl | 0 | ||||
-rw-r--r-- | src/mainboard/asrock/b75pro3-m/acpi/pci.asl | 48 | ||||
-rw-r--r-- | src/mainboard/asrock/b75pro3-m/acpi/platform.asl | 23 | ||||
-rw-r--r-- | src/mainboard/asrock/b75pro3-m/acpi/superio.asl | 0 |
4 files changed, 71 insertions, 0 deletions
diff --git a/src/mainboard/asrock/b75pro3-m/acpi/ec.asl b/src/mainboard/asrock/b75pro3-m/acpi/ec.asl new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/src/mainboard/asrock/b75pro3-m/acpi/ec.asl diff --git a/src/mainboard/asrock/b75pro3-m/acpi/pci.asl b/src/mainboard/asrock/b75pro3-m/acpi/pci.asl new file mode 100644 index 0000000000..b40a573034 --- /dev/null +++ b/src/mainboard/asrock/b75pro3-m/acpi/pci.asl @@ -0,0 +1,48 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2017 Iru Cai <mytbk920423@gmail.com> + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +Device (P0P1) +{ + Name (_ADR, 0x001E0000) + + Method (_PRT, 0) + { + If (PICM) { + Return (Package () { + Package () {0x0001FFFF, 0, 0, 0x14}, + Package () {0x0001FFFF, 1, 0, 0x15}, + Package () {0x0001FFFF, 2, 0, 0x16}, + Package () {0x0001FFFF, 3, 0, 0x17}, + + Package () {0x0002FFFF, 0, 0, 0x17}, + Package () {0x0002FFFF, 1, 0, 0x14}, + Package () {0x0002FFFF, 2, 0, 0x15}, + Package () {0x0002FFFF, 3, 0, 0x16} + }) + } Else { + Return (Package () { + Package () {0x0001FFFF, 0, \_SB.PCI0.LPCB.LNKE, 0}, + Package () {0x0001FFFF, 1, \_SB.PCI0.LPCB.LNKF, 0}, + Package () {0x0001FFFF, 2, \_SB.PCI0.LPCB.LNKG, 0}, + Package () {0x0001FFFF, 3, \_SB.PCI0.LPCB.LNKH, 0}, + + Package () {0x0002FFFF, 0, \_SB.PCI0.LPCB.LNKH, 0}, + Package () {0x0002FFFF, 1, \_SB.PCI0.LPCB.LNKE, 0}, + Package () {0x0002FFFF, 2, \_SB.PCI0.LPCB.LNKF, 0}, + Package () {0x0002FFFF, 3, \_SB.PCI0.LPCB.LNKG, 0} + }) + } + } +} diff --git a/src/mainboard/asrock/b75pro3-m/acpi/platform.asl b/src/mainboard/asrock/b75pro3-m/acpi/platform.asl new file mode 100644 index 0000000000..f7e56eac68 --- /dev/null +++ b/src/mainboard/asrock/b75pro3-m/acpi/platform.asl @@ -0,0 +1,23 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2017 Iru Cai <mytbk920423@gmail.com> + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +Method(_WAK,1) +{ + Return(Package(){0,0}) +} + +Method(_PTS,1) +{ +} diff --git a/src/mainboard/asrock/b75pro3-m/acpi/superio.asl b/src/mainboard/asrock/b75pro3-m/acpi/superio.asl new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/src/mainboard/asrock/b75pro3-m/acpi/superio.asl |