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
20properties:
21  compatible:
22    items:
23      - enum:
24          - apple,t8103-efuses
25          - apple,t6000-efuses
26      - const: apple,efuses
27
28  reg:
29    maxItems: 1
30
31required:
32  - compatible
33  - reg
34
35unevaluatedProperties: false
36
37examples:
38  - |
39    efuse@3d2bc000 {
40        compatible = "apple,t8103-efuses", "apple,efuses";
41        reg = <0x3d2bc000 0x1000>;
42        #address-cells = <1>;
43        #size-cells = <1>;
44
45        ecid: efuse@500 {
46            reg = <0x500 0x8>;
47        };
48    };
49
50...
51