apm821xx: implement new LED label naming scheme
[openwrt/staging/hauke.git] / target / linux / apm821xx / dts / netgear-wndap620.dts
index d72aef4def3a610638db4434d8a61f5b53ee2b14..50e1d0cf178d14e0e9593ca7f793714bbb5efa3b 100644 (file)
 };
 
 &LEDS {
-       link1000 {
-               label = "wndap620:green:link1000";
+       led-5 {
+               function = LED_FUNCTION_LAN;
+               function-enumerator = <1>;
+               color = <LED_COLOR_ID_GREEN>;
                gpios = <&GPIO0 9 GPIO_ACTIVE_HIGH>;
        };
 
-       link100 {
-               label = "wndap620:amber:link100";
+       led-6 {
+               function = LED_FUNCTION_LAN;
+               color = <LED_COLOR_ID_AMBER>;
                gpios = <&GPIO0 10 GPIO_ACTIVE_HIGH>;
        };
 };