blob: 00deeb09f87d5c2b5700d93a663b278e3e1d03e0 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# 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#
Tom Rini6bb92fc2024-05-20 09:54:58 -060040 - $ref: fsl/fsl,imx-weim-peripherals.yaml
Tom Rini53633a82024-02-29 12:33:36 -050041
42additionalProperties: true