xref: /linux/Documentation/devicetree/bindings/memory-controllers/mc-peripheral-props.yaml (revision cf3c415d7d2c21288fc85d7ed5da9b9af36d0de9)
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
7title: Peripheral-specific properties for a Memory Controller bus.
8
9description:
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
19maintainers:
20  - Marek Vasut <marex@denx.de>
21
22properties:
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
31required:
32  - reg
33
34# The controller specific properties go here.
35allOf:
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#
40
41additionalProperties: true
42