]> www.infradead.org Git - linux.git/commitdiff
arm64: dts: rockchip: Add RGA2 support to rk3588
authorJianfeng Liu <liujianfeng1994@gmail.com>
Sat, 31 Aug 2024 18:24:24 +0000 (02:24 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 4 Sep 2024 18:33:30 +0000 (20:33 +0200)
RK3588 also features a RGA2 block. Add the necessary device tree
node.

Signed-off-by: Jianfeng Liu <liujianfeng1994@gmail.com>
Tested-by: Tim Surber <me@timsurber.de>
Link: https://lore.kernel.org/r/20240831182424.758816-2-liujianfeng1994@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3588-base.dtsi

index 14b8d869125588c9a0d98aace3331790ab6c3c51..30a9baa5f9fe200661314c9bebeeffbc34c2f151 100644 (file)
                #iommu-cells = <0>;
        };
 
+       rga: rga@fdb80000 {
+               compatible = "rockchip,rk3588-rga", "rockchip,rk3288-rga";
+               reg = <0x0 0xfdb80000 0x0 0x180>;
+               interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH 0>;
+               clocks = <&cru ACLK_RGA2>, <&cru HCLK_RGA2>, <&cru CLK_RGA2_CORE>;
+               clock-names = "aclk", "hclk", "sclk";
+               resets = <&cru SRST_RGA2_CORE>, <&cru SRST_A_RGA2>, <&cru SRST_H_RGA2>;
+               reset-names = "core", "axi", "ahb";
+               power-domains = <&power RK3588_PD_VDPU>;
+       };
+
        vepu121_0: video-codec@fdba0000 {
                compatible = "rockchip,rk3588-vepu121";
                reg = <0x0 0xfdba0000 0x0 0x800>;