hisilicon,hi6220-reset.txt 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. Hisilicon System Reset Controller
  2. ======================================
  3. Please also refer to reset.txt in this directory for common reset
  4. controller binding usage.
  5. The reset controller registers are part of the system-ctl block on
  6. hi6220 SoC.
  7. Required properties:
  8. - compatible: should be one of the following:
  9. - "hisilicon,hi6220-sysctrl", "syscon" : For peripheral reset controller.
  10. - "hisilicon,hi6220-mediactrl", "syscon" : For media reset controller.
  11. - reg: should be register base and length as documented in the
  12. datasheet
  13. - #reset-cells: 1, see below
  14. Example:
  15. sys_ctrl: sys_ctrl@f7030000 {
  16. compatible = "hisilicon,hi6220-sysctrl", "syscon";
  17. reg = <0x0 0xf7030000 0x0 0x2000>;
  18. #clock-cells = <1>;
  19. #reset-cells = <1>;
  20. };
  21. Specifying reset lines connected to IP modules
  22. ==============================================
  23. example:
  24. uart1: serial@..... {
  25. ...
  26. resets = <&sys_ctrl PERIPH_RSTEN3_UART1>;
  27. ...
  28. };
  29. The index could be found in <dt-bindings/reset/hisi,hi6220-resets.h>.