From c1633045be5d84a1b8a9210357ba1a3dacfe6707 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Tue, 31 Oct 2017 09:25:23 +0100 Subject: util/superiotool: dump VT1211 registers Change-Id: Id01b72a2194ebf3359a11c3ff382efaedf28f9e1 Signed-off-by: Lubomir Rintel Reviewed-on: https://review.coreboot.org/22255 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- util/superiotool/via.c | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) (limited to 'util/superiotool/via.c') diff --git a/util/superiotool/via.c b/util/superiotool/via.c index 3fa3635979..0312de70c8 100644 --- a/util/superiotool/via.c +++ b/util/superiotool/via.c @@ -26,6 +26,47 @@ static const struct superio_registers reg_table[] = { {0x3c00, "VT82C686A/VT82C686B", { {EOT}}}, {0x3c01, "VT1211", { + {NOLDN, NULL, + {0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29, + 0x2e,0x2f,EOT}, + {0x3c,0x01,0x00,0x11,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,EOT}}, + {0x0, "Floppy Disk Controller (FDC)", + {0x30,0x60,0x61,0x70,0x74,0xf0,0xf1,EOT}, + {0x00,0x03,0xf0,0x06,0x01,0x00,0x00,EOT}}, + {0x1, "Parallel Port (PP)", + {0x30,0x60,0x61,0x70,0x74,0xf0,EOT}, + {0x03,0x03,0x78,0x05,0x00,0x00,EOT}}, + {0x2, "Serial Port 1 (UART1)", + {0x30,0x60,0x61,0x70,0xf0,EOT}, + {0x00,0x03,0xf8,0x04,0x00,EOT}}, + {0x3, "Serial Port 2 (UART2)", + {0x30,0x60,0x61,0x70,0xf0,EOT}, + {0x00,0x02,0xf8,0x03,0x00,EOT}}, + {0x6, "MIDI", + {0x30,0x60,0x61,0x70,EOT}, + {0x00,0x03,0x30,0x00,EOT}}, + {0x7, "Game Port (GMP)", + {0x30,0x60,0x61,EOT}, + {0x00,0x02,0x00,EOT}}, + {0x8, "GPIO", + {0x30,0x60,0x61,0x70,0xf0,0xf1,0xf2,EOT}, + {0x00,0xe9,0x00,0x00,0x00,0x00,0x00,EOT}}, + {0x9, "Watch Dog (WDG)", + {0x30,0x60,0x61,0x70,0xf0,EOT}, + {0x00,0xea,0x00,0x00,0x00,EOT}}, + {0xa, "Wake-up Control (WUC)", + {0x30,0x60,0x61,0x70,EOT}, + {0x00,0xeb,0x00,0x00,EOT}}, + {0xb, "Hardware Monitor (HM)", + {0x30,0x60,0x61,0x70,EOT}, + {0x00,0xec,0x00,0x00,EOT}}, + {0xc, "Very Fast IR (VFIR)", + {0x30,0x60,0x61,0x70,0x74,0xf0,EOT}, + {0x00,0xe8,0x00,0x00,0x06,0x00,EOT}}, + {0xd, "Flash ROM (ROM)", + {0x30,0xf0,EOT}, + {0x01,0x00,EOT}}, {EOT}}}, {EOT} }; -- cgit v1.2.3