arm64: dts: imx93: add nvmem property for fec1
authorPeng Fan <peng.fan@nxp.com>
Fri, 19 Apr 2024 03:37:00 +0000 (11:37 +0800)
committerShawn Guo <shawnguo@kernel.org>
Thu, 25 Apr 2024 07:02:12 +0000 (15:02 +0800)
Add nvmem property for fec1 to get mac address.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx93.dtsi

index 330b9518a76f7fb9bdb74ba672efea99510a1364..47396e7457e1693e2e210a97189681195916ec5e 100644 (file)
                                fsl,num-tx-queues = <3>;
                                fsl,num-rx-queues = <3>;
                                fsl,stop-mode = <&wakeupmix_gpr 0x0c 1>;
+                               nvmem-cells = <&eth_mac1>;
+                               nvmem-cell-names = "mac-address";
                                status = "disabled";
                        };
 
                        reg = <0x47510000 0x10000>;
                        #address-cells = <1>;
                        #size-cells = <1>;
+
+                       eth_mac1: mac-address@4ec {
+                               reg = <0x4ec 0x6>;
+                       };
+
                };
 
                s4muap: mailbox@47520000 {