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