summaryrefslogtreecommitdiffstats
path: root/src/superio/ite/it8623e/it8623e.h
diff options
context:
space:
mode:
authorGergely Kiss <mail.gery@gmail.com>2017-12-27 15:19:16 +0100
committerMartin Roth <martinroth@google.com>2018-01-07 18:47:37 +0000
commitc9c29264b8c41bc2462d9a9fd2240b5c9350cdc0 (patch)
treec7d73ffea34d78ddbc1dbdf9111b40780b57b3fa /src/superio/ite/it8623e/it8623e.h
parent462e4700929ffdacc94149205adae69f8e57441c (diff)
downloadcoreboot-c9c29264b8c41bc2462d9a9fd2240b5c9350cdc0.tar.gz
coreboot-c9c29264b8c41bc2462d9a9fd2240b5c9350cdc0.tar.bz2
coreboot-c9c29264b8c41bc2462d9a9fd2240b5c9350cdc0.zip
superio/ite/it8623e: add support for SIO chip ITE IT8623E
This change adds basic support for the SuperIO chip ITE IT8623E. Due to the lack of a datasheet, defaults are shown as "not available (NA)" in superiotool's register dump. LDNs defined in it8623e.h are definitely correct and working as expected. Change-Id: I05832c4db7ab59541337f11200640316376e792e Signed-off-by: Gergely Kiss <mail.gery@gmail.com> Reviewed-on: https://review.coreboot.org/23001 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/superio/ite/it8623e/it8623e.h')
-rw-r--r--src/superio/ite/it8623e/it8623e.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/superio/ite/it8623e/it8623e.h b/src/superio/ite/it8623e/it8623e.h
new file mode 100644
index 000000000000..25670c58af63
--- /dev/null
+++ b/src/superio/ite/it8623e/it8623e.h
@@ -0,0 +1,32 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2006 Uwe Hermann <uwe@hermann-uwe.de>
+ * Copyright (C) 2017 Gergely Kiss <mail.gery@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#ifndef SUPERIO_ITE_IT8623E_H
+#define SUPERIO_ITE_IT8623E_H
+
+/* Datasheet not available. The list of LDNs might not be complete. */
+
+#define IT8623E_FDC 0x00 /* Floppy Controller */
+#define IT8623E_SP1 0x01 /* Com1 */
+#define IT8623E_SP2 0x02 /* Com2 */
+#define IT8623E_PP 0x03 /* Parallel port */
+#define IT8623E_EC 0x04 /* Environment controller */
+#define IT8623E_KBCK 0x05 /* PS/2 keyboard */
+#define IT8623E_KBCM 0x06 /* PS/2 mouse */
+#define IT8623E_GPIO 0x07 /* GPIO */
+
+#endif /* SUPERIO_ITE_IT8623E_H */