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