mc-peripheral-props.yaml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/memory-controllers/mc-peripheral-props.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Peripheral-specific properties for a Memory Controller bus.
  7. description:
  8. Many Memory Controllers need to add properties to peripheral devices.
  9. They could be common properties like reg or they could be controller
  10. specific like delay in clock or data lines, etc. These properties need
  11. to be defined in the peripheral node because they are per-peripheral
  12. and there can be multiple peripherals attached to a controller. All
  13. those properties are listed here. The controller specific properties
  14. should go in their own separate schema that should be referenced
  15. from here.
  16. maintainers:
  17. - Marek Vasut <marex@denx.de>
  18. properties:
  19. reg:
  20. description: Bank number, base address and size of the device.
  21. bank-width:
  22. $ref: /schemas/types.yaml#/definitions/uint32
  23. description: Bank width of the device, in bytes.
  24. enum: [1, 2, 4]
  25. required:
  26. - reg
  27. # The controller specific properties go here.
  28. allOf:
  29. - $ref: st,stm32-fmc2-ebi-props.yaml#
  30. - $ref: ingenic,nemc-peripherals.yaml#
  31. - $ref: intel,ixp4xx-expansion-peripheral-props.yaml#
  32. - $ref: ti,gpmc-child.yaml#
  33. - $ref: fsl/fsl,imx-weim-peripherals.yaml
  34. additionalProperties: true