summaryrefslogtreecommitdiff
path: root/io-module
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2018-05-21 17:43:24 -0500
committerJohn Klug <john.klug@multitech.com>2018-06-25 11:58:18 -0500
commitab8d00077570db5c2a4f22702008a2967cc84d9d (patch)
tree7357ab8b89c9a630023740a9cd73474ee40d1a2d /io-module
parent69e13591cc71d69fc1e006726a37305742bf21a9 (diff)
downloadmts-io-ab8d00077570db5c2a4f22702008a2967cc84d9d.tar.gz
mts-io-ab8d00077570db5c2a4f22702008a2967cc84d9d.tar.bz2
mts-io-ab8d00077570db5c2a4f22702008a2967cc84d9d.zip
No pull up on the radio-power or radio-reset -- MTR code says open drain
Diffstat (limited to 'io-module')
-rw-r--r--io-module/mths.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/io-module/mths.c b/io-module/mths.c
index 18af942..b323e2b 100644
--- a/io-module/mths.c
+++ b/io-module/mths.c
@@ -12,7 +12,7 @@ static struct gpio_pin gpio_pins_mths_0_0[] = {
.name = "RADIO_RESET",
.pin = {
.gpio = AT91_PIN_PA22,
- .flags = GPIOF_OUT_INIT_HIGH | GPIOF_PULLUP,
+ .flags = GPIOF_OUT_INIT_HIGH | GPIOF_OPEN_DRAIN,
.label = "radio-reset",
},
.active_low = 0,
@@ -21,7 +21,7 @@ static struct gpio_pin gpio_pins_mths_0_0[] = {
.name = "RADIO_POWER",
.pin = {
.gpio = AT91_PIN_PA21,
- .flags = GPIOF_OUT_INIT_HIGH | GPIOF_PULLUP,
+ .flags = GPIOF_OUT_INIT_HIGH | GPIOF_OPEN_DRAIN,
.label = "radio-power",
},
.active_low = 0,