[openwrt/openwrt] lantiq: fix mac address from nvmem-cells

LEDE Commits lede-commits at lists.infradead.org
Sun Nov 14 11:23:00 PST 2021


mkresin pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/683e9cf7d05dfb268435d8373e81b8b4f2cb2939

commit 683e9cf7d05dfb268435d8373e81b8b4f2cb2939
Author: Mathias Kresin <dev at kresin.me>
AuthorDate: Sun Nov 14 20:09:25 2021 +0100

    lantiq: fix mac address from nvmem-cells
    
    The devicetree property mac-address is expected to be set by the
    bootloader and has priority over the nvmem supplied one.
    
    Drop the mac-address address property from the dtsi files, to let the
    mac address from nvmem-cells get used.
    
    Signed-off-by: Mathias Kresin <dev at kresin.me>
---
 target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9.dtsi    | 1 -
 target/linux/lantiq/files/arch/mips/boot/dts/lantiq/danube.dtsi | 1 -
 2 files changed, 2 deletions(-)

diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9.dtsi b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9.dtsi
index 0eec0c614d..819dcfb5a8 100644
--- a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9.dtsi
+++ b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9.dtsi
@@ -385,7 +385,6 @@
 				0xe108000 0x200>;
 			interrupt-parent = <&icu0>;
 			interrupts = <73 72>;
-			mac-address = [ 00 11 22 33 44 55 ];
 			pinctrl-0 = <&mdio_pins>;
 			pinctrl-names = "default";
 		};
diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/danube.dtsi b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/danube.dtsi
index 34d8289542..e531fe45e8 100644
--- a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/danube.dtsi
+++ b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/danube.dtsi
@@ -299,7 +299,6 @@
 			reg = <0xe180000 0x40000>;
 			interrupt-parent = <&icu0>;
 			interrupts = <73 78>;
-			mac-address = [ 00 11 22 33 44 55 ];
 		};
 
 		ppe at e234000 {



More information about the lede-commits mailing list