xref: /linux/scripts/dtc/dt-style-selftest/bad/yaml-digit-node-order.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-digit-node-order.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Test fixture with digit-leading nodes out of address order
8
9maintainers:
10  - Test User <test@example.com>
11
12properties:
13  compatible:
14    const: example,test-digit-node-order
15
16required:
17  - compatible
18
19additionalProperties: false
20
21examples:
22  - |
23    bus@0 {
24        compatible = "simple-bus";
25        #address-cells = <1>;
26        #size-cells = <1>;
27
28        3d-engine@20 {
29            compatible = "example,3d-engine";
30            reg = <0x20 0x4>;
31        };
32
33        1wire@10 {
34            compatible = "example,1wire";
35            reg = <0x10 0x4>;
36        };
37    };
38