summaryrefslogtreecommitdiffstats
path: root/scripts/dtc/dt-style-selftest/bad/yaml-digit-node-order.yaml
blob: 44a9d25e5ba0ccefc323117543291fb60cce133a (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
30
31
32
33
34
35
36
37
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/test-bad-digit-node-order.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Test fixture with digit-leading nodes out of address order

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

properties:
  compatible:
    const: example,test-digit-node-order

required:
  - compatible

additionalProperties: false

examples:
  - |
    bus@0 {
        compatible = "simple-bus";
        #address-cells = <1>;
        #size-cells = <1>;

        3d-engine@20 {
            compatible = "example,3d-engine";
            reg = <0x20 0x4>;
        };

        1wire@10 {
            compatible = "example,1wire";
            reg = <0x10 0x4>;
        };
    };