mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Fix USB OTG on Radxa Zero
The USB node was accidentally set to host mode in the dtb, preventing OTG from working. Patch origin: https://github.com/radxa-repo/bsp/blob/main/linux/stable/0020-radxa-zero/0005-arm64-dts-radxa-zero-set-dr_mode-of-usb-node-to-otg.patch
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Stephen <stephen@vamrs.com>
|
||||
Date: Thu, 28 Oct 2021 14:26:24 +0800
|
||||
Subject: [PATCH] arm64: dts: radxa zero: set dr_mode of usb node to otg
|
||||
|
||||
This enables dwc2 otg function.
|
||||
|
||||
Signed-off-by: Stephen <stephen@vamrs.com>
|
||||
Signed-off-by: Yuntian Zhang <yt@radxa.com>
|
||||
---
|
||||
arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts
|
||||
index 9519e36ab7..9095ad9018 100644
|
||||
--- a/arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts
|
||||
+++ b/arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts
|
||||
@@ -426,5 +426,4 @@ &uart_AO {
|
||||
|
||||
&usb {
|
||||
status = "okay";
|
||||
- dr_mode = "host";
|
||||
};
|
||||
--
|
||||
2.36.1
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Stephen <stephen@vamrs.com>
|
||||
Date: Thu, 28 Oct 2021 14:26:24 +0800
|
||||
Subject: [PATCH] arm64: dts: radxa zero: set dr_mode of usb node to otg
|
||||
|
||||
This enables dwc2 otg function.
|
||||
|
||||
Signed-off-by: Stephen <stephen@vamrs.com>
|
||||
Signed-off-by: Yuntian Zhang <yt@radxa.com>
|
||||
---
|
||||
arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts
|
||||
index 9519e36ab7..9095ad9018 100644
|
||||
--- a/arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts
|
||||
+++ b/arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts
|
||||
@@ -426,5 +426,4 @@ &uart_AO {
|
||||
|
||||
&usb {
|
||||
status = "okay";
|
||||
- dr_mode = "host";
|
||||
};
|
||||
--
|
||||
2.36.1
|
||||
|
||||
Reference in New Issue
Block a user