xref: /freebsd/sys/contrib/device-tree/Bindings/nvmem/apple,efuses.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
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:
18*fac71e4eSEmmanuel Vadot  - $ref: nvmem.yaml#
19d5b0e70fSEmmanuel Vadot
20d5b0e70fSEmmanuel Vadotproperties:
21d5b0e70fSEmmanuel Vadot  compatible:
22d5b0e70fSEmmanuel Vadot    items:
23d5b0e70fSEmmanuel Vadot      - enum:
24d5b0e70fSEmmanuel Vadot          - apple,t8103-efuses
25d5b0e70fSEmmanuel Vadot          - apple,t6000-efuses
26d5b0e70fSEmmanuel Vadot      - const: apple,efuses
27d5b0e70fSEmmanuel Vadot
28d5b0e70fSEmmanuel Vadot  reg:
29d5b0e70fSEmmanuel Vadot    maxItems: 1
30d5b0e70fSEmmanuel Vadot
31d5b0e70fSEmmanuel Vadotrequired:
32d5b0e70fSEmmanuel Vadot  - compatible
33d5b0e70fSEmmanuel Vadot  - reg
34d5b0e70fSEmmanuel Vadot
35d5b0e70fSEmmanuel VadotunevaluatedProperties: false
36d5b0e70fSEmmanuel Vadot
37d5b0e70fSEmmanuel Vadotexamples:
38d5b0e70fSEmmanuel Vadot  - |
39d5b0e70fSEmmanuel Vadot    efuse@3d2bc000 {
40d5b0e70fSEmmanuel Vadot        compatible = "apple,t8103-efuses", "apple,efuses";
41d5b0e70fSEmmanuel Vadot        reg = <0x3d2bc000 0x1000>;
42d5b0e70fSEmmanuel Vadot        #address-cells = <1>;
43d5b0e70fSEmmanuel Vadot        #size-cells = <1>;
44d5b0e70fSEmmanuel Vadot
45d5b0e70fSEmmanuel Vadot        ecid: efuse@500 {
46d5b0e70fSEmmanuel Vadot            reg = <0x500 0x8>;
47d5b0e70fSEmmanuel Vadot        };
48d5b0e70fSEmmanuel Vadot    };
49d5b0e70fSEmmanuel Vadot
50d5b0e70fSEmmanuel Vadot...
51