ramips: Use dts alias based status led
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / K2P.dts
index 4089ce64f5da120bb4d1ac884be4168ea637f546..60948782b39addaaa56b30b4a3c811b3d2e353c1 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "phicomm,k2p", "mediatek,mt7621-soc";
        model = "Phicomm K2P";
 
+       aliases {
+               led-status = &led_blue;
+       };
+
        memory@0 {
                device_type = "memory";
                reg = <0x0 0x8000000>;
@@ -31,7 +35,7 @@
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
 
-               stat_b {
+               led_blue: stat_b {
                        label = "k2p:blue:status";
                        gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
                };
 };
 
 &ethernet {
-       mtd-mac-address = <&factory 0xe000>;
+       mtd-mac-address = <&factory 0xe006>;
 };
 
 &pinctrl {