arm64: dts: qcom: sm8550: add TRNG node
[linux-modified.git] / Documentation / devicetree / bindings / nvmem / fsl,scu-ocotp.yaml
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/nvmem/fsl,scu-ocotp.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: i.MX SCU Client Device Node - OCOTP Based on SCU Message Protocol
8
9 maintainers:
10   - Dong Aisheng <aisheng.dong@nxp.com>
11
12 description: i.MX SCU Client Device Node
13   Client nodes are maintained as children of the relevant IMX-SCU device node.
14
15 allOf:
16   - $ref: nvmem.yaml#
17
18 properties:
19   compatible:
20     enum:
21       - fsl,imx8qm-scu-ocotp
22       - fsl,imx8qxp-scu-ocotp
23
24 patternProperties:
25   '^mac@[0-9a-f]*$':
26     type: object
27     description:
28       MAC address.
29
30     properties:
31       reg:
32         description:
33           Byte offset within OCOTP where the MAC address is stored
34         maxItems: 1
35
36     required:
37       - reg
38
39     additionalProperties: false
40
41 required:
42   - compatible
43
44 unevaluatedProperties: false
45
46 examples:
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     };