Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

usb: host: ehci-st: Add ehci-st devicetree bindings documentation

This patch documents the device tree bindings required for the
ehci on-chip controller found in ST consumer electronics SoC's.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Peter Griffin and committed by
Greg Kroah-Hartman
fee1dc02 d1158372

+39
+39
Documentation/devicetree/bindings/usb/ehci-st.txt
··· 1 + ST USB EHCI controller 2 + 3 + Required properties: 4 + - compatible : must be "st,st-ehci-300x" 5 + - reg : physical base addresses of the controller and length of memory mapped 6 + region 7 + - interrupts : one EHCI interrupt should be described here 8 + - pinctrl-names : a pinctrl state named "default" must be defined 9 + - pinctrl-0 : phandle referencing pin configuration of the USB controller 10 + See: Documentation/devicetree/bindings/pinctrl/pinctrl-binding.txt 11 + - clocks : phandle list of usb clocks 12 + - clock-names : should be "ic" for interconnect clock and "clk48" 13 + See: Documentation/devicetree/bindings/clock/clock-bindings.txt 14 + 15 + - phys : phandle for the PHY device 16 + - phy-names : should be "usb" 17 + - resets : phandle + reset specifier pairs to the powerdown and softreset lines 18 + of the USB IP 19 + - reset-names : should be "power" and "softreset" 20 + See: Documentation/devicetree/bindings/reset/st,sti-powerdown.txt 21 + See: Documentation/devicetree/bindings/reset/reset.txt 22 + 23 + Example: 24 + 25 + ehci1: usb@0xfe203e00 { 26 + compatible = "st,st-ehci-300x"; 27 + reg = <0xfe203e00 0x100>; 28 + interrupts = <GIC_SPI 148 IRQ_TYPE_NONE>; 29 + pinctrl-names = "default"; 30 + pinctrl-0 = <&pinctrl_usb1>; 31 + clocks = <&clk_s_a1_ls 0>; 32 + phys = <&usb2_phy>; 33 + phy-names = "usb"; 34 + status = "okay"; 35 + 36 + resets = <&powerdown STIH416_USB1_POWERDOWN>, 37 + <&softreset STIH416_USB1_SOFTRESET>; 38 + reset-names = "power", "softreset"; 39 + };