xref: /freebsd/sys/contrib/device-tree/Bindings/usb/ohci-st.txt (revision d5b0e70f7e04d971691517ce1304d86a1e367e2e)
1c66ec88fSEmmanuel VadotST USB OHCI controller
2c66ec88fSEmmanuel Vadot
3c66ec88fSEmmanuel VadotRequired properties:
4c66ec88fSEmmanuel Vadot
5c66ec88fSEmmanuel Vadot - compatible		: must be "st,st-ohci-300x"
6c66ec88fSEmmanuel Vadot - reg			: physical base addresses of the controller and length of memory mapped
7c66ec88fSEmmanuel Vadot			  region
8c66ec88fSEmmanuel Vadot - interrupts		: one OHCI controller interrupt should be described here
9c66ec88fSEmmanuel Vadot - clocks		: phandle list of usb clocks
10c66ec88fSEmmanuel Vadot - clock-names		: should be "ic" for interconnect clock and "clk48"
11c66ec88fSEmmanuel VadotSee: Documentation/devicetree/bindings/clock/clock-bindings.txt
12c66ec88fSEmmanuel Vadot
13c66ec88fSEmmanuel Vadot - phys			: phandle for the PHY device
14c66ec88fSEmmanuel Vadot - phy-names		: should be "usb"
15c66ec88fSEmmanuel Vadot
16c66ec88fSEmmanuel Vadot - resets		: phandle to the powerdown and reset controller for the USB IP
17c66ec88fSEmmanuel Vadot - reset-names		: should be "power" and "softreset".
18*d5b0e70fSEmmanuel VadotSee: Documentation/devicetree/bindings/reset/st,stih407-powerdown.yaml
19c66ec88fSEmmanuel VadotSee: Documentation/devicetree/bindings/reset/reset.txt
20c66ec88fSEmmanuel Vadot
21c66ec88fSEmmanuel VadotExample:
22c66ec88fSEmmanuel Vadot
23c66ec88fSEmmanuel Vadot	ohci0: usb@fe1ffc00 {
24c66ec88fSEmmanuel Vadot		compatible = "st,st-ohci-300x";
25c66ec88fSEmmanuel Vadot		reg = <0xfe1ffc00 0x100>;
26c66ec88fSEmmanuel Vadot		interrupts = <GIC_SPI 149 IRQ_TYPE_NONE>;
27c66ec88fSEmmanuel Vadot		clocks = <&clk_s_a1_ls 0>,
28c66ec88fSEmmanuel Vadot			 <&clockgen_b0 0>;
29c66ec88fSEmmanuel Vadot		clock-names = "ic", "clk48";
30c66ec88fSEmmanuel Vadot		phys = <&usb2_phy>;
31c66ec88fSEmmanuel Vadot		phy-names = "usb";
32c66ec88fSEmmanuel Vadot
33c66ec88fSEmmanuel Vadot		resets = <&powerdown STIH416_USB0_POWERDOWN>,
34c66ec88fSEmmanuel Vadot			 <&softreset STIH416_USB0_SOFTRESET>;
35c66ec88fSEmmanuel Vadot		reset-names = "power", "softreset";
36c66ec88fSEmmanuel Vadot	};
37