Lines Matching +full:led +full:- +full:red

1 // SPDX-License-Identifier: GPL-2.0-only
3 * arch/arm/mach-orion5x/net2big-setup.c
22 #include <asm/mach-types.h>
24 #include <plat/orion-gpio.h>
45 * TODO: Check write support on flash MX29LV400CBTC-70G
67 + NET2BIG_NOR_BOOT_SIZE - 1,
71 .name = "physmap-flash",
188 * The power front LEDs (blue and red) and SATA red LEDs are controlled via a
189 * single GPIO line and are compatible with the leds-gpio driver.
194 * SATAx blue LED | SATAx activity | LED state
200 * Notes: The blue and the red front LED's can't be on at the same time.
201 * Blue LED have priority.
216 .name = "net2big:red:power",
224 .name = "net2big:red:sata0",
228 .name = "net2big:red:sata1",
239 .name = "leds-gpio",
240 .id = -1,
250 /* Stop initial CPLD slow red/blue blinking on power LED. */ in net2big_gpio_leds_init()
252 "Power LED blink stop"); in net2big_gpio_leds_init()
259 pr_err("net2big: failed to setup power LED blink GPIO\n"); in net2big_gpio_leds_init()
266 "SATA0 blue LED control"); in net2big_gpio_leds_init()
273 pr_err("net2big: failed to setup SATA0 blue LED GPIO\n"); in net2big_gpio_leds_init()
276 "SATA1 blue LED control"); in net2big_gpio_leds_init()
283 pr_err("net2big: failed to setup SATA1 blue LED GPIO\n"); in net2big_gpio_leds_init()
329 .name = "gpio-keys",
330 .id = -1,
347 MPP6_GPIO, /* Red front LED (0 = Off, 1 = On) */
348 MPP7_GPIO, /* Disable initial blinking on front LED */
351 MPP10_GPIO, /* SATA 1 red LED (0 = Off, 1 = On) */
352 MPP11_GPIO, /* SATA 0 red LED (0 = Off, 1 = On) */
354 MPP13_GPIO, /* SATA 1 blue LED blink control */
357 MPP16_GPIO, /* Blue front LED control */
358 MPP17_GPIO, /* SATA 0 blue LED blink control */
411 if (gpio_request(NET2BIG_GPIO_POWER_OFF, "power-off") == 0 && in net2big_init()
415 pr_err("net2big: failed to configure power-off GPIO\n"); in net2big_init()
420 /* Warning: LaCie use a wrong mach-type (0x20e=526) in their bootloader. */