summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/nvmem/apple,efuses.yaml
blob: d3abdafdbca06245cdba000ce2ca757b5ce77d3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/nvmem/apple,efuses.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Apple SoC eFuse-based NVMEM

description: |
  Apple SoCs such as the M1 contain factory-programmed eFuses used to e.g. store
  calibration data for the PCIe and the Type-C PHY or unique chip identifiers
  such as the ECID.

maintainers:
  - Sven Peter <sven@svenpeter.dev>

allOf:
  - $ref: nvmem.yaml#
  - $ref: nvmem-deprecated-cells.yaml#

properties:
  compatible:
    items:
      - enum:
          - apple,t8103-efuses
          - apple,t6000-efuses
      - const: apple,efuses

  reg:
    maxItems: 1

required:
  - compatible
  - reg

unevaluatedProperties: false

examples:
  - |
    efuse@3d2bc000 {
        compatible = "apple,t8103-efuses", "apple,efuses";
        reg = <0x3d2bc000 0x1000>;
        #address-cells = <1>;
        #size-cells = <1>;

        ecid: efuse@500 {
            reg = <0x500 0x8>;
        };
    };

...