Add a secure mailbox channel to support secure video path on
vdosys0 and vdosys1.

Signed-off-by: Jason-JH.Lin <jason-jh....@mediatek.com>
---
 arch/arm64/boot/dts/mediatek/mt8195.dtsi | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi 
b/arch/arm64/boot/dts/mediatek/mt8195.dtsi
index e0ac2e9f5b72..416d575be123 100644
--- a/arch/arm64/boot/dts/mediatek/mt8195.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8195.dtsi
@@ -2621,7 +2621,8 @@
                vdosys0: syscon@1c01a000 {
                        compatible = "mediatek,mt8195-vdosys0", 
"mediatek,mt8195-mmsys", "syscon";
                        reg = <0 0x1c01a000 0 0x1000>;
-                       mboxes = <&gce0 0 CMDQ_THR_PRIO_4>;
+                       mboxes = <&gce0 0 CMDQ_THR_PRIO_4>,
+                                <&gce0 8 CMDQ_THR_PRIO_4>; /* secure mbox */
                        #clock-cells = <1>;
                };
 
@@ -2806,7 +2807,8 @@
                vdosys1: syscon@1c100000 {
                        compatible = "mediatek,mt8195-vdosys1", "syscon";
                        reg = <0 0x1c100000 0 0x1000>;
-                       mboxes = <&gce0 1 CMDQ_THR_PRIO_4>;
+                       mboxes = <&gce0 1 CMDQ_THR_PRIO_4>,
+                                <&gce0 9 CMDQ_THR_PRIO_4>; /* secure mbox */;
                        mediatek,gce-client-reg = <&gce0 SUBSYS_1c10XXXX 0x0000 
0x1000>;
                        #clock-cells = <1>;
                        #reset-cells = <1>;
-- 
2.18.0

Reply via email to