Skip to content

Commit

Permalink
ARM: dts: rockchip: Add rv1126 VOP_LITE support
Browse files Browse the repository at this point in the history
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Heiko Stuebner <[email protected]>
  • Loading branch information
openedev authored and mmind committed Aug 12, 2023
1 parent 4fafaed commit 1bf0dcb
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions arch/arm/boot/dts/rockchip/rv1126.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@
clock-frequency = <24000000>;
};

display_subsystem {
compatible = "rockchip,display-subsystem";
ports = <&vop_out>;
};

xin24m: oscillator {
compatible = "fixed-clock";
clock-frequency = <24000000>;
Expand Down Expand Up @@ -371,6 +376,43 @@
clock-names = "pclk", "timer";
};

vop: vop@ffb00000 {
compatible = "rockchip,rv1126-vop";
reg = <0xffb00000 0x200>, <0xffb00a00 0x400>;
interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "aclk_vop", "dclk_vop", "hclk_vop";
clocks = <&cru ACLK_VOP>, <&cru DCLK_VOP>, <&cru HCLK_VOP>;
reset-names = "axi", "ahb", "dclk";
resets = <&cru SRST_VOP_A>, <&cru SRST_VOP_H>, <&cru SRST_VOP_D>;
iommus = <&vop_mmu>;
power-domains = <&power RV1126_PD_VO>;
status = "disabled";

vop_out: port {
#address-cells = <1>;
#size-cells = <0>;

vop_out_rgb: endpoint@0 {
reg = <0>;
};

vop_out_dsi: endpoint@1 {
reg = <1>;
};
};
};

vop_mmu: iommu@ffb00f00 {
compatible = "rockchip,iommu";
reg = <0xffb00f00 0x100>;
interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "aclk", "iface";
clocks = <&cru ACLK_VOP>, <&cru HCLK_VOP>;
#iommu-cells = <0>;
power-domains = <&power RV1126_PD_VO>;
status = "disabled";
};

gmac: ethernet@ffc40000 {
compatible = "rockchip,rv1126-gmac", "snps,dwmac-4.20a";
reg = <0xffc40000 0x4000>;
Expand Down

0 comments on commit 1bf0dcb

Please sign in to comment.