[PATCH v2 3/8] dt-bindings: marvell: a38x: add solidrun armada 388 clearfog boards
Krzysztof Kozlowski
krzk at kernel.org
Sun Dec 24 06:55:26 PST 2023
On 24/12/2023 15:38, Josua Mayer wrote:
> Add DT compatible for SolidRun Armada-388 based Clearfog Base and Pro
> boards.
>
> While they are just two variants, we have 3 device-tree:
> - armada-388-clearfog.dts
> - armada-388-clearfog-base.dts
> - armada-388-clearfog-pro.dts
>
> While the first one is identical to the pro variant, the filename is
> not, and neither are the compatible strings.
>
> The first is compatible to armada-380, 385, 388 and
> solidrun,clearfog-a1.
> The other two are compatible to the same, plus an additional string
> including the pro/base as suffix.
>
> Add two bindings, one for the explicit pro and base variants using a
> total of 5 compatibles, and one for the generic name using just 4.
>
> Signed-off-by: Josua Mayer <josua at solid-run.com>
> ---
> .../bindings/arm/marvell/armada-38x.yaml | 20 +++++++++++++++++++
> 1 file changed, 20 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/arm/marvell/armada-38x.yaml b/Documentation/devicetree/bindings/arm/marvell/armada-38x.yaml
> index 5bc69c4fe34d..25c29b466094 100644
> --- a/Documentation/devicetree/bindings/arm/marvell/armada-38x.yaml
> +++ b/Documentation/devicetree/bindings/arm/marvell/armada-38x.yaml
> @@ -38,4 +38,24 @@ properties:
> - const: marvell,armada385
> - const: marvell,armada380
>
> + - description: |
> + SolidRun Armada 388 SoM based clearfog board. This is
> + equivalent to clearfog pro, but lacks the "pro" label
> + in dtb filename and compatible strings.
> + items:
> + - const: solidrun,clearfog-a1
SoM cannot be alone.
> + - const: marvell,armada388
> + - const: marvell,armada385
> + - const: marvell,armada380
> +
> + - description: SolidRun Armada 388 SoM based clearfog board variants
> + items:
> + - enum:
> + - solidrun,clearfog-base-a1
Board has name "base"?
Still not tested...
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list