Lines Matching +full:led +full:- +full:blue
1 // SPDX-License-Identifier: GPL-2.0-only
3 * arch/arm/mach-orion5x/board-d2net.c
17 #include <asm/mach-types.h>
20 #include <plat/orion-gpio.h>
29 * GPIO LED's
33 * The blue front LED is wired to the CPLD and can blink in relation with the
36 * The following array detail the different LED registers and the combination
39 * led_off | blink_ctrl | SATA active | LED state
46 * Notes: The blue and the red front LED's can't be on at the same time.
47 * Red LED have priority.
56 .name = "d2net:blue:sata",
57 .default_trigger = "default-on",
73 .name = "leds-gpio",
74 .id = -1,
84 /* Configure register blink_ctrl to allow SATA activity LED blinking. */ in d2net_gpio_leds_init()
85 err = gpio_request(D2NET_GPIO_BLUE_LED_BLINK_CTRL, "blue LED blink"); in d2net_gpio_leds_init()
92 pr_err("d2net: failed to configure blue LED blink GPIO\n"); in d2net_gpio_leds_init()