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 leds { 8*f126890aSEmmanuel Vadot compatible = "gpio-leds"; 9*f126890aSEmmanuel Vadot 10*f126890aSEmmanuel Vadot status: led-status { 11*f126890aSEmmanuel Vadot label = "ap120c-ac:blue:status"; 12*f126890aSEmmanuel Vadot function = LED_FUNCTION_STATUS; 13*f126890aSEmmanuel Vadot color = <LED_COLOR_ID_BLUE>; 14*f126890aSEmmanuel Vadot gpios = <&tlmm 5 GPIO_ACTIVE_LOW>; 15*f126890aSEmmanuel Vadot default-state = "keep"; 16*f126890aSEmmanuel Vadot }; 17*f126890aSEmmanuel Vadot 18*f126890aSEmmanuel Vadot led-wlan2g { 19*f126890aSEmmanuel Vadot label = "ap120c-ac:green:wlan2g"; 20*f126890aSEmmanuel Vadot function = LED_FUNCTION_WLAN; 21*f126890aSEmmanuel Vadot color = <LED_COLOR_ID_GREEN>; 22*f126890aSEmmanuel Vadot gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>; 23*f126890aSEmmanuel Vadot linux,default-trigger = "phy0tpt"; 24*f126890aSEmmanuel Vadot }; 25*f126890aSEmmanuel Vadot 26*f126890aSEmmanuel Vadot led-wlan5g { 27*f126890aSEmmanuel Vadot label = "ap120c-ac:red:wlan5g"; 28*f126890aSEmmanuel Vadot function = LED_FUNCTION_WLAN; 29*f126890aSEmmanuel Vadot color = <LED_COLOR_ID_RED>; 30*f126890aSEmmanuel Vadot gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>; 31*f126890aSEmmanuel Vadot linux,default-trigger = "phy1tpt"; 32*f126890aSEmmanuel Vadot }; 33*f126890aSEmmanuel Vadot }; 34*f126890aSEmmanuel Vadot}; 35