diff options
author | Michał Żygowski <michal.zygowski@3mdeb.com> | 2023-04-03 13:14:02 +0200 |
---|---|---|
committer | Felix Singer <service+coreboot-gerrit@felixsinger.de> | 2023-08-07 21:27:38 +0000 |
commit | 6503474efe712ffbb53254889a579e98c4b4c5f8 (patch) | |
tree | 05a7d6dd52f9b9f93c076ba6d19bfec4bb1b6189 /src/superio/ite/it8784e/it8784e.h | |
parent | 547d907b909b7266440224bde6b495b7a3ba60b5 (diff) |
superio/ite: Add IT8784E support
IT8784E is basically a IT8786E stripped from serial ports 3-6.
The patch creates a chip directory for IT8784E used by
protectli/vault_cml platforms.
TEST=Boot Ubuntu 22.04 on Protectli VP4670 (vault_cml) and dump the
configuration with superiotool and compare the configuration with
proprietary firmware.
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Change-Id: Ibe01358611f3ce3f155ddb01a7d177a3ff75765e
Reviewed-on: https://review.coreboot.org/c/coreboot/+/74174
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin L Roth <gaumless@gmail.com>
Diffstat (limited to 'src/superio/ite/it8784e/it8784e.h')
-rw-r--r-- | src/superio/ite/it8784e/it8784e.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/superio/ite/it8784e/it8784e.h b/src/superio/ite/it8784e/it8784e.h new file mode 100644 index 0000000000..6b819fdb71 --- /dev/null +++ b/src/superio/ite/it8784e/it8784e.h @@ -0,0 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#ifndef SUPERIO_ITE_IT8784E_H +#define SUPERIO_ITE_IT8784E_H + +#define IT8784E_SP1 0x01 /* COM1 */ +#define IT8784E_SP2 0x02 /* COM2 */ +#define IT8784E_PP 0x03 /* Printer port */ +#define IT8784E_EC 0x04 /* Environment controller */ +#define IT8784E_KBCK 0x05 /* Keyboard */ +#define IT8784E_KBCM 0x06 /* Mouse */ +#define IT8784E_GPIO 0x07 /* GPIO */ +#define IT8784E_CIR 0x0a /* Consumer IR */ + +#endif /* SUPERIO_ITE_IT8784E_H */ |