mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 08:51:13 +00:00
19c45b95db
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
436 B
Plaintext
21 lines
436 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
#include <dt-bindings/leds/common.h>
|
|
|
|
#include "mt7621_dlink_dir-xx60-a1.dtsi"
|
|
|
|
/ {
|
|
compatible = "dlink,dir-1960-a1", "mediatek,mt7621-soc";
|
|
model = "D-Link DIR-1960 A1";
|
|
};
|
|
|
|
&leds {
|
|
usb_white {
|
|
function = LED_FUNCTION_USB;
|
|
color = <LED_COLOR_ID_WHITE>;
|
|
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
|
|
trigger-sources = <&xhci_ehci_port1>;
|
|
linux,default-trigger = "usbport";
|
|
};
|
|
};
|