util/superiotool/smsc.c: Add SCH5504 register dump

There is no datasheet available for this SuperIO, but dumping all
possible registers on a Dell Optiplex GX520 resulted in data that was
similar to other supported chips. Data also matches what is set in the
BIOS, e.g. the parallel and serial ports' addresses.

Change-Id: I768e4b5ec1e73c53e1a2355e0a0657b7a5ccbb89
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/28958
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
Angel Pons 2018-10-07 18:57:21 +02:00 committed by Felix Held
parent c8a842b708
commit 49c8de74ee
1 changed files with 26 additions and 1 deletions

View File

@ -715,7 +715,32 @@ static const struct superio_registers reg_table[] = {
{0x30,0x60,0x61,0x62,0x63,0xf0,0xf1,0xf2,EOT}, {0x30,0x60,0x61,0x62,0x63,0xf0,0xf1,0xf2,EOT},
{0x00,0x00,0x00,0x00,0x00,NANA,RSVD,0x04,EOT}}, {0x00,0x00,0x00,0x00,0x00,NANA,RSVD,0x04,EOT}},
{EOT}}}, {EOT}}},
{0x79, "SCH5504", { /* From sensors-detect (no datasheet) */ {0x79, "SCH5504", { /* No datasheet, reverse-engineered */
{NOLDN, NULL, /* FIXME: Is this correct? */
{0x02,0x03,0x21,0x22,0x23,0x24,0x26,0x27,
0x28,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,EOT},
{0x00,RSVD,MISC,0x00,0x00,0x04,MISC,0x00,
RSVD,0x00,0x00,0x00,0x00,0x00,0x00,EOT}},
{0x0, "Floppy",
{0x30,0x60,0x61,0x70,0x74,0xf0,0xf1,0xf2,0xf4,
0xf5,EOT},
{0x00,0x03,0xf0,0x06,0x02,0x0e,0x00,0xff,0x00,
0x00,EOT}},
{0x3, "Parallel port",
{0x30,0x60,0x61,0x70,0x74,0xf0,0xf1,EOT},
{0x00,0x00,0x00,0x00,0x04,0x3c,0x00,EOT}},
{0x4, "COM1",
{0x30,0x60,0x61,0x70,0xf0,EOT},
{0x00,0x00,0x00,0x00,0x00,EOT}},
{0x5, "COM2",
{0x30,0x60,0x61,0x70,0xf0,0xf1,0xf2,EOT},
{0x00,0x00,0x00,0x00,0x00,0x02,0x03,EOT}},
{0x7, "Keyboard",
{0x30,0x70,0x72,0xf0,EOT},
{0x00,0x00,0x00,0x00,EOT}},
{0xa, "Runtime registers", /* FIXME: Is this correct? */
{0x30,0x60,0x61,0x70,0xf0,0xf1,EOT},
{0x00,0x00,0x00,0x00,0x00,RSVD,EOT}},
{EOT}}}, {EOT}}},
{0x7a, "LPC47N217", { /* Found in Toshiba Satellite A80-117. */ {0x7a, "LPC47N217", { /* Found in Toshiba Satellite A80-117. */
{NOLDN, NULL, {NOLDN, NULL,