57 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/nvmem/fsl,scu-ocotp.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: i.MX SCU Client Device Node - OCOTP Based on SCU Message Protocol8 9maintainers:10 - Dong Aisheng <aisheng.dong@nxp.com>11 12description: i.MX SCU Client Device Node13 Client nodes are maintained as children of the relevant IMX-SCU device node.14 15allOf:16 - $ref: nvmem.yaml#17 18properties:19 compatible:20 enum:21 - fsl,imx8qm-scu-ocotp22 - fsl,imx8qxp-scu-ocotp23 24patternProperties:25 '^mac@[0-9a-f]*$':26 type: object27 description:28 MAC address.29 30 properties:31 reg:32 description:33 Byte offset within OCOTP where the MAC address is stored34 maxItems: 135 36 required:37 - reg38 39 additionalProperties: false40 41required:42 - compatible43 44unevaluatedProperties: false45 46examples:47 - |48 ocotp {49 compatible = "fsl,imx8qxp-scu-ocotp";50 #address-cells = <1>;51 #size-cells = <1>;52 53 fec_mac0: mac@2c4 {54 reg = <0x2c4 6>;55 };56 };57