diff options
author | John Klug <john.klug@multitech.com> | 2016-10-10 14:36:36 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2016-10-10 14:36:36 -0500 |
commit | 779d639645ac7acdac617ed40fcfff5859166631 (patch) | |
tree | 07b570bb34de60943a8f4bdf68c98ce064e34b3a /io-module/mtcdt.c | |
parent | 5a392bc4b2a4e93fba16e8a3a98b3144ffff3fe6 (diff) | |
download | mts-io-779d639645ac7acdac617ed40fcfff5859166631.tar.gz mts-io-779d639645ac7acdac617ed40fcfff5859166631.tar.bz2 mts-io-779d639645ac7acdac617ed40fcfff5859166631.zip |
Add ethernet reset to Conduit 0.01.3.6
Diffstat (limited to 'io-module/mtcdt.c')
-rw-r--r-- | io-module/mtcdt.c | 9 |
1 files changed, 9 insertions, 0 deletions
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 @@ -30,6 +30,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 = { .gpio = AT91_PIN_PA14, @@ -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, }; |