52 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/nvmem/microchip,sama7g5-otpc.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Microchip SAMA7G5 OTP Controller (OTPC)8 9maintainers:10 - Claudiu Beznea <claudiu.beznea@microchip.com>11 12description: |13 OTP controller drives a NVMEM memory where system specific data14 (e.g. calibration data for analog cells, hardware configuration15 settings, chip identifiers) or user specific data could be stored.16 17allOf:18 - $ref: nvmem.yaml#19 - $ref: nvmem-deprecated-cells.yaml#20 21properties:22 compatible:23 items:24 - const: microchip,sama7g5-otpc25 - const: syscon26 27 reg:28 maxItems: 129 30required:31 - compatible32 - reg33 34unevaluatedProperties: false35 36examples:37 - |38 #include <dt-bindings/nvmem/microchip,sama7g5-otpc.h>39 40 otpc: efuse@e8c00000 {41 compatible = "microchip,sama7g5-otpc", "syscon";42 reg = <0xe8c00000 0xec>;43 #address-cells = <1>;44 #size-cells = <1>;45 46 temperature_calib: calib@1 {47 reg = <OTP_PKT(1) 76>;48 };49 };50 51...52