xref: /linux/Documentation/devicetree/bindings/nvmem/fsl,layerscape-sfp.yaml (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
16f9817cdSMichael Walle# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
26f9817cdSMichael Walle%YAML 1.2
36f9817cdSMichael Walle---
46f9817cdSMichael Walle$id: http://devicetree.org/schemas/nvmem/fsl,layerscape-sfp.yaml#
56f9817cdSMichael Walle$schema: http://devicetree.org/meta-schemas/core.yaml#
66f9817cdSMichael Walle
76f9817cdSMichael Walletitle: Freescale Layerscape Security Fuse Processor
86f9817cdSMichael Walle
96f9817cdSMichael Wallemaintainers:
106f9817cdSMichael Walle  - Michael Walle <michael@walle.cc>
116f9817cdSMichael Walle
126f9817cdSMichael Walledescription: |
13c75945acSSean Anderson  SFP is the security fuse processor which among other things provides a
146f9817cdSMichael Walle  unique identifier per part.
156f9817cdSMichael Walle
166f9817cdSMichael WalleallOf:
17d14d9f0eSRob Herring  - $ref: nvmem.yaml#
18*43027957SFrank Li  - $ref: nvmem-deprecated-cells.yaml
196f9817cdSMichael Walle
206f9817cdSMichael Walleproperties:
216f9817cdSMichael Walle  compatible:
2260ed1f7cSSean Anderson    oneOf:
2360ed1f7cSSean Anderson      - description: Trust architecture 2.1 SFP
2460ed1f7cSSean Anderson        items:
2560ed1f7cSSean Anderson          - const: fsl,ls1021a-sfp
2660ed1f7cSSean Anderson      - description: Trust architecture 3.0 SFP
2760ed1f7cSSean Anderson        items:
2860ed1f7cSSean Anderson          - const: fsl,ls1028a-sfp
296f9817cdSMichael Walle
306f9817cdSMichael Walle  reg:
316f9817cdSMichael Walle    maxItems: 1
326f9817cdSMichael Walle
338cb0cd68SSean Anderson  clocks:
348cb0cd68SSean Anderson    maxItems: 1
358cb0cd68SSean Anderson    description:
368cb0cd68SSean Anderson      The SFP clock. Typically, this is the platform clock divided by 4.
378cb0cd68SSean Anderson
388cb0cd68SSean Anderson  clock-names:
398cb0cd68SSean Anderson    const: sfp
408cb0cd68SSean Anderson
4154eb278aSSean Anderson  ta-prog-sfp-supply:
4254eb278aSSean Anderson    description:
4354eb278aSSean Anderson      The regulator for the TA_PROG_SFP pin. It will be enabled for programming
4454eb278aSSean Anderson      and disabled for reading.
4554eb278aSSean Anderson
466f9817cdSMichael Wallerequired:
476f9817cdSMichael Walle  - compatible
486f9817cdSMichael Walle  - reg
498cb0cd68SSean Anderson  - clock-names
508cb0cd68SSean Anderson  - clocks
516f9817cdSMichael Walle
526f9817cdSMichael WalleunevaluatedProperties: false
536f9817cdSMichael Walle
546f9817cdSMichael Walleexamples:
556f9817cdSMichael Walle  - |
568cb0cd68SSean Anderson    #include <dt-bindings/clock/fsl,qoriq-clockgen.h>
576f9817cdSMichael Walle    efuse@1e80000 {
586f9817cdSMichael Walle        compatible = "fsl,ls1028a-sfp";
596f9817cdSMichael Walle        reg = <0x1e80000 0x8000>;
608cb0cd68SSean Anderson        clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
618cb0cd68SSean Anderson                            QORIQ_CLK_PLL_DIV(4)>;
628cb0cd68SSean Anderson        clock-names = "sfp";
636f9817cdSMichael Walle    };
64