]> git.itanic.dy.fi Git - linux-stable/commit
ARM: dts: marvell: Fix some common switch mistakes
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 24 Oct 2023 13:20:29 +0000 (15:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Oct 2023 09:27:59 +0000 (10:27 +0100)
commit2b83557a588f739fd0a63efe1c3bc851cdf3d5f6
tree7a2377a758183d231a545443d5118eb0c7deed51
parentddae07ce9bb35a939318dfb22fa799f7cd6893ae
ARM: dts: marvell: Fix some common switch mistakes

Fix some errors in the Marvell MV88E6xxx switch descriptions:
- The top node had no address size or cells.
- switch0@0 is not OK, should be ethernet-switch@0.
- The ports node should be named ethernet-ports
- The ethernet-ports node should have port@0 etc children, no
  plural "ports" in the children.
- Ports should be named ethernet-port@0 etc
- PHYs should be named ethernet-phy@0 etc

This serves as an example of fixes needed for introducing a
schema for the bindings, but the patch can simply be applied.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/arm/boot/dts/marvell/armada-370-rd.dts
arch/arm/boot/dts/marvell/armada-381-netgear-gs110emx.dts
arch/arm/boot/dts/marvell/armada-385-clearfog-gtr-l8.dts
arch/arm/boot/dts/marvell/armada-385-clearfog-gtr-s4.dts
arch/arm/boot/dts/marvell/armada-385-linksys.dtsi
arch/arm/boot/dts/marvell/armada-385-turris-omnia.dts
arch/arm/boot/dts/marvell/armada-388-clearfog.dts
arch/arm/boot/dts/marvell/armada-xp-linksys-mamba.dts