xref: /linux/Documentation/devicetree/bindings/display/imx/fsl,imx6q-ipu.yaml (revision e7e86d7697c6ed1dbbde18d7185c35b6967945ed)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/imx/fsl,imx6q-ipu.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Freescale i.MX IPUv3
8
9maintainers:
10  - Frank Li <Frank.Li@nxp.com>
11
12properties:
13  compatible:
14    oneOf:
15      - enum:
16          - fsl,imx51-ipu
17          - fsl,imx53-ipu
18          - fsl,imx6q-ipu
19      - items:
20          - const: fsl,imx6qp-ipu
21          - const: fsl,imx6q-ipu
22
23  reg:
24    maxItems: 1
25
26  interrupts:
27    minItems: 1
28    maxItems: 2
29
30  clocks:
31    maxItems: 3
32
33  clock-names:
34    items:
35      - const: bus
36      - const: di0
37      - const: di1
38
39  resets:
40    maxItems: 1
41
42  '#address-cells':
43    const: 1
44
45  '#size-cells':
46    const: 0
47
48  fsl,prg:
49    $ref: /schemas/types.yaml#/definitions/phandle
50    description: phandle to prg node associated with this IPU instance
51
52  port@0:
53    $ref: /schemas/graph.yaml#/$defs/port-base
54    unevaluatedProperties: false
55    description: CSI0
56
57  port@1:
58    $ref: /schemas/graph.yaml#/$defs/port-base
59    unevaluatedProperties: false
60    description: CSI1
61
62  port@2:
63    $ref: /schemas/graph.yaml#/$defs/port-base
64    unevaluatedProperties: false
65    description: DI0
66
67  port@3:
68    $ref: /schemas/graph.yaml#/$defs/port-base
69    unevaluatedProperties: false
70    description: DI1
71
72required:
73  - compatible
74  - reg
75  - interrupts
76  - resets
77
78additionalProperties: false
79
80examples:
81  - |
82    display-controller@18000000 {
83        compatible = "fsl,imx53-ipu";
84        reg = <0x18000000 0x080000000>;
85        #address-cells = <1>;
86        #size-cells = <0>;
87        interrupts = <11 10>;
88        resets = <&src 2>;
89
90        port@2 {
91            reg = <2>;
92
93            endpoint {
94                remote-endpoint = <&display_in>;
95            };
96        };
97    };
98