diff --git a/patch/kernel/sunxi-dev/board-orangepizeroplus2-missing-otg-bits.patch b/patch/kernel/sunxi-dev/board-orangepizeroplus2-missing-otg-bits.patch new file mode 100644 index 0000000000..32f2c0a2df --- /dev/null +++ b/patch/kernel/sunxi-dev/board-orangepizeroplus2-missing-otg-bits.patch @@ -0,0 +1,24 @@ +diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts +index e1ee1cd09..522a08d6c 100644 +--- a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts ++++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts +@@ -1,5 +1,6 @@ + /* + * Copyright (C) 2017 Jagan Teki ++ * Copyright (C) 2019 Adopted by Igor + * + * This file is dual-licensed: you can use it either under the terms + * of the GPL or the X11 license, at your option. Note that this dual +@@ -180,3 +181,12 @@ + pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>; + status = "okay"; + }; ++ ++&usb_otg { ++ dr_mode = "otg"; ++ status = "okay"; ++}; ++ ++&usbphy { ++ status = "okay"; ++}; diff --git a/patch/kernel/sunxi-next/board-orangepizeroplus2-missing-otg-bits.patch b/patch/kernel/sunxi-next/board-orangepizeroplus2-missing-otg-bits.patch new file mode 100644 index 0000000000..32f2c0a2df --- /dev/null +++ b/patch/kernel/sunxi-next/board-orangepizeroplus2-missing-otg-bits.patch @@ -0,0 +1,24 @@ +diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts +index e1ee1cd09..522a08d6c 100644 +--- a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts ++++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts +@@ -1,5 +1,6 @@ + /* + * Copyright (C) 2017 Jagan Teki ++ * Copyright (C) 2019 Adopted by Igor + * + * This file is dual-licensed: you can use it either under the terms + * of the GPL or the X11 license, at your option. Note that this dual +@@ -180,3 +181,12 @@ + pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>; + status = "okay"; + }; ++ ++&usb_otg { ++ dr_mode = "otg"; ++ status = "okay"; ++}; ++ ++&usbphy { ++ status = "okay"; ++};