Documentation/devicetree/bindings/mips/loongson/devices.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/mips/loongson/devices.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/mips/loongson/devices.yaml
Extension
.yaml
Size
1452 bytes
Lines
57
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# 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

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

      - description: LS1B based boards
        items:
          - enum:
              - loongson,ls1b-demo
              - loongson,lsgz-1b-dev
          - const: loongson,ls1b

      - description: LS1C based boards
        items:
          - enum:
              - loongmasses,smartloong-1c
              - loongson,cq-t300b
          - const: loongson,ls1c

additionalProperties: true

...

Annotation

Implementation Notes