Skip to content
Snippets Groups Projects
Commit 351729ca authored by Marek Behún's avatar Marek Behún Committed by Stefan Roese
Browse files

arm: mvebu: dts: turris_mox: fix non-working network / MDIO


Commit 0934dddc ("arm: a37xx: Update DTS files to version from
upstream Linux kernel") ported Linux's device-tree files for Armada 3720
SOCs. This broke network on Turris MOX, because the SOC's MDIO bus in
U-Boot currently isn't probed via DM as it's own device, but is
registered as part of mvneta's driver, which means that pinctrl
definitions are not parsed for the MDIO bus node. Also mvneta driver
does not consider "phy-handle" property, only "phy".

For now, fix this by adding armada-3720-turris-mox-u-boot.dtsi file
returning the MDIO to how it was defined previously.

A better solution (using proper mvmdio DM driver) is being work on, but
will need testing on various boards, and we need the bug fixed now for
the upcoming release.

Fixes: 0934dddc ("arm: a37xx: Update DTS files to version from upstream Linux kernel")
Signed-off-by: default avatarMarek Behún <marek.behun@nic.cz>
Reviewed-by: default avatarStefan Roese <sr@denx.de>
parent 4dc9b177
No related branches found
No related tags found
No related merge requests found
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* 2022 by Marek Behún <kabel@kernel.org>
*/
/ {
mdio {
#address-cells = <1>;
#size-cells = <0>;
old_binding_phy1: ethernet-phy@1 {
reg = <1>;
};
};
};
&eth0 {
pinctrl-0 = <&rgmii_pins>, <&smi_pins>;
/delete-property/ phy-handle;
phy = <&old_binding_phy1>;
};
/delete-node/ &mdio;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment