summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorUlf Jordan <jordan@chalmers.se>2007-12-13 23:56:16 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2007-12-13 23:56:16 +0000
commitaa6dd7407ddd94c81453acad69cef96de22aac3b (patch)
tree1367db3ab3451155661272abd8a5dc3cd5f83d0f /util
parent48c7032c28a2d9e247caecf411f9d56666f715b5 (diff)
Add detection and dump support for NSC PC97307.
Signed-off-by: Ulf Jordan <jordan@chalmers.se> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3005 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util')
-rw-r--r--util/superiotool/nsc.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/util/superiotool/nsc.c b/util/superiotool/nsc.c
index 5197cf7b2a..de30dc1834 100644
--- a/util/superiotool/nsc.c
+++ b/util/superiotool/nsc.c
@@ -25,6 +25,42 @@
#define CHIP_REV_REG 0x27 /* Super I/O revision ID (SRID) */
static const struct superio_registers reg_table[] = {
+ {0xcf, "PC97307", {
+ {NOLDN, NULL,
+ {0x20,0x21,0x22,0x23,0x24,0x27,EOT},
+ {0xcf,MISC,MISC,0x00,0x00,NANA,EOT}},
+ {0x0, "Keyboard",
+ {0x30,0x31,0x60,0x61,0x62,0x63,0x70,0x71,0x74,0x75,
+ 0xf0,EOT},
+ {MISC,0x00,0x00,0x60,0x00,0x64,0x01,0x02,0x04,0x04,
+ 0x40,EOT}},
+ {0x1, "Mouse",
+ {0x30,0x70,0x71,0x74,0x75,EOT},
+ {0x00,0x0c,0x02,0x04,0x04,EOT}},
+ {0x2, "Real-time clock (RTC), advanced power control (APC)",
+ {0x30,0x31,0x60,0x61,0x70,0x71,0x74,0x75,EOT},
+ {MISC,0x00,0x00,0x70,0x08,0x00,0x04,0x04,EOT}},
+ {0x3, "Floppy",
+ {0x30,0x31,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,0xf1,
+ EOT},
+ {MISC,0x00,0x03,0xf2,0x06,0x03,0x02,0x04,0x20,0x00,
+ EOT}},
+ {0x4, "Parallel port",
+ {0x30,0x31,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
+ {0x00,0x00,0x02,0x78,0x07,0x00,0x04,0x04,0xf2,EOT}},
+ {0x5, "COM2 / IR",
+ {0x30,0x31,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
+ {0x00,0x00,0x02,0xf8,0x03,0x03,0x04,0x04,0x02,EOT}},
+ {0x6, "COM1",
+ {0x30,0x31,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT},
+ {0x00,0x00,0x03,0xf8,0x04,0x03,0x04,0x04,0x02,EOT}},
+ {0x7, "GPIO",
+ {0x30,0x31,0x60,0x61,0x74,0x75,EOT},
+ {0x00,0x00,0x00,0x00,0x04,0x04,EOT}},
+ {0x8, "Power management",
+ {0x30,0x31,0x60,0x61,0x74,0x75,EOT},
+ {0x00,0x00,0x00,0x00,0x04,0x04,EOT}},
+ {EOT}}},
{0xd0, "PC87317", {
{EOT}}},
{0xdf, "PC97317", {