summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/dove-cm-a510.dtsi
diff options
context:
space:
mode:
authorMichał Grzelak <mig@semihalf.com>2022-12-29 19:01:55 +0100
committerGregory CLEMENT <gregory.clement@bootlin.com>2023-01-31 15:38:43 +0100
commit12cb7a3349a53efa8698a01fe0efdc61d887e541 (patch)
tree4b5385afe5fdde058f72f193ea5bf57725c2bebb /arch/arm/boot/dts/dove-cm-a510.dtsi
parent1b929c02afd37871d5afb9d498426f83432e71c2 (diff)
downloadlinux-next-12cb7a3349a53efa8698a01fe0efdc61d887e541.tar.gz
ARM: dts: dove.dtsi: Move ethphy to fix schema error
Running 'make dtbs_check' with schema in net/marvell,orion-mdio.yaml gives following warnings: mdio-bus@72004: Unevaluated properties are not allowed ('ethernet-phy' was unexpected) arch/arm/boot/dts/dove-cubox.dtb arch/arm/boot/dts/dove-cubox-es.dtb arch/arm/boot/dts/dove-d2plug.dtb arch/arm/boot/dts/dove-d2plug.dtb arch/arm/boot/dts/dove-dove-db.dtb arch/arm/boot/dts/dove-d3plug.dtb arch/arm/boot/dts/dove-sbc-a510.dtb As every subnode of mdio is expected to have an @X, ethernet-phy subnode in dove.dtsi doesn't have one. Fix these errors by moving ethernet-phy into relevant .dts files with correct @<reg address>. Signed-off-by: Michał Grzelak <mig@semihalf.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Diffstat (limited to 'arch/arm/boot/dts/dove-cm-a510.dtsi')
-rw-r--r--arch/arm/boot/dts/dove-cm-a510.dtsi14
1 files changed, 11 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/dove-cm-a510.dtsi b/arch/arm/boot/dts/dove-cm-a510.dtsi
index 9b9dfbe07be4..2f2f0a4bf004 100644
--- a/arch/arm/boot/dts/dove-cm-a510.dtsi
+++ b/arch/arm/boot/dts/dove-cm-a510.dtsi
@@ -124,9 +124,17 @@
};
/* Optional RTL8211D GbE PHY on SMI address 0x03 */
-&ethphy {
- reg = <3>;
- status = "disabled";
+&mdio {
+ ethphy: ethernet-phy@3 {
+ reg = <3>;
+ status = "disabled";
+ };
+};
+
+&eth {
+ ethernet-port@0 {
+ phy-handle = <&ethphy>;
+ };
};
&i2c0 {