• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 /* Both NCT6687DD and NCT6687DF package variants are supported. */
4 
5 #ifndef SUPERIO_NUVOTON_NCT6687D_H
6 #define SUPERIO_NUVOTON_NCT6687D_H
7 
8 /* Logical Device Numbers (LDN). */
9 #define NCT6687D_PP		0x01 /* Parallel port */
10 #define NCT6687D_SP1		0x02 /* Com1 */
11 #define NCT6687D_SP2		0x03 /* Com2 & IR */
12 #define NCT6687D_KBC		0x05 /* PS/2 keyboard and mouse */
13 #define NCT6687D_CIR		0x06
14 #define NCT6687D_GPIO_0_7	0x07 /* GPIO0 - GPIO7 */
15 #define NCT6687D_P80_UART	0x08 /* Port 0x 80 UART*/
16 #define NCT6687D_GPIO_8_9_AF	0x09 /* GPIO8 - GPIO9, GPIO1 - GPIO8 Alternate Function */
17 #define NCT6687D_ACPI		0x0A
18 #define NCT6687D_EC		0x0B /* EC space*/
19 #define NCT6687D_RTC		0x0C
20 #define NCT6687D_SLEEP_PWR	0x0D /* Deep Sleep, Power Fault */
21 #define NCT6687D_TACH_PWM	0x0E /* TACHIN/PWMOUT Assignment */
22 #define NCT6687D_FREG		0x0F /* Function Register */
23 
24 #endif /* SUPERIO_NUVOTON_NCT6687D_H */
25