-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix orangepizero wifi and usb otg (#7614)
- Loading branch information
Showing
3 changed files
with
20 additions
and
3 deletions.
There are no files selected for viewing
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
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
13 changes: 13 additions & 0 deletions
13
patch/kernel/archive/sunxi-6.11/patches.armbian/orangepizero-fix-usb-otg.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,13 @@ | ||
diff --git a/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts | ||
index 1b001f2ad..f5c0e103b 100644 | ||
--- a/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts | ||
+++ b/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts | ||
@@ -194,7 +203,7 @@ &uart2 { | ||
}; | ||
|
||
&usb_otg { | ||
- dr_mode = "peripheral"; | ||
+ dr_mode = "otg"; | ||
status = "okay"; | ||
}; | ||
|