ramips: Use dts alias based status led
[openwrt/openwrt.git] / target / linux / ramips / dts / RBM33G.dts
index ed2cb841dd68ee05b716d947ec2d06ed137a1153..cc6da267a2b642582819fb21271a0a7896e483c9 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "mikrotik,rbm33g", "mediatek,mt7621-soc";
        model = "MikroTik RBM33G";
 
+       aliases {
+               led-status = &led_usr;
+       };
+
        memory@0 {
                device_type = "memory";
                reg = <0x0 0x10000000>;
@@ -21,7 +25,7 @@
        gpio-leds {
                compatible = "gpio-leds";
 
-               usr {
+               led_usr: usr {
                        label = "rbm33g:green:usr";
                        gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
                };