[coreboot-gerrit] New patch to review for coreboot: 2c3f09c jetway/nf81-t56n-lf: Fix PS/2 ACPI for KBC & Mouse.

Edward O'Callaghan (eocallaghan@alterapraxis.com) gerrit at coreboot.org
Tue Mar 4 07:10:45 CET 2014


Edward O'Callaghan (eocallaghan at alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5327

-gerrit

commit 2c3f09cb1b40aa342a0c595a35b2907d74ca3472
Author: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Date:   Tue Mar 4 17:07:22 2014 +1100

    jetway/nf81-t56n-lf: Fix PS/2 ACPI for KBC & Mouse.
    
    Provide ACPI tables so that the PS/2 keyboard/mouse port works
    in GNU/Linux.
    
    Change-Id: If73b8d37a81bb9066cbcc650b518d25e243b84e7
    Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
---
 src/mainboard/jetway/nf81-t56n-lf/acpi/superio.asl | 22 +++++++++++++++++++++-
 src/mainboard/jetway/nf81-t56n-lf/dsdt.asl         |  1 +
 2 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/src/mainboard/jetway/nf81-t56n-lf/acpi/superio.asl b/src/mainboard/jetway/nf81-t56n-lf/acpi/superio.asl
index e042553..aec8edd 100644
--- a/src/mainboard/jetway/nf81-t56n-lf/acpi/superio.asl
+++ b/src/mainboard/jetway/nf81-t56n-lf/acpi/superio.asl
@@ -1,6 +1,10 @@
 /*
+ * Super I/O devices
+ *
  * This file is part of the coreboot project.
  *
+ * Copyright (C) 2014 Edward O'Callaghan <eocallaghan at alterapraxis.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.
@@ -15,4 +19,20 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-/* No Super I/O device or functionality yet */
+/* PS/2 Keyboard */
+Device(KBC) {
+	Name(_HID, EISAID("PNP0303"))
+	Name(_CRS, ResourceTemplate() {
+			IO(Decode16, 0x0060, 0x0060, 1, 1)
+			IO(Decode16, 0x0064, 0x0064, 1, 1)
+			IRQNoFlags(){1}
+	})
+}
+
+/* PS/2 Mouse */
+Device(PS2M) {
+	Name(_HID, EISAID("PNP0F13"))
+	Name(_CRS, ResourceTemplate() {
+			IRQNoFlags(){12}
+	})
+}
diff --git a/src/mainboard/jetway/nf81-t56n-lf/dsdt.asl b/src/mainboard/jetway/nf81-t56n-lf/dsdt.asl
index f7c7bb2..85813d0 100644
--- a/src/mainboard/jetway/nf81-t56n-lf/dsdt.asl
+++ b/src/mainboard/jetway/nf81-t56n-lf/dsdt.asl
@@ -59,5 +59,6 @@ DefinitionBlock (
 	#include "acpi/gpe.asl"
 	#include <southbridge/amd/cimx/sb800/acpi/smbus.asl>
 	#include "acpi/thermal.asl"
+	#include "acpi/superio.asl"
 }
 /* End of ASL file */



More information about the coreboot-gerrit mailing list