]> git.ipfire.org Git - thirdparty/linux.git/commit
ARM: dts: marvell: Fix some common switch mistakes
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 27 Nov 2023 15:51:00 +0000 (16:51 +0100)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Fri, 15 Dec 2023 14:26:37 +0000 (15:26 +0100)
commit6e75ac5a824e1551764cd4bfce5ede3d5fafc407
treee02207a8f7c33f96ec93b3b1642a7eba0804ea9e
parentb85ea95d086471afb4ad062012a4d73cd328fa86
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>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
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