soc/intel/ptl: Update ME specification version to 21
[coreboot.git] / src / ec / starlabs / merlin / variants / kbl / ecdefs.h
blobdeda3ae3623d24bf8a68168eb3bef1e24f93526b
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <assert.h>
4 #include <stdint.h>
6 /*
7 * EC communication interface for ITE Embedded Controller
8 */
10 #ifndef _EC_STARLABS_KBL_EC_DEFS_H
11 #define _EC_STARLABS_KBL_EC_DEFS_H
13 /* EC RAM offsets */
14 #define ECRAM_TRACKPAD_STATE 0x14
15 #define ECRAM_KBL_STATE 0x18
16 #define ECRAM_KBL_BRIGHTNESS 0x19
17 #define ECRAM_KBL_TIMEOUT 0x1a
18 #define ECRAM_FN_LOCK_STATE 0x2c
19 #define ECRAM_FAN_MODE 0x42
20 #define ECRAM_FN_CTRL_REVERSE 0x43
21 #define ECRAM_MAX_CHARGE dead_code_t(uint8_t)
22 #define ECRAM_FAST_CHARGE dead_code_t(uint8_t)
23 #define ECRAM_MIRROR_FLAG 0x04
25 #endif