ramips: set the wifi mac address to the same as LAN on witi
[openwrt.git] / target / linux / ramips / dts / WR512-3GN-4M.dts
index fccd04a..531a370 100644 (file)
@@ -18,7 +18,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
        };
 
        esw@10110000 {
-               ralink,portmap = <0x2f>;
+               mediatek,portmap = <0x2f>;
+       };
+
+       wmac@10180000 {
+               ralink,mtd-eeprom = <&factory 0>;
        };
 
        gpio-leds {
                compatible = "gpio-leds";
+
                3g {
-                       label = "wr512:green:3g";
+                       label = "wr512-3gn:green:3g";
                        gpios = <&gpio0 9 1>;
                };
+
                gateway {
-                       label = "wr512:green:gateway";
+                       label = "wr512-3gn:green:gateway";
                        gpios = <&gpio0 11 1>;
                };
+
                ap {
-                       label = "wr512:green:ap";
+                       label = "wr512-3gn:green:ap";
                        gpios = <&gpio0 12 1>;
                };
+
                wps {
-                       label = "wr512:green:wps";
+                       label = "wr512-3gn:green:wps";
                        gpios = <&gpio0 14 1>;
                };
+
                station {
-                       label = "wr512:green:station";
+                       label = "wr512-3gn:green:station";
                        gpios = <&gpio0 13 1>;
                };
        };
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset_wps {
                        label = "reset_wps";
                        gpios = <&gpio0 10 1>;
                        linux,code = <0x198>;
                };
+
                mode {
                        label = "mode";
                        gpios = <&gpio0 7 1>;