ti,sci-reset.txt 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. Texas Instruments System Control Interface (TI-SCI) Reset Controller
  2. =====================================================================
  3. Some TI SoCs contain a system controller (like the Power Management Micro
  4. Controller (PMMC) on Keystone 66AK2G SoC) that are responsible for controlling
  5. the state of the various hardware modules present on the SoC. Communication
  6. between the host processor running an OS and the system controller happens
  7. through a protocol called TI System Control Interface (TI-SCI protocol).
  8. For TI SCI details, please refer to the document,
  9. Documentation/devicetree/bindings/arm/keystone/ti,sci.txt
  10. TI-SCI Reset Controller Node
  11. ============================
  12. This reset controller node uses the TI SCI protocol to perform the reset
  13. management of various hardware modules present on the SoC. Must be a child
  14. node of the associated TI-SCI system controller node.
  15. Required properties:
  16. --------------------
  17. - compatible : Should be "ti,sci-reset"
  18. - #reset-cells : Should be 2. Please see the reset consumer node below for
  19. usage details.
  20. TI-SCI Reset Consumer Nodes
  21. ===========================
  22. Each of the reset consumer nodes should have the following properties,
  23. in addition to their own properties.
  24. Required properties:
  25. --------------------
  26. - resets : A phandle and reset specifier pair, one pair for each reset
  27. signal that affects the device, or that the device manages.
  28. The phandle should point to the TI-SCI reset controller node,
  29. and the reset specifier should have 2 cell-values. The first
  30. cell should contain the device ID. The second cell should
  31. contain the reset mask value used by system controller.
  32. Please refer to the protocol documentation for these values
  33. to be used for different devices,
  34. http://processors.wiki.ti.com/index.php/TISCI#66AK2G02_Data
  35. Please also refer to Documentation/devicetree/bindings/reset/reset.txt for
  36. common reset controller usage by consumers.
  37. Example:
  38. --------
  39. The following example demonstrates both a TI-SCI reset controller node and a
  40. consumer (a DSP device) on the 66AK2G SoC.
  41. pmmc: pmmc {
  42. compatible = "ti,k2g-sci";
  43. k2g_reset: reset-controller {
  44. compatible = "ti,sci-reset";
  45. #reset-cells = <2>;
  46. };
  47. };
  48. dsp0: dsp@10800000 {
  49. ...
  50. resets = <&k2g_reset 0x0046 0x1>;
  51. ...
  52. };