]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
dt-bindings: arm: marvell: Convert marvell,orion5x boards to DT schema
authorRob Herring (Arm) <robh@kernel.org>
Tue, 5 Aug 2025 23:25:51 +0000 (18:25 -0500)
committerRob Herring (Arm) <robh@kernel.org>
Fri, 19 Sep 2025 19:03:29 +0000 (14:03 -0500)
Convert Marvell Orion5x based boards to DT schema format.

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

diff --git a/Documentation/devicetree/bindings/arm/marvell/marvell,orion5x.txt b/Documentation/devicetree/bindings/arm/marvell/marvell,orion5x.txt
deleted file mode 100644 (file)
index 748a8f2..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-Marvell Orion SoC Family Device Tree Bindings
----------------------------------------------
-
-Boards with a SoC of the Marvell Orion family, eg 88f5181
-
-* Required root node properties:
-compatible: must contain "marvell,orion5x"
-
-In addition, the above compatible shall be extended with the specific
-SoC. Currently known SoC compatibles are:
-
-"marvell,orion5x-88f5181"
-"marvell,orion5x-88f5182"
-
-And in addition, the compatible shall be extended with the specific
-board. Currently known boards are:
-
-"buffalo,lsgl"
-"buffalo,lswsgl"
-"buffalo,lswtgl"
-"lacie,ethernet-disk-mini-v2"
-"lacie,d2-network"
-"marvell,rd-88f5182-nas"
-"maxtor,shared-storage-2"
-"netgear,wnr854t"
diff --git a/Documentation/devicetree/bindings/arm/marvell/marvell,orion5x.yaml b/Documentation/devicetree/bindings/arm/marvell/marvell,orion5x.yaml
new file mode 100644 (file)
index 0000000..c041759
--- /dev/null
@@ -0,0 +1,37 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/arm/marvell/marvell,orion5x.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Marvell Orion5x SoC Family
+
+maintainers:
+  - Andrew Lunn <andrew@lunn.ch>
+  - Gregory Clement <gregory.clement@bootlin.com>
+
+properties:
+  $nodename:
+    const: '/'
+  compatible:
+    oneOf:
+      - items:
+          - enum:
+              - netgear,wnr854t
+          - const: marvell,orion5x-88f5181
+          - const: marvell,orion5x
+      - items:
+          - enum:
+              - buffalo,kurobox-pro
+              - buffalo,lschl
+              - buffalo,lsgl
+              - buffalo,lswsgl
+              - buffalo,lswtgl
+              - lacie,ethernet-disk-mini-v2
+              - lacie,d2-network
+              - marvell,rd-88f5182-nas
+              - maxtor,shared-storage-2
+          - const: marvell,orion5x-88f5182
+          - const: marvell,orion5x
+
+additionalProperties: true
index d92d8f68e8cc6dd9e5a2e611d6203819544aa78a..4ee1f658c3c2f1d963b2970c95450cf5da969661 100644 (file)
@@ -2832,7 +2832,7 @@ 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.yaml
-F:     Documentation/devicetree/bindings/arm/marvell/marvell,orion5x.txt
+F:     Documentation/devicetree/bindings/arm/marvell/marvell,orion5x.yaml
 F:     Documentation/devicetree/bindings/soc/dove/
 F:     arch/arm/boot/dts/marvell/dove*
 F:     arch/arm/boot/dts/marvell/orion5x*