xref: /freebsd/sys/contrib/device-tree/Bindings/display/brcm,bcm2835-dpi.yaml (revision 5def4c47d4bd90b209b9b4a4ba9faec15846d8fd)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/display/brcm,bcm2835-dpi.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
7c66ec88fSEmmanuel Vadottitle: Broadcom VC4 (VideoCore4) DPI Controller
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - Eric Anholt <eric@anholt.net>
11c66ec88fSEmmanuel Vadot
12c66ec88fSEmmanuel Vadotproperties:
13c66ec88fSEmmanuel Vadot  compatible:
14c66ec88fSEmmanuel Vadot    const: brcm,bcm2835-dpi
15c66ec88fSEmmanuel Vadot
16c66ec88fSEmmanuel Vadot  reg:
17c66ec88fSEmmanuel Vadot    maxItems: 1
18c66ec88fSEmmanuel Vadot
19c66ec88fSEmmanuel Vadot  clocks:
20c66ec88fSEmmanuel Vadot    items:
21c66ec88fSEmmanuel Vadot      - description: The core clock the unit runs on
22c66ec88fSEmmanuel Vadot      - description: The pixel clock that feeds the pixelvalve
23c66ec88fSEmmanuel Vadot
24c66ec88fSEmmanuel Vadot  clock-names:
25c66ec88fSEmmanuel Vadot    items:
26c66ec88fSEmmanuel Vadot      - const: core
27c66ec88fSEmmanuel Vadot      - const: pixel
28c66ec88fSEmmanuel Vadot
29c66ec88fSEmmanuel Vadot  port:
30*5def4c47SEmmanuel Vadot    $ref: /schemas/graph.yaml#/properties/port
31*5def4c47SEmmanuel Vadot    description:
32*5def4c47SEmmanuel Vadot      Port node with a single endpoint connecting to the panel.
33c66ec88fSEmmanuel Vadot
34c66ec88fSEmmanuel Vadotrequired:
35c66ec88fSEmmanuel Vadot  - compatible
36c66ec88fSEmmanuel Vadot  - reg
37c66ec88fSEmmanuel Vadot  - clocks
38c66ec88fSEmmanuel Vadot  - clock-names
39c66ec88fSEmmanuel Vadot  - port
40c66ec88fSEmmanuel Vadot
41c66ec88fSEmmanuel VadotadditionalProperties: false
42c66ec88fSEmmanuel Vadot
43c66ec88fSEmmanuel Vadotexamples:
44c66ec88fSEmmanuel Vadot  - |
45c66ec88fSEmmanuel Vadot    #include <dt-bindings/clock/bcm2835.h>
46c66ec88fSEmmanuel Vadot
47c66ec88fSEmmanuel Vadot    dpi: dpi@7e208000 {
48c66ec88fSEmmanuel Vadot        compatible = "brcm,bcm2835-dpi";
49c66ec88fSEmmanuel Vadot        reg = <0x7e208000 0x8c>;
50c66ec88fSEmmanuel Vadot        clocks = <&clocks BCM2835_CLOCK_VPU>,
51c66ec88fSEmmanuel Vadot                 <&clocks BCM2835_CLOCK_DPI>;
52c66ec88fSEmmanuel Vadot        clock-names = "core", "pixel";
53c66ec88fSEmmanuel Vadot
54c66ec88fSEmmanuel Vadot        port {
55c66ec88fSEmmanuel Vadot            dpi_out: endpoint {
56c66ec88fSEmmanuel Vadot                remote-endpoint = <&panel_in>;
57c66ec88fSEmmanuel Vadot            };
58c66ec88fSEmmanuel Vadot        };
59c66ec88fSEmmanuel Vadot    };
60c66ec88fSEmmanuel Vadot
61c66ec88fSEmmanuel Vadot...
62