ipmi-smic.yaml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/ipmi/ipmi-smic.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: IPMI device
  7. description: IPMI device bindings
  8. maintainers:
  9. - Corey Minyard <cminyard@mvista.com>
  10. properties:
  11. compatible:
  12. enum:
  13. - ipmi-kcs
  14. - ipmi-smic
  15. - ipmi-bt
  16. device_type:
  17. items:
  18. - const: ipmi
  19. reg:
  20. maxItems: 1
  21. interrupts:
  22. description: Interface is polled if this property is omitted.
  23. maxItems: 1
  24. reg-size:
  25. description: The access width of the register in bytes. Defaults to 1.
  26. $ref: /schemas/types.yaml#/definitions/uint32
  27. enum: [1, 2, 4, 8]
  28. reg-spacing:
  29. $ref: /schemas/types.yaml#/definitions/uint32
  30. description: The number of bytes between register starts. Defaults to 1.
  31. reg-shift:
  32. description: |
  33. The amount of bits to shift the register content to the right to get
  34. the data into bit zero.
  35. $ref: /schemas/types.yaml#/definitions/uint32
  36. maximum: 56
  37. required:
  38. - compatible
  39. - reg
  40. additionalProperties: false
  41. examples:
  42. - |
  43. smic@fff3a000 {
  44. compatible = "ipmi-smic";
  45. device_type = "ipmi";
  46. reg = <0xfff3a000 0x1000>;
  47. interrupts = <0 24 4>;
  48. reg-size = <4>;
  49. reg-spacing = <4>;
  50. };