diff options
-rw-r--r-- | io-module/mths.c | 45 |
1 files changed, 18 insertions, 27 deletions
diff --git a/io-module/mths.c b/io-module/mths.c index 28a4f19..79ba885 100644 --- a/io-module/mths.c +++ b/io-module/mths.c @@ -66,7 +66,7 @@ static struct gpio_pin gpio_pins_mths_0_0[] = { { .name = "LS_LED", .pin = { - .gpio = AT91_PIN_PC4, + .gpio = AT91_PIN_PC16, #if LED_LS_CONTROLLABLE .flags = GPIOF_OUT_INIT_HIGH, #else @@ -104,7 +104,7 @@ static struct gpio_pin gpio_pins_mths_0_0[] = { .active_low = 1, }, { - .name = "LED3", + .name = "LED4", .pin = { .gpio = AT91_PIN_PC20, .flags = GPIOF_OUT_INIT_HIGH, @@ -113,38 +113,29 @@ static struct gpio_pin gpio_pins_mths_0_0[] = { .active_low = 1, }, { - .name = "LED4", - .pin = { - .gpio = AT91_PIN_PC16, - .flags = GPIOF_OUT_INIT_HIGH, - .label = "led-cd", - }, - .active_low = 1, - }, - { - .name = "LED5", - .pin = { - .gpio = AT91_PIN_PC21, - .flags = GPIOF_OUT_INIT_HIGH, - .label = "led-status", - }, - .active_low = 1, + .name = "LED5", + .pin = { + .gpio = AT91_PIN_PC21, + .flags = GPIOF_OUT_INIT_HIGH, + .label = "led-status", + }, + .active_low = 1, }, { - .name = "LED5", - .pin = { - .gpio = AT91_PIN_PC16, - .flags = GPIOF_OUT_INIT_HIGH, - .label = "led-c", - }, - .active_low = 1, + .name = "LED5", + .pin = { + .gpio = AT91_PIN_PC21, + .flags = GPIOF_OUT_INIT_HIGH, + .label = "led-cd", + }, + .active_low = 1, }, { .name = "LED6", .pin = { .gpio = AT91_PIN_PC19, .flags = GPIOF_OUT_INIT_HIGH, - .label = "led-sig1", + .label = "led-sig3", }, .active_low = 1, }, @@ -180,7 +171,7 @@ static struct gpio_pin gpio_pins_mths_0_0[] = { .pin = { .gpio = AT91_PIN_PC17, .flags = GPIOF_OUT_INIT_HIGH, - .label = "led-sig3", + .label = "led-sig1", }, .active_low = 1, }, |