diff options
author | Mike Fiore <mfiore@multitech.com> | 2013-05-01 14:29:13 -0500 |
---|---|---|
committer | Mike Fiore <mfiore@multitech.com> | 2013-05-01 14:29:13 -0500 |
commit | d5beeadc07864a4bdc970ed76bd4693529039fcd (patch) | |
tree | b69d85a2cb4b59991132511028efee0a38791c4c /io-module | |
parent | f8421437524cbba156e63c2fa04d1b641d963d48 (diff) | |
download | cdp-io-controller-d5beeadc07864a4bdc970ed76bd4693529039fcd.tar.gz cdp-io-controller-d5beeadc07864a4bdc970ed76bd4693529039fcd.tar.bz2 cdp-io-controller-d5beeadc07864a4bdc970ed76bd4693529039fcd.zip |
add leds b-f for mtr/mtocgd hw
Diffstat (limited to 'io-module')
-rw-r--r-- | io-module/mts_io.c | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/io-module/mts_io.c b/io-module/mts_io.c index 1cae937..60ab232 100644 --- a/io-module/mts_io.c +++ b/io-module/mts_io.c @@ -692,6 +692,15 @@ static struct gpio_pin gpio_pins_mtr_0_0[] = { .active_low = 1, }, { + .name = "LED3", + .attr_name = "led-b", + .pin = AT91_PIN_PC15, + .direction = GPIO_DIR_OUTPUT, + .output_value = 1, + .use_pullup = 0, + .active_low = 1, + }, + { .name = "LED4", .attr_name = "led-cd", .pin = AT91_PIN_PC20, @@ -701,6 +710,15 @@ static struct gpio_pin gpio_pins_mtr_0_0[] = { .active_low = 1, }, { + .name = "LED4", + .attr_name = "led-c", + .pin = AT91_PIN_PC20, + .direction = GPIO_DIR_OUTPUT, + .output_value = 1, + .use_pullup = 0, + .active_low = 1, + }, + { .name = "LED6", .attr_name = "led-sig1", .pin = AT91_PIN_PC19, @@ -710,6 +728,15 @@ static struct gpio_pin gpio_pins_mtr_0_0[] = { .active_low = 1, }, { + .name = "LED6", + .attr_name = "led-d", + .pin = AT91_PIN_PC19, + .direction = GPIO_DIR_OUTPUT, + .output_value = 1, + .use_pullup = 0, + .active_low = 1, + }, + { .name = "LED7", .attr_name = "led-sig2", .pin = AT91_PIN_PC18, @@ -719,6 +746,15 @@ static struct gpio_pin gpio_pins_mtr_0_0[] = { .active_low = 1, }, { + .name = "LED7", + .attr_name = "led-e", + .pin = AT91_PIN_PC18, + .direction = GPIO_DIR_OUTPUT, + .output_value = 1, + .use_pullup = 0, + .active_low = 1, + }, + { .name = "LED8", .attr_name = "led-sig3", .pin = AT91_PIN_PC17, @@ -728,6 +764,15 @@ static struct gpio_pin gpio_pins_mtr_0_0[] = { .active_low = 1, }, { + .name = "LED8", + .attr_name = "led-f", + .pin = AT91_PIN_PC17, + .direction = GPIO_DIR_OUTPUT, + .output_value = 1, + .use_pullup = 0, + .active_low = 1, + }, + { .name = "RI_B", .attr_name = "extserial-ri", .pin = AT91_PIN_PC25, @@ -2152,6 +2197,13 @@ static struct attribute *mtr_platform_attributes[] = { &dev_attr_led_cd_gpio.attr, &dev_attr_led_wifi_gpio.attr, + &dev_attr_led_a_gpio.attr, + &dev_attr_led_b_gpio.attr, + &dev_attr_led_c_gpio.attr, + &dev_attr_led_d_gpio.attr, + &dev_attr_led_e_gpio.attr, + &dev_attr_led_f_gpio.attr, + NULL, }; |