From 14fa719934d38f579eb0ded346f448b6b0fda6bc Mon Sep 17 00:00:00 2001 From: ThomasKaiser Date: Sun, 2 Oct 2016 12:53:38 +0200 Subject: [PATCH] Enable all USB ports on small H3 boards with dev kernel --- .../add_usb_ports_to_small_h3-boards.patch | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 patch/kernel/sun8i-dev/add_usb_ports_to_small_h3-boards.patch diff --git a/patch/kernel/sun8i-dev/add_usb_ports_to_small_h3-boards.patch b/patch/kernel/sun8i-dev/add_usb_ports_to_small_h3-boards.patch new file mode 100644 index 000000000..29522d59f --- /dev/null +++ b/patch/kernel/sun8i-dev/add_usb_ports_to_small_h3-boards.patch @@ -0,0 +1,34 @@ +diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-one.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-one.dts +index 0adf932..bfbfc35 100644 +--- a/arch/arm/boot/dts/sun8i-h3-orangepi-one.dts ++++ b/arch/arm/boot/dts/sun8i-h3-orangepi-one.dts +@@ -94,6 +94,14 @@ + status = "okay"; + }; + ++&ehci2 { ++ status = "okay"; ++}; ++ ++&ehci3 { ++ status = "okay"; ++}; ++ + &mmc0 { + pinctrl-names = "default"; + pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin>; +@@ -108,6 +116,14 @@ + status = "okay"; + }; + ++&ohci2 { ++ status = "okay"; ++}; ++ ++&ohci3 { ++ status = "okay"; ++}; ++ + &pio { + leds_opc: led_pins@0 { + allwinner,pins = "PA15";