nuvoton,npcm-gcr.yaml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/soc/nuvoton/nuvoton,npcm-gcr.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Global Control Registers block in Nuvoton SoCs
  7. maintainers:
  8. - Jonathan Neuschäfer <j.neuschaefer@gmx.net>
  9. - Tomer Maimon <tmaimon77@gmail.com>
  10. description:
  11. The Global Control Registers (GCR) are a block of registers in Nuvoton SoCs
  12. that expose misc functionality such as chip model and version information or
  13. pinmux settings.
  14. properties:
  15. compatible:
  16. items:
  17. - enum:
  18. - nuvoton,wpcm450-gcr
  19. - nuvoton,npcm750-gcr
  20. - nuvoton,npcm845-gcr
  21. - const: syscon
  22. - const: simple-mfd
  23. reg:
  24. maxItems: 1
  25. required:
  26. - compatible
  27. - reg
  28. additionalProperties:
  29. type: object
  30. examples:
  31. - |
  32. gcr: syscon@800000 {
  33. compatible = "nuvoton,npcm750-gcr", "syscon", "simple-mfd";
  34. reg = <0x800000 0x1000>;
  35. mux-controller {
  36. compatible = "mmio-mux";
  37. #mux-control-cells = <1>;
  38. mux-reg-masks = <0x38 0x07>;
  39. idle-states = <2>;
  40. };
  41. };