xref: /freebsd-src/sys/contrib/device-tree/Bindings/memory-controllers/mc-peripheral-props.yaml (revision 01950c46b8155250f64374fb72fc11faa44bf099)
18bab661aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
28bab661aSEmmanuel Vadot%YAML 1.2
38bab661aSEmmanuel Vadot---
48bab661aSEmmanuel Vadot$id: http://devicetree.org/schemas/memory-controllers/mc-peripheral-props.yaml#
58bab661aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
68bab661aSEmmanuel Vadot
78bab661aSEmmanuel Vadottitle: Peripheral-specific properties for a Memory Controller bus.
88bab661aSEmmanuel Vadot
98bab661aSEmmanuel Vadotdescription:
108bab661aSEmmanuel Vadot  Many Memory Controllers need to add properties to peripheral devices.
118bab661aSEmmanuel Vadot  They could be common properties like reg or they could be controller
128bab661aSEmmanuel Vadot  specific like delay in clock or data lines, etc. These properties need
138bab661aSEmmanuel Vadot  to be defined in the peripheral node because they are per-peripheral
148bab661aSEmmanuel Vadot  and there can be multiple peripherals attached to a controller. All
158bab661aSEmmanuel Vadot  those properties are listed here. The controller specific properties
168bab661aSEmmanuel Vadot  should go in their own separate schema that should be referenced
178bab661aSEmmanuel Vadot  from here.
188bab661aSEmmanuel Vadot
198bab661aSEmmanuel Vadotmaintainers:
208bab661aSEmmanuel Vadot  - Marek Vasut <marex@denx.de>
218bab661aSEmmanuel Vadot
228bab661aSEmmanuel Vadotproperties:
238bab661aSEmmanuel Vadot  reg:
248bab661aSEmmanuel Vadot    description: Bank number, base address and size of the device.
258bab661aSEmmanuel Vadot
268bab661aSEmmanuel Vadot  bank-width:
278bab661aSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint32
288bab661aSEmmanuel Vadot    description: Bank width of the device, in bytes.
298bab661aSEmmanuel Vadot    enum: [1, 2, 4]
308bab661aSEmmanuel Vadot
318bab661aSEmmanuel Vadotrequired:
328bab661aSEmmanuel Vadot  - reg
338bab661aSEmmanuel Vadot
348bab661aSEmmanuel Vadot# The controller specific properties go here.
358bab661aSEmmanuel VadotallOf:
368bab661aSEmmanuel Vadot  - $ref: st,stm32-fmc2-ebi-props.yaml#
37aa1a8ff2SEmmanuel Vadot  - $ref: ingenic,nemc-peripherals.yaml#
38cb7aa33aSEmmanuel Vadot  - $ref: intel,ixp4xx-expansion-peripheral-props.yaml#
39aa1a8ff2SEmmanuel Vadot  - $ref: ti,gpmc-child.yaml#
40*01950c46SEmmanuel Vadot  - $ref: fsl/fsl,imx-weim-peripherals.yaml
418bab661aSEmmanuel Vadot
428bab661aSEmmanuel VadotadditionalProperties: true
43