diff mbox series

arm64: dts: marvell: armada-37xx: add mailbox node

Message ID 20190812163003.23016-1-marek.behun@nic.cz (mailing list archive)
State Mainlined
Commit 535462c244f954eb96b95dc186db7360f7e6a471
Headers show
Series arm64: dts: marvell: armada-37xx: add mailbox node | expand

Commit Message

Marek Behún Aug. 12, 2019, 4:30 p.m. UTC
This adds the rWTM BIU mailbox node for communication with the secure
processor. The driver already exists in
drivers/mailbox/armada-37xx-rwtm-mailbox.c.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Cc: Gregory Clement <gregory.clement@bootlin.com>
Cc: Miquel Raynal <miquel.raynal@bootlin.com>
---
 arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Gregory CLEMENT Aug. 27, 2019, 1:58 p.m. UTC | #1
Hi Marek,

> This adds the rWTM BIU mailbox node for communication with the secure
> processor. The driver already exists in
> drivers/mailbox/armada-37xx-rwtm-mailbox.c.
>
> Signed-off-by: Marek Behún <marek.behun@nic.cz>
> Cc: Gregory Clement <gregory.clement@bootlin.com>
> Cc: Miquel Raynal <miquel.raynal@bootlin.com>


Applied on mvebu/dt64

Thanks,

Gregory


> ---
>  arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
> index f43c43168b00..7f69e3dfcb13 100644
> --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
> +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
> @@ -419,6 +419,13 @@
>  				clocks = <&nb_periph_clk 15>;
>  			};
>  
> +			rwtm: mailbox@b0000 {
> +				compatible = "marvell,armada-3700-rwtm-mailbox";
> +				reg = <0xb0000 0x100>;
> +				interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
> +				#mbox-cells = <1>;
> +			};
> +
>  			sdhci1: sdhci@d0000 {
>  				compatible = "marvell,armada-3700-sdhci",
>  					     "marvell,sdhci-xenon";
> -- 
> 2.21.0
>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
index f43c43168b00..7f69e3dfcb13 100644
--- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
+++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
@@ -419,6 +419,13 @@ 
 				clocks = <&nb_periph_clk 15>;
 			};
 
+			rwtm: mailbox@b0000 {
+				compatible = "marvell,armada-3700-rwtm-mailbox";
+				reg = <0xb0000 0x100>;
+				interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
+				#mbox-cells = <1>;
+			};
+
 			sdhci1: sdhci@d0000 {
 				compatible = "marvell,armada-3700-sdhci",
 					     "marvell,sdhci-xenon";