From 91d5067091b56fa757d08ef3e42c53f2f7294ec4 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Tue, 2 Aug 2016 22:26:01 +0200 Subject: lantiq: use the etop driver DT bindings only Use the generic mtd-mac-address dts property to get a mac address from flash instead of the lantiq specific one. Signed-off-by: Mathias Kresin --- target/linux/lantiq/dts/WBMR.dts | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'target/linux/lantiq/dts/WBMR.dts') diff --git a/target/linux/lantiq/dts/WBMR.dts b/target/linux/lantiq/dts/WBMR.dts index 5b4740ca86..ba48dd13ec 100644 --- a/target/linux/lantiq/dts/WBMR.dts +++ b/target/linux/lantiq/dts/WBMR.dts @@ -55,24 +55,19 @@ reg = <0x60000 0x1f20000>; }; - partition@0x1fc0000 { + boardconfig: partition@1fc0000 { label = "board"; reg = <0x1fc0000 0x20000>; read-only; }; - partition@0x1fe0000 { + partition@1fe0000 { label = "calibration"; reg = <0x1fe0000 0x20000>; read-only; }; }; }; - - mac_addr { - compatible = "lantiq,eth-mac"; - reg = <0 0x1fd0024 0x6>; - }; }; gpio: pinmux@E100B10 { @@ -101,6 +96,7 @@ etop@E180000 { phy-mode = "rgmii"; + mtd-mac-address = <&boardconfig 0x10024>; }; ifxhcd@E101000 { -- cgit v1.2.3