Skip to content

Commit 1bf0dcb

Browse files
openedevmmind
authored andcommitted
ARM: dts: rockchip: Add rv1126 VOP_LITE support
RV1126 VOP_LITE supports the video output processing ofMIPI DSI, RGB display interfaces with max output resolution of 1920x1080. Add support for vop in rv1126. Signed-off-by: Jagan Teki <jagan@edgeble.ai> Link: https://lore.kernel.org/r/20230731110012.2913742-11-jagan@edgeble.ai Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent 4fafaed commit 1bf0dcb

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

arch/arm/boot/dts/rockchip/rv1126.dtsi

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,11 @@
8383
clock-frequency = <24000000>;
8484
};
8585

86+
display_subsystem {
87+
compatible = "rockchip,display-subsystem";
88+
ports = <&vop_out>;
89+
};
90+
8691
xin24m: oscillator {
8792
compatible = "fixed-clock";
8893
clock-frequency = <24000000>;
@@ -371,6 +376,43 @@
371376
clock-names = "pclk", "timer";
372377
};
373378

379+
vop: vop@ffb00000 {
380+
compatible = "rockchip,rv1126-vop";
381+
reg = <0xffb00000 0x200>, <0xffb00a00 0x400>;
382+
interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
383+
clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
384+
clocks = <&cru ACLK_VOP>, <&cru DCLK_VOP>, <&cru HCLK_VOP>;
385+
reset-names = "axi", "ahb", "dclk";
386+
resets = <&cru SRST_VOP_A>, <&cru SRST_VOP_H>, <&cru SRST_VOP_D>;
387+
iommus = <&vop_mmu>;
388+
power-domains = <&power RV1126_PD_VO>;
389+
status = "disabled";
390+
391+
vop_out: port {
392+
#address-cells = <1>;
393+
#size-cells = <0>;
394+
395+
vop_out_rgb: endpoint@0 {
396+
reg = <0>;
397+
};
398+
399+
vop_out_dsi: endpoint@1 {
400+
reg = <1>;
401+
};
402+
};
403+
};
404+
405+
vop_mmu: iommu@ffb00f00 {
406+
compatible = "rockchip,iommu";
407+
reg = <0xffb00f00 0x100>;
408+
interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
409+
clock-names = "aclk", "iface";
410+
clocks = <&cru ACLK_VOP>, <&cru HCLK_VOP>;
411+
#iommu-cells = <0>;
412+
power-domains = <&power RV1126_PD_VO>;
413+
status = "disabled";
414+
};
415+
374416
gmac: ethernet@ffc40000 {
375417
compatible = "rockchip,rv1126-gmac", "snps,dwmac-4.20a";
376418
reg = <0xffc40000 0x4000>;

0 commit comments

Comments
 (0)