Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/nvmem/microchip,sama7g5-otpc.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Microchip SAMA7G5 OTP Controller (OTPC)
0008 
0009 maintainers:
0010   - Claudiu Beznea <claudiu.beznea@microchip.com>
0011 
0012 description: |
0013   OTP controller drives a NVMEM memory where system specific data
0014   (e.g. calibration data for analog cells, hardware configuration
0015   settings, chip identifiers) or user specific data could be stored.
0016 
0017 allOf:
0018   - $ref: "nvmem.yaml#"
0019 
0020 properties:
0021   compatible:
0022     items:
0023       - const: microchip,sama7g5-otpc
0024       - const: syscon
0025 
0026   reg:
0027     maxItems: 1
0028 
0029 required:
0030   - compatible
0031   - reg
0032 
0033 unevaluatedProperties: false
0034 
0035 examples:
0036   - |
0037     #include <dt-bindings/nvmem/microchip,sama7g5-otpc.h>
0038 
0039     otpc: efuse@e8c00000 {
0040         compatible = "microchip,sama7g5-otpc", "syscon";
0041         reg = <0xe8c00000 0xec>;
0042         #address-cells = <1>;
0043         #size-cells = <1>;
0044 
0045         temperature_calib: calib@1 {
0046             reg = <OTP_PKT(1) 76>;
0047         };
0048     };
0049 
0050 ...