diff options
author | Jesse Gilles <jgilles@multitech.com> | 2013-07-02 15:30:15 -0500 |
---|---|---|
committer | Jesse Gilles <jgilles@multitech.com> | 2013-07-02 15:30:15 -0500 |
commit | e027530dfdba0c40330f93fcd7ebd343b84cc23c (patch) | |
tree | 103a7d8fd0abb47ff97d41417aa121e7b30cfd32 | |
parent | 6a0c178ac7de9488debdb2fcf0c66e11d5e2c3cf (diff) | |
download | cdp-io-controller-e027530dfdba0c40330f93fcd7ebd343b84cc23c.tar.gz cdp-io-controller-e027530dfdba0c40330f93fcd7ebd343b84cc23c.tar.bz2 cdp-io-controller-e027530dfdba0c40330f93fcd7ebd343b84cc23c.zip |
mtcdp,mt100eocg: disable pullup on ADC pins
-rw-r--r-- | io-module/mts_io.c | 56 |
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, + }, { }, }; |