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-dsi0.yaml#
509453600SMaxime Ripard$schema: http://devicetree.org/meta-schemas/core.yaml#
609453600SMaxime Ripard
709453600SMaxime Ripardtitle: Broadcom VC4 (VideoCore4) DSI Controller
809453600SMaxime Ripard
909453600SMaxime Ripardmaintainers:
1009453600SMaxime Ripard  - Eric Anholt <eric@anholt.net>
1109453600SMaxime Ripard
1209453600SMaxime Ripardproperties:
1309453600SMaxime Ripard  compatible:
1409453600SMaxime Ripard    enum:
1509453600SMaxime Ripard      - brcm,bcm2835-dsi0
1609453600SMaxime Ripard      - brcm,bcm2835-dsi1
1709453600SMaxime Ripard
1809453600SMaxime Ripard  reg:
1909453600SMaxime Ripard    maxItems: 1
2009453600SMaxime Ripard
2109453600SMaxime Ripard  clocks:
2209453600SMaxime Ripard    items:
2309453600SMaxime Ripard      - description: The DSI PLL clock feeding the DSI analog PHY
2409453600SMaxime Ripard      - description: The DSI ESC clock
2509453600SMaxime Ripard      - description: The DSI pixel clock
2609453600SMaxime Ripard
2709453600SMaxime Ripard  clock-output-names: true
2809453600SMaxime Ripard    # FIXME: The meta-schemas don't seem to allow it for now
2909453600SMaxime Ripard    # items:
3009453600SMaxime Ripard    #   - description: The DSI byte clock for the PHY
3109453600SMaxime Ripard    #   - description: The DSI DDR2 clock
3209453600SMaxime Ripard    #   - description: The DSI DDR clock
3309453600SMaxime Ripard
3409453600SMaxime Ripard  interrupts:
3509453600SMaxime Ripard    maxItems: 1
3609453600SMaxime Ripard
3709453600SMaxime Ripardrequired:
3809453600SMaxime Ripard  - compatible
3909453600SMaxime Ripard  - reg
4009453600SMaxime Ripard  - clocks
4109453600SMaxime Ripard  - clock-output-names
4209453600SMaxime Ripard  - interrupts
4309453600SMaxime Ripard
4409453600SMaxime RipardunevaluatedProperties: false
4509453600SMaxime Ripard
4609453600SMaxime Ripardexamples:
4709453600SMaxime Ripard  - |
4809453600SMaxime Ripard    #include <dt-bindings/clock/bcm2835.h>
4909453600SMaxime Ripard
5009453600SMaxime Ripard    dsi1: dsi@7e700000 {
5109453600SMaxime Ripard        compatible = "brcm,bcm2835-dsi1";
5209453600SMaxime Ripard        reg = <0x7e700000 0x8c>;
5309453600SMaxime Ripard        interrupts = <2 12>;
5409453600SMaxime Ripard        #address-cells = <1>;
5509453600SMaxime Ripard        #size-cells = <0>;
5609453600SMaxime Ripard        #clock-cells = <1>;
5709453600SMaxime Ripard
5809453600SMaxime Ripard        clocks = <&clocks BCM2835_PLLD_DSI1>,
5909453600SMaxime Ripard                 <&clocks BCM2835_CLOCK_DSI1E>,
6009453600SMaxime Ripard                 <&clocks BCM2835_CLOCK_DSI1P>;
6109453600SMaxime Ripard        clock-names = "phy", "escape", "pixel";
6209453600SMaxime Ripard
6309453600SMaxime Ripard        clock-output-names = "dsi1_byte", "dsi1_ddr2", "dsi1_ddr";
6409453600SMaxime Ripard
6509453600SMaxime Ripard        pitouchscreen: panel@0 {
6609453600SMaxime Ripard            compatible = "raspberrypi,touchscreen";
6709453600SMaxime Ripard            reg = <0>;
6809453600SMaxime Ripard
6909453600SMaxime Ripard            /* ... */
7009453600SMaxime Ripard        };
7109453600SMaxime Ripard    };
7209453600SMaxime Ripard
7309453600SMaxime Ripard...
74