aboutsummaryrefslogtreecommitdiff
path: root/src/superio/nuvoton/nct5104d/nct5104d.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/nuvoton/nct5104d/nct5104d.h')
-rw-r--r--src/superio/nuvoton/nct5104d/nct5104d.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/superio/nuvoton/nct5104d/nct5104d.h b/src/superio/nuvoton/nct5104d/nct5104d.h
index 74df793b6f..e4dcf3836b 100644
--- a/src/superio/nuvoton/nct5104d/nct5104d.h
+++ b/src/superio/nuvoton/nct5104d/nct5104d.h
@@ -22,6 +22,12 @@
#ifndef SUPERIO_NUVOTON_NCT5104D_H
#define SUPERIO_NUVOTON_NCT5104D_H
+/* SIO global configuration */
+#define IRQ_TYPE_SEL_CR10 0x10 /* UARTA,UARTB */
+#define IRQ_TYPE_SEL_CR11 0x11 /* SMI,UARTC,UARTD,WDTO */
+#define GLOBAL_OPTION_CR26 0x26
+#define CR26_LOCK_REG (1 << 4) /* required to access CR10/CR11 */
+
/* Logical Device Numbers (LDN). */
#define NCT5104D_FDC 0x00 /* FDC - not pinned out */
#define NCT5104D_SP1 0x02 /* UARTA */