arm64: dts: freescale: imx93-phycore-som: Move ethernet0 alias to SoM
Subsystems (2)
PATCH 1/2 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).
--- arch/arm64/boot/dts/freescale/imx93-phyboard-nash.dts | 1 - arch/arm64/boot/dts/freescale/imx93-phycore-som.dtsi | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/imx93-phyboard-nash.dts +0 -1
@@ -18,7 +18,6 @@ / { "fsl,imx93"; aliases { - ethernet0 = &fec; ethernet1 = &eqos; rtc0 = &i2c_rtc; rtc1 = &bbnsm_rtc;
arch/arm64/boot/dts/freescale/imx93-phycore-som.dtsi +4 -0
@@ -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>;
Signature · 1 line
2.34.1
PATCH 2/2 arm64: dts: freescale: imx93-phyboard-segin: Set ethernet1 alias
Set ethernet1 alias to EQOS interface on phyBOARD-Segin-i.MX93 marking it the secondary networking interface. The primary ethernet0 interface is already set by the SoM include file (imx93-phycore-som.dtsi).
--- arch/arm64/boot/dts/freescale/imx93-phyboard-segin.dts | 1 + 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/freescale/imx93-phyboard-segin.dts +1 -0
@@ -18,6 +18,7 @@ /{ "fsl,imx93"; aliases { + ethernet1 = &eqos; rtc0 = &i2c_rtc; rtc1 = &bbnsm_rtc; };
Signature · 1 line
2.34.1
Shawn Guo
AppliedQuoted 10 lines · Primoz Fiser
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 <[email protected]>
Applied both, thanks!