aboutsummaryrefslogtreecommitdiff
path: root/src/superio/ite/it8783ef/it8783ef.h
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2016-09-30 11:44:13 +0200
committerNico Huber <nico.h@gmx.de>2016-12-07 20:02:17 +0100
commit5eef7b34c1bacdf7c95f9c95d144f7a22b281920 (patch)
tree61e15fb10b51ee294054c817602f8b0b70f39426 /src/superio/ite/it8783ef/it8783ef.h
parent21707cc29d58237b9311c9e00d176867e0a16fd0 (diff)
sio/ite/it8783ef: New super i/o chip
This will be used by new Roda boards. Four UARTs and PS/2 keyboard and mouse are exposed to ACPI. Since our boards only use the environment controller part, most of the usual pnp interfaces are untested. Change-Id: Ifeb0327ad115759411716f82585ace5ce55b8464 Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/17287 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/superio/ite/it8783ef/it8783ef.h')
-rw-r--r--src/superio/ite/it8783ef/it8783ef.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/superio/ite/it8783ef/it8783ef.h b/src/superio/ite/it8783ef/it8783ef.h
new file mode 100644
index 0000000000..8706716f44
--- /dev/null
+++ b/src/superio/ite/it8783ef/it8783ef.h
@@ -0,0 +1,37 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2016 secunet Security Networks AG
+ *
+ * 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_IT8783EF_H
+#define SUPERIO_ITE_IT8783EF_H
+
+#define IT8783EF_FDC 0x00 /* Floppy disk controller */
+#define IT8783EF_SP1 0x01 /* COM1 */
+#define IT8783EF_SP2 0x02 /* COM2 */
+#define IT8783EF_PP 0x03 /* Printer port */
+#define IT8783EF_EC 0x04 /* Environment controller */
+#define IT8783EF_KBCK 0x05 /* Keyboard */
+#define IT8783EF_KBCM 0x06 /* Mouse */
+#define IT8783EF_GPIO 0x07 /* GPIO */
+#define IT8783EF_SP3 0x08 /* COM3 */
+#define IT8783EF_SP4 0x09 /* COM4 */
+#define IT8783EF_SP5 0x0a /* COM5 */
+#define IT8783EF_SP6 0x0b /* COM6 */
+#define IT8783EF_CIR 0x0c /* Consumer IR */
+
+#include <arch/io.h>
+#include <stdint.h>
+
+#endif /* SUPERIO_ITE_IT8783EF_H */