brcm,brcmstb-usb-phy.txt 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. Broadcom STB USB PHY
  2. Required properties:
  3. - compatible: brcm,brcmstb-usb-phy
  4. - reg: two offset and length pairs.
  5. The first pair specifies a manditory set of memory mapped
  6. registers used for general control of the PHY.
  7. The second pair specifies optional registers used by some of
  8. the SoCs that support USB 3.x
  9. - #phy-cells: Shall be 1 as it expects one argument for setting
  10. the type of the PHY. Possible values are:
  11. - PHY_TYPE_USB2 for USB1.1/2.0 PHY
  12. - PHY_TYPE_USB3 for USB3.x PHY
  13. Optional Properties:
  14. - clocks : clock phandles.
  15. - clock-names: String, clock name.
  16. - brcm,ipp: Boolean, Invert Port Power.
  17. Possible values are: 0 (Don't invert), 1 (Invert)
  18. - brcm,ioc: Boolean, Invert Over Current detection.
  19. Possible values are: 0 (Don't invert), 1 (Invert)
  20. NOTE: one or both of the following two properties must be set
  21. - brcm,has-xhci: Boolean indicating the phy has an XHCI phy.
  22. - brcm,has-eohci: Boolean indicating the phy has an EHCI/OHCI phy.
  23. - dr_mode: String, PHY Device mode.
  24. Possible values are: "host", "peripheral ", "drd" or "typec-pd"
  25. If this property is not defined, the phy will default to "host" mode.
  26. Example:
  27. usbphy_0: usb-phy@f0470200 {
  28. reg = <0xf0470200 0xb8>,
  29. <0xf0471940 0x6c0>;
  30. compatible = "brcm,brcmstb-usb-phy";
  31. #phy-cells = <1>;
  32. dr_mode = "host"
  33. brcm,ioc = <1>;
  34. brcm,ipp = <1>;
  35. brcm,has-xhci;
  36. brcm,has-eohci;
  37. clocks = <&usb20>, <&usb30>;
  38. clock-names = "sw_usb", "sw_usb3";
  39. };