mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v2] ARM: i.MX8MP: skov: add MAC address assignment support
@ 2024-03-12 14:27 Oleksij Rempel
  2024-03-13  6:31 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Oleksij Rempel @ 2024-03-12 14:27 UTC (permalink / raw)
  To: barebox; +Cc: Oleksij Rempel

Assign MAC address to the switch ports.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 arch/arm/dts/imx8mp-skov.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/dts/imx8mp-skov.dts b/arch/arm/dts/imx8mp-skov.dts
index 3243a41697..254e68feca 100644
--- a/arch/arm/dts/imx8mp-skov.dts
+++ b/arch/arm/dts/imx8mp-skov.dts
@@ -342,12 +342,16 @@ lan1: port@0 {
 				reg = <0>;
 				phy-mode = "internal";
 				label = "lan1";
+				nvmem-cells = <&eth_mac1>;
+				nvmem-cell-names = "mac-address";
 			};
 
 			lan2: port@1 {
 				reg = <1>;
 				phy-mode = "internal";
 				label = "lan2";
+				nvmem-cells = <&eth_mac2>;
+				nvmem-cell-names = "mac-address";
 			};
 
 			port@2 {
-- 
2.39.2




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-13  6:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-12 14:27 [PATCH v2] ARM: i.MX8MP: skov: add MAC address assignment support Oleksij Rempel
2024-03-13  6:31 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox