1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/brcm,bcm2835-dpi.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Broadcom VC4 (VideoCore4) DPI Controller
8
9maintainers:
10  - Eric Anholt <eric@anholt.net>
11
12properties:
13  compatible:
14    const: brcm,bcm2835-dpi
15
16  reg:
17    maxItems: 1
18
19  clocks:
20    items:
21      - description: The core clock the unit runs on
22      - description: The pixel clock that feeds the pixelvalve
23
24  clock-names:
25    items:
26      - const: core
27      - const: pixel
28
29  port:
30    type: object
31    description: >
32      Port node with a single endpoint connecting to the panel, as
33      defined in Documentation/devicetree/bindings/media/video-interfaces.txt.
34
35required:
36  - compatible
37  - reg
38  - clocks
39  - clock-names
40  - port
41
42additionalProperties: false
43
44examples:
45  - |
46    #include <dt-bindings/clock/bcm2835.h>
47
48    panel: panel {
49        compatible = "ontat,yx700wv03", "simple-panel";
50
51        port {
52            panel_in: endpoint {
53                remote-endpoint = <&dpi_out>;
54            };
55        };
56    };
57
58    dpi: dpi@7e208000 {
59        compatible = "brcm,bcm2835-dpi";
60        reg = <0x7e208000 0x8c>;
61        clocks = <&clocks BCM2835_CLOCK_VPU>,
62                 <&clocks BCM2835_CLOCK_DPI>;
63        clock-names = "core", "pixel";
64
65        port {
66            dpi_out: endpoint {
67                remote-endpoint = <&panel_in>;
68            };
69        };
70    };
71
72...
73