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