arm64: dts: imx8qm: add ethernet aliases
Subsystems (2)
PATCH 1/1 arm64: dts: imx8qm: add ethernet aliases
From: Francesco Dolcini <[email protected]>
Add ethernet aliases, they are used by the firmware to set the MAC address and by systemd to rename network interfaces to predictable interface names, e.g. end0 and end1.
--- arch/arm64/boot/dts/freescale/imx8qm.dtsi | 2 ++ 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/freescale/imx8qm.dtsi +2 -0
@@ -17,6 +17,8 @@ / { #size-cells = <2>; aliases { + ethernet0 = &fec1; + ethernet1 = &fec2; mmc0 = &usdhc1; mmc1 = &usdhc2; mmc2 = &usdhc3;
Signature · 1 line
2.39.5
Quoted 7 lines · Francesco Dolcini
From: Francesco Dolcini <[email protected]>
Add ethernet aliases, they are used by the firmware to set the MAC address and by systemd to rename network interfaces to predictable interface names, e.g. end0 and end1.
Signed-off-by Francesco Dolcini <[email protected]>
Quoted 16 lines · Francesco Dolcini
From: Francesco Dolcini <[email protected]>
Add ethernet aliases, they are used by the firmware to set the MAC address and by systemd to rename network interfaces to predictable interface names, e.g. end0 and end1.
Signed-off-by Francesco Dolcini <[email protected]>--- arch/arm64/boot/dts/freescale/imx8qm.dtsi | 2 ++ 1 file changed, 2 insertions(+)arch/arm64/boot/dts/freescale/imx8qm.dtsi +0
-0
arch/arm64/boot/dts/freescale/imx8qm.dtsi / { · line 21
Quoted 5 lines
arch/arm64/boot/dts/freescale/imx8qm.dtsi +2
-0@@ -17,6 +17,8 @@ / { #size-cells = <2>; aliases { + ethernet0 = &fec1; + ethernet1 = &fec2;
Can't they be disabled (e.g. because MAC is external?) on actual board? IOW, aliases for exposed interfaces are properties of boards, not SoC.
What's more, I cannot find these in this DTSI, so how can you add alias to non-existing node?
Best regards,
Krzysztof
Quoted 19 lines · Krzysztof Kozlowski
Quoted 18 lines · Francesco Dolcini
From: Francesco Dolcini <[email protected]>
Add ethernet aliases, they are used by the firmware to set the MAC address and by systemd to rename network interfaces to predictable interface names, e.g. end0 and end1.
Signed-off-by Francesco Dolcini <[email protected]>--- arch/arm64/boot/dts/freescale/imx8qm.dtsi | 2 ++ 1 file changed, 2 insertions(+)arch/arm64/boot/dts/freescale/imx8qm.dtsi +0
-0@@ -17,6 +17,8 @@ / { #size-cells = <2>;
Quoted 8 lines
arch/arm64/boot/dts/freescale/imx8qm.dtsi / { · line 21
Quoted 3 lines
arch/arm64/boot/dts/freescale/imx8qm.dtsi +2
-0aliases { + ethernet0 = &fec1; + ethernet1 = &fec2;Can't they be disabled (e.g. because MAC is external?) on actual board? IOW, aliases for exposed interfaces are properties of boards, not SoC.
What's more, I cannot find these in this DTSI, so how can you add alias to non-existing node?
I found them (terrible design by NXP) but they are disabled so that's the point - adding aliases to disabled nodes is clear sign you are doing it wrong.
Best regards,
Krzysztof
Quoted 26 lines · Krzysztof Kozlowski
Quoted 25 lines · Krzysztof Kozlowski
Quoted 16 lines · Francesco Dolcini
From: Francesco Dolcini <[email protected]>
Add ethernet aliases, they are used by the firmware to set the MAC address and by systemd to rename network interfaces to predictable interface names, e.g. end0 and end1.
Signed-off-by Francesco Dolcini <[email protected]>--- arch/arm64/boot/dts/freescale/imx8qm.dtsi | 2 ++ 1 file changed, 2 insertions(+)arch/arm64/boot/dts/freescale/imx8qm.dtsi +0
-0arch/arm64/boot/dts/freescale/imx8qm.dtsi / { · line 21
Quoted 5 lines
arch/arm64/boot/dts/freescale/imx8qm.dtsi +2
-0@@ -17,6 +17,8 @@ / { #size-cells = <2>; aliases { + ethernet0 = &fec1; + ethernet1 = &fec2;Can't they be disabled (e.g. because MAC is external?) on actual board? IOW, aliases for exposed interfaces are properties of boards, not SoC.
Quoted 6 lines
Quoted 2 lines
What's more, I cannot find these in this DTSI, so how can you add alias to non-existing node?
I found them (terrible design by NXP) but they are disabled so that's the point - adding aliases to disabled nodes is clear sign you are doing it wrong.
I'll fix existing NXP boards because this pattern of adding aliases for disabled (thus non-existing) interface is in multiple places.
Best regards,
Krzysztof