summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorHugues Fruchet <hugues.fruchet@foss.st.com>2024-01-10 13:46:42 +0300
committerAlexandre Torgue <alexandre.torgue@foss.st.com>2024-02-29 12:28:54 +0300
commita7b9ab6c880d4ce2c216f14482a6d3e24fc0c87a (patch)
tree1583ece1d543b2525ac8b55f9e66a2d7b01ce8e5 /arch
parentff7759269c609ecf20b5370625561d3b939adcef (diff)
downloadlinux-a7b9ab6c880d4ce2c216f14482a6d3e24fc0c87a.tar.xz
arm64: dts: st: add video encoder support to stm32mp255
Add VENC hardware video encoder support to STM32MP255. Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm64/boot/dts/st/stm32mp251.dtsi6
-rw-r--r--arch/arm64/boot/dts/st/stm32mp255.dtsi7
2 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st/stm32mp251.dtsi
index 8fc7e9199499..5dd4f3580a60 100644
--- a/arch/arm64/boot/dts/st/stm32mp251.dtsi
+++ b/arch/arm64/boot/dts/st/stm32mp251.dtsi
@@ -58,6 +58,12 @@
compatible = "fixed-clock";
clock-frequency = <200000000>;
};
+
+ ck_icn_p_venc: ck-icn-p-venc {
+ #clock-cells = <0>;
+ compatible = "fixed-clock";
+ clock-frequency = <200000000>;
+ };
};
firmware {
diff --git a/arch/arm64/boot/dts/st/stm32mp255.dtsi b/arch/arm64/boot/dts/st/stm32mp255.dtsi
index aea5096dac3c..17f197c5b22b 100644
--- a/arch/arm64/boot/dts/st/stm32mp255.dtsi
+++ b/arch/arm64/boot/dts/st/stm32mp255.dtsi
@@ -14,6 +14,13 @@
interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&ck_icn_p_vdec>;
};
+
+ venc: venc@480e0000 {
+ compatible = "st,stm32mp25-venc";
+ reg = <0x480e0000 0x800>;
+ interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&ck_icn_ls_mcu>;
+ };
};
};
};