arm64: dts: rockchip: Add AV1 decoder node to rk3588s
authorBenjamin Gaignard <benjamin.gaignard@collabora.com>
Fri, 6 Oct 2023 06:53:34 +0000 (08:53 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 16 Oct 2023 19:48:07 +0000 (21:48 +0200)
Add node for AV1 video decoder.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20231006065334.8117-1-benjamin.gaignard@collabora.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3588s.dtsi

index 1a820a5a51eb0ae532734a16fefd013062a40ed1..61a9a11c3bb0e46640d258f10973937ed83feb0e 100644 (file)
                        #interrupt-cells = <2>;
                };
        };
+
+       av1d: video-codec@fdc70000 {
+               compatible = "rockchip,rk3588-av1-vpu";
+               reg = <0x0 0xfdc70000 0x0 0x800>;
+               interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH 0>;
+               interrupt-names = "vdpu";
+               assigned-clocks = <&cru ACLK_AV1>, <&cru PCLK_AV1>;
+               assigned-clock-rates = <400000000>, <400000000>;
+               clocks = <&cru ACLK_AV1>, <&cru PCLK_AV1>;
+               clock-names = "aclk", "hclk";
+               power-domains = <&power RK3588_PD_AV1>;
+               resets = <&cru SRST_A_AV1>, <&cru SRST_P_AV1>, <&cru SRST_A_AV1_BIU>, <&cru SRST_P_AV1_BIU>;
+       };
 };
 
 #include "rk3588s-pinctrl.dtsi"