summaryrefslogtreecommitdiffstats
path: root/scripts/dtc/dt-style-selftest/bad/yaml-prop-pairing.yaml
blob: 767ab21c39f341f552c9f46be6cee9cd0a427cc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/test-bad-prop-pairing.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Test fixture exercising <x>-names and pinctrl-names pairing

maintainers:
  - Test User <test@example.com>

properties:
  compatible:
    const: example,test-prop-pairing
  reg:
    maxItems: 1

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    foo@1000 {
        compatible = "example,test-prop-pairing";
        reg = <0x1000 0x100>;
        clock-names = "bus";
        clocks = <&clk 0>;
        pinctrl-names = "default";
        pinctrl-0 = <&p0>;
    };