Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 7 | title: Peripheral-specific properties for a Memory Controller bus. |
| 8 | |
| 9 | description: |
| 10 | Many Memory Controllers need to add properties to peripheral devices. |
| 11 | They could be common properties like reg or they could be controller |
| 12 | specific like delay in clock or data lines, etc. These properties need |
| 13 | to be defined in the peripheral node because they are per-peripheral |
| 14 | and there can be multiple peripherals attached to a controller. All |
| 15 | those properties are listed here. The controller specific properties |
| 16 | should go in their own separate schema that should be referenced |
| 17 | from here. |
| 18 | |
| 19 | maintainers: |
| 20 | - Marek Vasut <marex@denx.de> |
| 21 | |
| 22 | properties: |
| 23 | reg: |
| 24 | description: Bank number, base address and size of the device. |
| 25 | |
| 26 | bank-width: |
| 27 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 28 | description: Bank width of the device, in bytes. |
| 29 | enum: [1, 2, 4] |
| 30 | |
| 31 | required: |
| 32 | - reg |
| 33 | |
| 34 | # The controller specific properties go here. |
| 35 | allOf: |
| 36 | - $ref: st,stm32-fmc2-ebi-props.yaml# |
| 37 | - $ref: ingenic,nemc-peripherals.yaml# |
| 38 | - $ref: intel,ixp4xx-expansion-peripheral-props.yaml# |
| 39 | - $ref: ti,gpmc-child.yaml# |
Tom Rini | 6bb92fc | 2024-05-20 09:54:58 -0600 | [diff] [blame] | 40 | - $ref: fsl/fsl,imx-weim-peripherals.yaml |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 41 | |
| 42 | additionalProperties: true |