summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/mips/loongson/devices.yaml
blob: 9fee6708e6f5937698dfa8f06ade8b7d863ca0fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/mips/loongson/devices.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Loongson based Platforms Device Tree Bindings

maintainers:
  - Jiaxun Yang <jiaxun.yang@flygoat.com>
description: |
  Devices with a Loongson CPU shall have the following properties.

properties:
  $nodename:
    const: '/'
  compatible:
    oneOf:

      - description: Classic Loongson64 Quad Core + LS7A
        items:
          - const: loongson,loongson64c-4core-ls7a

      - description: Classic Loongson64 Quad Core + RS780E
        items:
          - const: loongson,loongson64c-4core-rs780e

      - description: Classic Loongson64 Octa Core + RS780E
        items:
          - const: loongson,loongson64c-8core-rs780e

      - description: Generic Loongson64 Quad Core + LS7A
        items:
          - const: loongson,loongson64g-4core-ls7a

      - description: Virtual Loongson64 Quad Core + VirtIO
        items:
          - const: loongson,loongson64v-4core-virtio

additionalProperties: true

...