[PATCH 08/12] dt-bindings: riscv: add binding for Nuclei platform boards

From: Icenowy Zheng
Date: Thu Jan 27 2022 - 10:17:24 EST


As we added support for RISC-V SoCs from Nuclei, add device tree binding
for the currently supported board-bitstream combo (DemoSoC with UX600 on
DDR200T board).

Signed-off-by: Icenowy Zheng <icenowy@xxxxxxxxxxxxx>
---
.../devicetree/bindings/riscv/nuclei.yaml | 27 +++++++++++++++++++
1 file changed, 27 insertions(+)
create mode 100644 Documentation/devicetree/bindings/riscv/nuclei.yaml

diff --git a/Documentation/devicetree/bindings/riscv/nuclei.yaml b/Documentation/devicetree/bindings/riscv/nuclei.yaml
new file mode 100644
index 000000000000..4760568c7bde
--- /dev/null
+++ b/Documentation/devicetree/bindings/riscv/nuclei.yaml
@@ -0,0 +1,27 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/riscv/nuclei.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Nuclei SoC-based boards
+
+maintainers:
+ - Icenowy Zheng <icenowy@xxxxxxxxxxxxx>
+
+description:
+ Nuclei SoC-based boards
+
+properties:
+ $nodename:
+ const: '/'
+ compatible:
+ oneOf:
+ - items:
+ - const: nuclei,demosoc-ux600-ddr200t
+ - const: nuclei,demosoc-ux600
+ - const: nuclei,demosoc
+
+additionalProperties: true
+
+...
--
2.30.2