Re: [PATCH 2/2] ARM: dts: mvebu: add device tree for IIJ SA-W2 appliance

From: Andrew Lunn
Date: Sun Apr 09 2023 - 10:10:05 EST


On Sun, Apr 09, 2023 at 02:13:11PM +0900, INAGAKI Hiroshi wrote:
> Hello Gregory CLEMENT,
>
> On 2023/04/08 0:34, Gregory CLEMENT wrote:
> > Hello INAGAKI Hiroshi,
> >
> > do you plan to send a v2 soon based on the reviews you got ?
>
> Yes, I'm planning to send the next series.
> But I don't know the details about "documenting the board compatibles"
> suggested by Krzysztof Kozlowski and I don't know what to do for it, so I'm
> pausing this contribution...

Create Documentation/devicetree/bindings/arm/marvell/armada-380.yaml

Put in it

# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/arm/marvell/armada-380.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Marvell Armada 380 SoC architecture

maintainers:
- Andrew Lunn <andrew@xxxxxxx>

description:
Platforms based on Marvell Armada 380 SoC architecture.

properties:
$nodename:
const: '/'
compatibnle:
oneOf:

- description: Marvell Armada 380 SoC based platforms
items:
- enum:
- phytec,pcm049 # Phytec OMAP 4460 SoM
- const: "marvell,armada380"

additionalProperties: true


But replace the phytex,pcm049 with the compatible for your board.

Andrew