diff mbox series

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

Message ID 20220127151647.2375449-9-icenowy@nucleisys.com
State New
Headers show
Series Initial support for Nuclei DemoSoC w/ UX600 | expand

Commit Message

Icenowy Zheng Jan. 27, 2022, 3:16 p.m. UTC
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@nucleisys.com>
---
 .../devicetree/bindings/riscv/nuclei.yaml     | 27 +++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/riscv/nuclei.yaml

Comments

Rob Herring (Arm) Feb. 9, 2022, 4:07 a.m. UTC | #1
On Thu, 27 Jan 2022 23:16:43 +0800, Icenowy Zheng wrote:
> 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@nucleisys.com>
> ---
>  .../devicetree/bindings/riscv/nuclei.yaml     | 27 +++++++++++++++++++
>  1 file changed, 27 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/riscv/nuclei.yaml
> 

Acked-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

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@nucleisys.com>
+
+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
+
+...