diff mbox series

[05/11] arm64: dts: imx93: add nvmem property for eqos

Message ID 20240416-imx93-dts-4-13-v1-5-da8ac02e8413@nxp.com (mailing list archive)
State Superseded
Headers show
Series arm64: dts: imx93: various update | expand

Commit Message

Peng Fan (OSS) April 16, 2024, 3:26 p.m. UTC
From: Peng Fan <peng.fan@nxp.com>

Add nvmem properties for eqos to get mac address.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx93.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi
index b09014b9a719..a83ac1bb1e41 100644
--- a/arch/arm64/boot/dts/freescale/imx93.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx93.dtsi
@@ -1091,6 +1091,8 @@  eqos: ethernet@428a0000 {
 				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";
 			};
 
@@ -1183,6 +1185,10 @@  eth_mac1: mac-address@4ec {
 				reg = <0x4ec 0x6>;
 			};
 
+			eth_mac2: mac-address@4f2 {
+				reg = <0x4f2 0x6>;
+			};
+
 		};
 
 		s4muap: mailbox@47520000 {