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