xref: /linux/Documentation/devicetree/bindings/display/fsl,ls1021a-dcu.yaml (revision 69f2970aad93758bea863432e49b564e0ba649ca)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/fsl,ls1021a-dcu.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Freescale DCU DRM Driver
8
9maintainers:
10  - Frank Li <Frank.Li@nxp.com>
11
12properties:
13  compatible:
14    enum:
15      - fsl,ls1021a-dcu
16      - fsl,vf610-dcu
17
18  reg:
19    maxItems: 1
20
21  interrupts:
22    maxItems: 1
23
24  clocks:
25    maxItems: 2
26
27  clock-names:
28    items:
29      - const: dcu
30      - const: pix
31
32  big-endian: true
33
34  port:
35    $ref: /schemas/graph.yaml#/$defs/port-base
36    unevaluatedProperties: false
37    description: Video port for the panel output
38
39    properties:
40      endpoint:
41        $ref: /schemas/media/video-interfaces.yaml#
42        unevaluatedProperties: false
43
44  fsl,tcon:
45    $ref: /schemas/types.yaml#/definitions/phandle
46    description: The phandle to the timing controller node.
47
48required:
49  - compatible
50  - reg
51  - clocks
52  - clock-names
53
54additionalProperties: false
55
56examples:
57  - |
58    display-controller@2ce0000 {
59        compatible = "fsl,ls1021a-dcu";
60        reg = <0x2ce0000 0x10000>;
61        clocks = <&platform_clk 0>, <&platform_clk 0>;
62        clock-names = "dcu", "pix";
63        big-endian;
64        fsl,tcon = <&tcon>;
65
66        port {
67            endpoint {
68                remote-endpoint = <&panel_out>;
69            };
70        };
71    };
72