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