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.1 KiB
YAML
52 lines
1.1 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/nvmem/microchip,sama7g5-otpc.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Microchip SAMA7G5 OTP Controller (OTPC)
|
|
|
|
maintainers:
|
|
- Claudiu Beznea <claudiu.beznea@microchip.com>
|
|
|
|
description: |
|
|
OTP controller drives a NVMEM memory where system specific data
|
|
(e.g. calibration data for analog cells, hardware configuration
|
|
settings, chip identifiers) or user specific data could be stored.
|
|
|
|
allOf:
|
|
- $ref: nvmem.yaml#
|
|
- $ref: nvmem-deprecated-cells.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
items:
|
|
- const: microchip,sama7g5-otpc
|
|
- const: syscon
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/nvmem/microchip,sama7g5-otpc.h>
|
|
|
|
otpc: efuse@e8c00000 {
|
|
compatible = "microchip,sama7g5-otpc", "syscon";
|
|
reg = <0xe8c00000 0xec>;
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
temperature_calib: calib@1 {
|
|
reg = <OTP_PKT(1) 76>;
|
|
};
|
|
};
|
|
|
|
...
|