summaryrefslogtreecommitdiff
path: root/src/superio/fintek/f71869ad
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-02-10 12:08:36 +1100
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>2014-02-13 17:14:20 +0100
commitb5fc67ab0216e3d3e0da0baa2e5e389a6f841958 (patch)
tree8610fb7381e3a059c1c864d7909fe02bacc221f7 /src/superio/fintek/f71869ad
parent6d51f5dfe91139928572a2e18722a049b5543b38 (diff)
superio/fintek: Document Fintek F71869AD code.
Change-Id: I156077bf5571764d0e4bc044be80c8ab94556de4 Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/5178 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/superio/fintek/f71869ad')
-rw-r--r--src/superio/fintek/f71869ad/superio.c36
1 files changed, 35 insertions, 1 deletions
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}, },