intel,rcu-gw.yaml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/reset/intel,rcu-gw.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: System Reset Controller on Intel Gateway SoCs
  7. maintainers:
  8. - Dilip Kota <eswara.kota@linux.intel.com>
  9. properties:
  10. compatible:
  11. enum:
  12. - intel,rcu-lgm
  13. - intel,rcu-xrx200
  14. reg:
  15. description: Reset controller registers.
  16. maxItems: 1
  17. intel,global-reset:
  18. description: Global reset register offset and bit offset.
  19. $ref: /schemas/types.yaml#/definitions/uint32-array
  20. items:
  21. - description: Register offset
  22. - description: Register bit offset
  23. minimum: 0
  24. maximum: 31
  25. "#reset-cells":
  26. minimum: 2
  27. maximum: 3
  28. description: |
  29. First cell is reset request register offset.
  30. Second cell is bit offset in reset request register.
  31. Third cell is bit offset in reset status register.
  32. For LGM SoC, reset cell count is 2 as bit offset in
  33. reset request and reset status registers is same. Whereas
  34. 3 for legacy SoCs as bit offset differs.
  35. required:
  36. - compatible
  37. - reg
  38. - intel,global-reset
  39. - "#reset-cells"
  40. additionalProperties: false
  41. examples:
  42. - |
  43. rcu0: reset-controller@e0000000 {
  44. compatible = "intel,rcu-lgm";
  45. reg = <0xe0000000 0x20000>;
  46. intel,global-reset = <0x10 30>;
  47. #reset-cells = <2>;
  48. };
  49. pwm: pwm@e0d00000 {
  50. compatible = "intel,lgm-pwm";
  51. reg = <0xe0d00000 0x30>;
  52. clocks = <&cgu0 1>;
  53. #pwm-cells = <2>;
  54. resets = <&rcu0 0x30 21>;
  55. };