arm64: dts: mt8195: Add gce node
authorJason-JH.Lin <jason-jh.lin@mediatek.com>
Thu, 11 Aug 2022 02:58:12 +0000 (10:58 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Thu, 25 Aug 2022 14:48:43 +0000 (16:48 +0200)
Add gce node and gce alias to mt8195 device tree.

Signed-off-by: Jason-JH.Lin <jason-jh.lin@mediatek.com>
Signed-off-by: Tinghan Shen <tinghan.shen@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220811025813.21492-20-tinghan.shen@mediatek.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt8195.dtsi

index f1f52af3823a40110e5e183b80d9fd1e7ffaa903..5ad7c42001785541561f97a74f5ae3efa8415759 100644 (file)
@@ -6,6 +6,7 @@
 
 /dts-v1/;
 #include <dt-bindings/clock/mt8195-clk.h>
+#include <dt-bindings/gce/mt8195-gce.h>
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/memory/mt8195-memory-port.h>
        #address-cells = <2>;
        #size-cells = <2>;
 
+       aliases {
+               gce0 = &gce0;
+               gce1 = &gce1;
+       };
+
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
                        #iommu-cells = <1>;
                };
 
+               gce0: mailbox@10320000 {
+                       compatible = "mediatek,mt8195-gce";
+                       reg = <0 0x10320000 0 0x4000>;
+                       interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH 0>;
+                       #mbox-cells = <2>;
+                       clocks = <&infracfg_ao CLK_INFRA_AO_GCE>;
+               };
+
+               gce1: mailbox@10330000 {
+                       compatible = "mediatek,mt8195-gce";
+                       reg = <0 0x10330000 0 0x4000>;
+                       interrupts = <GIC_SPI 228 IRQ_TYPE_LEVEL_HIGH 0>;
+                       #mbox-cells = <2>;
+                       clocks = <&infracfg_ao CLK_INFRA_AO_GCE2>;
+               };
+
                scp: scp@10500000 {
                        compatible = "mediatek,mt8195-scp";
                        reg = <0 0x10500000 0 0x100000>,