summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx31/gigabeat-s
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/imx31/gigabeat-s')
-rw-r--r--firmware/target/arm/imx31/gigabeat-s/gpio-target.h5
-rw-r--r--firmware/target/arm/imx31/gigabeat-s/mc13783-target.h9
2 files changed, 14 insertions, 0 deletions
diff --git a/firmware/target/arm/imx31/gigabeat-s/gpio-target.h b/firmware/target/arm/imx31/gigabeat-s/gpio-target.h
index 543b25f244..9204e6cd9d 100644
--- a/firmware/target/arm/imx31/gigabeat-s/gpio-target.h
+++ b/firmware/target/arm/imx31/gigabeat-s/gpio-target.h
@@ -28,6 +28,11 @@
#ifdef DEFINE_GPIO_VECTOR_TABLE
+GPIO_EVENT_VECTOR_CB(GPIO1_31);
+#if CONFIG_TUNER
+GPIO_EVENT_VECTOR_CB(GPIO1_27);
+#endif
+
GPIO_VECTOR_TBL_START()
/* mc13783 keeps the PRIINT high (no low pulse) if other unmasked
* interrupts become active when clearing them or if a source being
diff --git a/firmware/target/arm/imx31/gigabeat-s/mc13783-target.h b/firmware/target/arm/imx31/gigabeat-s/mc13783-target.h
index 4bb148e36c..e656e4e08f 100644
--- a/firmware/target/arm/imx31/gigabeat-s/mc13783-target.h
+++ b/firmware/target/arm/imx31/gigabeat-s/mc13783-target.h
@@ -42,6 +42,15 @@ static struct spi_node mc13783_spi =
0, /* SPI clock - no wait states */
};
+MC13783_EVENT_VECTOR_CB(ADCDONE);
+#if CONFIG_RTC
+MC13783_EVENT_VECTOR_CB(1HZ);
+#endif
+MC13783_EVENT_VECTOR_CB(ONOFD1);
+MC13783_EVENT_VECTOR_CB(SE1);
+MC13783_EVENT_VECTOR_CB(USB);
+MC13783_EVENT_VECTOR_CB(ONOFD2);
+
/* Gigabeat S definitions for static MC13783 event registration */
MC13783_EVENT_VECTOR_TBL_START()
/* ADC conversion complete */