xref: /linux/Documentation/devicetree/bindings/mips/loongson/devices.yaml (revision 8a7c601e14576a22c2bbf7f67455ccf3f3d2737f)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/mips/loongson/devices.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Loongson based Platforms
8
9maintainers:
10  - Jiaxun Yang <jiaxun.yang@flygoat.com>
11description: |
12  Devices with a Loongson CPU shall have the following properties.
13
14properties:
15  $nodename:
16    const: '/'
17  compatible:
18    oneOf:
19
20      - description: Classic Loongson64 Quad Core + LS7A
21        items:
22          - const: loongson,loongson64c-4core-ls7a
23
24      - description: Classic Loongson64 Quad Core + RS780E
25        items:
26          - const: loongson,loongson64c-4core-rs780e
27
28      - description: Classic Loongson64 Octa Core + RS780E
29        items:
30          - const: loongson,loongson64c-8core-rs780e
31
32      - description: Generic Loongson64 Quad Core + LS7A
33        items:
34          - const: loongson,loongson64g-4core-ls7a
35
36      - description: Virtual Loongson64 Quad Core + VirtIO
37        items:
38          - const: loongson,loongson64v-4core-virtio
39
40      - description: LS1B based boards
41        items:
42          - enum:
43              - loongson,ls1b-demo
44              - loongson,lsgz-1b-dev
45          - const: loongson,ls1b
46
47      - description: LS1C based boards
48        items:
49          - enum:
50              - loongmasses,smartloong-1c
51              - loongson,cq-t300b
52          - const: loongson,ls1c
53
54additionalProperties: true
55
56...
57