[PATCH u-boot-marvell] arm: mvebu: dts: turris_mox: fix non-working USB port

Pali Rohár pali at kernel.org
Wed Mar 23 14:00:12 CET 2022


On Tuesday 22 March 2022 17:17:59 Marek Behún wrote:
> From: Marek Behún <marek.behun at nic.cz>
> 
> Commit 0934dddc6436 ("arm: a37xx: Update DTS files to version from
> upstream Linux kernel") ported Linux's device-tree files for Armada 3720
> SOCs. This broke USB port on Turris MOX, because in Linux' DTS the bus
> voltage supply is described as a `phy-supply` property of connector
> node, a mechanism that is not supported in U-Boot yet.
> 
> For now, fix this by adding `vbus-supply` to usb3 node.
> 
> Fixes: 0934dddc6436 ("arm: a37xx: Update DTS files to version from upstream Linux kernel")
> Signed-off-by: Marek Behún <marek.behun at nic.cz>

Reviewed-by: Pali Rohár <pali at kernel.org>

Btw, now I tested USB2.0 and USB3.0 ports on Espressobin v5 (another
Armada 3720 board) and both are working fine in U-Boot. Therefore no USB
fix is needed for Espressobin DTS file.

> ---
> Dear Stefan, as with the network issue, could we get this to master ASAP?
> ---
>  arch/arm/dts/armada-3720-turris-mox-u-boot.dtsi | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/arch/arm/dts/armada-3720-turris-mox-u-boot.dtsi b/arch/arm/dts/armada-3720-turris-mox-u-boot.dtsi
> index 2e05b973d2..28a36a6103 100644
> --- a/arch/arm/dts/armada-3720-turris-mox-u-boot.dtsi
> +++ b/arch/arm/dts/armada-3720-turris-mox-u-boot.dtsi
> @@ -21,3 +21,7 @@
>  };
>  
>  /delete-node/ &mdio;
> +
> +&usb3 {
> +	vbus-supply = <&exp_usb3_vbus>;
> +};
> -- 
> 2.34.1
> 


More information about the U-Boot mailing list