summaryrefslogtreecommitdiffstats
path: root/scripts/dtc/dt-style-selftest/bad/yaml-tab.yaml
blob: 487d07ff8cb62c45fda50b0762972ad186bc81f9 (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
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/test-bad-tab.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Test fixture with a tab in a DTS line

maintainers:
  - Test User <test@example.com>

properties:
  compatible:
    const: example,test-tab
  reg:
    maxItems: 1

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    device@1000 {
        compatible = "example,test-tab";
        reg = <0x1000 0x100>;	/* registers */
    };