ramips: disable NAND device in mt7621.dtsi to fix boot errors on many devices
[oweals/openwrt.git] / target / linux / ramips / dts / ALL5003.dts
index 0d21508fba1b0db88d1b9032f7149b8d55b5c85b..ec480983f82aa59b613c8cc7a3db5369e1653811 100644 (file)
 
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
-                               compatible = "mx25l25635e";
+                               compatible = "jedec,spi-nor";
                                reg = <0 0>;
                                linux,modalias = "m25p80", "mx25l25635e";
                                spi-max-frequency = <10000000>;
                };
        };
 
+       ethernet@10100000 {
+               mtd-mac-address = <&factory 0x28>;
+       };
+
        esw@10110000 {
-               ralink,portmap = <0x3f>;
+               mediatek,portmap = <0x3f>;
        };
 
        wmac@10180000 {
@@ -74,7 +79,6 @@
 
        i2c-gpio {
                compatible = "i2c-gpio";
-
                gpios = <&gpio0 1 0 &gpio0 2 0>;
                i2c-gpio,delay-us = <10>;
 
 
        gpio-leds {
                compatible = "gpio-leds";
+
                ld1 {
-                       label = "allnet:green:ld1";
+                       label = "all5003:green:ld1";
                        gpios = <&pcf0 0 1>;
                };
+
                ld2 {
-                       label = "allnet:green:ld2";
+                       label = "all5003:green:ld2";
                        gpios = <&pcf0 1 1>;
                };
        };