0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/nvmem/mxs-ocotp.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: On-Chip OTP Memory for Freescale i.MX23/i.MX28
0008
0009 maintainers:
0010 - Anson Huang <Anson.Huang@nxp.com>
0011
0012 allOf:
0013 - $ref: "nvmem.yaml#"
0014
0015 properties:
0016 compatible:
0017 enum:
0018 - fsl,imx23-ocotp
0019 - fsl,imx28-ocotp
0020
0021 "#address-cells":
0022 const: 1
0023
0024 "#size-cells":
0025 const: 1
0026
0027 reg:
0028 maxItems: 1
0029
0030 clocks:
0031 maxItems: 1
0032
0033 required:
0034 - compatible
0035 - reg
0036 - clocks
0037
0038 additionalProperties: false
0039
0040 examples:
0041 - |
0042 ocotp: efuse@8002c000 {
0043 compatible = "fsl,imx28-ocotp";
0044 #address-cells = <1>;
0045 #size-cells = <1>;
0046 reg = <0x8002c000 0x2000>;
0047 clocks = <&clks 25>;
0048 };
0049
0050 ...