[PATCH 4/7] arm64: dts: ti: k3-am68-sk: Enable Wave5 Video Encoder/Decoder
Brandon Brnich
b-brnich at ti.com
Mon Nov 27 14:37:15 PST 2023
Update status for Wave5 VPU on AM68.
Wave521cl needs to use CMA as there is no IO MMU on AM68. Each
1080p channel requires roughly 98-100 MB. Allocate 896 MB to meet 8
channel capability for AM68.
Signed-off-by: Brandon Brnich <b-brnich at ti.com>
---
arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts | 4 ++++
arch/arm64/boot/dts/ti/k3-am68-sk-som.dtsi | 8 ++++++++
2 files changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts b/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts
index 1e1a82f9d2b8..a83430589f16 100644
--- a/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts
+++ b/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts
@@ -387,6 +387,10 @@ &main_gpio0 {
pinctrl-0 = <&rpi_header_gpio0_pins_default>;
};
+&vpu {
+ status = "okay";
+};
+
&wkup_gpio0 {
status = "okay";
pinctrl-names = "default";
diff --git a/arch/arm64/boot/dts/ti/k3-am68-sk-som.dtsi b/arch/arm64/boot/dts/ti/k3-am68-sk-som.dtsi
index 20861a0a46b0..de1dc0cfe708 100644
--- a/arch/arm64/boot/dts/ti/k3-am68-sk-som.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am68-sk-som.dtsi
@@ -21,6 +21,14 @@ reserved_memory: reserved-memory {
#size-cells = <2>;
ranges;
+ /* global cma region */
+ linux,cma {
+ compatible = "shared-dma-pool";
+ reusable;
+ size = <0x00 0x38000000>;
+ linux,cma-default;
+ };
+
secure_ddr: optee at 9e800000 {
reg = <0x00 0x9e800000 0x00 0x01800000>;
no-map;
--
2.34.1
More information about the linux-arm-kernel
mailing list