1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/display/rockchip/rockchip-vop2.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Rockchip SoC display controller (VOP2)
10 VOP2 (Video Output Processor v2) is the display controller for the Rockchip
11 series of SoCs which transfers the image data from a video memory buffer to
12 an external LCD interface.
15 - Sandy Huang <hjc@rock-chips.com>
16 - Heiko Stuebner <heiko@sntech.de>
28 Must contain one entry corresponding to the base address and length
29 of the register space.
31 Can optionally contain a second entry corresponding to the CRTC gamma
42 The VOP interrupt is shared by several interrupt sources, such as
43 frame start (VSYNC), line flag and other status interrupts.
45 # See compatible-specific constraints below.
49 - description: Clock for ddr buffer transfer via axi.
50 - description: Clock for the ahb bus to R/W the regs.
51 - description: Pixel clock for video port 0.
52 - description: Pixel clock for video port 1.
53 - description: Pixel clock for video port 2.
54 - description: Pixel clock for video port 3.
55 - description: Peripheral(vop grf/dsi) clock.
69 $ref: /schemas/types.yaml#/definitions/phandle
71 Phandle to GRF regs used for control the polarity of dclk/hsync/vsync of DPI,
72 also used for query vop memory bisr enable status, etc.
75 $ref: /schemas/types.yaml#/definitions/phandle
77 Phandle to VO GRF regs used for control the polarity of dclk/hsync/vsync of hdmi
81 $ref: /schemas/types.yaml#/definitions/phandle
83 Phandle to VOP GRF regs used for control data path between vopr and hdmi/edp.
86 $ref: /schemas/types.yaml#/definitions/phandle
88 Phandle to PMU GRF used for query vop memory bisr status on rk3588.
91 $ref: /schemas/graph.yaml#/properties/ports
95 $ref: /schemas/graph.yaml#/properties/port
96 description: Output endpoint of VP0/1/2/3.
101 unevaluatedProperties: false
123 const: rockchip,rk3588-vop
146 rockchip,vo1-grf: false
147 rockchip,vop-grf: false
161 additionalProperties: false
165 #include <dt-bindings/clock/rk3568-cru.h>
166 #include <dt-bindings/interrupt-controller/arm-gic.h>
167 #include <dt-bindings/power/rk3568-power.h>
169 #address-cells = <2>;
172 compatible = "rockchip,rk3568-vop";
173 reg = <0x0 0xfe040000 0x0 0x3000>, <0x0 0xfe044000 0x0 0x1000>;
174 reg-names = "vop", "gamma-lut";
175 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
176 clocks = <&cru ACLK_VOP>,
181 clock-names = "aclk",
186 power-domains = <&power RK3568_PD_VO>;
189 #address-cells = <1>;
193 #address-cells = <1>;
198 #address-cells = <1>;
203 #address-cells = <1>;