diff mbox series

[1/3] arm: dts: k3-am654-r5-base-board: Fix the dt properties in usb0 instance

Message ID 20220518111914.7876-2-a-govindraju@ti.com
State Accepted
Commit 750d8470cbdd323bafc0a79df582f9057b8f50ba
Delegated to: Tom Rini
Headers show
Series AM65: Fix USB boot modes | expand

Commit Message

Aswath Govindraju May 18, 2022, 11:19 a.m. UTC
For dfu boot mode, the clocks property needs to be deleted and dr_mode
needs to be set to peripheral. Therefore, add the required fixes for the
same.

Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
---
 arch/arm/dts/k3-am654-r5-base-board-u-boot.dtsi | 2 +-
 arch/arm/dts/k3-am654-r5-base-board.dts         | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

Comments

Tom Rini June 10, 2022, 9:39 p.m. UTC | #1
On Wed, May 18, 2022 at 04:49:12PM +0530, Aswath Govindraju wrote:

> For dfu boot mode, the clocks property needs to be deleted and dr_mode
> needs to be set to peripheral. Therefore, add the required fixes for the
> same.
> 
> Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>

Applied to u-boot/next, thanks!
diff mbox series

Patch

diff --git a/arch/arm/dts/k3-am654-r5-base-board-u-boot.dtsi b/arch/arm/dts/k3-am654-r5-base-board-u-boot.dtsi
index 26567f4167ff..1d0659ea8fff 100644
--- a/arch/arm/dts/k3-am654-r5-base-board-u-boot.dtsi
+++ b/arch/arm/dts/k3-am654-r5-base-board-u-boot.dtsi
@@ -198,7 +198,7 @@ 
 &usb0 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_pins_default>;
-	dr_mode = "host";
+	dr_mode = "peripheral";
 	u-boot,dm-spl;
 };
 
diff --git a/arch/arm/dts/k3-am654-r5-base-board.dts b/arch/arm/dts/k3-am654-r5-base-board.dts
index 24881c86f2a8..455698a93630 100644
--- a/arch/arm/dts/k3-am654-r5-base-board.dts
+++ b/arch/arm/dts/k3-am654-r5-base-board.dts
@@ -309,6 +309,7 @@ 
 &dwc3_0 {
 	status = "okay";
 	u-boot,dm-spl;
+	/delete-property/ clocks;
 	/delete-property/ power-domains;
 	/delete-property/ assigned-clocks;
 	/delete-property/ assigned-clock-parents;