1c9ccf3a3SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2c9ccf3a3SEmmanuel Vadot%YAML 1.2 3c9ccf3a3SEmmanuel Vadot--- 4c9ccf3a3SEmmanuel Vadot$id: http://devicetree.org/schemas/nvmem/fsl,layerscape-sfp.yaml# 5c9ccf3a3SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c9ccf3a3SEmmanuel Vadot 7c9ccf3a3SEmmanuel Vadottitle: Freescale Layerscape Security Fuse Processor 8c9ccf3a3SEmmanuel Vadot 9c9ccf3a3SEmmanuel Vadotmaintainers: 10c9ccf3a3SEmmanuel Vadot - Michael Walle <michael@walle.cc> 11c9ccf3a3SEmmanuel Vadot 12c9ccf3a3SEmmanuel Vadotdescription: | 13d5b0e70fSEmmanuel Vadot SFP is the security fuse processor which among other things provides a 14c9ccf3a3SEmmanuel Vadot unique identifier per part. 15c9ccf3a3SEmmanuel Vadot 16c9ccf3a3SEmmanuel VadotallOf: 17*fac71e4eSEmmanuel Vadot - $ref: nvmem.yaml# 18c9ccf3a3SEmmanuel Vadot 19c9ccf3a3SEmmanuel Vadotproperties: 20c9ccf3a3SEmmanuel Vadot compatible: 21d5b0e70fSEmmanuel Vadot oneOf: 22d5b0e70fSEmmanuel Vadot - description: Trust architecture 2.1 SFP 23d5b0e70fSEmmanuel Vadot items: 24d5b0e70fSEmmanuel Vadot - const: fsl,ls1021a-sfp 25d5b0e70fSEmmanuel Vadot - description: Trust architecture 3.0 SFP 26d5b0e70fSEmmanuel Vadot items: 27d5b0e70fSEmmanuel Vadot - const: fsl,ls1028a-sfp 28c9ccf3a3SEmmanuel Vadot 29c9ccf3a3SEmmanuel Vadot reg: 30c9ccf3a3SEmmanuel Vadot maxItems: 1 31c9ccf3a3SEmmanuel Vadot 32d5b0e70fSEmmanuel Vadot clocks: 33d5b0e70fSEmmanuel Vadot maxItems: 1 34d5b0e70fSEmmanuel Vadot description: 35d5b0e70fSEmmanuel Vadot The SFP clock. Typically, this is the platform clock divided by 4. 36d5b0e70fSEmmanuel Vadot 37d5b0e70fSEmmanuel Vadot clock-names: 38d5b0e70fSEmmanuel Vadot const: sfp 39d5b0e70fSEmmanuel Vadot 40d5b0e70fSEmmanuel Vadot ta-prog-sfp-supply: 41d5b0e70fSEmmanuel Vadot description: 42d5b0e70fSEmmanuel Vadot The regulator for the TA_PROG_SFP pin. It will be enabled for programming 43d5b0e70fSEmmanuel Vadot and disabled for reading. 44d5b0e70fSEmmanuel Vadot 45c9ccf3a3SEmmanuel Vadotrequired: 46c9ccf3a3SEmmanuel Vadot - compatible 47c9ccf3a3SEmmanuel Vadot - reg 48d5b0e70fSEmmanuel Vadot - clock-names 49d5b0e70fSEmmanuel Vadot - clocks 50c9ccf3a3SEmmanuel Vadot 51c9ccf3a3SEmmanuel VadotunevaluatedProperties: false 52c9ccf3a3SEmmanuel Vadot 53c9ccf3a3SEmmanuel Vadotexamples: 54c9ccf3a3SEmmanuel Vadot - | 55d5b0e70fSEmmanuel Vadot #include <dt-bindings/clock/fsl,qoriq-clockgen.h> 56c9ccf3a3SEmmanuel Vadot efuse@1e80000 { 57c9ccf3a3SEmmanuel Vadot compatible = "fsl,ls1028a-sfp"; 58c9ccf3a3SEmmanuel Vadot reg = <0x1e80000 0x8000>; 59d5b0e70fSEmmanuel Vadot clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL 60d5b0e70fSEmmanuel Vadot QORIQ_CLK_PLL_DIV(4)>; 61d5b0e70fSEmmanuel Vadot clock-names = "sfp"; 62c9ccf3a3SEmmanuel Vadot }; 63