1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/brcm,bcm2835-dsi0.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Broadcom VC4 (VideoCore4) DSI Controller
8
9maintainers:
10  - Eric Anholt <eric@anholt.net>
11
12properties:
13  compatible:
14    enum:
15      - brcm,bcm2835-dsi0
16      - brcm,bcm2835-dsi1
17
18  reg:
19    maxItems: 1
20
21  clocks:
22    items:
23      - description: The DSI PLL clock feeding the DSI analog PHY
24      - description: The DSI ESC clock
25      - description: The DSI pixel clock
26
27  clock-output-names: true
28    # FIXME: The meta-schemas don't seem to allow it for now
29    # items:
30    #   - description: The DSI byte clock for the PHY
31    #   - description: The DSI DDR2 clock
32    #   - description: The DSI DDR clock
33
34  interrupts:
35    maxItems: 1
36
37required:
38  - compatible
39  - reg
40  - clocks
41  - clock-output-names
42  - interrupts
43
44unevaluatedProperties: false
45
46examples:
47  - |
48    #include <dt-bindings/clock/bcm2835.h>
49
50    dsi1: dsi@7e700000 {
51        compatible = "brcm,bcm2835-dsi1";
52        reg = <0x7e700000 0x8c>;
53        interrupts = <2 12>;
54        #address-cells = <1>;
55        #size-cells = <0>;
56        #clock-cells = <1>;
57
58        clocks = <&clocks BCM2835_PLLD_DSI1>,
59                 <&clocks BCM2835_CLOCK_DSI1E>,
60                 <&clocks BCM2835_CLOCK_DSI1P>;
61        clock-names = "phy", "escape", "pixel";
62
63        clock-output-names = "dsi1_byte", "dsi1_ddr2", "dsi1_ddr";
64
65        pitouchscreen: panel@0 {
66            compatible = "raspberrypi,touchscreen";
67            reg = <0>;
68
69            /* ... */
70        };
71    };
72
73...
74