* [PATCH v1 1/1] ARM: dts: imx6: skov: add aliases for all ethernet nodes
@ 2024-01-24 12:44 Oleksij Rempel
2024-02-06 7:35 ` Shawn Guo
0 siblings, 1 reply; 2+ messages in thread
From: Oleksij Rempel @ 2024-01-24 12:44 UTC (permalink / raw)
To: Shawn Guo, Sascha Hauer, Rob Herring, Krzysztof Kozlowski
Cc: Oleksij Rempel, kernel, linux-kernel, devicetree,
linux-arm-kernel, NXP Linux Team, Fabio Estevam,
Søren Andersen
Add aliases for all ethernet nodes including the switch. It makes it
easier to find this nodes by the boot loader.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
arch/arm/boot/dts/nxp/imx/imx6qdl-skov-cpu.dtsi | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-skov-cpu.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-skov-cpu.dtsi
index 2731faede1cb..d59d5d0e1d19 100644
--- a/arch/arm/boot/dts/nxp/imx/imx6qdl-skov-cpu.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-skov-cpu.dtsi
@@ -13,10 +13,14 @@ chosen {
aliases {
can0 = &can1;
can1 = &can2;
+ ethernet0 = &fec;
+ ethernet1 = &lan1;
+ ethernet2 = &lan2;
mdio-gpio0 = &mdio;
nand = &gpmi;
rtc0 = &i2c_rtc;
rtc1 = &snvs;
+ switch0 = &switch;
usb0 = &usbh1;
usb1 = &usbotg;
};
@@ -60,7 +64,7 @@ mdio: mdio {
gpios = <&gpio1 31 GPIO_ACTIVE_HIGH>,
<&gpio1 22 GPIO_ACTIVE_HIGH>;
- switch@0 {
+ switch: switch@0 {
compatible = "microchip,ksz8873";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_switch>;
@@ -73,13 +77,13 @@ ports {
#address-cells = <1>;
#size-cells = <0>;
- ports@0 {
+ lan1: ports@0 {
reg = <0>;
phy-mode = "internal";
label = "lan1";
};
- ports@1 {
+ lan2: ports@1 {
reg = <1>;
phy-mode = "internal";
label = "lan2";
--
2.39.2
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v1 1/1] ARM: dts: imx6: skov: add aliases for all ethernet nodes
2024-01-24 12:44 [PATCH v1 1/1] ARM: dts: imx6: skov: add aliases for all ethernet nodes Oleksij Rempel
@ 2024-02-06 7:35 ` Shawn Guo
0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2024-02-06 7:35 UTC (permalink / raw)
To: Oleksij Rempel
Cc: Shawn Guo, Sascha Hauer, Rob Herring, Krzysztof Kozlowski, kernel,
linux-kernel, devicetree, linux-arm-kernel, NXP Linux Team,
Fabio Estevam, Søren Andersen
On Wed, Jan 24, 2024 at 01:44:55PM +0100, Oleksij Rempel wrote:
> Add aliases for all ethernet nodes including the switch. It makes it
> easier to find this nodes by the boot loader.
>
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Applied, thanks!
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-06 7:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-24 12:44 [PATCH v1 1/1] ARM: dts: imx6: skov: add aliases for all ethernet nodes Oleksij Rempel
2024-02-06 7:35 ` 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).