ramips: dts: Unify naming of gpio-led nodes
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / Newifi-D1.dts
index 772054f3d1aeec8c8192546a6c7a476b76be2b51..2c180585c92700cba48ada2e173be5e4990318fb 100644 (file)
        model = "Newifi-D1";
 
        aliases {
-               led-status = &led_blue;
+               led-boot = &led_blue;
+               led-failsafe = &led_blue;
+               led-running = &led_blue;
+               led-upgrade = &led_blue;
        };
 
        memory@0 {
                bootargs = "console=ttyS0,115200";
        };
 
-       gpio-leds {
+       leds {
                compatible = "gpio-leds";
 
                status-red {
                        label = "newifi-d1:red:status";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
-                       default-state = "off";
                };
 
                status-green {
                        label = "newifi-d1:green:status";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
-                       default-state = "off";
                };
 
                led_blue: status-blue {
@@ -44,7 +45,7 @@
                };
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                poll-interval = <20>;
 
        status = "okay";
 
        m25p80@0 {
-               compatible = "jedec,spi-nor";
+               compatible = "mx25l25635f", "jedec,spi-nor";
                reg = <0>;
-               spi-max-frequency = <10000000>;
-               m25p,chunked-io = <32>;
+               spi-max-frequency = <25000000>;
+               m25p,fast-read;
 
                partitions {
                        compatible = "fixed-partitions";
                        };
 
                        partition@50000 {
+                               compatible = "denx,uimage";
                                label = "firmware";
                                reg = <0x50000 0x1fb0000>;
                        };