xref: /freebsd/sys/contrib/device-tree/Bindings/nvmem/allwinner,sun4i-a10-sid.yaml (revision 18054d0220cfc8df9c9568c437bd6fbb59d53c3c)
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,sun50i-a64-sid
24      - items:
25          - const: allwinner,sun50i-a100-sid
26          - const: allwinner,sun50i-a64-sid
27      - const: allwinner,sun50i-h5-sid
28      - const: allwinner,sun50i-h6-sid
29
30  reg:
31    maxItems: 1
32
33required:
34  - compatible
35  - reg
36
37unevaluatedProperties: false
38
39examples:
40  - |
41    efuse@1c23800 {
42        compatible = "allwinner,sun4i-a10-sid";
43        reg = <0x01c23800 0x10>;
44    };
45
46  - |
47    efuse@1c23800 {
48        compatible = "allwinner,sun7i-a20-sid";
49        reg = <0x01c23800 0x200>;
50    };
51
52...
53