arm64: dts: imx93: add nvmem property for eqos
authorPeng Fan <peng.fan@nxp.com>
Fri, 19 Apr 2024 03:37:01 +0000 (11:37 +0800)
committerShawn Guo <shawnguo@kernel.org>
Thu, 25 Apr 2024 07:02:14 +0000 (15:02 +0800)
Add nvmem properties for eqos 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 47396e7457e1693e2e210a97189681195916ec5e..4a3f42355cb8fcfcb75e60c5170495b858c25d24 100644 (file)
                                assigned-clock-rates = <100000000>, <250000000>;
                                intf_mode = <&wakeupmix_gpr 0x28>;
                                snps,clk-csr = <0>;
+                               nvmem-cells = <&eth_mac2>;
+                               nvmem-cell-names = "mac-address";
                                status = "disabled";
                        };
 
                                reg = <0x4ec 0x6>;
                        };
 
+                       eth_mac2: mac-address@4f2 {
+                               reg = <0x4f2 0x6>;
+                       };
+
                };
 
                s4muap: mailbox@47520000 {