[PATCH v1 15/16] arm64: dts: mt8195: Add gce node

2022-07-04 Thread Tinghan Shen via iommu
From: "Jason-JH.Lin" 

Add gce node and gce alias to mt8195 device tree.

Signed-off-by: Jason-JH.Lin 
Signed-off-by: Tinghan Shen 
---
 arch/arm64/boot/dts/mediatek/mt8195.dtsi | 22 ++
 1 file changed, 22 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi 
b/arch/arm64/boot/dts/mediatek/mt8195.dtsi
index cb2b79dc08d1..724c6ca837b6 100644
--- a/arch/arm64/boot/dts/mediatek/mt8195.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8195.dtsi
@@ -6,6 +6,7 @@
 
 /dts-v1/;
 #include 
+#include 
 #include 
 #include 
 #include 
@@ -19,6 +20,11 @@
#address-cells = <2>;
#size-cells = <2>;
 
+   aliases {
+   gce0 = 
+   gce1 = 
+   };
+
cpus {
#address-cells = <1>;
#size-cells = <0>;
@@ -739,6 +745,22 @@
#iommu-cells = <1>;
};
 
+   gce0: mailbox@1032 {
+   compatible = "mediatek,mt8195-gce";
+   reg = <0 0x1032 0 0x4000>;
+   interrupts = ;
+   #mbox-cells = <2>;
+   clocks = <_ao CLK_INFRA_AO_GCE>;
+   };
+
+   gce1: mailbox@1033 {
+   compatible = "mediatek,mt8195-gce";
+   reg = <0 0x1033 0 0x4000>;
+   interrupts = ;
+   #mbox-cells = <2>;
+   clocks = <_ao CLK_INFRA_AO_GCE2>;
+   };
+
scp: scp@1050 {
compatible = "mediatek,mt8195-scp";
reg = <0 0x1050 0 0x10>,
-- 
2.18.0

___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu


Re: [PATCH v1 15/16] arm64: dts: mt8195: Add gce node

2022-07-04 Thread AngeloGioacchino Del Regno

Il 04/07/22 12:00, Tinghan Shen ha scritto:

From: "Jason-JH.Lin" 

Add gce node and gce alias to mt8195 device tree.

Signed-off-by: Jason-JH.Lin 
Signed-off-by: Tinghan Shen 


Reviewed-by: AngeloGioacchino Del Regno 


___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu