summaryrefslogtreecommitdiffstats
path: root/scripts/dtc/dt-style-selftest/bad/yaml-hex-case.yaml
blob: b26d1bf58de9cf20932c409ac738daea400b95ee (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
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/test-bad-hex-case.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Test fixture with uppercase hex literals

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

properties:
  compatible:
    const: example,test-hex-case
  reg:
    maxItems: 1

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    foo@1000 {
        compatible = "example,test-hex-case";
        reg = <0xABCD 0x100>;
    };