diff --git a/patch/kernel/archive/sunxi-6.12/patches.armbian/orangepizero-fix-usb-otg.patch b/patch/kernel/archive/sunxi-6.12/patches.armbian/orangepizero-fix-usb-otg.patch new file mode 100644 index 000000000000..6ee7c097ccbb --- /dev/null +++ b/patch/kernel/archive/sunxi-6.12/patches.armbian/orangepizero-fix-usb-otg.patch @@ -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"; + }; + diff --git a/patch/kernel/archive/sunxi-6.12/series.armbian b/patch/kernel/archive/sunxi-6.12/series.armbian index 511eb980502e..b32dc61e030d 100644 --- a/patch/kernel/archive/sunxi-6.12/series.armbian +++ b/patch/kernel/archive/sunxi-6.12/series.armbian @@ -176,3 +176,4 @@ patches.armbian/Add-BananaPi-BPI-M4-Zero-pinctrl.patch patches.armbian/Add-BananaPi-BPI-M4-Zero-overlays.patch patches.armbian/Fix-ghost-touches-on-tsc2007-tft-screen.patch + patches.armbian/orangepizero-fix-usb-otg.patch \ No newline at end of file diff --git a/patch/kernel/archive/sunxi-6.12/series.conf b/patch/kernel/archive/sunxi-6.12/series.conf index eac5868470e4..76aa7b9bdd3e 100644 --- a/patch/kernel/archive/sunxi-6.12/series.conf +++ b/patch/kernel/archive/sunxi-6.12/series.conf @@ -432,7 +432,7 @@ patches.armbian/Add-BananaPi-BPI-M4-Zero-pinctrl.patch patches.armbian/Add-BananaPi-BPI-M4-Zero-overlays.patch patches.armbian/Fix-ghost-touches-on-tsc2007-tft-screen.patch - + patches.armbian/orangepizero-fix-usb-otg.patch # The patches.addon folder where new patches are added before they get into # one of the two main series. #