diff options
Diffstat (limited to 'io-module/machine/mtcdt.c')
-rw-r--r-- | io-module/machine/mtcdt.c | 34 |
1 files changed, 9 insertions, 25 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", } }, |