xref: /freebsd/sys/contrib/device-tree/Bindings/soc/imx/imx8m-soc.yaml (revision c1d255d3ffdbe447de3ab875bf4e7d7accc5bfc5)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/soc/imx/imx8m-soc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: NXP i.MX8M Series SoC
8
9maintainers:
10  - Alice Guo <alice.guo@nxp.com>
11
12description: |
13  NXP i.MX8M series SoCs contain fuse entries from which SoC Unique ID can be
14  obtained.
15
16select:
17  properties:
18    compatible:
19      contains:
20        enum:
21          - fsl,imx8mm
22          - fsl,imx8mn
23          - fsl,imx8mp
24          - fsl,imx8mq
25  required:
26    - compatible
27
28patternProperties:
29  "^soc@[0-9a-f]+$":
30    type: object
31    properties:
32      compatible:
33        items:
34          - enum:
35              - fsl,imx8mm-soc
36              - fsl,imx8mn-soc
37              - fsl,imx8mp-soc
38              - fsl,imx8mq-soc
39          - const: simple-bus
40
41      "#address-cells":
42        const: 1
43
44      "#size-cells":
45        const: 1
46
47      ranges: true
48
49      dma-ranges: true
50
51      nvmem-cells:
52        maxItems: 1
53        description: Phandle to the SOC Unique ID provided by a nvmem node
54
55      nvmem-cell-names:
56        const: soc_unique_id
57
58    required:
59      - compatible
60      - nvmem-cells
61      - nvmem-cell-names
62
63    additionalProperties:
64      type: object
65
66additionalProperties: true
67
68examples:
69  - |
70    / {
71        model = "FSL i.MX8MM EVK board";
72        compatible = "fsl,imx8mm-evk", "fsl,imx8mm";
73        #address-cells = <2>;
74        #size-cells = <2>;
75
76        soc@0 {
77            compatible = "fsl,imx8mm-soc", "simple-bus";
78            #address-cells = <1>;
79            #size-cells = <1>;
80            ranges = <0x0 0x0 0x0 0x3e000000>;
81            nvmem-cells = <&imx8mm_uid>;
82            nvmem-cell-names = "soc_unique_id";
83        };
84    };
85
86...
87