56 lines
1.6 KiB
Diff
56 lines
1.6 KiB
Diff
From 45ab614d69593ab4cbcbca83ccefd16102749e49 Mon Sep 17 00:00:00 2001
|
|
From: Jernej Skrabec <jernej.skrabec@gmail.com>
|
|
Date: Fri, 15 Oct 2021 21:14:55 +0200
|
|
Subject: [PATCH 079/153] arm64:dts:allwinner: sun50i-h616 Add VPU node
|
|
|
|
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
|
|
---
|
|
.../arm64/boot/dts/allwinner/sun50i-h616.dtsi | 24 +++++++++++++++++++
|
|
1 file changed, 24 insertions(+)
|
|
|
|
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi
|
|
index 26ef79c5d..944ff2747 100644
|
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi
|
|
@@ -122,6 +122,17 @@ gpu: gpu@1800000 {
|
|
status = "disabled";
|
|
};
|
|
|
|
+ video-codec@1c0e000 {
|
|
+ compatible = "allwinner,sun50i-h616-video-engine";
|
|
+ reg = <0x01c0e000 0x2000>;
|
|
+ clocks = <&ccu CLK_BUS_VE>, <&ccu CLK_VE>,
|
|
+ <&ccu CLK_MBUS_VE>;
|
|
+ clock-names = "ahb", "mod", "ram";
|
|
+ resets = <&ccu RST_BUS_VE>;
|
|
+ interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ allwinner,sram = <&ve_sram 1>;
|
|
+ };
|
|
+
|
|
syscon: syscon@3000000 {
|
|
compatible = "allwinner,sun50i-h616-system-control";
|
|
reg = <0x03000000 0x1000>;
|
|
@@ -136,6 +147,19 @@ sram_c: sram@28000 {
|
|
#size-cells = <1>;
|
|
ranges = <0 0x00028000 0x30000>;
|
|
};
|
|
+
|
|
+ sram_c1: sram@1a00000 {
|
|
+ compatible = "mmio-sram";
|
|
+ reg = <0x01a00000 0x200000>;
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <1>;
|
|
+ ranges = <0 0x01a00000 0x200000>;
|
|
+
|
|
+ ve_sram: sram-section@0 {
|
|
+ compatible = "allwinner,sun50i-h616-sram-c1";
|
|
+ reg = <0x000000 0x200000>;
|
|
+ };
|
|
+ };
|
|
};
|
|
|
|
ccu: clock@3001000 {
|
|
--
|
|
2.35.3
|
|
|