From b5fc67ab0216e3d3e0da0baa2e5e389a6f841958 Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Mon, 10 Feb 2014 12:08:36 +1100 Subject: superio/fintek: Document Fintek F71869AD code. Change-Id: I156077bf5571764d0e4bc044be80c8ab94556de4 Signed-off-by: Edward O'Callaghan Reviewed-on: http://review.coreboot.org/5178 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich Reviewed-by: Paul Menzel --- src/superio/fintek/f71869ad/superio.c | 36 ++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) (limited to 'src/superio/fintek/f71869ad') diff --git a/src/superio/fintek/f71869ad/superio.c b/src/superio/fintek/f71869ad/superio.c index c9aa0b394f..11ad6f8601 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}, }, -- cgit v1.2.3