summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/nvmem/allwinner,sun4i-a10-sid.yaml
blob: daf1321d76ad8356bd7f636ad4c101e39a102549 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/nvmem/allwinner,sun4i-a10-sid.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Allwinner A10 Security ID Device Tree Bindings

maintainers:
  - Chen-Yu Tsai <wens@csie.org>
  - Maxime Ripard <mripard@kernel.org>

allOf:
  - $ref: "nvmem.yaml#"

properties:
  compatible:
    enum:
      - allwinner,sun4i-a10-sid
      - allwinner,sun7i-a20-sid
      - allwinner,sun8i-a83t-sid
      - allwinner,sun8i-h3-sid
      - allwinner,sun50i-a64-sid
      - allwinner,sun50i-h5-sid
      - allwinner,sun50i-h6-sid

  reg:
    maxItems: 1

required:
  - compatible
  - reg

unevaluatedProperties: false

examples:
  - |
    efuse@1c23800 {
        compatible = "allwinner,sun4i-a10-sid";
        reg = <0x01c23800 0x10>;
    };

  - |
    efuse@1c23800 {
        compatible = "allwinner,sun7i-a20-sid";
        reg = <0x01c23800 0x200>;
    };

...