ramips: dts: Unify naming of gpio-led nodes
[openwrt/openwrt.git] / target / linux / ramips / dts / K2P.dts
index 50d29edbed231300a0fdd3745940dd3d485179b2..a66ecc2d9770360d6091d1ef95666635e4228296 100644 (file)
        model = "Phicomm K2P";
 
        aliases {
-               led-status = &led_blue;
+               led-boot = &led_blue;
+               led-failsafe = &led_blue;
+               led-running = &led_blue;
+               led-upgrade = &led_blue;
        };
 
        memory@0 {
@@ -22,7 +25,7 @@
                bootargs = "console=ttyS0,57600";
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
 
                stat_r {
@@ -41,7 +44,7 @@
                };
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                poll-interval = <20>;
 
@@ -92,6 +95,7 @@
                        };
 
                        partition@a0000 {
+                               compatible = "denx,uimage";
                                label = "firmware";
                                reg = <0xa0000 0xf60000>;
                        };