lantiq: fix mac address from nvmem-cells
authorMathias Kresin <dev@kresin.me>
Sun, 14 Nov 2021 19:09:25 +0000 (20:09 +0100)
committerMathias Kresin <dev@kresin.me>
Sun, 14 Nov 2021 19:18:17 +0000 (20:18 +0100)
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@kresin.me>
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9.dtsi
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/danube.dtsi

index 0eec0c614d07c0feebb0a6a1d41dd7c0bad58dc1..819dcfb5a876b3a707a43c1c74893fab8b5b6f8d 100644 (file)
                                0xe108000 0x200>;
                        interrupt-parent = <&icu0>;
                        interrupts = <73 72>;
-                       mac-address = [ 00 11 22 33 44 55 ];
                        pinctrl-0 = <&mdio_pins>;
                        pinctrl-names = "default";
                };
index 34d828954254275b0da14663757659ab374f0f44..e531fe45e8548c808d2502b232496111059ba8b8 100644 (file)
                        reg = <0xe180000 0x40000>;
                        interrupt-parent = <&icu0>;
                        interrupts = <73 78>;
-                       mac-address = [ 00 11 22 33 44 55 ];
                };
 
                ppe@e234000 {