ti,nspire-misc.yaml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. # Copyright (C) 2022-2023 Texas Instruments Incorporated - https://www.ti.com/
  3. %YAML 1.2
  4. ---
  5. $id: http://devicetree.org/schemas/mfd/ti,nspire-misc.yaml#
  6. $schema: http://devicetree.org/meta-schemas/core.yaml#
  7. title: TI Nspire MISC hardware block
  8. maintainers:
  9. - Andrew Davis <afd@ti.com>
  10. description:
  11. System controller node represents a register region containing a set
  12. of miscellaneous registers. The registers are not cohesive enough to
  13. represent as any specific type of device. Currently there is a reset
  14. controller.
  15. properties:
  16. compatible:
  17. items:
  18. - enum:
  19. - ti,nspire-misc
  20. - const: syscon
  21. - const: simple-mfd
  22. reg:
  23. maxItems: 1
  24. reboot:
  25. $ref: /schemas/power/reset/syscon-reboot.yaml#
  26. required:
  27. - compatible
  28. - reg
  29. - reboot
  30. additionalProperties: false
  31. examples:
  32. - |
  33. misc: misc@900a0000 {
  34. compatible = "ti,nspire-misc", "syscon", "simple-mfd";
  35. reg = <0x900a0000 0x1000>;
  36. reboot {
  37. compatible = "syscon-reboot";
  38. offset = <0x08>;
  39. value = <0x02>;
  40. };
  41. };