st,sti-picophyreset.txt 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. STMicroelectronics STi family Sysconfig Picophy SoftReset Controller
  2. =============================================================================
  3. This binding describes a reset controller device that is used to enable and
  4. disable on-chip PicoPHY USB2 phy(s) using "softreset" control bits found in
  5. the STi family SoC system configuration registers.
  6. The actual action taken when softreset is asserted is hardware dependent.
  7. However, when asserted it may not be possible to access the hardware's
  8. registers and after an assert/deassert sequence the hardware's previous state
  9. may no longer be valid.
  10. Please refer to Documentation/devicetree/bindings/reset/reset.txt
  11. for common reset controller binding usage.
  12. Required properties:
  13. - compatible: Should be "st,stih407-picophyreset"
  14. - #reset-cells: 1, see below
  15. Example:
  16. picophyreset: picophyreset-controller {
  17. compatible = "st,stih407-picophyreset";
  18. #reset-cells = <1>;
  19. };
  20. Specifying picophyreset control of devices
  21. =======================================
  22. Device nodes should specify the reset channel required in their "resets"
  23. property, containing a phandle to the picophyreset device node and an
  24. index specifying which channel to use, as described in
  25. Documentation/devicetree/bindings/reset/reset.txt.
  26. Example:
  27. usb2_picophy0: usbpicophy@0 {
  28. resets = <&picophyreset STIH407_PICOPHY0_RESET>;
  29. };
  30. Macro definitions for the supported reset channels can be found in:
  31. include/dt-bindings/reset/stih407-resets.h