summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--io-module/mts_io.c57
1 files changed, 57 insertions, 0 deletions
diff --git a/io-module/mts_io.c b/io-module/mts_io.c
index d6df5f9..ad85d0d 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,
+ },
{ },
};
@@ -2492,6 +2548,7 @@ static struct attribute *mtr2_platform_attributes[] = {
&dev_attr_reset_monitor.attr,
&dev_attr_radio_power.attr,
&dev_attr_radio_reset.attr,
+ &dev_attr_ndc_reset.attr,
&dev_attr_extserial_dtr.attr,
&dev_attr_extserial_dsr_gpio.attr,
&dev_attr_extserial_ri_gpio.attr,