xref: /linux/scripts/dtc/dt-style-selftest/bad/yaml-prop-pairing.yaml (revision 9611c0ce215a66770ccbe5c126bf57ba8c31bcad)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/test-bad-prop-pairing.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Test fixture exercising <x>-names and pinctrl-names pairing
8
9maintainers:
10  - Test User <test@example.com>
11
12properties:
13  compatible:
14    const: example,test-prop-pairing
15  reg:
16    maxItems: 1
17
18required:
19  - compatible
20  - reg
21
22additionalProperties: false
23
24examples:
25  - |
26    foo@1000 {
27        compatible = "example,test-prop-pairing";
28        reg = <0x1000 0x100>;
29        clock-names = "bus";
30        clocks = <&clk 0>;
31        pinctrl-names = "default";
32        pinctrl-0 = <&p0>;
33    };
34