ramips: fix DTB generation
[openwrt.git] / target / linux / ramips / dts / ZBT-WA05.dts
index 714d273..82b0c8e 100644 (file)
@@ -1,6 +1,6 @@
 /dts-v1/;
 
-/include/ "mt7620n.dtsi"
+#include "mt7620n.dtsi"
 
 / {
        compatible = "zbtlink,zbt-wa05", "ralink,mt7620n-soc";
@@ -29,7 +29,7 @@
                        en25q64@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
-                               compatible = "w25q64";
+                               compatible = "jedec,spi-nor";
                                reg = <0 0>;
                                linux,modalias = "m25p80";
                                spi-max-frequency = <10000000>;
 
        ethernet@10100000 {
                mtd-mac-address = <&factory 0x4>;
-               ralink,port-map = "llllw";
+               mediatek,portmap = "wllll";
+       };
+
+       wmac@10180000 {
+               ralink,mtd-eeprom = <&factory 0>;
        };
 
        pinctrl {
 
        gpio-leds {
                compatible = "gpio-leds";
+
                power {
-                       label = "zbtlink:blue:power";
+                       label = "zbt-wa05:blue:power";
                        gpios = <&gpio1 14 1>;
                };
+
                usb {
-                       label = "zbtlink:blue:usb";
+                       label = "zbt-wa05:blue:usb";
                        gpios = <&gpio1 15 0>;
                };
+
                air {
-                       label = "zbtlink:blue:air";
+                       label = "zbt-wa05:blue:air";
                        gpios = <&gpio3 0 1>;
                };
        };
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 1 1>;