xref: /freebsd/sys/contrib/device-tree/Bindings/display/brcm,bcm2835-dpi.yaml (revision bdd1243df58e60e85101c09001d9812a789b6bc4)
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    $ref: /schemas/graph.yaml#/properties/port
31    description:
32      Port node with a single endpoint connecting to the panel.
33
34required:
35  - compatible
36  - reg
37  - clocks
38  - clock-names
39  - port
40
41additionalProperties: false
42
43examples:
44  - |
45    #include <dt-bindings/clock/bcm2835.h>
46
47    dpi: dpi@7e208000 {
48        compatible = "brcm,bcm2835-dpi";
49        reg = <0x7e208000 0x8c>;
50        clocks = <&clocks BCM2835_CLOCK_VPU>,
51                 <&clocks BCM2835_CLOCK_DPI>;
52        clock-names = "core", "pixel";
53
54        port {
55            dpi_out: endpoint {
56                remote-endpoint = <&panel_in>;
57            };
58        };
59    };
60
61...
62