From 57e8e7c64a63b17ae36613ee46349d1d73fa7054 Mon Sep 17 00:00:00 2001
From: Tobias Poganiuch <tobias.poganiuch@seco.com>
Date: Thu, 18 Apr 2024 15:50:07 +0200
Subject: [PATCH] arm64:dts:tr8p: Fix power supply of usb3_phy1

---
 arch/arm64/boot/dts/seconorth/trizeps8plus.dtsi | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/seconorth/trizeps8plus.dtsi b/arch/arm64/boot/dts/seconorth/trizeps8plus.dtsi
index 1e0d51b51e710..1d1bf3cf77449 100644
--- a/arch/arm64/boot/dts/seconorth/trizeps8plus.dtsi
+++ b/arch/arm64/boot/dts/seconorth/trizeps8plus.dtsi
@@ -752,13 +752,16 @@ MX8MP_IOMUXC_GPIO1_IO14__USB2_PWR		0x19
 	};
 };
 
+/*
+ * @TODO: According to WUP, the amp-tune and vref-tune properties
+ * break the power supply. Disabling them fixes this for now.
+ * However, we have to check why they are used in the first place
+ * and why they break it.
+ */
 &usb3_phy1 {
 	vbus-power-source = <&reg_usbhost_pwr>;
 	//vbus-supply = <&reg_usbhost_pwr>;
 	disable-over-current;
-	// from guf version
-	fsl,phy-tx-preemp-amp-tune = <3>;
-	fsl,phy-tx-vref-tune = <0xb>;
 	status = "okay";
 };
 
-- 
GitLab