Files
linux-kernel/linux-7.2.3/scripts/dtc/dt-style-selftest/bad/yaml-label-in-string.yaml
T
2026-09-06 12:53:21 -06:00

31 lines
632 B
YAML

# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/test-bad-label-in-string.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Test fixture where a label is only "referenced" inside a string
maintainers:
- Test User <test@example.com>
properties:
compatible:
const: example,test-label-in-string
reg:
maxItems: 1
required:
- compatible
- reg
additionalProperties: false
examples:
- |
foo: device@1000 {
compatible = "example,test-label-in-string";
reg = <0x1000 0x100>;
info = "see &foo for details";
};