diff mbox series

[net-next,v6,13/16] ARM: dts: qcom: ipq8064-rb3011: Drop unevaluated properties in switch nodes

Message ID 20230327141031.11904-14-ansuelsmth@gmail.com
State Superseded
Headers show
Series net: Add basic LED support for switch/phy | expand

Commit Message

Christian Marangi March 27, 2023, 2:10 p.m. UTC
IPQ8064 MikroTik RB3011UiAS-RM DT have currently unevaluted properties
in the 2 switch nodes. The bindings #address-cells and #size-cells are
redundant and cause warning for 'Unevaluated properties are not
allowed'.

Drop these bindings to mute these warning as they should not be there
from the start.

Cc: Jonathan McDowell <noodles@earth.li>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
---
 arch/arm/boot/dts/qcom-ipq8064-rb3011.dts | 4 ----
 1 file changed, 4 deletions(-)

Comments

Jonathan McDowell April 9, 2023, 4:15 p.m. UTC | #1
On Mon, Mar 27, 2023 at 04:10:28PM +0200, Christian Marangi wrote:
> IPQ8064 MikroTik RB3011UiAS-RM DT have currently unevaluted properties
> in the 2 switch nodes. The bindings #address-cells and #size-cells are
> redundant and cause warning for 'Unevaluated properties are not
> allowed'.
> 
> Drop these bindings to mute these warning as they should not be there
> from the start.

Looks legit (and no particular reason it needs to wait for the rest of
the series).

Reviewed-By: Jonathan McDowell <noodles@earth.li>
Tested-By: Jonathan McDowell <noodles@earth.li>

> Cc: Jonathan McDowell <noodles@earth.li>
> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
> ---
>  arch/arm/boot/dts/qcom-ipq8064-rb3011.dts | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/qcom-ipq8064-rb3011.dts b/arch/arm/boot/dts/qcom-ipq8064-rb3011.dts
> index f908889c4f95..47a5d1849c72 100644
> --- a/arch/arm/boot/dts/qcom-ipq8064-rb3011.dts
> +++ b/arch/arm/boot/dts/qcom-ipq8064-rb3011.dts
> @@ -38,8 +38,6 @@ mdio0: mdio-0 {
>  
>  		switch0: switch@10 {
>  			compatible = "qca,qca8337";
> -			#address-cells = <1>;
> -			#size-cells = <0>;
>  
>  			dsa,member = <0 0>;
>  
> @@ -105,8 +103,6 @@ mdio1: mdio-1 {
>  
>  		switch1: switch@14 {
>  			compatible = "qca,qca8337";
> -			#address-cells = <1>;
> -			#size-cells = <0>;
>  
>  			dsa,member = <1 0>;
>  
> -- 
> 2.39.2
> 

J.
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/qcom-ipq8064-rb3011.dts b/arch/arm/boot/dts/qcom-ipq8064-rb3011.dts
index f908889c4f95..47a5d1849c72 100644
--- a/arch/arm/boot/dts/qcom-ipq8064-rb3011.dts
+++ b/arch/arm/boot/dts/qcom-ipq8064-rb3011.dts
@@ -38,8 +38,6 @@  mdio0: mdio-0 {
 
 		switch0: switch@10 {
 			compatible = "qca,qca8337";
-			#address-cells = <1>;
-			#size-cells = <0>;
 
 			dsa,member = <0 0>;
 
@@ -105,8 +103,6 @@  mdio1: mdio-1 {
 
 		switch1: switch@14 {
 			compatible = "qca,qca8337";
-			#address-cells = <1>;
-			#size-cells = <0>;
 
 			dsa,member = <1 0>;