dt-bindings: memory-controller: st,stm32: Split off MC properties
Split st,stm32-fmc2-ebi.yaml specific properties into
st,stm32-fmc2-ebi-props.yaml, split memory-controller bus peripheral
properties into mc-peripheral-props.yaml, reference the
st,stm32-fmc2-ebi-props.yaml in mc-peripheral-props.yaml and reference
the mc-peripheral-props.yaml in micrel,ks8851.yaml.
This way, the FMC2 controller properties in Micrel KSZ8851MLL ethernet
controller node can be properly validated.
Fixes the following warning:
arch/arm/boot/dts/stm32mp153c-dhcor-drc-compact.dtb: ethernet@1,0:
Unevaluated properties are not allowed ('bank-width', 'st,fmc2-ebi-cs-mux-enable', ... 'st,fmc2-ebi-cs-write-data-hold-ns' were unexpected)
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Marek Vasut <marex@denx.de>
Link: https://lore.kernel.org/r/20220928181944.194808-1-marex@denx.de
[krzk: trim warning message]
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
2022-09-28 20:19:44 +02:00
|
|
|
# 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#
|
2023-07-13 17:28:46 +02:00
|
|
|
- $ref: ingenic,nemc-peripherals.yaml#
|
2023-02-06 10:26:22 +01:00
|
|
|
- $ref: intel,ixp4xx-expansion-peripheral-props.yaml#
|
2025-02-03 15:29:14 -06:00
|
|
|
- $ref: qcom,ebi2-peripheral-props.yaml#
|
2025-02-03 15:29:15 -06:00
|
|
|
- $ref: samsung,exynos4210-srom-peripheral-props.yaml#
|
2023-07-13 17:28:47 +02:00
|
|
|
- $ref: ti,gpmc-child.yaml#
|
2024-02-24 22:29:34 +01:00
|
|
|
- $ref: fsl/fsl,imx-weim-peripherals.yaml
|
dt-bindings: memory-controller: st,stm32: Split off MC properties
Split st,stm32-fmc2-ebi.yaml specific properties into
st,stm32-fmc2-ebi-props.yaml, split memory-controller bus peripheral
properties into mc-peripheral-props.yaml, reference the
st,stm32-fmc2-ebi-props.yaml in mc-peripheral-props.yaml and reference
the mc-peripheral-props.yaml in micrel,ks8851.yaml.
This way, the FMC2 controller properties in Micrel KSZ8851MLL ethernet
controller node can be properly validated.
Fixes the following warning:
arch/arm/boot/dts/stm32mp153c-dhcor-drc-compact.dtb: ethernet@1,0:
Unevaluated properties are not allowed ('bank-width', 'st,fmc2-ebi-cs-mux-enable', ... 'st,fmc2-ebi-cs-write-data-hold-ns' were unexpected)
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Marek Vasut <marex@denx.de>
Link: https://lore.kernel.org/r/20220928181944.194808-1-marex@denx.de
[krzk: trim warning message]
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
2022-09-28 20:19:44 +02:00
|
|
|
|
|
|
|
additionalProperties: true
|