[PATCH 2/7] arm64: dts: ti: k3-am69-sk: Enable Wave5 Video Encoder/Decoder
Brandon Brnich
b-brnich at ti.com
Mon Nov 27 14:37:13 PST 2023
Update status for both Wave5 VPUs on AM69.
Wave521cl needs to use CMA as there is no IO MMU on AM69. Each
1080p channel requires roughly 98-100 MB. Allocate 1792 MB to meet 16
channel capability for AM69.
Signed-off-by: Brandon Brnich <b-brnich at ti.com>
---
arch/arm64/boot/dts/ti/k3-am69-sk.dts | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm64/boot/dts/ti/k3-am69-sk.dts b/arch/arm64/boot/dts/ti/k3-am69-sk.dts
index 9868c7049bfb..68ebdfe0ffc3 100644
--- a/arch/arm64/boot/dts/ti/k3-am69-sk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am69-sk.dts
@@ -43,6 +43,14 @@ reserved_memory: reserved-memory {
#size-cells = <2>;
ranges;
+ /* global cma region */
+ linux,cma {
+ compatible = "shared-dma-pool";
+ reusable;
+ size = <0x00 0x70000000>;
+ linux,cma-default;
+ };
+
secure_ddr: optee at 9e800000 {
reg = <0x00 0x9e800000 0x00 0x01800000>;
no-map;
@@ -706,6 +714,14 @@ &main_gpio0 {
pinctrl-0 = <&rpi_header_gpio0_pins_default>;
};
+&vpu0 {
+ status = "okay";
+};
+
+&vpu1 {
+ status = "okay";
+};
+
&mcu_cpsw {
status = "okay";
pinctrl-names = "default";
--
2.34.1
More information about the linux-arm-kernel
mailing list