# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/test-bad-child-name-order.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Test fixture with unaddressed children out of name order

maintainers:
  - Rob Herring <robh@kernel.org>

properties:
  compatible:
    const: example,test-child-name-order
  reg:
    maxItems: 1

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    bus@10000 {
        compatible = "simple-bus";
        reg = <0x10000 0x1000>;

        foo {
            label = "foo";
        };

        bar {
            label = "bar";
        };
    };