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/ARV7510PW22.dts | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'target/linux/lantiq/dts/ARV7510PW22.dts') diff --git a/target/linux/lantiq/dts/ARV7510PW22.dts b/target/linux/lantiq/dts/ARV7510PW22.dts index 7a30ef3ff8..fb03017f1d 100644 --- a/target/linux/lantiq/dts/ARV7510PW22.dts +++ b/target/linux/lantiq/dts/ARV7510PW22.dts @@ -60,18 +60,13 @@ reg = <0x60000 0xf80000>; }; - partition@fe0000 { + boardconfig: partition@fe0000 { label = "board_config"; reg = <0xfe0000 0x20000>; read-only; }; }; }; - - mac_addr { - compatible = "lantiq,eth-mac"; - reg = <0 0xfe0016 0x6>; - }; }; gpio: pinmux@E100B10 { @@ -121,8 +116,9 @@ }; etop@E180000 { - phy-mode = "mii"; /* Switch reset 19 */ + phy-mode = "mii"; + mtd-mac-address = <&boardconfig 0x16>; }; pci@E105400 { -- cgit v1.2.3