xref: /linux/Documentation/devicetree/bindings/mips/loongson/devices.yaml (revision 1ac731c529cd4d6adbce134754b51ff7d822b145)
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,lsgz-1b-dev
44          - const: loongson,ls1b
45
46      - description: LS1C based boards
47        items:
48          - enum:
49              - loongmasses,smartloong-1c
50          - const: loongson,ls1c
51
52additionalProperties: true
53
54...
55