diff options
author | Angel Pons <th3fanbus@gmail.com> | 2018-08-15 17:59:36 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2018-09-13 13:30:46 +0000 |
commit | 392e886552afa5c9d33bc443290c7c72303b6c34 (patch) | |
tree | adaaffa4cd86d0e6acba2fb296f1db93fed90bfa /util/superiotool/winbond.c | |
parent | cde835e39e1401d4dc08f522c3a7518d34dda0e0 (diff) | |
download | coreboot-392e886552afa5c9d33bc443290c7c72303b6c34.tar.xz |
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>
Diffstat (limited to 'util/superiotool/winbond.c')
-rw-r--r-- | util/superiotool/winbond.c | 70 |
1 files changed, 69 insertions, 1 deletions
diff --git a/util/superiotool/winbond.c b/util/superiotool/winbond.c index fce860d2e2..dedcfee37c 100644 --- a/util/superiotool/winbond.c +++ b/util/superiotool/winbond.c @@ -296,7 +296,75 @@ static const struct superio_registers reg_table[] = { {0x00,0x02,0xe8,0x03,0x00,EOT}}, {EOT}}}, {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}}}, {0xb07, "W83627DHG-P/-PT", { {NOLDN, NULL, |