aspeed,ast2x00-scu.yaml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. # SPDX-License-Identifier: GPL-2.0
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/mfd/aspeed,ast2x00-scu.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Aspeed System Control Unit
  7. description:
  8. The Aspeed System Control Unit manages the global behaviour of the SoC,
  9. configuring elements such as clocks, pinmux, and reset.
  10. maintainers:
  11. - Joel Stanley <joel@jms.id.au>
  12. - Andrew Jeffery <andrew@aj.id.au>
  13. properties:
  14. compatible:
  15. items:
  16. - enum:
  17. - aspeed,ast2400-scu
  18. - aspeed,ast2500-scu
  19. - aspeed,ast2600-scu
  20. - const: syscon
  21. - const: simple-mfd
  22. reg:
  23. maxItems: 1
  24. ranges: true
  25. '#address-cells':
  26. const: 1
  27. '#size-cells':
  28. const: 1
  29. '#clock-cells':
  30. const: 1
  31. '#reset-cells':
  32. const: 1
  33. patternProperties:
  34. '^p2a-control@[0-9a-f]+$':
  35. description: See Documentation/devicetree/bindings/misc/aspeed-p2a-ctrl.txt
  36. type: object
  37. '^pinctrl(@[0-9a-f]+)?$':
  38. type: object
  39. additionalProperties: true
  40. properties:
  41. compatible:
  42. contains:
  43. enum:
  44. - aspeed,ast2400-pinctrl
  45. - aspeed,ast2500-pinctrl
  46. - aspeed,ast2600-pinctrl
  47. required:
  48. - compatible
  49. '^interrupt-controller@[0-9a-f]+$':
  50. description: See Documentation/devicetree/bindings/interrupt-controller/aspeed,ast2xxx-scu-ic.txt
  51. type: object
  52. '^silicon-id@[0-9a-f]+$':
  53. description: Unique hardware silicon identifiers within the SoC
  54. type: object
  55. additionalProperties: false
  56. properties:
  57. compatible:
  58. items:
  59. - enum:
  60. - aspeed,ast2400-silicon-id
  61. - aspeed,ast2500-silicon-id
  62. - aspeed,ast2600-silicon-id
  63. - const: aspeed,silicon-id
  64. reg:
  65. description:
  66. The reg should be the unique silicon id register, and not backwards
  67. compatible one in eg. the 2600.
  68. minItems: 1
  69. items:
  70. - description: silicon id information registers
  71. - description: unique chip id registers
  72. required:
  73. - compatible
  74. - reg
  75. - ranges
  76. - '#address-cells'
  77. - '#size-cells'
  78. - '#clock-cells'
  79. - '#reset-cells'
  80. additionalProperties: false
  81. examples:
  82. - |
  83. syscon@1e6e2000 {
  84. compatible = "aspeed,ast2400-scu", "syscon", "simple-mfd";
  85. reg = <0x1e6e2000 0x1a8>;
  86. #clock-cells = <1>;
  87. #reset-cells = <1>;
  88. #address-cells = <1>;
  89. #size-cells = <1>;
  90. ranges = <0x0 0x1e6e2000 0x1000>;
  91. silicon-id@7c {
  92. compatible = "aspeed,ast2500-silicon-id", "aspeed,silicon-id";
  93. reg = <0x7c 0x4>, <0x150 0x8>;
  94. };
  95. };
  96. ...