boards: nxp: mimxrt1180_evk: convert to random mac addresses for switch

Converted to use random mac addresses for switch.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
This commit is contained in:
Yangbo Lu 2025-03-24 18:13:33 +08:00 committed by Benjamin Cabé
commit e2488977e5

View file

@ -95,7 +95,7 @@
};
&switch_port0 {
local-mac-address = [00 00 00 01 04 00];
zephyr,random-mac-address;
pinctrl-0 = <&eth0_default>;
pinctrl-names = "default";
phy-handle = <&phy0>;
@ -104,7 +104,7 @@
};
&switch_port1 {
local-mac-address = [00 00 00 01 05 00];
zephyr,random-mac-address;
pinctrl-0 = <&eth1_default>;
pinctrl-names = "default";
phy-handle = <&phy1>;
@ -113,7 +113,7 @@
};
&switch_port2 {
local-mac-address = [00 00 00 01 06 00];
zephyr,random-mac-address;
pinctrl-0 = <&eth2_default>;
pinctrl-names = "default";
phy-handle = <&phy2>;
@ -122,7 +122,7 @@
};
&switch_port3 {
local-mac-address = [00 00 00 01 07 00];
zephyr,random-mac-address;
pinctrl-0 = <&eth3_default>;
pinctrl-names = "default";
phy-handle = <&phy3>;
@ -132,7 +132,7 @@
/* Internal port */
&switch_port4 {
local-mac-address = [00 00 00 01 06 00];
zephyr,random-mac-address;
status = "okay";
};