* Remove an aged patch from use #3443 Allwinner-Add-frame-inversion-to-correct-audio-chann.patch * Rename and prepare for the series 5.15 * Split and rename files for sun50i-h616-dtsi * Split and rename files for sunxi overlays * Remove mutually exclusive patches * Add fifty redesigned patches to the series Signed-off-by: The-going <48602507+The-going@users.noreply.github.com> * Remove fifty-four old patches * Fix compile error * Delete unused ones and sort if possible for megous series * sunxi-5.15: Sort, fix compile warning, remove unused * Rework print log for patching
83 lines
2.3 KiB
Diff
83 lines
2.3 KiB
Diff
From 28d4dd203f20ab95bafee46c0380aa4860d3a508 Mon Sep 17 00:00:00 2001
|
|
From: Samuel Holland <samuel@sholland.org>
|
|
Date: Wed, 1 Jan 2020 16:12:36 -0600
|
|
Subject: [PATCH 253/467] ARM: dts: sunxi: h3/h5: Add SCPI protocol
|
|
|
|
Signed-off-by: Samuel Holland <samuel@sholland.org>
|
|
---
|
|
arch/arm/boot/dts/sun8i-h3.dtsi | 13 +++++++++++++
|
|
arch/arm/boot/dts/sunxi-h3-h5.dtsi | 7 +++++++
|
|
arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi | 13 +++++++++++++
|
|
3 files changed, 33 insertions(+)
|
|
|
|
diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi
|
|
index 4e49ea4e9..cd5149a77 100644
|
|
--- a/arch/arm/boot/dts/sun8i-h3.dtsi
|
|
+++ b/arch/arm/boot/dts/sun8i-h3.dtsi
|
|
@@ -212,6 +212,19 @@ syscon: system-control@1c00000 {
|
|
#size-cells = <1>;
|
|
ranges;
|
|
|
|
+ sram_a2: sram@40000 {
|
|
+ compatible = "mmio-sram";
|
|
+ reg = <0x00040000 0xc000>;
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <1>;
|
|
+ ranges = <0 0x00040000 0xc000>;
|
|
+
|
|
+ scpi_sram: scp-shmem@bc00 {
|
|
+ compatible = "arm,scp-shmem";
|
|
+ reg = <0xbc00 0x200>;
|
|
+ };
|
|
+ };
|
|
+
|
|
sram_c: sram@1d00000 {
|
|
compatible = "mmio-sram";
|
|
reg = <0x01d00000 0x80000>;
|
|
diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi b/arch/arm/boot/dts/sunxi-h3-h5.dtsi
|
|
index 40e0efc36..411c400cd 100644
|
|
--- a/arch/arm/boot/dts/sunxi-h3-h5.dtsi
|
|
+++ b/arch/arm/boot/dts/sunxi-h3-h5.dtsi
|
|
@@ -119,6 +119,13 @@ cpu {
|
|
};
|
|
};
|
|
|
|
+ scpi_protocol: scpi {
|
|
+ compatible = "arm,scpi";
|
|
+ mboxes = <&msgbox 2>, <&msgbox 3>;
|
|
+ mbox-names = "tx", "rx";
|
|
+ shmem = <&scpi_sram>;
|
|
+ };
|
|
+
|
|
soc {
|
|
compatible = "simple-bus";
|
|
#address-cells = <1>;
|
|
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi
|
|
index 9988e87ea..849d478aa 100644
|
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi
|
|
@@ -86,6 +86,19 @@ syscon: system-control@1c00000 {
|
|
#size-cells = <1>;
|
|
ranges;
|
|
|
|
+ sram_a2: sram@40000 {
|
|
+ compatible = "mmio-sram";
|
|
+ reg = <0x00040000 0x14000>;
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <1>;
|
|
+ ranges = <0 0x00040000 0x14000>;
|
|
+
|
|
+ scpi_sram: scp-shmem@13c00 {
|
|
+ compatible = "arm,scp-shmem";
|
|
+ reg = <0x13c00 0x200>;
|
|
+ };
|
|
+ };
|
|
+
|
|
sram_c1: sram@18000 {
|
|
compatible = "mmio-sram";
|
|
reg = <0x00018000 0x1c000>;
|
|
--
|
|
2.34.1
|
|
|
|
|