arm64: dts: freescale: imx93-phycore-som: Move ethernet0 alias to SoM

Move alias for ethernet0 interface to the phyCORE-i.MX93 SoM include
file. The reason behind it is that the physical location of the PHY chip
connected to FEC interface is on the SoM itself and alias thus belongs
into the SoM device-tree. Consequently, it can be used by all boards
based on the phyCORE-i.MX93 SoM (phyBOARD-Segin and phyBOARD-Nash).

This also enables us to mark FEC interface as the primary / first for
networking in the bootloader and systemd (predictable interface names).

Signed-off-by: Primoz Fiser <primoz.fiser@norik.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
Primoz Fiser
2025-05-22 10:39:08 +02:00
committed by Shawn Guo
parent bbdf793028
commit cd23badae5
2 changed files with 4 additions and 1 deletions

View File

@@ -18,7 +18,6 @@ / {
"fsl,imx93";
aliases {
ethernet0 = &fec;
ethernet1 = &eqos;
rtc0 = &i2c_rtc;
rtc1 = &bbnsm_rtc;

View File

@@ -16,6 +16,10 @@ /{
model = "PHYTEC phyCORE-i.MX93";
compatible = "phytec,imx93-phycore-som", "fsl,imx93";
aliases {
ethernet0 = &fec;
};
reserved-memory {
ranges;
#address-cells = <2>;