From 8257470c85b27c058c41e9045615e836fd3fca1b Mon Sep 17 00:00:00 2001 From: Shunzhou Jiang Date: Tue, 22 Oct 2019 15:08:54 +0800 Subject: [PATCH] dts: sm1: add dts parameters [1/1] PD#SWPL-15621 Problem: add new feature Solution: add devnode and support duplex Verify: test pass on sm1 skt Change-Id: I379800eda0090055a8af8e401f6413708e1a2466 Signed-off-by: Shunzhou Jiang --- arch/arm/boot/dts/amlogic/mesonsm1.dtsi | 9 ++++++++- arch/arm64/boot/dts/amlogic/mesonsm1.dtsi | 12 +++++++++--- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/amlogic/mesonsm1.dtsi b/arch/arm/boot/dts/amlogic/mesonsm1.dtsi index f53b74a4d391..761ba89f15c5 100644 --- a/arch/arm/boot/dts/amlogic/mesonsm1.dtsi +++ b/arch/arm/boot/dts/amlogic/mesonsm1.dtsi @@ -239,10 +239,17 @@ reg = <0xff63c400 0x4c>, /* MHU registers */ <0xfffe7000 0x800>; /* Payload area */ interrupts = <0 209 1>, /* low priority interrupt */ - <0 210 1>; /* high priority interrupt */ + <0 210 1>, /* bl4 receive interrupt */ + <0 213 1>; /* bl4 send interrupt */ + #mbox-cells = <1>; mbox-names = "cpu_to_scp_low", "cpu_to_scp_high"; mboxes = <&mailbox 0 &mailbox 1>; + num-chans-to-scp = <1>; /*number of chans to send m3*/ + send-isr-bits = <5>; /*BIT(idx) of isr listen when ap send*/ + ack-isr-bits = <4>; /*BIT(idx) of ack isr*/ + m4-isr-bits = <6>; /*BIT(idx) of m4 isr*/ + mbox-chans = <3>; /*chan number*/ }; cpu_iomap { diff --git a/arch/arm64/boot/dts/amlogic/mesonsm1.dtsi b/arch/arm64/boot/dts/amlogic/mesonsm1.dtsi index 035b16c4c6a1..fede482da7af 100644 --- a/arch/arm64/boot/dts/amlogic/mesonsm1.dtsi +++ b/arch/arm64/boot/dts/amlogic/mesonsm1.dtsi @@ -239,10 +239,16 @@ reg = <0x0 0xff63c400 0x0 0x4c>, /* MHU registers */ <0x0 0xfffe7000 0x0 0x800>; /* Payload area */ interrupts = <0 209 1>, /* low priority interrupt */ - <0 210 1>; /* high priority interrupt */ + <0 210 1>, /* bl4 receive interrupt */ + <0 213 1>; /* bl4 send interrupt */ #mbox-cells = <1>; - mbox-names = "cpu_to_scp_low", "cpu_to_scp_high"; - mboxes = <&mailbox 0 &mailbox 1>; + mbox-names = "cpu_to_scp_low", "bl4_to_cpu", "cpu_to_bl4"; + mboxes = <&mailbox 0 &mailbox 1 &mailbox 2>; + num-chans-to-scp = <1>; /*number of chans to send m3*/ + send-isr-bits = <5>; /*BIT(idx) of isr listen when ap send*/ + ack-isr-bits = <4>; /*BIT(idx) of ack isr*/ + m4-isr-bits = <6>; /*BIT(idx) of m4 isr*/ + mbox-chans = <3>; /*chan number*/ }; cpu_iomap { -- 2.20.1