xref: /linux/Documentation/devicetree/bindings/display/brcm,bcm2835-dpi.yaml (revision d0034a7a4ac7fae708146ac0059b9c47a1543f0d)
109453600SMaxime Ripard# SPDX-License-Identifier: GPL-2.0
209453600SMaxime Ripard%YAML 1.2
309453600SMaxime Ripard---
409453600SMaxime Ripard$id: http://devicetree.org/schemas/display/brcm,bcm2835-dpi.yaml#
509453600SMaxime Ripard$schema: http://devicetree.org/meta-schemas/core.yaml#
609453600SMaxime Ripard
709453600SMaxime Ripardtitle: Broadcom VC4 (VideoCore4) DPI Controller
809453600SMaxime Ripard
909453600SMaxime Ripardmaintainers:
1009453600SMaxime Ripard  - Eric Anholt <eric@anholt.net>
1109453600SMaxime Ripard
1209453600SMaxime Ripardproperties:
1309453600SMaxime Ripard  compatible:
1409453600SMaxime Ripard    const: brcm,bcm2835-dpi
1509453600SMaxime Ripard
1609453600SMaxime Ripard  reg:
1709453600SMaxime Ripard    maxItems: 1
1809453600SMaxime Ripard
1909453600SMaxime Ripard  clocks:
2009453600SMaxime Ripard    items:
2109453600SMaxime Ripard      - description: The core clock the unit runs on
2209453600SMaxime Ripard      - description: The pixel clock that feeds the pixelvalve
2309453600SMaxime Ripard
24143ea9a3SMaxime Ripard  clock-names:
25143ea9a3SMaxime Ripard    items:
26143ea9a3SMaxime Ripard      - const: core
27143ea9a3SMaxime Ripard      - const: pixel
28143ea9a3SMaxime Ripard
2909453600SMaxime Ripard  port:
30*b6755423SRob Herring    $ref: /schemas/graph.yaml#/properties/port
31*b6755423SRob Herring    description:
32*b6755423SRob Herring      Port node with a single endpoint connecting to the panel.
3309453600SMaxime Ripard
3409453600SMaxime Ripardrequired:
3509453600SMaxime Ripard  - compatible
3609453600SMaxime Ripard  - reg
3709453600SMaxime Ripard  - clocks
38143ea9a3SMaxime Ripard  - clock-names
3909453600SMaxime Ripard  - port
4009453600SMaxime Ripard
4109453600SMaxime RipardadditionalProperties: false
4209453600SMaxime Ripard
4309453600SMaxime Ripardexamples:
4409453600SMaxime Ripard  - |
4509453600SMaxime Ripard    #include <dt-bindings/clock/bcm2835.h>
4609453600SMaxime Ripard
4709453600SMaxime Ripard    dpi: dpi@7e208000 {
4809453600SMaxime Ripard        compatible = "brcm,bcm2835-dpi";
4909453600SMaxime Ripard        reg = <0x7e208000 0x8c>;
5009453600SMaxime Ripard        clocks = <&clocks BCM2835_CLOCK_VPU>,
5109453600SMaxime Ripard                 <&clocks BCM2835_CLOCK_DPI>;
5209453600SMaxime Ripard        clock-names = "core", "pixel";
5309453600SMaxime Ripard
5409453600SMaxime Ripard        port {
5509453600SMaxime Ripard            dpi_out: endpoint {
5609453600SMaxime Ripard                remote-endpoint = <&panel_in>;
5709453600SMaxime Ripard            };
5809453600SMaxime Ripard        };
5909453600SMaxime Ripard    };
6009453600SMaxime Ripard
6109453600SMaxime Ripard...
62