summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/memory-controllers/mc-peripheral-props.yaml
blob: 53ae995462db7410c4ad6e4c30458a1ee505bf45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/memory-controllers/mc-peripheral-props.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Peripheral-specific properties for a Memory Controller bus.

description:
  Many Memory Controllers need to add properties to peripheral devices.
  They could be common properties like reg or they could be controller
  specific like delay in clock or data lines, etc. These properties need
  to be defined in the peripheral node because they are per-peripheral
  and there can be multiple peripherals attached to a controller. All
  those properties are listed here. The controller specific properties
  should go in their own separate schema that should be referenced
  from here.

maintainers:
  - Marek Vasut <marex@denx.de>

properties:
  reg:
    description: Bank number, base address and size of the device.

  bank-width:
    $ref: /schemas/types.yaml#/definitions/uint32
    description: Bank width of the device, in bytes.
    enum: [1, 2, 4]

required:
  - reg

# The controller specific properties go here.
allOf:
  - $ref: st,stm32-fmc2-ebi-props.yaml#

additionalProperties: true