Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/nvmem/fsl,scu-ocotp.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: i.MX SCU Client Device Node - OCOTP bindings based on SCU Message Protocol
0008 
0009 maintainers:
0010   - Dong Aisheng <aisheng.dong@nxp.com>
0011 
0012 description: i.MX SCU Client Device Node
0013   Client nodes are maintained as children of the relevant IMX-SCU device node.
0014 
0015 allOf:
0016   - $ref: nvmem.yaml#
0017 
0018 properties:
0019   compatible:
0020     enum:
0021       - fsl,imx8qm-scu-ocotp
0022       - fsl,imx8qxp-scu-ocotp
0023 
0024 patternProperties:
0025   '^mac@[0-9a-f]*$':
0026     type: object
0027     description:
0028       MAC address.
0029 
0030     properties:
0031       reg:
0032         description:
0033           Byte offset within OCOTP where the MAC address is stored
0034         maxItems: 1
0035 
0036     required:
0037       - reg
0038 
0039     additionalProperties: false
0040 
0041 required:
0042   - compatible
0043 
0044 unevaluatedProperties: false
0045 
0046 examples:
0047   - |
0048     ocotp {
0049         compatible = "fsl,imx8qxp-scu-ocotp";
0050         #address-cells = <1>;
0051         #size-cells = <1>;
0052 
0053         fec_mac0: mac@2c4 {
0054             reg = <0x2c4 6>;
0055         };
0056     };