[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230118072656.18845-18-marcel@ziswiler.com>
Date: Wed, 18 Jan 2023 08:26:55 +0100
From: Marcel Ziswiler <marcel@...wiler.com>
To: devicetree@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, linux-imx@....com,
linux-arm-kernel@...ts.infradead.org,
Marcel Ziswiler <marcel.ziswiler@...adex.com>,
Fabio Estevam <festevam@...il.com>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Rob Herring <robh+dt@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Shawn Guo <shawnguo@...nel.org>
Subject: [PATCH v4 17/17] arm64: dts: freescale: apalis-imx8: enable vpu
From: Marcel Ziswiler <marcel.ziswiler@...adex.com>
Enable Video Processing Unit (VPU) decoder and encoder functionality.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@...adex.com>
---
Changes in v4:
- New patch enabling VPU functionality.
.../boot/dts/freescale/imx8-apalis-v1.1.dtsi | 24 ++++++++++++++++++-
1 file changed, 23 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi b/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi
index 6217e0a48f96..37c5fa20f0a4 100644
--- a/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi
@@ -781,7 +781,29 @@ &usdhc3 {
pinctrl-2 = <&pinctrl_usdhc3_200mhz>, <&pinctrl_sd1_cd>;
};
-/* TODO: Video Processing Unit (driver upstream but device tree part missing) */
+/* Video Processing Unit */
+&vpu {
+ compatible = "nxp,imx8qm-vpu";
+ status = "okay";
+};
+
+&vpu_core0 {
+ memory-region = <&decoder_boot>, <&decoder_rpc>;
+ reg = <0x2d080000 0x10000>;
+ status = "okay";
+};
+
+&vpu_core1 {
+ memory-region = <&encoder1_boot>, <&encoder1_rpc>;
+ reg = <0x2d090000 0x10000>;
+ status = "okay";
+};
+
+&vpu_core2 {
+ memory-region = <&encoder2_boot>, <&encoder2_rpc>;
+ reg = <0x2d0a0000 0x10000>;
+ status = "okay";
+};
&iomuxc {
pinctrl-names = "default";
--
2.35.1
Powered by blists - more mailing lists