sirf,rstc.txt 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. CSR SiRFSoC Reset Controller
  2. ======================================
  3. Please also refer to reset.txt in this directory for common reset
  4. controller binding usage.
  5. Required properties:
  6. - compatible: Should be "sirf,prima2-rstc" or "sirf,marco-rstc"
  7. - reg: should be register base and length as documented in the
  8. datasheet
  9. - #reset-cells: 1, see below
  10. example:
  11. rstc: reset-controller@88010000 {
  12. compatible = "sirf,prima2-rstc";
  13. reg = <0x88010000 0x1000>;
  14. #reset-cells = <1>;
  15. };
  16. Specifying reset lines connected to IP modules
  17. ==============================================
  18. The reset controller(rstc) manages various reset sources. This module provides
  19. reset signals for most blocks in system. Those device nodes should specify the
  20. reset line on the rstc in their resets property, containing a phandle to the
  21. rstc device node and a RESET_INDEX specifying which module to reset, as described
  22. in reset.txt.
  23. For SiRFSoC, RESET_INDEX is just reset_bit defined in SW_RST0 and SW_RST1 registers.
  24. For modules whose rest_bit is in SW_RST0, its RESET_INDEX is 0~31. For modules whose
  25. rest_bit is in SW_RST1, its RESET_INDEX is 32~63.
  26. example:
  27. vpp@90020000 {
  28. compatible = "sirf,prima2-vpp";
  29. reg = <0x90020000 0x10000>;
  30. interrupts = <31>;
  31. clocks = <&clks 35>;
  32. resets = <&rstc 6>;
  33. };