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