3 * Kamil Lulko, <rev13@wp.pl>
5 * SPDX-License-Identifier: GPL-2.0+
9 #include <asm-generic/gpio.h>
11 void coloured_LED_init(void)
13 gpio_direction_output(CONFIG_RED_LED, 0);
14 gpio_direction_output(CONFIG_GREEN_LED, 0);
17 void red_led_off(void)
19 gpio_set_value(CONFIG_RED_LED, 0);
22 void green_led_off(void)
24 gpio_set_value(CONFIG_GREEN_LED, 0);
29 gpio_set_value(CONFIG_RED_LED, 1);
32 void green_led_on(void)
34 gpio_set_value(CONFIG_GREEN_LED, 1);