0001 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/nvmem/apple,efuses.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Apple SoC eFuse-based NVMEM
0008
0009 description: |
0010 Apple SoCs such as the M1 contain factory-programmed eFuses used to e.g. store
0011 calibration data for the PCIe and the Type-C PHY or unique chip identifiers
0012 such as the ECID.
0013
0014 maintainers:
0015 - Sven Peter <sven@svenpeter.dev>
0016
0017 allOf:
0018 - $ref: "nvmem.yaml#"
0019
0020 properties:
0021 compatible:
0022 items:
0023 - enum:
0024 - apple,t8103-efuses
0025 - apple,t6000-efuses
0026 - const: apple,efuses
0027
0028 reg:
0029 maxItems: 1
0030
0031 required:
0032 - compatible
0033 - reg
0034
0035 unevaluatedProperties: false
0036
0037 examples:
0038 - |
0039 efuse@3d2bc000 {
0040 compatible = "apple,t8103-efuses", "apple,efuses";
0041 reg = <0x3d2bc000 0x1000>;
0042 #address-cells = <1>;
0043 #size-cells = <1>;
0044
0045 ecid: efuse@500 {
0046 reg = <0x500 0x8>;
0047 };
0048 };
0049
0050 ...