diff options
Diffstat (limited to 'io-module/mtr.c')
-rw-r--r-- | io-module/mtr.c | 17 |
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, |