Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/nvmem/fsl,layerscape-sfp.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Freescale Layerscape Security Fuse Processor
0008 
0009 maintainers:
0010   - Michael Walle <michael@walle.cc>
0011 
0012 description: |
0013   SFP is the security fuse processor which among other things provides a
0014   unique identifier per part.
0015 
0016 allOf:
0017   - $ref: "nvmem.yaml#"
0018 
0019 properties:
0020   compatible:
0021     oneOf:
0022       - description: Trust architecture 2.1 SFP
0023         items:
0024           - const: fsl,ls1021a-sfp
0025       - description: Trust architecture 3.0 SFP
0026         items:
0027           - const: fsl,ls1028a-sfp
0028 
0029   reg:
0030     maxItems: 1
0031 
0032   clocks:
0033     maxItems: 1
0034     description:
0035       The SFP clock. Typically, this is the platform clock divided by 4.
0036 
0037   clock-names:
0038     const: sfp
0039 
0040   ta-prog-sfp-supply:
0041     description:
0042       The regulator for the TA_PROG_SFP pin. It will be enabled for programming
0043       and disabled for reading.
0044 
0045 required:
0046   - compatible
0047   - reg
0048   - clock-names
0049   - clocks
0050 
0051 unevaluatedProperties: false
0052 
0053 examples:
0054   - |
0055     #include <dt-bindings/clock/fsl,qoriq-clockgen.h>
0056     efuse@1e80000 {
0057         compatible = "fsl,ls1028a-sfp";
0058         reg = <0x1e80000 0x8000>;
0059         clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
0060                             QORIQ_CLK_PLL_DIV(4)>;
0061         clock-names = "sfp";
0062     };