xref: /linux/scripts/dtc/dt-style-selftest/bad/yaml-indent-strict.yaml (revision 9611c0ce215a66770ccbe5c126bf57ba8c31bcad)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/test-bad-indent-strict.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Test fixture using 2-space indent (rejected by strict mode)
8
9maintainers:
10  - Test User <test@example.com>
11
12properties:
13  compatible:
14    const: example,test-indent-strict
15  reg:
16    maxItems: 1
17
18required:
19  - compatible
20  - reg
21
22additionalProperties: false
23
24examples:
25  - |
26    device@1000 {
27      compatible = "example,test-indent-strict";
28      reg = <0x1000 0x100>;
29    };
30