xref: /freebsd/sys/contrib/device-tree/Bindings/display/brcm,bcm2835-dpi.yaml (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
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    dpi: dpi@7e208000 {
49        compatible = "brcm,bcm2835-dpi";
50        reg = <0x7e208000 0x8c>;
51        clocks = <&clocks BCM2835_CLOCK_VPU>,
52                 <&clocks BCM2835_CLOCK_DPI>;
53        clock-names = "core", "pixel";
54
55        port {
56            dpi_out: endpoint {
57                remote-endpoint = <&panel_in>;
58            };
59        };
60    };
61
62...
63