riscv: dts: microchip: Use 'local-mac-address' for emac1
authorBin Meng <bin.meng@windriver.com>
Wed, 4 Aug 2021 12:30:14 +0000 (20:30 +0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Wed, 25 Aug 2021 03:56:47 +0000 (20:56 -0700)
Per the DT spec, 'local-mac-address' is used to specify MAC address
that was assigned to the network device, while 'mac-address' is used
to specify the MAC address that was last used by the boot program,
and shall be used only if the value differs from 'local-mac-address'
property value.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: conor dooley <conor.dooley@microchip.com>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi

index b9819570a7d170e9c03807ed29bcdfd20d2b0b2f..9d2fbbc1f7778f19db82a3dd63e11bfc101d39ef 100644 (file)
                        reg = <0x0 0x20112000 0x0 0x2000>;
                        interrupt-parent = <&plic>;
                        interrupts = <70 71 72 73>;
-                       mac-address = [00 00 00 00 00 00];
+                       local-mac-address = [00 00 00 00 00 00];
                        clocks = <&clkcfg 5>, <&clkcfg 2>;
                        status = "disabled";
                        clock-names = "pclk", "hclk";