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

Peng Fan (OSS) peng.fan at oss.nxp.com
Tue Apr 16 08:26:41 PDT 2024


From: Peng Fan <peng.fan at nxp.com>

Add nvmem properties for eqos to get mac address.

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

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 at 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 at 4ec {
 				reg = <0x4ec 0x6>;
 			};
 
+			eth_mac2: mac-address at 4f2 {
+				reg = <0x4f2 0x6>;
+			};
+
 		};
 
 		s4muap: mailbox at 47520000 {

-- 
2.37.1




More information about the linux-arm-kernel mailing list