From 8d5c852eaf4eee6260cea2b3077123dafac5b19d Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 25 Nov 2013 08:33:42 +0000 Subject: ralink: set the mac addr via the dts file Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38902 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ramips/dts/ASL26555-8M.dts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'target/linux/ramips/dts/ASL26555-8M.dts') diff --git a/target/linux/ramips/dts/ASL26555-8M.dts b/target/linux/ramips/dts/ASL26555-8M.dts index f1501ebf11..1ddbb1c984 100644 --- a/target/linux/ramips/dts/ASL26555-8M.dts +++ b/target/linux/ramips/dts/ASL26555-8M.dts @@ -26,8 +26,8 @@ reg = <0x0 0x30000>; read-only; }; - partition@30000 { - label = "devdata"; + factory: partition@30000 { + label = "factory"; reg = <0x30000 0x10000>; read-only; }; @@ -63,6 +63,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4004>; + }; + esw@10110000 { ralink,portmap = <0x1e>; }; -- cgit v1.2.3