openwrt/target/linux/ramips/dts/mt7621_dlink_dir-1960-a1.dts
Christian Marangi 19c45b95db
ramips: convert to new LED color/function format where possible
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>
2024-02-07 14:48:43 +01:00

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";
};
};