mediatek: convert to new LED color/function format where possible
[openwrt/staging/mans0n.git] / target / linux / mediatek / dts / mt7986a-asus-tuf-ax4200.dts
index ac854f10d13ae505bd0f7ae9a3750ce1aa48fb81..e9c8edc3dcee710334d69cded439d0e444c6f6e1 100644 (file)
@@ -65,7 +65,8 @@
                };
 
                wan-red {
-                       label = "red:wan";
+                       function = LED_FUNCTION_WAN;
+                       color = <LED_COLOR_ID_RED>;
                        gpios = <&pio 12 GPIO_ACTIVE_LOW>;
                };
        };
                mxl,led-config = <0x03f0 0x0 0x0 0x0>;
        };
 
-       switch: switch@0 {
+       switch: switch@1f {
                compatible = "mediatek,mt7531";
                reg = <31>;
 
 
 &usb_phy {
        status = "okay";
-};
\ No newline at end of file
+};