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