device/pci_ids: Add Intel Panther Lake device IDs for Bluetooth CNVi
[coreboot.git] / src / ec / starlabs / merlin / variants / glkr / ecdefs.h
blob3e63bcba2eaa3536800b450ea25ef6bb4d5acdac
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <assert.h>
4 #include <stdint.h>
6 /*
7 * EC communication interface for Nuvoton Embedded Controller.
8 */
10 #ifndef _EC_STARLABS_GLKR_EC_DEFS_H
11 #define _EC_STARLABS_GLKR_EC_DEFS_H
13 /* Nuvoton chip ID byte values. */
14 #define NUVOTON_CHIPID_VAL 0x0004
16 /* EC RAM offsets. */
17 #define ECRAM_TRACKPAD_STATE 0x14
18 #define ECRAM_KBL_STATE 0x16
19 #define ECRAM_KBL_BRIGHTNESS 0x17
20 #define ECRAM_KBL_TIMEOUT 0x12
21 #define ECRAM_FN_LOCK_STATE 0x15
22 #define ECRAM_FN_CTRL_REVERSE 0x13
23 #define ECRAM_MAX_CHARGE dead_code_t(uint8_t)
24 #define ECRAM_FAN_MODE dead_code_t(uint8_t)
25 #define ECRAM_FAST_CHARGE 0x18
26 #define ECRAM_CHARGING_SPEED dead_code_t(uint8_t)
27 #define ECRAM_LID_SWITCH dead_code_t(uint8_t)
28 #define ECRAM_POWER_LED 0x1f
30 #endif