[coreboot-gerrit] New patch to review for coreboot: 24caf9d jetway/nf81-t56n-lf: fix GPIO's

Edward O'Callaghan (eocallaghan@alterapraxis.com) gerrit at coreboot.org
Sun Mar 16 06:33:30 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/5389

-gerrit

commit 24caf9ddc2fd09ec89c08e1c08622f3ef58db49c
Author: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Date:   Sun Mar 16 16:30:59 2014 +1100

    jetway/nf81-t56n-lf: fix GPIO's
    
    NOTFORMERGE.
    
    Change-Id: I2173c0e454ddc0a30e023976bdf4764d951ea5f8
    Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
---
 src/mainboard/jetway/nf81-t56n-lf/devicetree.cb | 5 ++++-
 src/superio/fintek/f71869ad/superio.c           | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/mainboard/jetway/nf81-t56n-lf/devicetree.cb b/src/mainboard/jetway/nf81-t56n-lf/devicetree.cb
index 5f49b41..7160f33 100644
--- a/src/mainboard/jetway/nf81-t56n-lf/devicetree.cb
+++ b/src/mainboard/jetway/nf81-t56n-lf/devicetree.cb
@@ -88,7 +88,10 @@ chip northbridge/amd/agesa/family14/root_complex
 							irq 0x70 = 1 # Keyboard IRQ
 							irq 0x72 = 12 # Mouse IRQ
 						end
-						device pnp 2e.06 off end	# GPIO
+						device pnp 2e.06 on # GPIO
+							io 0x60 = 0xa00
+							irq 0x70 = 0
+						end
 # TODO: Verify BSEL register content with vendor BIOS using
 # $ sudo isadump 0x4e 0x4f 0x7
 # which select logical device (LDN) 7. Then read that we have in 0x27, bit1
diff --git a/src/superio/fintek/f71869ad/superio.c b/src/superio/fintek/f71869ad/superio.c
index 11ad6f8..26b617d 100644
--- a/src/superio/fintek/f71869ad/superio.c
+++ b/src/superio/fintek/f71869ad/superio.c
@@ -111,7 +111,7 @@ static struct pnp_info pnp_dev_info[] = {
 	{ &ops, F71869AD_PP,   PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, {0x07f8, 0}, },
 	{ &ops, F71869AD_HWM,  PNP_IO0 | PNP_IRQ0, {0x0ff8, 0}, },
 	{ &ops, F71869AD_KBC,  PNP_IO0 | PNP_IRQ0 | PNP_IRQ1, {0x07ff, 0}, },
-	{ &ops, F71869AD_GPIO, },
+	{ &ops, F71869AD_GPIO, PNP_IO0 | PNP_IRQ0, {0x07f8, 0}, {0x07fe, 4}, },
 	{ &ops, F71869AD_BSEL,  PNP_IO0, {0x07f8, 0}, },
 	{ &ops, F71869AD_PME, },
 };



More information about the coreboot-gerrit mailing list