diff mbox series

[v1,3/3] ARM: MR32: fix dt schema violations

Message ID 7db1786220cb6948bbddcecda17147908d25f91c.1685801691.git.chunkeey@gmail.com (mailing list archive)
State Superseded, archived
Headers show
Series [v1,1/3] ARM: MR26: MR32: remove bogus nand-ecc-algo property | expand

Commit Message

Christian Lamparter June 3, 2023, 2:16 p.m. UTC
fixes the "duplex-full" typo, adds phy-modes for the internal
switch and the attached PHY-chip. This also includs adding
pause support for the internal cpu port.

| ports:port@5:fixed-link: 'oneOf' conditional failed,
|  {'speed': [[1000]], 'duplex-full': True} is not of type 'array'
| 'duplex-full' does not match any of the regexes: 'pinctrl-[0-9]+'
| ports:port@5: 'phy-mode' is a required property
| ports:port@5: Unevaluated properties are not allowed

Fixes: ec88a9c344d9 ("ARM: BCM5301X: Add DT for Meraki MR32")
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
---
 arch/arm/boot/dts/bcm53016-meraki-mr32.dts | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/bcm53016-meraki-mr32.dts b/arch/arm/boot/dts/bcm53016-meraki-mr32.dts
index bca39b30ace8..e0ad79fac7f4 100644
--- a/arch/arm/boot/dts/bcm53016-meraki-mr32.dts
+++ b/arch/arm/boot/dts/bcm53016-meraki-mr32.dts
@@ -186,16 +186,19 @@  ports {
 		port@0 {
 			reg = <0>;
 			label = "poe";
+			phy-mode = "rgmii";
 		};
 
 		port@5 {
 			reg = <5>;
 			label = "cpu";
 			ethernet = <&gmac0>;
+			phy-mode = "internal";
 
 			fixed-link {
 				speed = <1000>;
-				duplex-full;
+				full-duplex;
+				pause;
 			};
 		};
 	};