util/superiotool: Add Winbond W83667HG register dump

This SuperIO is supported by coreboot and used in two Asus boards. However,
superiotool was lacking a register dump for this chip. Add the corresponding
data from datasheet W83667HG-B revision 1.3 into superiotool.

The SuperIO's datasheet was obtained by requesting it to Nuvoton.

Change-Id: Ie51dc492c761d9c3d4b6100017bb730b1ae6d1e0
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/28099
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-08-15 17:59:36 +02:00 committed by Felix Held
parent cde835e39e
commit 392e886552
1 changed files with 69 additions and 1 deletions

View File

@ -296,7 +296,75 @@ static const struct superio_registers reg_table[] = {
{0x00,0x02,0xe8,0x03,0x00,EOT}}, {0x00,0x02,0xe8,0x03,0x00,EOT}},
{EOT}}}, {EOT}}},
{0xa51, "W83667HG", { {0xa51, "W83667HG", {
/* See also: http://lists.lm-sensors.org/pipermail/lm-sensors/2008-July/023683.html */ {NOLDN, NULL,
{0x02,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,
0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,EOT},
{0x00,0xb3,NANA,0xff,0x00,MISC,0x00,MISC,0xff,0x20,
0x00,0x00,0x7f,0x0a,0x08,0x00,MISC,EOT}},
{0x0, "Floppy",
{0x30,0x60,0x61,0x70,0x74,0xf0,0xf1,0xf2,0xf4,0xf5,
EOT},
{0x01,0x03,0xf0,0x06,0x02,0x8e,0x00,0xff,0x00,0x00,
EOT}},
{0x1, "Parallel port",
{0x30,0x60,0x61,0x70,0x74,0xf0,EOT},
{0x01,0x03,0x78,0x07,0x04,0x3f,EOT}},
{0x2, "COM1",
{0x30,0x60,0x61,0x70,0xf0,EOT},
{0x01,0x03,0xf8,0x04,0x00,EOT}},
{0x3, "COM2",
{0x30,0x60,0x61,0x70,0xf0,0xf1,EOT},
{0x01,0x02,0xf8,0x03,0x00,0x00,EOT}},
{0x5, "Keyboard",
{0x30,0x60,0x61,0x62,0x63,0x70,0x72,0xf0,EOT},
{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x83,EOT}},
{0x6, "Serial peripheral interface",
{0x30,0x62,0x63,EOT},
{0x00,0x00,0x00,EOT}},
{0x7, "GPIO 6, GPIO 7, GPIO 8, GPIO 9",
{0x30,0xe0,0xe1,0xe2,0xe3,0xe4,0xe5,0xe6,0xe7,0xe8,
0xe9,0xea,0xeb,0xec,0xed,0xee,0xf4,0xf5,0xf6,0xf7,
0xf8,EOT},
{0x18,0xff,0x00,0x00,0x00,0xef,0x00,0x00,0x00,0xff,
0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,
0x00,EOT}},
{0x8, "WDTO#, GPIO 1",
{0x30,0xf0,0xf1,0xf2,0xf3,0xf4,0xf5,0xf6,0xf7,EOT},
{0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,EOT}},
{0x9, "GPIO 2, GPIO 3, GPIO 4, GPIO 5",
{0x30,0xe0,0xe1,0xe2,0xe3,0xe4,0xe5,0xe6,0xe7,0xe8,
0xe9,0xea,0xeb,0xf0,0xf1,0xf2,0xf3,0xf4,0xf5,0xf6,
0xf7,0xfe,EOT},
{0x05,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,
0x00,0x00,EOT}},
{0xa, "ACPI",
{0xe0,0xe1,0xe2,0xe3,0xe4,0xe5,0xe6,0xe7,0xe8,0xe9,
0xf2,0xf3,0xf4,0xf6,0xf7,0xfe,0xff,EOT},
{0x01,0x00,0xff,0x00,0x00,0x02,0x1c,0x00,RSVD,0x00,
0x7c,0x00,0x00,0x00,0x00,0x00,0x30,EOT}},
{0xb, "Hardware monitor, SB-TSI",
{0x30,0x60,0x61,0x70,0xe0,0xe1,0xe2,0xe3,0xe4,0xf0,
0xf5,EOT},
{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xC1,
0x10,EOT}},
{0xc, "PECI",
{0xe0,0xe1,0xe2,0xe3,0xe4,0xe5,0xe6,0xe8,0xe9,0xea,
0xec,0xee,0xef,0xf1,0xf2,0xf3,0xfe,0xff,EOT},
{0x00,0x48,0x48,0x48,0x48,0x00,0x00,0x00,RSVD,0x00,
0x00,0x01,0x5a,0x48,0x50,0x10,0x80,0x01,EOT}},
{0xd, "VID",
{0xe0,0xe1,0xe2,0xe3,0xe4,0xe5,0xe6,0xe7,0xe8,0xec,
0xed,0xee,0xef,0xf3,EOT},
{0x00,0x00,NANA,NANA,0x07,0x00,NANA,0x00,0x14,0x01,
0x00,0x88,0x00,0x04,EOT}},
{0xf, "GPIO Push-Pull or Open-Drain selection",
{0xe0,0xe1,0xe2,0xe3,0xe4,0xe5,0xe6,0xe7,0xe8,0xe9,
0xf0,0xf1,0xf2,0xf3,0xf4,0xf5,0xf6,0xf7,0xf8,0xf9,
0xfa,0xfb,0xfc,0xfd,0xfe,0xff,EOT},
{0xff,0xff,0xfd,0xff,0xf7,0xcb,0x3f,0xff,0xff,0x00,
NANA,NANA,NANA,NANA,NANA,NANA,NANA,NANA,NANA,NANA,
NANA,NANA,NANA,NANA,NANA,NANA,EOT}},
{EOT}}}, {EOT}}},
{0xb07, "W83627DHG-P/-PT", { {0xb07, "W83627DHG-P/-PT", {
{NOLDN, NULL, {NOLDN, NULL,