2020-09-09 21:56:39 +02:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
|
2022-06-07 12:29:24 +02:00
|
|
|
#include <dt-bindings/leds/common.h>
|
2020-09-09 21:56:39 +02:00
|
|
|
#include "qcom-ipq4018-ap120c-ac.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "ALFA Network AP120C-AC Bit";
|
|
|
|
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
2022-11-25 15:42:09 +01:00
|
|
|
led-power {
|
2020-09-09 21:56:39 +02:00
|
|
|
label = "ap120c-ac:green:power";
|
2022-06-07 12:29:24 +02:00
|
|
|
function = LED_FUNCTION_POWER;
|
|
|
|
color = <LED_COLOR_ID_GREEN>;
|
2020-09-09 21:56:39 +02:00
|
|
|
gpios = <&tlmm 5 GPIO_ACTIVE_LOW>;
|
|
|
|
default-state = "on";
|
|
|
|
};
|
|
|
|
|
2022-11-25 15:42:09 +01:00
|
|
|
led-wlan {
|
2020-09-09 21:56:39 +02:00
|
|
|
label = "ap120c-ac:green:wlan";
|
2022-06-07 12:29:24 +02:00
|
|
|
function = LED_FUNCTION_WLAN;
|
|
|
|
color = <LED_COLOR_ID_GREEN>;
|
2020-09-09 21:56:39 +02:00
|
|
|
gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
|
|
|
|
};
|
|
|
|
|
2022-11-25 15:42:09 +01:00
|
|
|
led-support {
|
2020-09-09 21:56:39 +02:00
|
|
|
label = "ap120c-ac:green:support";
|
2022-06-07 12:29:24 +02:00
|
|
|
color = <LED_COLOR_ID_GREEN>;
|
2020-09-09 21:56:39 +02:00
|
|
|
gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
|
|
|
|
panic-indicator;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|