]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
dt-bindings: arm: marvell: Convert marvell,dove boards to DT schema
authorRob Herring (Arm) <robh@kernel.org>
Tue, 5 Aug 2025 23:25:31 +0000 (18:25 -0500)
committerRob Herring (Arm) <robh@kernel.org>
Fri, 19 Sep 2025 19:03:29 +0000 (14:03 -0500)
Convert Marvell Dove based boards to DT schema format.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Documentation/devicetree/bindings/arm/marvell/marvell,dove.txt [deleted file]
Documentation/devicetree/bindings/arm/marvell/marvell,dove.yaml [new file with mode: 0644]
MAINTAINERS

diff --git a/Documentation/devicetree/bindings/arm/marvell/marvell,dove.txt b/Documentation/devicetree/bindings/arm/marvell/marvell,dove.txt
deleted file mode 100644 (file)
index e10e852..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-Marvell Dove Platforms Device Tree Bindings
------------------------------------------------
-
-Boards with a Marvell Dove SoC shall have the following properties:
-
-Required root node property:
-- compatible: must contain "marvell,dove";
diff --git a/Documentation/devicetree/bindings/arm/marvell/marvell,dove.yaml b/Documentation/devicetree/bindings/arm/marvell/marvell,dove.yaml
new file mode 100644 (file)
index 0000000..a37804f
--- /dev/null
@@ -0,0 +1,35 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/arm/marvell/marvell,dove.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Marvell Dove SoC
+
+maintainers:
+  - Andrew Lunn <andrew@lunn.ch>
+  - Gregory Clement <gregory.clement@bootlin.com>
+
+properties:
+  $nodename:
+    const: '/'
+  compatible:
+    oneOf:
+      - items:
+          - enum:
+              - compulab,cm-a510
+              - solidrun,cubox
+              - globalscale,d2plug
+              - globalscale,d3plug
+              - marvell,dove-db
+          - const: marvell,dove
+      - items:
+          - const: solidrun,cubox-es
+          - const: solidrun,cubox
+          - const: marvell,dove
+      - items:
+          - const: compulab,sbc-a510
+          - const: compulab,cm-a510
+          - const: marvell,dove
+
+additionalProperties: true
index 2e1a079e24bcd14e592597917ecece20c21d5fa7..d92d8f68e8cc6dd9e5a2e611d6203819544aa78a 100644 (file)
@@ -2831,7 +2831,7 @@ M:        Gregory Clement <gregory.clement@bootlin.com>
 L:     linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
 S:     Maintained
 T:     git git://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu.git
-F:     Documentation/devicetree/bindings/arm/marvell/marvell,dove.txt
+F:     Documentation/devicetree/bindings/arm/marvell/marvell,dove.yaml
 F:     Documentation/devicetree/bindings/arm/marvell/marvell,orion5x.txt
 F:     Documentation/devicetree/bindings/soc/dove/
 F:     arch/arm/boot/dts/marvell/dove*