1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/nvmem/allwinner,sun4i-a10-sid.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Allwinner A10 Security ID Device Tree Bindings
8
9maintainers:
10  - Chen-Yu Tsai <wens@csie.org>
11  - Maxime Ripard <maxime.ripard@bootlin.com>
12
13allOf:
14  - $ref: "nvmem.yaml#"
15
16properties:
17  compatible:
18    enum:
19      - allwinner,sun4i-a10-sid
20      - allwinner,sun7i-a20-sid
21      - allwinner,sun8i-a83t-sid
22      - allwinner,sun8i-h3-sid
23      - allwinner,sun50i-a64-sid
24      - allwinner,sun50i-h5-sid
25      - allwinner,sun50i-h6-sid
26
27  reg:
28    maxItems: 1
29
30required:
31  - compatible
32  - reg
33
34# FIXME: We should set it, but it would report all the generic
35# properties as additional properties.
36# additionalProperties: false
37
38examples:
39  - |
40    sid@1c23800 {
41        compatible = "allwinner,sun4i-a10-sid";
42        reg = <0x01c23800 0x10>;
43    };
44
45  - |
46    sid@1c23800 {
47        compatible = "allwinner,sun7i-a20-sid";
48        reg = <0x01c23800 0x200>;
49    };
50
51...
52