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/F5D8235_V2.dts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'target/linux/ramips/dts/F5D8235_V2.dts') diff --git a/target/linux/ramips/dts/F5D8235_V2.dts b/target/linux/ramips/dts/F5D8235_V2.dts index 237709f5e4..1b96cea764 100644 --- a/target/linux/ramips/dts/F5D8235_V2.dts +++ b/target/linux/ramips/dts/F5D8235_V2.dts @@ -24,7 +24,7 @@ #address-cells = <1>; #size-cells = <1>; - partition@0 { + uboot: partition@0 { label = "u-boot"; reg = <0x0 0x50000>; read-only; @@ -46,6 +46,10 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&uboot 0x40004>; + }; + esw@10110000 { ralink,portmap = <0x3f>; }; -- cgit v1.2.3