From 779d639645ac7acdac617ed40fcfff5859166631 Mon Sep 17 00:00:00 2001 From: John Klug Date: Mon, 10 Oct 2016 14:36:36 -0500 Subject: Add ethernet reset to Conduit 0.0 --- io-module/mtcdt.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'io-module/mtcdt.c') diff --git a/io-module/mtcdt.c b/io-module/mtcdt.c index d8ea8b9..fcef791 100644 --- a/io-module/mtcdt.c +++ b/io-module/mtcdt.c @@ -29,6 +29,14 @@ static struct gpio_pin gpio_pins_mtcdt_0_0[] = { }, .active_low = 1, }, + { + .name = "ETH_RESET", + .pin = { + .gpio = AT91_PIN_PC4, + .flags = GPIOF_OUT_INIT_HIGH, + .label = "eth-reset", + } + }, { .name = "LS_LED", /* LED7 */ .pin = { @@ -691,6 +699,7 @@ static struct attribute *mtcdt_platform_attributes[] = { &dev_attr_led_b_gpio.attr, &dev_attr_led_c_gpio.attr, &dev_attr_led_d_gpio.attr, + &dev_attr_eth_reset.attr, NULL, }; -- cgit v1.2.3