Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
0002 
0003 #include <dt-bindings/leds/common.h>
0004 #include "qcom-ipq4018-ap120c-ac.dtsi"
0005 
0006 / {
0007         model = "ALFA Network AP120C-AC Bit";
0008 
0009         leds {
0010                 compatible = "gpio-leds";
0011 
0012                 power {
0013                         label = "ap120c-ac:green:power";
0014                         function = LED_FUNCTION_POWER;
0015                         color = <LED_COLOR_ID_GREEN>;
0016                         gpios = <&tlmm 5 GPIO_ACTIVE_LOW>;
0017                         default-state = "on";
0018                 };
0019 
0020                 wlan {
0021                         label = "ap120c-ac:green:wlan";
0022                         function = LED_FUNCTION_WLAN;
0023                         color = <LED_COLOR_ID_GREEN>;
0024                         gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
0025                 };
0026 
0027                 support {
0028                         label = "ap120c-ac:green:support";
0029                         color = <LED_COLOR_ID_GREEN>;
0030                         gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
0031                         panic-indicator;
0032                 };
0033         };
0034 };