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

title: Test fixture with 0x-prefixed unit address

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

properties:
  compatible:
    const: example,test-unit-addr-prefix
  reg:
    maxItems: 1

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    memory@0x1000 {
        compatible = "example,test-unit-addr-prefix";
        reg = <0x1000 0x100>;
    };