diff options
Diffstat (limited to 'io-module')
-rw-r--r-- | io-module/machine/mtcdt.c | 34 | ||||
-rw-r--r-- | io-module/version.h | 2 |
2 files changed, 10 insertions, 26 deletions
diff --git a/io-module/machine/mtcdt.c b/io-module/machine/mtcdt.c index f8b5f0b..5ee77cb 100644 --- a/io-module/machine/mtcdt.c +++ b/io-module/machine/mtcdt.c @@ -265,7 +265,7 @@ static struct gpio_pin gpio_pins_mtcdt_0_1[] = { .name = "WIFI_BT_ULPWKUP", .pin = { .gpio = AT91_PIN_PA0, - .flags = GPIOF_IN, + .flags = GPIOF_OUT_INIT_LOW, .label = "wifi-bt-ulpwkup", }, .capability = CAPA_WIFI, @@ -274,7 +274,7 @@ static struct gpio_pin gpio_pins_mtcdt_0_1[] = { .name = "WIFI_BT_LPWKUP", .pin = { .gpio = AT91_PIN_PA6, - .flags = GPIOF_IN, + .flags = GPIOF_OUT_INIT_HIGH, .label = "wifi-bt-lpwkup", }, .capability = CAPA_WIFI, @@ -292,7 +292,7 @@ static struct gpio_pin gpio_pins_mtcdt_0_1[] = { .name = "WIFI_BT_RESET", .pin = { .gpio = AT91_PIN_PD14, - .flags = GPIOF_OUT_INIT_HIGH, + .flags = GPIOF_OUT_INIT_LOW, .label = "wifi-bt-reset", }, .capability = CAPA_WIFI, @@ -307,14 +307,6 @@ static struct gpio_pin gpio_pins_mtcdt_0_1[] = { .capability = CAPA_GPS, }, { - .name = "SECURE_RESET", - .pin = { - .gpio = AT91_PIN_PD16, - .flags = GPIOF_OUT_INIT_HIGH, - .label = "secure-reset", - } - }, - { .name = "MTQ_RESET", .pin = { .gpio = AT91_PIN_PD17, @@ -326,7 +318,7 @@ static struct gpio_pin gpio_pins_mtcdt_0_1[] = { .name = "USBHUB_RESET", .pin = { .gpio = AT91_PIN_PD18, - .flags = GPIOF_OUT_INIT_HIGH, + .flags = GPIOF_OUT_INIT_LOW, .label = "usbhub-reset", } }, @@ -334,7 +326,7 @@ static struct gpio_pin gpio_pins_mtcdt_0_1[] = { .name = "GNSS_INT", .pin = { .gpio = AT91_PIN_PD19, - .flags = GPIOF_OUT_INIT_HIGH, + .flags = GPIOF_OUT_INIT_LOW, .label = "gnss-int", }, .capability = CAPA_GPS, @@ -492,7 +484,7 @@ static struct gpio_pin gpio_pins_mtcdt_0_2[] = { .name = "WIFI_BT_ULPWKUP", .pin = { .gpio = AT91_PIN_PA0, - .flags = GPIOF_IN, + .flags = GPIOF_OUT_INIT_LOW, .label = "wifi-bt-ulpwkup", }, .capability = CAPA_WIFI, @@ -501,7 +493,7 @@ static struct gpio_pin gpio_pins_mtcdt_0_2[] = { .name = "WIFI_BT_LPWKUP", .pin = { .gpio = PCA9557_0_IO1, - .flags = GPIOF_IN, + .flags = GPIOF_OUT_INIT_HIGH, .label = "wifi-bt-lpwkup", }, .capability = CAPA_WIFI, @@ -519,7 +511,7 @@ static struct gpio_pin gpio_pins_mtcdt_0_2[] = { .name = "WIFI_BT_RESET", .pin = { .gpio = AT91_PIN_PD14, - .flags = GPIOF_OUT_INIT_HIGH, + .flags = GPIOF_OUT_INIT_LOW, .label = "wifi-bt-reset", }, .capability = CAPA_WIFI, @@ -534,14 +526,6 @@ static struct gpio_pin gpio_pins_mtcdt_0_2[] = { .capability = CAPA_GPS, }, { - .name = "SECURE_RESET", - .pin = { - .gpio = AT91_PIN_PD16, - .flags = GPIOF_OUT_INIT_HIGH, - .label = "secure-reset", - } - }, - { .name = "MTQ_RESET", .pin = { .gpio = AT91_PIN_PD17, @@ -553,7 +537,7 @@ static struct gpio_pin gpio_pins_mtcdt_0_2[] = { .name = "USBHUB_RESET", .pin = { .gpio = AT91_PIN_PD18, - .flags = GPIOF_OUT_INIT_HIGH, + .flags = GPIOF_OUT_INIT_LOW, .label = "usbhub-reset", } }, diff --git a/io-module/version.h b/io-module/version.h index fff0a7a..ab569e7 100644 --- a/io-module/version.h +++ b/io-module/version.h @@ -1,7 +1,7 @@ #ifndef __VERSION_H #define __VERSION_H -#define DRIVER_VERSION "v4.8.0" +#define DRIVER_VERSION "v4.8.1" #define DRIVER_AUTHOR "Multitech Systems" #define DRIVER_DESC "MTS-IO Controller" #define DRIVER_NAME "mts-io" |