Lines Matching +full:led +full:- +full:blue
1 // SPDX-License-Identifier: GPL-2.0-only
3 * arch/arm/mach-orion5x/board-d2net.c
18 #include <asm/mach-types.h>
21 #include <plat/orion-gpio.h>
30 * GPIO LED's
34 * The blue front LED is wired to the CPLD and can blink in relation with the
37 * The following array detail the different LED registers and the combination
40 * led_off | blink_ctrl | SATA active | LED state
47 * Notes: The blue and the red front LED's can't be on at the same time.
48 * Red LED have priority.
57 .name = "d2net:blue:sata",
58 .default_trigger = "default-on",
71 .name = "leds-gpio",
72 .id = -1,
79 .dev_id = "leds-gpio",
93 /* Configure register blink_ctrl to allow SATA activity LED blinking. */ in d2net_gpio_leds_init()
94 err = gpio_request(D2NET_GPIO_BLUE_LED_BLINK_CTRL, "blue LED blink"); in d2net_gpio_leds_init()
101 pr_err("d2net: failed to configure blue LED blink GPIO\n"); in d2net_gpio_leds_init()