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

title: Test fixture with aligned multi-line property

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

properties:
  compatible:
    const: example,test-cont-align
  reg:
    maxItems: 2

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    foo@1000 {
        compatible = "example,test-cont-align";
        reg = <0x1000 0x100>,
              <0x2000 0x100>,
              /* but comments should be placed properly */
              <0x3000
               0x100>;
    };