ramips: dts: Unify naming of gpio-led nodes
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / Newifi-D1.dts
index 258af82364a04f00bdabde558598dc1260db7cb0..2c180585c92700cba48ada2e173be5e4990318fb 100644 (file)
                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 {
@@ -47,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";