lantiq,reset.yaml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/reset/lantiq,reset.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Lantiq XWAY SoC RCU reset controller
  7. maintainers:
  8. - Martin Blumenstingl <martin.blumenstingl@googlemail.com>
  9. description: |
  10. This binding describes a reset-controller found on the RCU module on Lantiq
  11. XWAY SoCs. This node has to be a sub node of the Lantiq RCU block.
  12. properties:
  13. compatible:
  14. enum:
  15. - lantiq,danube-reset
  16. - lantiq,xrx200-reset
  17. reg:
  18. description: |
  19. Defines the following sets of registers in the parent syscon device
  20. Offset of the reset set register
  21. Offset of the reset status register
  22. maxItems: 2
  23. '#reset-cells':
  24. description: |
  25. The first cell takes the reset set bit and the second cell takes the
  26. status bit.
  27. const: 2
  28. required:
  29. - compatible
  30. - reg
  31. - '#reset-cells'
  32. additionalProperties: false
  33. examples:
  34. - |
  35. // On the xRX200 SoCs:
  36. reset0: reset-controller@10 {
  37. compatible = "lantiq,xrx200-reset";
  38. reg = <0x10 0x04>, <0x14 0x04>;
  39. #reset-cells = <2>;
  40. };