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

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

This patch documents the device tree bindings required for
the ohci 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
554405d4 fee1dc02

+37
+37
Documentation/devicetree/bindings/usb/ohci-st.txt
··· 1 + ST USB OHCI controller 2 + 3 + Required properties: 4 + 5 + - compatible : must be "st,st-ohci-300x" 6 + - reg : physical base addresses of the controller and length of memory mapped 7 + region 8 + - interrupts : one OHCI controller interrupt should be described here 9 + - clocks : phandle list of usb clocks 10 + - clock-names : should be "ic" for interconnect clock and "clk48" 11 + See: Documentation/devicetree/bindings/clock/clock-bindings.txt 12 + 13 + - phys : phandle for the PHY device 14 + - phy-names : should be "usb" 15 + 16 + - resets : phandle to the powerdown and reset controller for the USB IP 17 + - reset-names : should be "power" and "softreset". 18 + See: Documentation/devicetree/bindings/reset/st,sti-powerdown.txt 19 + See: Documentation/devicetree/bindings/reset/reset.txt 20 + 21 + Example: 22 + 23 + ohci0: usb@0xfe1ffc00 { 24 + compatible = "st,st-ohci-300x"; 25 + reg = <0xfe1ffc00 0x100>; 26 + interrupts = <GIC_SPI 149 IRQ_TYPE_NONE>; 27 + clocks = <&clk_s_a1_ls 0>, 28 + <&clockgen_b0 0>; 29 + clock-names = "ic", "clk48"; 30 + phys = <&usb2_phy>; 31 + phy-names = "usb"; 32 + status = "okay"; 33 + 34 + resets = <&powerdown STIH416_USB0_POWERDOWN>, 35 + <&softreset STIH416_USB0_SOFTRESET>; 36 + reset-names = "power", "softreset"; 37 + };