[PATCH v2 08/10] ARM: dts: sama5d4: enable Hantro G1 VDEC

Emil Velikov emil.l.velikov at gmail.com
Thu Mar 11 15:40:53 GMT 2021


From: Emil Velikov <emil.velikov at collabora.com>

Add the SAMA5D4 VDEC module which comprises Hantro G1 video decoder
core.

Cc: Rob Herring <robh+dt at kernel.org
Cc: Frank Rowand <frowand.list at gmail.com
Cc: devicetree at vger.kernel.org
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
v2
 - Split out of larger patch (Eze)
 - s/Atmel/Microchip/ (Nicolas)
 - Drop leading 0 in node name/address
---
 arch/arm/boot/dts/sama5d4.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm/boot/dts/sama5d4.dtsi b/arch/arm/boot/dts/sama5d4.dtsi
index 05c55875835d..88284f60feb1 100644
--- a/arch/arm/boot/dts/sama5d4.dtsi
+++ b/arch/arm/boot/dts/sama5d4.dtsi
@@ -101,6 +101,15 @@ nfc_sram: sram at 100000 {
 			ranges = <0 0x100000 0x2400>;
 		};
 
+		vdec0: vdec at 300000 {
+			compatible = "microchip,sama5d4-vdec";
+			reg = <0x00300000 0x100000>;
+			interrupts = <19 IRQ_TYPE_LEVEL_HIGH 4>;
+			interrupt-names = "vdec";
+			clocks = <&pmc PMC_TYPE_PERIPHERAL 19>;
+			clock-names = "vdec_clk";
+		};
+
 		usb0: gadget at 400000 {
 			compatible = "atmel,sama5d3-udc";
 			reg = <0x00400000 0x100000
-- 
2.30.1




More information about the Linux-rockchip mailing list