Skip to content

Commit ec6b36e

Browse files
AaronDotchenhuacai
authored andcommitted
dt-bindings: loongarch: Add Loongson SoC boards compatibles
Add Loongson SoC boards binding with DT schema format using json-schema. Reviewed-by: Conor Dooley <[email protected]> Signed-off-by: Binbin Zhou <[email protected]> Signed-off-by: Huacai Chen <[email protected]>
1 parent 8e07e0e commit ec6b36e

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/loongarch/loongson.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Loongson SoC-based boards
8+
9+
maintainers:
10+
- Binbin Zhou <[email protected]>
11+
12+
properties:
13+
$nodename:
14+
const: '/'
15+
compatible:
16+
oneOf:
17+
- description: Loongson-2K0500 processor based boards
18+
items:
19+
- const: loongson,ls2k0500-ref
20+
- const: loongson,ls2k0500
21+
22+
- description: Loongson-2K1000 processor based boards
23+
items:
24+
- const: loongson,ls2k1000-ref
25+
- const: loongson,ls2k1000
26+
27+
- description: Loongson-2K2000 processor based boards
28+
items:
29+
- const: loongson,ls2k2000-ref
30+
- const: loongson,ls2k2000
31+
32+
additionalProperties: true
33+
34+
...

0 commit comments

Comments
 (0)