* [PATCH 1/2] arm64: dts: freescale: imx93-phycore-som: Move ethernet0 alias to SoM
@ 2025-05-22 8:39 Primoz Fiser
2025-05-22 8:39 ` [PATCH 2/2] arm64: dts: freescale: imx93-phyboard-segin: Set ethernet1 alias Primoz Fiser
2025-06-19 7:33 ` [PATCH 1/2] arm64: dts: freescale: imx93-phycore-som: Move ethernet0 alias to SoM Shawn Guo
0 siblings, 2 replies; 3+ messages in thread
From: Primoz Fiser @ 2025-05-22 8:39 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam
Cc: devicetree, imx, linux-arm-kernel, linux-kernel, upstream
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>
---
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(-)
diff --git a/arch/arm64/boot/dts/freescale/imx93-phyboard-nash.dts b/arch/arm64/boot/dts/freescale/imx93-phyboard-nash.dts
index 7e9d031a2f0e..e1c9aa77c000 100644
--- a/arch/arm64/boot/dts/freescale/imx93-phyboard-nash.dts
+++ b/arch/arm64/boot/dts/freescale/imx93-phyboard-nash.dts
@@ -18,7 +18,6 @@ / {
"fsl,imx93";
aliases {
- ethernet0 = &fec;
ethernet1 = &eqos;
rtc0 = &i2c_rtc;
rtc1 = &bbnsm_rtc;
diff --git a/arch/arm64/boot/dts/freescale/imx93-phycore-som.dtsi b/arch/arm64/boot/dts/freescale/imx93-phycore-som.dtsi
index 22dbcc89e311..0ea61841e591 100644
--- a/arch/arm64/boot/dts/freescale/imx93-phycore-som.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx93-phycore-som.dtsi
@@ -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>;
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] arm64: dts: freescale: imx93-phyboard-segin: Set ethernet1 alias
2025-05-22 8:39 [PATCH 1/2] arm64: dts: freescale: imx93-phycore-som: Move ethernet0 alias to SoM Primoz Fiser
@ 2025-05-22 8:39 ` Primoz Fiser
2025-06-19 7:33 ` [PATCH 1/2] arm64: dts: freescale: imx93-phycore-som: Move ethernet0 alias to SoM Shawn Guo
1 sibling, 0 replies; 3+ messages in thread
From: Primoz Fiser @ 2025-05-22 8:39 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam
Cc: devicetree, imx, linux-arm-kernel, linux-kernel, upstream
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).
Signed-off-by: Primoz Fiser <primoz.fiser@norik.com>
---
arch/arm64/boot/dts/freescale/imx93-phyboard-segin.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/freescale/imx93-phyboard-segin.dts b/arch/arm64/boot/dts/freescale/imx93-phyboard-segin.dts
index 0c55b749c834..6f1374f5757f 100644
--- a/arch/arm64/boot/dts/freescale/imx93-phyboard-segin.dts
+++ b/arch/arm64/boot/dts/freescale/imx93-phyboard-segin.dts
@@ -18,6 +18,7 @@ /{
"fsl,imx93";
aliases {
+ ethernet1 = &eqos;
rtc0 = &i2c_rtc;
rtc1 = &bbnsm_rtc;
};
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] arm64: dts: freescale: imx93-phycore-som: Move ethernet0 alias to SoM
2025-05-22 8:39 [PATCH 1/2] arm64: dts: freescale: imx93-phycore-som: Move ethernet0 alias to SoM Primoz Fiser
2025-05-22 8:39 ` [PATCH 2/2] arm64: dts: freescale: imx93-phyboard-segin: Set ethernet1 alias Primoz Fiser
@ 2025-06-19 7:33 ` Shawn Guo
1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2025-06-19 7:33 UTC (permalink / raw)
To: Primoz Fiser
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam, devicetree,
imx, linux-arm-kernel, linux-kernel, upstream
On Thu, May 22, 2025 at 10:39:08AM +0200, Primoz Fiser wrote:
> 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>
Applied both, thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-06-19 7:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-22 8:39 [PATCH 1/2] arm64: dts: freescale: imx93-phycore-som: Move ethernet0 alias to SoM Primoz Fiser
2025-05-22 8:39 ` [PATCH 2/2] arm64: dts: freescale: imx93-phyboard-segin: Set ethernet1 alias Primoz Fiser
2025-06-19 7:33 ` [PATCH 1/2] arm64: dts: freescale: imx93-phycore-som: Move ethernet0 alias to SoM Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).