]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: freescale: imx93-phycore-som: Move ethernet0 alias to SoM
authorPrimoz Fiser <primoz.fiser@norik.com>
Thu, 22 May 2025 08:39:08 +0000 (10:39 +0200)
committerShawn Guo <shawnguo@kernel.org>
Fri, 20 Jun 2025 01:29:06 +0000 (09:29 +0800)
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>
arch/arm64/boot/dts/freescale/imx93-phyboard-nash.dts
arch/arm64/boot/dts/freescale/imx93-phycore-som.dtsi

index 7e9d031a2f0ef86c3cf4a590dc1da23a37e8f174..e1c9aa77c0004ed4338aead7abae68f80ff968a7 100644 (file)
@@ -18,7 +18,6 @@
                     "fsl,imx93";
 
        aliases {
-               ethernet0 = &fec;
                ethernet1 = &eqos;
                rtc0 = &i2c_rtc;
                rtc1 = &bbnsm_rtc;
index 22dbcc89e31198ed1d47f55e1a278a46acaf4224..0ea61841e591e8d65025a92d8d24ba523ad4b07c 100644 (file)
        model = "PHYTEC phyCORE-i.MX93";
        compatible = "phytec,imx93-phycore-som", "fsl,imx93";
 
+       aliases {
+               ethernet0 = &fec;
+       };
+
        reserved-memory {
                ranges;
                #address-cells = <2>;