Lines Matching +full:led +full:- +full:blue
1 // SPDX-License-Identifier: GPL-2.0-only
3 * arch/arm/mach-orion5x/net2big-setup.c
23 #include <asm/mach-types.h>
25 #include <plat/orion-gpio.h>
46 * TODO: Check write support on flash MX29LV400CBTC-70G
68 + NET2BIG_NOR_BOOT_SIZE - 1,
72 .name = "physmap-flash",
189 * The power front LEDs (blue and red) and SATA red LEDs are controlled via a
190 * single GPIO line and are compatible with the leds-gpio driver.
192 * The SATA blue LEDs have some hardware blink capabilities which are detailed
195 * SATAx blue LED | SATAx activity | LED state
201 * Notes: The blue and the red front LED's can't be on at the same time.
202 * Blue LED have priority.
220 .name = "net2big:blue:power",
231 .dev_id = "leds-gpio",
251 .name = "leds-gpio",
252 .id = -1,
262 /* Stop initial CPLD slow red/blue blinking on power LED. */ in net2big_gpio_leds_init()
264 "Power LED blink stop"); in net2big_gpio_leds_init()
271 pr_err("net2big: failed to setup power LED blink GPIO\n"); in net2big_gpio_leds_init()
274 * Configure SATA0 and SATA1 blue LEDs to blink in relation with the in net2big_gpio_leds_init()
278 "SATA0 blue LED control"); in net2big_gpio_leds_init()
285 pr_err("net2big: failed to setup SATA0 blue LED GPIO\n"); in net2big_gpio_leds_init()
288 "SATA1 blue LED control"); in net2big_gpio_leds_init()
295 pr_err("net2big: failed to setup SATA1 blue LED GPIO\n"); in net2big_gpio_leds_init()
342 .name = "gpio-keys",
343 .id = -1,
360 MPP6_GPIO, /* Red front LED (0 = Off, 1 = On) */
361 MPP7_GPIO, /* Disable initial blinking on front LED */
364 MPP10_GPIO, /* SATA 1 red LED (0 = Off, 1 = On) */
365 MPP11_GPIO, /* SATA 0 red LED (0 = Off, 1 = On) */
367 MPP13_GPIO, /* SATA 1 blue LED blink control */
370 MPP16_GPIO, /* Blue front LED control */
371 MPP17_GPIO, /* SATA 0 blue LED blink control */
424 if (gpio_request(NET2BIG_GPIO_POWER_OFF, "power-off") == 0 && in net2big_init()
428 pr_err("net2big: failed to configure power-off GPIO\n"); in net2big_init()
433 /* Warning: LaCie use a wrong mach-type (0x20e=526) in their bootloader. */