From: Emiliano Ingrassia Date: Wed, 20 Sep 2017 14:40:09 +0000 (+0200) Subject: ARM: dts: meson: enabling the USB Host controller on Odroid-C1/C1+ board X-Git-Tag: v4.19~2159^2~25^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2eb79a4d15ff419b777d953143ad12b6d54d69d7;p=platform%2Fkernel%2Flinux-rpi.git ARM: dts: meson: enabling the USB Host controller on Odroid-C1/C1+ board This patch enables the USB Host controller (USB1) and the relative USB2 PHY on Odroid-C1/C1+ board. Signed-off-by: Emiliano Ingrassia Acked-by: Martin Blumenstingl Tested-by: Linus Lüssing Signed-off-by: Kevin Hilman --- diff --git a/arch/arm/boot/dts/meson8b-odroidc1.dts b/arch/arm/boot/dts/meson8b-odroidc1.dts index e50f1a1..9ff6ca4 100644 --- a/arch/arm/boot/dts/meson8b-odroidc1.dts +++ b/arch/arm/boot/dts/meson8b-odroidc1.dts @@ -76,3 +76,26 @@ pinctrl-0 = <&uart_ao_a_pins>; pinctrl-names = "default"; }; + +&gpio_ao { + /* + * WARNING: The USB Hub on the Odroid-C1/C1+ needs a reset signal + * to be turned high in order to be detected by the USB Controller. + * This signal should be handled by a USB specific power sequence + * in order to reset the Hub when USB bus is powered down. + */ + usb-hub { + gpio-hog; + gpios = ; + output-high; + line-name = "usb-hub-reset"; + }; +}; + +&usb1_phy { + status = "okay"; +}; + +&usb1 { + status = "okay"; +};