summaryrefslogtreecommitdiff
path: root/io-module/mtr.c
diff options
context:
space:
mode:
authorMike Nicholson <mike.nicholson@multitech.com>2019-01-08 12:16:58 -0600
committerMike Nicholson <mike.nicholson@multitech.com>2019-01-08 12:16:58 -0600
commitcb05e0a0db86e620dfae9b9395634eee2df72b09 (patch)
tree6ee9513784254ed7c7205df359aa7609b874cc9d /io-module/mtr.c
parentc1dca42bd3d6d2185b9e637eac65053d9b1b9bb8 (diff)
downloadmts-io-cb05e0a0db86e620dfae9b9395634eee2df72b09.tar.gz
mts-io-cb05e0a0db86e620dfae9b9395634eee2df72b09.tar.bz2
mts-io-cb05e0a0db86e620dfae9b9395634eee2df72b09.zip
Remove pull-up; now handled in pinctrl.
Diffstat (limited to 'io-module/mtr.c')
-rw-r--r--io-module/mtr.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/io-module/mtr.c b/io-module/mtr.c
index 5d35b83..171c182 100644
--- a/io-module/mtr.c
+++ b/io-module/mtr.c
@@ -1,5 +1,4 @@
#include "at91gpio.h"
-#define GPIOF_PULLUP (0)
static struct gpio_pin gpio_pins_mtr_0_0[] = {
{
.name = "ETH_RESET",
@@ -238,7 +237,7 @@ static struct gpio_pin gpio_pins_mtr_0_1[] = {
.name = "RADIO_RESET",
.pin = {
.gpio = AT91_PIN_PA22,
- .flags = GPIOF_OUT_INIT_HIGH | GPIOF_PULLUP,
+ .flags = GPIOF_OUT_INIT_HIGH,
.label = "radio-reset",
},
.active_low = 0,
@@ -247,7 +246,7 @@ static struct gpio_pin gpio_pins_mtr_0_1[] = {
.name = "RADIO_POWER",
.pin = {
.gpio = AT91_PIN_PA21,
- .flags = GPIOF_OUT_INIT_HIGH | GPIOF_PULLUP,
+ .flags = GPIOF_OUT_INIT_HIGH,
.label = "radio-power",
},
.active_low = 0,
@@ -453,7 +452,7 @@ static struct gpio_pin gpio_pins_mtrv1_0_0[] = {
.name = "RADIO_RESET",
.pin = {
.gpio = AT91_PIN_PA22,
- .flags = GPIOF_OUT_INIT_HIGH | GPIOF_PULLUP,
+ .flags = GPIOF_OUT_INIT_HIGH,
.label = "radio-reset",
},
.active_low = 0,
@@ -462,7 +461,7 @@ static struct gpio_pin gpio_pins_mtrv1_0_0[] = {
.name = "RADIO_POWER",
.pin = {
.gpio = AT91_PIN_PA21,
- .flags = GPIOF_OUT_INIT_HIGH | GPIOF_PULLUP,
+ .flags = GPIOF_OUT_INIT_HIGH,
.label = "radio-power",
},
.active_low = 0,
@@ -669,7 +668,7 @@ static struct gpio_pin gpio_pins_mtrv1_0_1[] = {
.name = "RADIO_RESET",
.pin = {
.gpio = AT91_PIN_PA22,
- .flags = GPIOF_OUT_INIT_HIGH | GPIOF_PULLUP,
+ .flags = GPIOF_OUT_INIT_HIGH,
.label = "radio-reset",
},
.active_low = 0,
@@ -678,7 +677,7 @@ static struct gpio_pin gpio_pins_mtrv1_0_1[] = {
.name = "RADIO_POWER",
.pin = {
.gpio = AT91_PIN_PA21,
- .flags = GPIOF_OUT_INIT_HIGH | GPIOF_PULLUP,
+ .flags = GPIOF_OUT_INIT_HIGH,
.label = "radio-power",
},
.active_low = 0,
@@ -942,7 +941,7 @@ static struct gpio_pin gpio_pins_mtrv1_0_2[] = {
.name = "RADIO_RESET",
.pin = {
.gpio = AT91_PIN_PA22,
- .flags = GPIOF_OUT_INIT_HIGH | GPIOF_PULLUP,
+ .flags = GPIOF_OUT_INIT_HIGH,
.label = "radio-reset",
},
.active_low = 0,
@@ -951,7 +950,7 @@ static struct gpio_pin gpio_pins_mtrv1_0_2[] = {
.name = "RADIO_POWER",
.pin = {
.gpio = AT91_PIN_PA21,
- .flags = GPIOF_OUT_INIT_HIGH | GPIOF_PULLUP,
+ .flags = GPIOF_OUT_INIT_HIGH,
.label = "radio-power",
},
.active_low = 0,