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