1 From 37e04fd781d3fc6d08116d38d34ec8124d916441 Mon Sep 17 00:00:00 2001
2 From: Jens Kuske <jenskuske@gmail.com>
3 Date: Tue, 17 Nov 2015 17:12:07 +0100
4 Subject: [PATCH] ARM: dts: sun8i-h3-orangepi-plus: Enable USB host controllers
6 Enable the 2 USB host controllers used on the Orange Pi Plus
7 and add the necessary regulators.
9 Signed-off-by: Reinder de Haan <patchesrdh@mveas.com>
10 Signed-off-by: Hans de Goede <hdegoede@redhat.com>
11 Signed-off-by: Jens Kuske <jenskuske@gmail.com>
13 arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts | 44 ++++++++++++++++++++++++++++
14 1 file changed, 44 insertions(+)
16 --- a/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts
17 +++ b/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts
20 stdout-path = "serial0:115200n8";
23 + reg_usb3_vbus: usb3-vbus {
24 + compatible = "regulator-fixed";
25 + pinctrl-names = "default";
26 + pinctrl-0 = <&usb3_vbus_pin_a>;
27 + regulator-name = "usb3-vbus";
28 + regulator-min-microvolt = <5000000>;
29 + regulator-max-microvolt = <5000000>;
32 + gpio = <&pio 6 11 GPIO_ACTIVE_HIGH>;
45 + usb3_vbus_pin_a: usb3_vbus_pin@0 {
46 + allwinner,pins = "PG11";
47 + allwinner,function = "gpio_out";
48 + allwinner,drive = <SUN4I_PINCTRL_10_MA>;
49 + allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
59 + gpio = <&pio 6 13 GPIO_ACTIVE_HIGH>;
64 pinctrl-names = "default";
65 pinctrl-0 = <&uart0_pins_a>;
70 + allwinner,pins = "PG13";
74 + usb1_vbus-supply = <®_usb1_vbus>;
75 + usb3_vbus-supply = <®_usb3_vbus>;