c5330723d5
Support for old NVMEM fixed cells was deprecated in favour of "fixed-layout". It's still part of the nvmem.yaml though and may be unknowingly used by new bindings added without much of analyze. To make it more difficult to accidentally support old syntax move its binding to separated file with "deprecated" in its name. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Acked-by: Neil Armstrong <neil.armstrong@linaro.org> Reviewed-by: Rob Herring <robh@kernel.org> Acked-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20231020105545.216052-4-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
52 lines
1.0 KiB
YAML
52 lines
1.0 KiB
YAML
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/nvmem/apple,efuses.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Apple SoC eFuse-based NVMEM
|
|
|
|
description: |
|
|
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:
|
|
- Sven Peter <sven@svenpeter.dev>
|
|
|
|
allOf:
|
|
- $ref: nvmem.yaml#
|
|
- $ref: nvmem-deprecated-cells.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
items:
|
|
- enum:
|
|
- apple,t8103-efuses
|
|
- apple,t6000-efuses
|
|
- const: apple,efuses
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
efuse@3d2bc000 {
|
|
compatible = "apple,t8103-efuses", "apple,efuses";
|
|
reg = <0x3d2bc000 0x1000>;
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
ecid: efuse@500 {
|
|
reg = <0x500 0x8>;
|
|
};
|
|
};
|
|
|
|
...
|