summaryrefslogtreecommitdiff
path: root/io-module
diff options
context:
space:
mode:
Diffstat (limited to 'io-module')
-rw-r--r--io-module/mts_io.c56
1 files changed, 56 insertions, 0 deletions
diff --git a/io-module/mts_io.c b/io-module/mts_io.c
index b0b09e7..e532fca 100644
--- a/io-module/mts_io.c
+++ b/io-module/mts_io.c
@@ -282,6 +282,34 @@ static struct gpio_pin gpio_pins_mtcdp_1_0[] = {
.output_value = 1,
.use_pullup = 0,
},
+ {
+ .name = "ADC0",
+ .pin = AT91_PIN_PC0,
+ .direction = GPIO_DIR_INPUT,
+ .output_value = 0,
+ .use_pullup = 0,
+ },
+ {
+ .name = "ADC1",
+ .pin = AT91_PIN_PC1,
+ .direction = GPIO_DIR_INPUT,
+ .output_value = 0,
+ .use_pullup = 0,
+ },
+ {
+ .name = "ADC2",
+ .pin = AT91_PIN_PC2,
+ .direction = GPIO_DIR_INPUT,
+ .output_value = 0,
+ .use_pullup = 0,
+ },
+ {
+ .name = "ADC3",
+ .pin = AT91_PIN_PC3,
+ .direction = GPIO_DIR_INPUT,
+ .output_value = 0,
+ .use_pullup = 0,
+ },
{ },
};
@@ -390,6 +418,34 @@ static struct gpio_pin gpio_pins_mt100eocg_0_0[] = {
.output_value = 1,
.use_pullup = 1,
},
+ {
+ .name = "ADC0",
+ .pin = AT91_PIN_PC0,
+ .direction = GPIO_DIR_INPUT,
+ .output_value = 0,
+ .use_pullup = 0,
+ },
+ {
+ .name = "ADC1",
+ .pin = AT91_PIN_PC1,
+ .direction = GPIO_DIR_INPUT,
+ .output_value = 0,
+ .use_pullup = 0,
+ },
+ {
+ .name = "ADC2",
+ .pin = AT91_PIN_PC2,
+ .direction = GPIO_DIR_INPUT,
+ .output_value = 0,
+ .use_pullup = 0,
+ },
+ {
+ .name = "ADC3",
+ .pin = AT91_PIN_PC3,
+ .direction = GPIO_DIR_INPUT,
+ .output_value = 0,
+ .use_pullup = 0,
+ },
{ },
};