Skip to content

Commit

Permalink
nanopi-r5s: u-boot: 2024.04: usb otg in u-boot for working UMS/RockUSB
Browse files Browse the repository at this point in the history
  • Loading branch information
rpardini authored and igorpecovnik committed Jul 2, 2024
1 parent ce2ba19 commit f5c0ec9
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions patch/u-boot/v2024.04/board_nanopi-r5s/0002-usb-otg-mode.patch
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

0 comments on commit f5c0ec9

Please sign in to comment.