[coreboot-gerrit] Patch set updated for coreboot: 4ac4178 NOTFORMERGE: lenovo/t60: Enable Infrared port.

Vladimir Serbinenko (phcoder@gmail.com) gerrit at coreboot.org
Sun Feb 9 23:08:30 CET 2014


Vladimir Serbinenko (phcoder at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5174

-gerrit

commit 4ac4178d199be45959b4b84710789b5992ec150a
Author: Vladimir Serbinenko <phcoder at gmail.com>
Date:   Sun Feb 9 12:34:02 2014 +0100

    NOTFORMERGE: lenovo/t60: Enable Infrared port.
    
    Change-Id: I4d49ee83c8135de503dcfb84b950f98c2a2306c9
    Signed-off-by: Vladimir Serbinenko <phcoder at gmail.com>
---
 src/mainboard/lenovo/t60/acpi/superio.asl | 16 ++++++++++++++++
 src/mainboard/lenovo/t60/devicetree.cb    |  3 +++
 2 files changed, 19 insertions(+)

diff --git a/src/mainboard/lenovo/t60/acpi/superio.asl b/src/mainboard/lenovo/t60/acpi/superio.asl
index e69de29..a0d8e0a 100644
--- a/src/mainboard/lenovo/t60/acpi/superio.asl
+++ b/src/mainboard/lenovo/t60/acpi/superio.asl
@@ -0,0 +1,16 @@
+	Device (FIR)		// Infrared
+	{
+		Name(_HID, EISAID("IBM0071"))
+		Name(_CID, EISAID("PNP0511"))
+
+		Name(_CRS, ResourceTemplate()
+		{
+			IO (Decode16, 0x2f8, 0x2f8, 0x01, 0x08)
+                        IRQNoFlags () {3}
+		})
+
+		Method (_STA, 0)
+		{
+			Return (0xf)
+		}
+	}
diff --git a/src/mainboard/lenovo/t60/devicetree.cb b/src/mainboard/lenovo/t60/devicetree.cb
index b87a223..63e10dd 100644
--- a/src/mainboard/lenovo/t60/devicetree.cb
+++ b/src/mainboard/lenovo/t60/devicetree.cb
@@ -148,6 +148,9 @@ chip northbridge/intel/i945
 				chip superio/nsc/pc87382
 					device pnp 164e.2 on # IR
 						io 0x60 = 0x2f8
+						irq 0x29 = 0xb0
+						irq 0x70 = 0x3
+						irq 0xf0 = 0x82
 					end
 
 					device pnp 164e.3 off # Serial Port



More information about the coreboot-gerrit mailing list