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