Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT |
| 2 | |
| 3 | #include <dt-bindings/leds/common.h> |
| 4 | #include "qcom-ipq4018-ap120c-ac.dtsi" |
| 5 | |
| 6 | / { |
| 7 | model = "ALFA Network AP120C-AC Bit"; |
| 8 | |
| 9 | leds { |
| 10 | compatible = "gpio-leds"; |
| 11 | |
| 12 | led-power { |
| 13 | label = "ap120c-ac:green:power"; |
| 14 | function = LED_FUNCTION_POWER; |
| 15 | color = <LED_COLOR_ID_GREEN>; |
| 16 | gpios = <&tlmm 5 GPIO_ACTIVE_LOW>; |
| 17 | default-state = "on"; |
| 18 | }; |
| 19 | |
| 20 | led-wlan { |
| 21 | label = "ap120c-ac:green:wlan"; |
| 22 | function = LED_FUNCTION_WLAN; |
| 23 | color = <LED_COLOR_ID_GREEN>; |
| 24 | gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>; |
| 25 | }; |
| 26 | |
| 27 | led-support { |
| 28 | label = "ap120c-ac:green:support"; |
| 29 | color = <LED_COLOR_ID_GREEN>; |
| 30 | gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>; |
| 31 | panic-indicator; |
| 32 | }; |
| 33 | }; |
| 34 | }; |