1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 3 #ifndef SUPERIO_ITE_IT8728F_H 4 #define SUPERIO_ITE_IT8728F_H 5 6 #define IT8728F_FDC 0x00 /* Floppy */ 7 #define IT8728F_SP1 0x01 /* Com1 */ 8 #define IT8728F_SP2 0x02 /* Com2 */ 9 #define IT8728F_PP 0x03 /* Parallel port */ 10 #define IT8728F_EC 0x04 /* Environment controller */ 11 #define IT8728F_KBCK 0x05 /* PS/2 keyboard */ 12 #define IT8728F_KBCM 0x06 /* PS/2 mouse */ 13 #define IT8728F_GPIO 0x07 /* GPIO */ 14 #define IT8728F_IR 0x0a /* Consumer IR */ 15 16 /* Global configuration registers. */ 17 #define IT8728F_CONFIG_REG_CC 0x02 /* Configure Control (write-only). */ 18 #define IT8728F_CONFIG_REG_CHIPVERS 0x22 /* Chip version */ 19 #define IT8728F_CONFIG_REG_CLOCKSEL 0x23 /* Clock Selection. */ 20 #define IT8728F_CONFIG_REG_SWSUSP 0x24 /* Software Suspend, Flash I/F. 'Special register' */ 21 22 #endif /* SUPERIO_ITE_IT8728F_H */ 23