ramips: use function/color syntax for some dlink dir routers
[openwrt/staging/pepe2k.git] / target / linux / ramips / dts / mt7621_dlink_dir-3040-a1.dts
index 0bcfa022fa93dafa80af3a3d2c621a7eeabceb6d..5044ba3bdc496f09ece4b0fa3558eb067736d108 100644 (file)
 };
 
 &leds {
-       usb2_white {
+       led-4 {
                function = LED_FUNCTION_USB;
                color = <LED_COLOR_ID_WHITE>;
-               function-enumerator = <0>;
+               function-enumerator = <2>;
                gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
                trigger-sources = <&ehci_port2>;
                linux,default-trigger = "usbport";
        };
 
-       usb3_white {
+       led-5 {
                function = LED_FUNCTION_USB;
                color = <LED_COLOR_ID_WHITE>;
-               function-enumerator = <1>;
+               function-enumerator = <3>;
                gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
                trigger-sources = <&xhci_ehci_port1>;
                linux,default-trigger = "usbport";
        };
 
-       wlan2g {
+       led-6 {
                function = LED_FUNCTION_WLAN_2GHZ;
                color = <LED_COLOR_ID_WHITE>;
                gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
                linux,default-trigger = "phy0radio";
        };
 
-       wlan5glb {
+       led-7 {
                function = LED_FUNCTION_WLAN_5GHZ;
                color = <LED_COLOR_ID_WHITE>;
                function-enumerator = <0>;
@@ -45,7 +45,7 @@
                linux,default-trigger = "phy1radio";
        };
 
-       wlan5ghb {
+       led-8 {
                function = LED_FUNCTION_WLAN_5GHZ;
                color = <LED_COLOR_ID_WHITE>;
                function-enumerator = <1>;