From 8d32423f2c8845c684cdb2f10f0f622c322a536f Mon Sep 17 00:00:00 2001 From: Oleksandr Suvorov Date: Mon, 21 Sep 2020 19:30:55 +0300 Subject: arm64: dts: colibri-imx8x: support new VPU driver VPU encoder/decoder require extra settings in toradex_5.4-2.1.x-imx. Adding them makes these drives work well. Related-to: ELB-3030 Signed-off-by: Oleksandr Suvorov --- arch/arm64/boot/dts/freescale/imx8qxp-colibri.dtsi | 26 +++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'arch/arm64/boot/dts/freescale/imx8qxp-colibri.dtsi') diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp-colibri.dtsi index 1f00a6190206..70eb8f90a2ac 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qxp-colibri.dtsi @@ -1277,10 +1277,34 @@ }; &vpu_decoder { + boot-region = <&decoder_boot>; + rpc-region = <&decoder_rpc>; + reg-csr = <0x2d040000>; core_type = <1>; + status = "okay"; }; &vpu_encoder { - core_type = <1>; + boot-region = <&encoder_boot>; + rpc-region = <&encoder_rpc>; + reserved-region = <&encoder_reserved>; + reg-rpc-system = <0x40000000>; + resolution-max = <1920 1920>; + mbox-names = "enc1_tx0", "enc1_tx1", "enc1_rx"; + mboxes = <&mu1_m0 0 0 + &mu1_m0 0 1 + &mu1_m0 1 0>; + status = "okay"; + + core0@1020000 { + compatible = "fsl,imx8-mu1-vpu-m0"; + reg = <0x1020000 0x20000>; + reg-csr = <0x1050000 0x10000>; + interrupts = ; + fsl,vpu_ap_mu_id = <17>; + fw-buf-size = <0x200000>; + rpc-buf-size = <0x80000>; + print-buf-size = <0x80000>; + }; }; -- cgit v1.2.3