xref: /freebsd/sys/contrib/device-tree/Bindings/nvmem/allwinner,sun4i-a10-sid.yaml (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
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
8
9maintainers:
10  - Chen-Yu Tsai <wens@csie.org>
11  - Maxime Ripard <mripard@kernel.org>
12
13allOf:
14  - $ref: nvmem.yaml#
15  - $ref: nvmem-deprecated-cells.yaml#
16
17properties:
18  compatible:
19    oneOf:
20      - const: allwinner,sun4i-a10-sid
21      - const: allwinner,sun7i-a20-sid
22      - const: allwinner,sun8i-a83t-sid
23      - const: allwinner,sun8i-h3-sid
24      - const: allwinner,sun20i-d1-sid
25      - const: allwinner,sun50i-a64-sid
26      - items:
27          - enum:
28              - allwinner,sun50i-a100-sid
29              - allwinner,sun50i-h616-sid
30          - const: allwinner,sun50i-a64-sid
31      - const: allwinner,sun50i-h5-sid
32      - const: allwinner,sun50i-h6-sid
33
34  reg:
35    maxItems: 1
36
37required:
38  - compatible
39  - reg
40
41unevaluatedProperties: false
42
43examples:
44  - |
45    efuse@1c23800 {
46        compatible = "allwinner,sun4i-a10-sid";
47        reg = <0x01c23800 0x10>;
48    };
49
50  - |
51    efuse@1c23800 {
52        compatible = "allwinner,sun7i-a20-sid";
53        reg = <0x01c23800 0x200>;
54    };
55
56...
57