Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/nvmem/mxs-ocotp.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: On-Chip OTP Memory for Freescale i.MX23/i.MX28 |
| 8 | |
| 9 | maintainers: |
| 10 | - Anson Huang <Anson.Huang@nxp.com> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: nvmem.yaml# |
| 14 | - $ref: nvmem-deprecated-cells.yaml# |
| 15 | |
| 16 | properties: |
| 17 | compatible: |
| 18 | items: |
| 19 | - enum: |
| 20 | - fsl,imx23-ocotp |
| 21 | - fsl,imx28-ocotp |
| 22 | - const: fsl,ocotp |
| 23 | |
| 24 | reg: |
| 25 | maxItems: 1 |
| 26 | |
| 27 | clocks: |
| 28 | maxItems: 1 |
| 29 | |
| 30 | required: |
| 31 | - compatible |
| 32 | - reg |
| 33 | - clocks |
| 34 | |
| 35 | unevaluatedProperties: false |
| 36 | |
| 37 | examples: |
| 38 | - | |
| 39 | ocotp: efuse@8002c000 { |
| 40 | compatible = "fsl,imx28-ocotp", "fsl,ocotp"; |
| 41 | #address-cells = <1>; |
| 42 | #size-cells = <1>; |
| 43 | reg = <0x8002c000 0x2000>; |
| 44 | clocks = <&clks 25>; |
| 45 | }; |
| 46 | |
| 47 | ... |