mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-16 01:24:08 +08:00
dt-bindings: add Canaan boards compatible strings
Introduce the file riscv/canaan.yaml to document compatible strings related to the Canaan Kendryte K210 SoC. The compatible string "canaan,kendryte-k210" used to indicate the use of this SoC to the early SoC init code is added. This new file also defines the compatible strings of all supported boards based on this SoC. Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Reviewed-by: Atish Patra <atish.patra@wdc.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
This commit is contained in:
parent
e7d9fea1c7
commit
11481d6b57
47
Documentation/devicetree/bindings/riscv/canaan.yaml
Normal file
47
Documentation/devicetree/bindings/riscv/canaan.yaml
Normal file
@ -0,0 +1,47 @@
|
||||
# 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 <damien.lemoal@wdc.com>
|
||||
|
||||
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
|
||||
|
||||
...
|
Loading…
Reference in New Issue
Block a user