ramips: Use dts alias based status led
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / OMEGA2.dtsi
index 79148347f317d31ba483a1977e2ff796797ab575..e79eb6a92bbb7ed8cde85309a1714b446fa3da08 100644 (file)
@@ -4,7 +4,11 @@
 #include <dt-bindings/input/input.h>
 
 / {
-       compatible = "onion,omega", "mediatek,mt7628an-soc";
+       compatible = "onion,omega2", "mediatek,mt7628an-soc";
+
+       aliases {
+               led-status = &system_led;
+       };
 
        chosen {
                bootargs = "console=ttyS0,115200";
        status = "okay";
 };
 
-&wmac {
-       status = "okay";
-};
-
 &spi0 {
        status = "okay";
 
        status = "okay";
 };
 
-&pwm {
-       status = "okay";
-};
-
 &ethernet {
        mtd-mac-address = <&factory 0x28>;
 };