Apple SoC eFuse-based NVMEM

Schema identifier ($id): "http://devicetree.org/schemas/nvmem/apple,efuses.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

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 (maintainers): "Sven Peter <sven@svenpeter.dev>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): nvmem.yaml#

Rule 2 #

Shared schema rule ($ref): nvmem-deprecated-cells.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "apple,t8103-efuses", "apple,t6000-efuses"

Item 2

Exact value (const): "apple,efuses"

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

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

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

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Edit this page