From 6295f38c8fb4bb7839e7282cfdd93af164314f6b Mon Sep 17 00:00:00 2001
From: John Crispin <john@openwrt.org>
Date: Mon, 25 Nov 2013 14:09:08 +0000
Subject: [PATCH] ralink: add mac address detection for Asus RT-G32 b1

http://patchwork.openwrt.org/patch/4463/

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38910
---
 target/linux/ramips/dts/RT-G32-B1.dts | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/target/linux/ramips/dts/RT-G32-B1.dts b/target/linux/ramips/dts/RT-G32-B1.dts
index 86abc9ca66..5b4aebc093 100644
--- a/target/linux/ramips/dts/RT-G32-B1.dts
+++ b/target/linux/ramips/dts/RT-G32-B1.dts
@@ -29,7 +29,7 @@
 					read-only;
 				};
 
-				partition@40000 {
+				factory: partition@40000 {
 					label = "devconf";
 					reg = <0x40000 0x10000>;
 					read-only;
@@ -52,6 +52,10 @@
 		};
 	};
 
+	ethernet@10100000 {
+		mtd-mac-address = <&factory 0x4>;
+	};
+
 	esw@10110000 {
 		ralink,portmap = <0x2f>;
 	};
-- 
GitLab