ramips: use function/color syntax for some dlink dir routers
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_dlink_dir-2660-a1.dts
index d8c347198b5a18e67b1d1c27431d5d6eda0b33f4..2ee0b8a5c39ed3b58f2d3f8002bfde533ffe2681 100644 (file)
@@ -8,15 +8,19 @@
 };
 
 &leds {
-       usb2_white {
-               label = "white:usb2";
+       led-4 {
+               function = LED_FUNCTION_USB;
+               color = <LED_COLOR_ID_WHITE>;
+               function-enumerator = <2>;
                gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
                trigger-sources = <&ehci_port2>;
                linux,default-trigger = "usbport";
        };
 
-       usb3_white {
-               label = "white:usb3";
+       led-5 {
+               function = LED_FUNCTION_USB;
+               color = <LED_COLOR_ID_WHITE>;
+               function-enumerator = <3>;
                gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
                trigger-sources = <&xhci_ehci_port1>;
                linux,default-trigger = "usbport";