diff options
Diffstat (limited to 'src/mainboard/hp/pro_3500_series/led.h')
-rw-r--r-- | src/mainboard/hp/pro_3500_series/led.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/mainboard/hp/pro_3500_series/led.h b/src/mainboard/hp/pro_3500_series/led.h new file mode 100644 index 0000000000..b0e7595f11 --- /dev/null +++ b/src/mainboard/hp/pro_3500_series/led.h @@ -0,0 +1,17 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef __MAINBOARD_LED_H +#define __MAINBOARD_LED_H + +#ifndef __ACPI__ +void set_power_led(int state); + +enum { + LED_WHITE = 1 << 2, // GPIO 22 + LED_YELLOW = 1 << 3, // GPIO 23 + LED_BOTH = LED_WHITE | LED_YELLOW, + LED_OFF = LED_BOTH +}; +#endif + +#endif /* __MAINBOARD_LED_H */ |