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

title: Canaan SoC-based boards

maintainers:
  - Damien Le Moal <dlemoal@kernel.org>

description:
  Canaan Kendryte K210 SoC-based boards

properties:
  $nodename:
    const: '/'
  compatible:
    oneOf:
      - items:
          - const: sipeed,maix-bit
          - const: sipeed,maix-bitm
          - const: canaan,kendryte-k210

      - items:
          - const: sipeed,maix-go
          - const: canaan,kendryte-k210

      - items:
          - const: sipeed,maix-dock-m1
          - const: sipeed,maix-dock-m1w
          - const: canaan,kendryte-k210

      - items:
          - const: sipeed,maixduino
          - const: canaan,kendryte-k210

      - items:
          - const: canaan,kendryte-kd233
          - const: canaan,kendryte-k210

      - items:
          - const: canaan,kendryte-k210

additionalProperties: true

...