summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--io-module/mts_io.c52
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,
};