Re: [PATCH] ARM: dts: turris-omnia: Add switch port 6 node

From: Gregory CLEMENT
Date: Sun Nov 27 2022 - 19:01:40 EST


Pali Rohár <pali@xxxxxxxxxx> writes:

> Switch port 6 is connected to eth0, so add appropriate device tree node for it.
>
> Fixes: 26ca8b52d6e1 ("ARM: dts: add support for Turris Omnia")
> Signed-off-by: Pali Rohár <pali@xxxxxxxxxx>

Applied on mvebu/dt

Thanks,

Gregory
> ---
> arch/arm/boot/dts/armada-385-turris-omnia.dts | 12 +++++++++++-
> 1 file changed, 11 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/armada-385-turris-omnia.dts b/arch/arm/boot/dts/armada-385-turris-omnia.dts
> index f655e9229d68..8215ffb6a795 100644
> --- a/arch/arm/boot/dts/armada-385-turris-omnia.dts
> +++ b/arch/arm/boot/dts/armada-385-turris-omnia.dts
> @@ -463,7 +463,17 @@
> };
> };
>
> - /* port 6 is connected to eth0 */
> + ports@6 {
> + reg = <6>;
> + label = "cpu";
> + ethernet = <&eth0>;
> + phy-mode = "rgmii-id";
> +
> + fixed-link {
> + speed = <1000>;
> + full-duplex;
> + };
> + };
> };
> };
> };
> --
> 2.20.1
>

--
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com