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