xref: /linux/Documentation/devicetree/bindings/nvmem/apple,efuses.yaml (revision 5027ec19f1049a07df5b0a37b1f462514cf2724b)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/nvmem/apple,efuses.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Apple SoC eFuse-based NVMEM
8
9description: |
10  Apple SoCs such as the M1 contain factory-programmed eFuses used to e.g. store
11  calibration data for the PCIe and the Type-C PHY or unique chip identifiers
12  such as the ECID.
13
14maintainers:
15  - Sven Peter <sven@svenpeter.dev>
16
17allOf:
18  - $ref: nvmem.yaml#
19  - $ref: nvmem-deprecated-cells.yaml#
20
21properties:
22  compatible:
23    items:
24      - enum:
25          - apple,t8103-efuses
26          - apple,t6000-efuses
27      - const: apple,efuses
28
29  reg:
30    maxItems: 1
31
32required:
33  - compatible
34  - reg
35
36unevaluatedProperties: false
37
38examples:
39  - |
40    efuse@3d2bc000 {
41        compatible = "apple,t8103-efuses", "apple,efuses";
42        reg = <0x3d2bc000 0x1000>;
43        #address-cells = <1>;
44        #size-cells = <1>;
45
46        ecid: efuse@500 {
47            reg = <0x500 0x8>;
48        };
49    };
50
51...
52