ath79: refresh patches
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9531_glinet_gl-ar300m-lite.dts
index ed00cdb585d9be50f35ac5ccd434cb45dc229c1f..f83618aface5750fdf605ff27c101f09f4aac207 100644 (file)
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 
-/dts-v1/;
+#include <dt-bindings/leds/common.h>
 
 #include "qca9531_glinet_gl-ar300m.dtsi"
 
@@ -9,8 +9,14 @@
        model = "GL.iNet GL-AR300M-Lite";
 };
 
+
 /delete-node/ &nand_flash;
 
+&nor_firmware {
+       compatible = "denx,uimage";
+       label = "firmware";
+};
+
 // "Disable" unpopulated GMAC1
 
 &eth1 {
 };
 
 &led_status {
-       label = "gl-ar300m-lite:red:status";
-};
-
-&led_lan {
-       label = "gl-ar300m-lite:green:lan";
+       function = LED_FUNCTION_STATUS;
+       color = <LED_COLOR_ID_RED>;
 };
 
 &led_wlan {
-       label = "gl-ar300m-lite:green:wlan";
+       function = LED_FUNCTION_WLAN;
+       color = <LED_COLOR_ID_GREEN>;
 };
+