snps,hsdk-reset.txt 761 B

12345678910111213141516171819202122232425262728
  1. Binding for the Synopsys HSDK reset controller
  2. This binding uses the common reset binding[1].
  3. [1] Documentation/devicetree/bindings/reset/reset.txt
  4. Required properties:
  5. - compatible: should be "snps,hsdk-reset".
  6. - reg: should always contain 2 pairs address - length: first for reset
  7. configuration register and second for corresponding SW reset and status bits
  8. register.
  9. - #reset-cells: from common reset binding; Should always be set to 1.
  10. Example:
  11. reset: reset@880 {
  12. compatible = "snps,hsdk-reset";
  13. #reset-cells = <1>;
  14. reg = <0x8A0 0x4>, <0xFF0 0x4>;
  15. };
  16. Specifying reset lines connected to IP modules:
  17. ethernet@.... {
  18. ....
  19. resets = <&reset HSDK_V1_ETH_RESET>;
  20. ....
  21. };
  22. The index could be found in <dt-bindings/reset/snps,hsdk-reset.h>