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