ramips: dts: Unify naming of gpio-led nodes
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / DWR-921-C1.dts
index 9949cefeb331572f1a8e98279dd759f1c36631e5..92bcd54a428d2f208b835e13d8707a4cdf70bad3 100644 (file)
        model = "D-Link DWR-921 C1";
 
        aliases {
-               led-status = &led_sstrenghg;
+               led-boot = &led_sstrenghg;
+               led-failsafe = &led_sstrenghg;
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                poll-interval = <20>;
 
@@ -30,7 +31,7 @@
                };
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
 
                sms {
 &spi0 {
        status = "okay";
 
-       m25p80@0 {
-               #address-cells = <1>;
-               #size-cells = <1>;
+       flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <10000000>;
 
-               partition@0 {
-                       label = "jboot";
-                       reg = <0x0 0x10000>;
-                       read-only;
-               };
-
-               partition@10000 {
-                       label = "firmware";
-                       reg = <0x10000 0xfe0000>;
-               };
-
-               config: partition@ff0000 {
-                       label = "config";
-                       reg = <0xff0000 0x10000>;
-                       read-only;
+               partitions {
+                       compatible = "fixed-partitions";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       partition@0 {
+                               label = "jboot";
+                               reg = <0x0 0x10000>;
+                               read-only;
+                       };
+
+                       partition@10000 {
+                               compatible = "amit,jimage";
+                               label = "firmware";
+                               reg = <0x10000 0xfe0000>;
+                       };
+
+                       config: partition@ff0000 {
+                               label = "config";
+                               reg = <0xff0000 0x10000>;
+                               read-only;
+                       };
                };
        };
 };