ARM: dts: NSP: Correct FA2 mailbox node
authorMatthew Hagan <mnhagan88@gmail.com>
Sun, 14 Jun 2020 22:19:00 +0000 (15:19 -0700)
committerSasha Levin <sashal@kernel.org>
Tue, 30 Jun 2020 19:36:56 +0000 (15:36 -0400)
[ Upstream commit ac4e106d8934a5894811fc263f4b03fc8ed0fb7a ]

The FA2 mailbox is specified at 0x18025000 but should actually be
0x18025c00, length 0x400 according to socregs_nsp.h and board_bu.c. Also
the interrupt was off by one and should be GIC SPI 151 instead of 150.

Fixes: 17d517172300 ("ARM: dts: NSP: Add mailbox (PDC) to NSP")
Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/bcm-nsp.dtsi

index da6d70f..418e6b9 100644 (file)
                        status = "disabled";
                };
 
-               mailbox: mailbox@25000 {
+               mailbox: mailbox@25c00 {
                        compatible = "brcm,iproc-fa2-mbox";
-                       reg = <0x25000 0x445>;
-                       interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
+                       reg = <0x25c00 0x400>;
+                       interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>;
                        #mbox-cells = <1>;
                        brcm,rx-status-len = <32>;
                        brcm,use-bcm-hdr;