ramips: fix mode switch gpio for AsiaRF AWM eval board
[openwrt/staging/yousong.git] / target / linux / ramips / dts / AWM002-EVB-8M.dts
index 3be34bffa56f19a68a6aaf4e03019fc16d424a50..ebc4085588e3b5f98398ed1f6d924ed832e47146 100644 (file)
@@ -5,6 +5,10 @@
 / {
        model = "AsiaRF AWM002 EVB";
 
+       ethernet@10100000 {
+               mtd-mac-address = <&factory 0x28>;
+       };
+
        wmac@10180000 {
                ralink,mtd-eeprom = <&factory 0>;
        };
@@ -37,7 +41,7 @@
                };
                mode {
                        label = "mode";
-                       gpios = <&gpio0 21 1>;
+                       gpios = <&gpio0 20 1>;
                        linux,code = <0x32>;
                };
        };