Commit da035d2a authored by Alessio Igor Bogani's avatar Alessio Igor Bogani
Browse files

Rename GPIO2_9 and add GPIO2_1

parent 43f8ee2b
......@@ -235,9 +235,13 @@ static int setup_gpio(void)
if (gpio_request(GPIO2_11, "RST")) return -EINVAL;
gpio_direction_output(GPIO2_11, 0);
if (!gpio_is_valid(GPIO2_1)) return -EINVAL;
if (gpio_request(GPIO2_1, "benchPRU0")) return -EINVAL;
gpio_direction_output(GPIO2_1, 1);
if (!gpio_is_valid(GPIO2_9)) return -EINVAL;
if (gpio_request(GPIO2_9, "Degauss")) return -EINVAL;
gpio_direction_output(GPIO2_9, 0);
if (gpio_request(GPIO2_9, "benchPRU1")) return -EINVAL;
gpio_direction_output(GPIO2_9, 1);
if (!gpio_is_valid(GPIO1_6)) return -EINVAL;
if (gpio_request(GPIO1_6, "Dcct Fault")) return -EINVAL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment