diff options
Diffstat (limited to 'io-module/mtr.c')
-rw-r--r-- | io-module/mtr.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/io-module/mtr.c b/io-module/mtr.c index 15c295f..fd50e78 100644 --- a/io-module/mtr.c +++ b/io-module/mtr.c @@ -1,10 +1,10 @@ static struct gpio_pin gpio_pins_mtr_0_0[] = { { - .name = "ETH_EN", + .name = "ETH_RESET", .pin = { .gpio = AT91_PIN_PC6, .flags = GPIOF_OUT_INIT_HIGH, - .label = "eth-enabled", + .label = "eth-reset", }, .active_low = 0, }, @@ -215,11 +215,11 @@ static struct gpio_pin gpio_pins_mtr_0_0[] = { static struct gpio_pin gpio_pins_mtr_0_1[] = { { - .name = "ETH_EN", + .name = "ETH_RESET", .pin = { .gpio = AT91_PIN_PC6, .flags = GPIOF_OUT_INIT_HIGH, - .label = "eth-enabled", + .label = "eth-reset", }, .active_low = 0, }, @@ -430,11 +430,11 @@ static struct gpio_pin gpio_pins_mtr_0_1[] = { static struct gpio_pin gpio_pins_mtrv1_0_0[] = { { - .name = "ETH_EN", + .name = "ETH_RESET", .pin = { .gpio = AT91_PIN_PC6, .flags = GPIOF_OUT_INIT_HIGH | GPIOF_OPEN_DRAIN, /* without GPIOF_OPEN_DRAIN causes issues with the Micrel KSZ8091RNBCA (RMII) PHY */ - .label = "eth-enabled", + .label = "eth-reset", }, .active_low = 0, }, @@ -646,11 +646,11 @@ static struct gpio_pin gpio_pins_mtrv1_0_0[] = { static struct gpio_pin gpio_pins_mtrv1_0_1[] = { { - .name = "ETH_EN", + .name = "ETH_RESET", .pin = { .gpio = AT91_PIN_PC6, .flags = GPIOF_OUT_INIT_HIGH | GPIOF_OPEN_DRAIN, /* without GPIOF_OPEN_DRAIN causes issues with the Micrel KSZ8091RNBCA (RMII) PHY */ - .label = "eth-enabled", + .label = "eth-reset", }, .active_low = 0, }, @@ -1137,7 +1137,7 @@ static DEVICE_ATTR_MTS(dev_attr_radio_power_mtr, "radio-power", static DEVICE_ATTR_MTS(dev_attr_radio_reset_mtr, "radio-reset", mts_attr_show_gpio_pin, mts_attr_store_radio_reset_mtr); -static DEVICE_ATTR_MTS(dev_attr_eth_enabled_mtr, "eth-enabled", +static DEVICE_ATTR_MTS(dev_attr_eth_reset_mtr, "eth-reset", mts_attr_show_gpio_pin, mts_attr_store_gpio_pin); static DEVICE_ATTR_MTS(dev_attr_bt_enabled_mtr, "bt-enabled", @@ -1216,7 +1216,7 @@ static struct attribute *mtr_platform_attributes[] = { &dev_attr_extserial_dsr_gpio_mtr.attr, &dev_attr_extserial_dcd_gpio_mtr.attr, - &dev_attr_eth_enabled_mtr.attr, + &dev_attr_eth_reset_mtr.attr, &dev_attr_bt_enabled_mtr.attr, &dev_attr_wlan_enabled_mtr.attr, @@ -1276,7 +1276,7 @@ static struct attribute *mtrv1_0_1_platform_attributes[] = { &dev_attr_extserial_dsr_gpio_mtr.attr, &dev_attr_extserial_dcd_gpio_mtr.attr, - &dev_attr_eth_enabled_mtr.attr, + &dev_attr_eth_reset_mtr.attr, &dev_attr_wifi_bt_lpwkup_mtr.attr, &dev_attr_wifi_bt_ulpwkup_mtr.attr, &dev_attr_wifi_bt_reset_mtr.attr, |