diff options
author | Sven Schnelle <svens@stackframe.org> | 2011-02-02 23:49:41 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2011-02-02 23:49:41 +0000 |
commit | ed61c4ad7edd1fd4463a24f17fed4e39ecdafe67 (patch) | |
tree | 8c7df6dc8e39dffa5ce6ef1c504da4445a3a4429 | |
parent | 6f92d21b12f89a3e1db984b228fd1339d5c7458c (diff) |
Add detection/dump support for the NSC PC87382.
It is a rather small 'Super I/O' device, containing a serial port, IR,
GPIO, and a Docking LPC switch. It is used in various Thinkpads.
Add 0x164e/0x16ef to the list of probed ports for NSC chips, as
Thinkpads are using this address pair.
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6327 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r-- | util/superiotool/nsc.c | 20 | ||||
-rw-r--r-- | util/superiotool/superiotool.h | 2 |
2 files changed, 20 insertions, 2 deletions
diff --git a/util/superiotool/nsc.c b/util/superiotool/nsc.c index 982a01d894..ab95034334 100644 --- a/util/superiotool/nsc.c +++ b/util/superiotool/nsc.c @@ -305,7 +305,25 @@ static const struct superio_registers reg_table[] = { {0x30,0x60,0x61,0x70,0x71,0x74,0x75,EOT}, {0x00,0x00,0x00,0x00,0x03,0x04,0x04,EOT}}, {EOT}}}, - + {0xf4, "PC87382", { + {NOLDN, NULL, + {0x20,0x21,0x22,0x26,0x27,0x29,EOT}, + {0xf4,0x11,0x63,0x00,0x00,0x00,EOT}}, + {0x02, "IR", + {0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT}, + {0x00,0x02,0xf8,0x03,0x03,0x04,0x04,0x02,EOT}}, + {0x03, "COM1", + {0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,EOT}, + {0x00,0x03,0xf8,0x04,0x03,0x04,0x04,0x02,EOT}}, + {0x07, "GPIO", + {0x30,0x60,0x61,0x70,0x71,0x74,0x75,0xf0,0xf1, + 0xf2,EOT}, + {0x00,0x00,0x00,0x00,0x03,0x04,0x04,0x00,MISC, + 0x01,EOT}}, + {0x19, "Docking LPC switch", + {0x30,0x60,0x61,0x70,0x71,0x74,0x75,EOT}, + {0x00,0x00,0x00,0x00,0x00,0x04,0x04,EOT}}, + {EOT}}}, /* SID[7..0]: family, SRID[7..5]: ID, SRID[4..0]: rev. */ {0xea, "PC8739x", { {NOLDN, NULL, diff --git a/util/superiotool/superiotool.h b/util/superiotool/superiotool.h index 479dba0d7a..63dfebdcf7 100644 --- a/util/superiotool/superiotool.h +++ b/util/superiotool/superiotool.h @@ -223,7 +223,7 @@ static const struct { {probe_idregs_fintek_alternative, {0x2e, 0x4e, EOT}}, /* Only use 0x370 for ITE, but 0x3f0 or 0x3bd would also be valid. */ {probe_idregs_ite, {0x25e, 0x2e, 0x4e, 0x370, EOT}}, - {probe_idregs_nsc, {0x2e, 0x4e, 0x15c, EOT}}, + {probe_idregs_nsc, {0x2e, 0x4e, 0x15c, 0x164e, EOT}}, /* I/O pairs on Nuvoton EC chips can be configured by firmware in * addition to the following hardware strapping options. */ {probe_idregs_nuvoton, {0x164e, 0x2e, EOT}}, |