mirror of
https://github.com/torvalds/linux.git
synced 2026-04-22 16:53:59 -04:00
In order to add meta-schema checks for additional/unevaluatedProperties being present, all schema need to make this explicit. As the top-level board/SoC schemas always have additional properties, add 'additionalProperties: true'. Acked-by: Krzysztof Kozlowski <krzk@kernel.org> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20201005183830.486085-4-robh@kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
# 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
|
|
|
|
...
|