mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 13:48:06 +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>
21 lines
420 B
Plaintext
21 lines
420 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
#include <dt-bindings/leds/common.h>
|
|
|
|
#include "qca9563_netgear_wndr.dtsi"
|
|
|
|
/ {
|
|
compatible = "netgear,wndr4300-v2", "qca,qca9563";
|
|
model = "Netgear WNDR4300 v2";
|
|
};
|
|
|
|
&leds {
|
|
usb_green {
|
|
function = LED_FUNCTION_USB;
|
|
color = <LED_COLOR_ID_GREEN>;
|
|
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
|
|
trigger-sources = <&hub_port0>;
|
|
linux,default-trigger = "usbport";
|
|
};
|
|
};
|