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

title: Test fixture with device_type

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

properties:
  compatible:
    const: example,test-prop-order-device-type
  reg:
    maxItems: 1
  device_type: true

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    device@1000 {
        compatible = "example,test-prop-order-device-type";
        device_type = "cpu";
        reg = <0x1000 0x100>;
    };