ramips: Use dts alias based status led
[openwrt/openwrt.git] / target / linux / ramips / dts / RB750Gr3.dts
index dc359b10bbb0a5753783ab5fb6f730c512f4b1d9..563a5372688dcf50998a131c9a399140b5d9155f 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "mikrotik,rb750gr3", "mediatek,mt7621-soc";
        model = "MikroTik RB750Gr3";
 
+       aliases {
+               led-status = &led_pwr;
+       };
+
        memory@0 {
                device_type = "memory";
                reg = <0x0 0x10000000>;
@@ -21,7 +25,7 @@
        gpio-leds {
                compatible = "gpio-leds";
 
-               pwr {
+               led_pwr: pwr {
                        label = "rb750gr3:blue:pwr";
                        gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
                };