# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/yaml-redundant-ws.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Test fixture with redundant whitespace
maintainers:
- Rob Herring <robh@kernel.org>
properties:
compatible:
const: example,test-redundant
reg:
maxItems: 1
required:
- compatible
- reg
additionalProperties: false
examples:
- |
device@1000 { /* comments { are okay = though ; */
compatible = "example,test-trailing";
reg = <0x1000 0x100>,
<0x3000 0x100> ;
} ;
device@2000 { /* comments { are okay = though ; */
compatible = "example,test-trailing";
reg = <0x2000 0x100>;
}; /* comments { are okay = though ; */