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