ramips: convert to new LED color/function format where possible
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_dlink_dir-1960-a1.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include <dt-bindings/leds/common.h>
4
5 #include "mt7621_dlink_dir-xx60-a1.dtsi"
6
7 / {
8 compatible = "dlink,dir-1960-a1", "mediatek,mt7621-soc";
9 model = "D-Link DIR-1960 A1";
10 };
11
12 &leds {
13 usb_white {
14 function = LED_FUNCTION_USB;
15 color = <LED_COLOR_ID_WHITE>;
16 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
17 trigger-sources = <&xhci_ehci_port1>;
18 linux,default-trigger = "usbport";
19 };
20 };