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