summaryrefslogtreecommitdiff
path: root/src/superio
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio')
-rw-r--r--src/superio/nuvoton/nct5572d/nct5572d.h4
-rw-r--r--src/superio/nuvoton/nct5572d/superio.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/superio/nuvoton/nct5572d/nct5572d.h b/src/superio/nuvoton/nct5572d/nct5572d.h
index c0623e0398..e04abf3cbc 100644
--- a/src/superio/nuvoton/nct5572d/nct5572d.h
+++ b/src/superio/nuvoton/nct5572d/nct5572d.h
@@ -18,6 +18,8 @@
#define SUPERIO_NUVOTON_NCT5572D
/* Logical Device Numbers (LDN). */
+#define NCT5572D_FDC 0x00
+#define NCT5572D_PP 0x01
#define NCT5572D_SP1 0x02 /* Com1 */
#define NCT5572D_IR 0x03
#define NCT5572D_KBC 0x05
@@ -35,8 +37,10 @@
/* virtual LDN for GPIO */
#define NCT5572D_GPIO2 ((0 << 8) | NCT5572D_GPIO235_V)
#define NCT5572D_GPIO3 ((1 << 8) | NCT5572D_GPIO235_V)
+#define NCT5572D_GPIO4 ((2 << 8) | NCT5572D_GPIO235_V)
#define NCT5572D_GPIO5 ((3 << 8) | NCT5572D_GPIO235_V)
#define NCT5572D_GPIO6 ((1 << 8) | NCT5572D_GPIO689_V)
+#define NCT5572D_GPIO7 ((2 << 8) | NCT5572D_GPIO689_V)
#define NCT5572D_GPIO8 ((3 << 8) | NCT5572D_GPIO689_V)
#define NCT5572D_GPIO9 ((4 << 8) | NCT5572D_GPIO689_V)
diff --git a/src/superio/nuvoton/nct5572d/superio.c b/src/superio/nuvoton/nct5572d/superio.c
index 688333dfe8..81a83266d0 100644
--- a/src/superio/nuvoton/nct5572d/superio.c
+++ b/src/superio/nuvoton/nct5572d/superio.c
@@ -76,6 +76,8 @@ static struct device_operations ops = {
};
static struct pnp_info pnp_dev_info[] = {
+ { &ops, NCT5572D_FDC}, /* no pins, removed from datasheet */
+ { &ops, NCT5572D_PP}, /* no pins, removed from datasheet */
{ &ops, NCT5572D_SP1, PNP_IO0 | PNP_IRQ0, {0x0FF8, 0}, },
{ &ops, NCT5572D_IR, PNP_IO0 | PNP_IRQ0, {0x0FF8, 0}, },
{ &ops, NCT5572D_KBC, PNP_IO0 | PNP_IO1 | PNP_IRQ0 | PNP_IRQ1, {0x0FFF, 0}, {0x0FFF, 4}, },
@@ -89,8 +91,10 @@ static struct pnp_info pnp_dev_info[] = {
{ &ops, NCT5572D_GPIO_PP_OD},
{ &ops, NCT5572D_GPIO2},
{ &ops, NCT5572D_GPIO3},
+ { &ops, NCT5572D_GPIO4}, /* no pins, removed from datasheet */
{ &ops, NCT5572D_GPIO5},
{ &ops, NCT5572D_GPIO6},
+ { &ops, NCT5572D_GPIO7}, /* no pins, removed from datasheet */
{ &ops, NCT5572D_GPIO8},
{ &ops, NCT5572D_GPIO9},
};