[coreboot-gerrit] New patch to review for coreboot: f481171 superio/fintek: Document Fintek F71869AD code.

Edward O'Callaghan (eocallaghan@alterapraxis.com) gerrit at coreboot.org
Mon Feb 10 02:09:54 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/5178

-gerrit

commit f48117182043fb37e885500d4b8c382ef6010417
Author: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Date:   Mon Feb 10 12:08:36 2014 +1100

    superio/fintek: Document Fintek F71869AD code.
    
    Change-Id: I156077bf5571764d0e4bc044be80c8ab94556de4
    Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
---
 src/superio/fintek/f71869ad/superio.c | 36 ++++++++++++++++++++++++++++++++++-
 1 file changed, 35 insertions(+), 1 deletion(-)

diff --git a/src/superio/fintek/f71869ad/superio.c b/src/superio/fintek/f71869ad/superio.c
index c9aa0b3..11ad6f8 100644
--- a/src/superio/fintek/f71869ad/superio.c
+++ b/src/superio/fintek/f71869ad/superio.c
@@ -68,7 +68,41 @@ static struct device_operations ops = {
  *
  *  i.e., 0x07F8 = [00000][11111111][000]
  *
- * TODO: verify flags and masks are correct & move this information to Wiki.
+ * NOTE: Be sure to set these in your devicetree.cb, i.e.
+ *
+ *			chip superio/fintek/f71869ad
+ *				device pnp 4e.00 off        # Floppy
+ *					io 0x60 = 0x3f0
+ *					irq 0x70 = 6
+ *					drq 0x74 = 2
+ *				end
+ *				device pnp 4e.01 on         # COM1
+ *					io 0x60 = 0x3f8
+ *					irq 0x70 = 4
+ *				end
+ *					device pnp 4e.02 off    # COM2
+ *					io 0x60 = 0x2f8
+ *					irq 0x70 = 3
+ *				end
+ *				device pnp 4e.03 off        # Parallel Port
+ *					io 0x60 = 0x378
+ *					irq 0x70 = 7
+ *					drq 0x74 = 3
+ *				end
+ *				device pnp 4e.04 on         # Hardware Monitor
+ *					io 0x60 = 0x295
+ *					irq 0x70 = 0
+ *				end
+ *				device pnp 4e.05 on         # KBC
+ *					io 0x60 = 0x060
+ *					irq 0x70 = 1            # Keyboard IRQ
+ *					irq 0x72 = 12           # Mouse IRQ
+ *				end
+ *				device pnp 4e.06 off end    # GPIO
+ *				device pnp 4e.07 on end     # BSEL
+ *				device pnp 4e.0a off end    # PME
+ *			end # f71869ad
+ *
  */
 static struct pnp_info pnp_dev_info[] = {
 	{ &ops, F71869AD_FDC,  PNP_IO0 | PNP_IRQ0 | PNP_DRQ0, {0x07f8, 0}, },



More information about the coreboot-gerrit mailing list