mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 17:01:14 +00:00
e3ddfcc70c
Initial conversion to new LED color/function format and drop label format where possible. The same label is composed at runtime. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
37 lines
642 B
Plaintext
37 lines
642 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
#include <dt-bindings/leds/common.h>
|
|
|
|
#include "ar9344_tplink_cpe.dtsi"
|
|
|
|
/ {
|
|
model = "TP-Link CPE605 v1";
|
|
compatible = "tplink,cpe605-v1", "qca,ar9344";
|
|
|
|
aliases {
|
|
led-boot = &led_lan;
|
|
led-failsafe = &led_lan;
|
|
led-upgrade = &led_lan;
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
|
|
led_lan: lan {
|
|
function = LED_FUNCTION_LAN;
|
|
color = <LED_COLOR_ID_GREEN>;
|
|
gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
wlan5g {
|
|
label = "green:wlan5g";
|
|
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
|
|
linux,default-trigger = "phy0tpt";
|
|
};
|
|
};
|
|
};
|
|
|
|
ð1 {
|
|
compatible = "syscon", "simple-mfd";
|
|
};
|