arm64: dts: st: add video decoder support to stm32mp255
authorHugues Fruchet <hugues.fruchet@foss.st.com>
Wed, 10 Jan 2024 10:46:41 +0000 (11:46 +0100)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Thu, 29 Feb 2024 09:28:54 +0000 (10:28 +0100)
Add VDEC hardware video decoder support to STM32MP255.

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm64/boot/dts/st/stm32mp251.dtsi
arch/arm64/boot/dts/st/stm32mp255.dtsi

index 96859d098ef8f6aa088a2a63787771fd04807b11..8fc7e9199499d8177ce29c2c1f4f847061f5cfb9 100644 (file)
                        compatible = "fixed-clock";
                        clock-frequency = <200000000>;
                };
+
+               ck_icn_p_vdec: ck-icn-p-vdec {
+                       #clock-cells = <0>;
+                       compatible = "fixed-clock";
+                       clock-frequency = <200000000>;
+               };
        };
 
        firmware {
index e6fa596211f5c0aa5f5b8e338fd354e5ae0ee213..aea5096dac3cead95b3f1411200c7b6925fb722e 100644 (file)
@@ -6,4 +6,14 @@
 #include "stm32mp253.dtsi"
 
 / {
+       soc@0 {
+               rifsc: rifsc-bus@42080000 {
+                       vdec: vdec@480d0000 {
+                               compatible = "st,stm32mp25-vdec";
+                               reg = <0x480d0000 0x3c8>;
+                               interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&ck_icn_p_vdec>;
+                       };
+               };
+       };
 };