[PATCH v2 06/12] arm64: dts: imx93: add nvmem property for eqos

Peng Fan (OSS) peng.fan at oss.nxp.com
Thu Apr 18 20:37:01 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 04d0b1c2ce02..7aee43a8ae71 100644
--- a/arch/arm64/boot/dts/freescale/imx93.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx93.dtsi
@@ -1092,6 +1092,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";
 			};
 
@@ -1184,6 +1186,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