summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-02-09 14:29:55 +0100
committerPatrick Georgi <pgeorgi@google.com>2021-02-12 07:49:33 +0000
commit86afb171b661f23d19270b176ea2e386b8df1b26 (patch)
treea36ea2d7661e792a951207478b3596d355f6f3da /util
parente49dfb6c447f07f44e217c783accea39661cf44a (diff)
downloadcoreboot-86afb171b661f23d19270b176ea2e386b8df1b26.tar.xz
util/superiotool: Add ITE IT8625E support
Values as per "IT8625E Preliminary Specification V0.3 (For D Version)". Change-Id: Ic3ff13d93f66d09a1f2ea953736336b201a7114c Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50456 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'util')
-rw-r--r--util/superiotool/ite.c43
1 files changed, 43 insertions, 0 deletions
diff --git a/util/superiotool/ite.c b/util/superiotool/ite.c
index 6e604a072e..074d320a51 100644
--- a/util/superiotool/ite.c
+++ b/util/superiotool/ite.c
@@ -446,6 +446,49 @@ static const struct superio_registers reg_table[] = {
NANA,NANA,NANA,NANA,NANA,NANA,NANA,NANA,NANA,NANA,
NANA,NANA,NANA,NANA,NANA,EOT}},
{EOT}}},
+ {0x8625, "IT8625E", {
+ {NOLDN, NULL,
+ {0x20,0x21,0x22,0x23,0x24,EOT},
+ {0x86,0x25,MISC,0x40,0x00,EOT}},
+ {0x1, "COM1",
+ {0x30,0x60,0x61,0x70,0xf0,EOT},
+ {0x00,0x03,0xf8,0x04,0x00,EOT}},
+ {0x2, "COM2",
+ {0x30,0x60,0x61,0x70,0xf0,EOT},
+ {0x00,0x02,0xf8,0x03,0x00,EOT}},
+ {0x3, "Parallel port",
+ {0x30,0x60,0x61,0x62,0x63,0x70,0x74,0xf0,EOT},
+ {0x00,0x03,0x78,0x07,0x78,0x07,0x03,0x0b,EOT}},
+ {0x4, "Environment controller",
+ {0x30,0x60,0x61,0x62,0x63,0x70,0xf0,0xf1,0xf2,
+ 0xf3,0xf4,0xf5,0xf6,0xf9,0xfa,0xfb,0xfc,0xfd,EOT},
+ {0x00,0x02,0x90,0x02,0x30,0x09,0x00,0x00,0x00,
+ 0x00,0x00,0x00,NANA,0x48,0x00,0x00,0x00,0x40,EOT}},
+ {0x5, "Keyboard",
+ {0x30,0x60,0x61,0x62,0x63,0x70,0x71,0xf0,EOT},
+ {0x01,0x00,0x60,0x00,0x64,0x01,0x02,0x48,EOT}},
+ {0x6, "Mouse",
+ {0x30,0x70,0x71,0xf0,EOT},
+ {0x00,0x0c,0x02,0x00,EOT}},
+ {0x7, "GPIO",
+ {0x25,0x26,0x27,0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x60,
+ 0x61,0x62,0x63,0x70,0x71,0x72,0x73,0x74,0xb0,0xb1,
+ 0xb2,0xb3,0xb4,0xb5,0xb8,0xba,0xbb,0xbc,0xbd,0xc0,
+ 0xc1,0xc2,0xc3,0xc4,0xc8,0xc9,0xca,0xcb,0xcc,0xcd,
+ 0xce,0xcf,0xd0,0xd1,0xd2,0xd3,0xd4,0xd5,0xd6,0xd7,
+ 0xd8,0xd9,0xe0,0xe1,0xe2,0xe3,0xe4,0xec,0xf0,0xf1,
+ 0xf2,0xf3,0xf4,0xf5,0xf6,0xf7,0xf8,0xf9,0xfa,0xfb,EOT},
+ {0x00,0xf3,0x00,0x00,0x00,0x00,0x48,0x01,0x00,0x00,
+ 0x00,0x00,0x00,0x00,0x00,MISC,0x38,0x00,0x00,0x00,
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,
+ 0x00,0x00,0x40,0x00,0x01,0x00,0x00,0x00,0x00,0x00,
+ 0x00,0x00,0x00,0x00,0x00,0x0f,0x00,0x00,0x00,0x00,
+ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
+ 0x00,0x00,0x00,0x00,0x0e,0x00,0x00,0x00,0x00,0x00,EOT}},
+ {0xa, "Consumer IR",
+ {0x30,0x60,0x61,0x70,0xf0,EOT},
+ {0x00,0x03,0x10,0x0b,0x06,EOT}},
+ {EOT}}},
{0x8661, "IT8661F/IT8770F", {
{NOLDN, NULL,
{0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x20,0x21,0x22,