[PATCH] ARM: dts: turris-omnia: Add label for wan port

Pali Rohár posted 1 patch 3 years, 6 months ago
arch/arm/boot/dts/armada-385-turris-omnia.dts | 1 +
1 file changed, 1 insertion(+)
[PATCH] ARM: dts: turris-omnia: Add label for wan port
Posted by Pali Rohár 3 years, 6 months ago
Device tree label property should contain label from the box/stick.
Labels for other ports are already specified in DT but wan is missing.
So add missing label for wan port.

Fixes: 26ca8b52d6e1 ("ARM: dts: add support for Turris Omnia")
Signed-off-by: Pali Rohár <pali@kernel.org>
---
 arch/arm/boot/dts/armada-385-turris-omnia.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/armada-385-turris-omnia.dts b/arch/arm/boot/dts/armada-385-turris-omnia.dts
index 8215ffb6a795..c4bf3ca0784b 100644
--- a/arch/arm/boot/dts/armada-385-turris-omnia.dts
+++ b/arch/arm/boot/dts/armada-385-turris-omnia.dts
@@ -166,6 +166,7 @@
 	buffer-manager = <&bm>;
 	bm,pool-long = <2>;
 	bm,pool-short = <3>;
+	label = "wan";
 };
 
 &i2c0 {
-- 
2.20.1

Re: [PATCH] ARM: dts: turris-omnia: Add label for wan port
Posted by Gregory CLEMENT 3 years, 6 months ago
Pali Rohár <pali@kernel.org> writes:

> Device tree label property should contain label from the box/stick.
> Labels for other ports are already specified in DT but wan is missing.
> So add missing label for wan port.
>
> Fixes: 26ca8b52d6e1 ("ARM: dts: add support for Turris Omnia")
> Signed-off-by: Pali Rohár <pali@kernel.org>

Applied on mvebu/dt

Thanks,

Gregory

> ---
>  arch/arm/boot/dts/armada-385-turris-omnia.dts | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/boot/dts/armada-385-turris-omnia.dts b/arch/arm/boot/dts/armada-385-turris-omnia.dts
> index 8215ffb6a795..c4bf3ca0784b 100644
> --- a/arch/arm/boot/dts/armada-385-turris-omnia.dts
> +++ b/arch/arm/boot/dts/armada-385-turris-omnia.dts
> @@ -166,6 +166,7 @@
>  	buffer-manager = <&bm>;
>  	bm,pool-long = <2>;
>  	bm,pool-short = <3>;
> +	label = "wan";
>  };
>  
>  &i2c0 {
> -- 
> 2.20.1
>

-- 
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com
Re: [PATCH] ARM: dts: turris-omnia: Add label for wan port
Posted by Andrew Lunn 3 years, 6 months ago
On Wed, Sep 21, 2022 at 01:50:37PM +0200, Pali Rohár wrote:
> Device tree label property should contain label from the box/stick.
> Labels for other ports are already specified in DT but wan is missing.
> So add missing label for wan port.
> 
> Fixes: 26ca8b52d6e1 ("ARM: dts: add support for Turris Omnia")
> Signed-off-by: Pali Rohár <pali@kernel.org>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew