-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nanopi-r5s: u-boot: 2024.04: usb otg in u-boot for working UMS/RockUSB
- Loading branch information
1 parent
ce2ba19
commit f5c0ec9
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
patch/u-boot/v2024.04/board_nanopi-r5s/0002-usb-otg-mode.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: Ricardo Pardini <[email protected]> | ||
Date: Sat, 29 Jun 2024 15:00:54 +0200 | ||
Subject: nanopi-r5s: u-boot: 2024.04: usb otg in u-boot for working | ||
UMS/RockUSB | ||
|
||
--- | ||
arch/arm/dts/rk3568-nanopi-r5s-u-boot.dtsi | 4 ++++ | ||
1 file changed, 4 insertions(+) | ||
|
||
diff --git a/arch/arm/dts/rk3568-nanopi-r5s-u-boot.dtsi b/arch/arm/dts/rk3568-nanopi-r5s-u-boot.dtsi | ||
index 111111111111..222222222222 100644 | ||
--- a/arch/arm/dts/rk3568-nanopi-r5s-u-boot.dtsi | ||
+++ b/arch/arm/dts/rk3568-nanopi-r5s-u-boot.dtsi | ||
@@ -24,3 +24,7 @@ | ||
/delete-property/ regulator-always-on; | ||
/delete-property/ regulator-boot-on; | ||
}; | ||
+ | ||
+&usb_host0_xhci { | ||
+ dr_mode = "otg"; | ||
+}; | ||
\ No newline at end of file | ||
-- | ||
Armbian | ||
|