[OpenWrt-Devel] [PATCH] ramips: extract mac address from flash on WHR-600D board

Roman Yeryomin leroi.lists at gmail.com
Sun Jul 13 11:38:44 EDT 2014


Signed-off-by: Roman Yeryomin <roman at advem.lv>
---
 target/linux/ramips/dts/WHR-600D.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/ramips/dts/WHR-600D.dts b/target/linux/ramips/dts/WHR-600D.dts
index b99d024..df38b8c 100644
--- a/target/linux/ramips/dts/WHR-600D.dts
+++ b/target/linux/ramips/dts/WHR-600D.dts
@@ -66,6 +66,7 @@
 		pinctrl-names = "default";
 		pinctrl-0 = <&ephy_pins>;
 
+		mtd-mac-address = <&factory 0x4>;
 		ralink,port-map = "llllw";
 	};
 
-- 
1.9.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list