riscv: dts: microchip: fix the mpfs' mailbox regs
authorConor Dooley <conor.dooley@microchip.com>
Tue, 7 Mar 2023 21:10:54 +0000 (21:10 +0000)
committerConor Dooley <conor.dooley@microchip.com>
Wed, 15 Mar 2023 14:43:48 +0000 (14:43 +0000)
The mailbox on PolarFire SoC should really have three reg properties,
not two. Without splitting into three sections, the system controller's
QSPI cannot be accessed as it sits inside the current first range. The
driver & binding have been adapted to account for both two & three
ranges, so fix the dts too.

Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
arch/riscv/boot/dts/microchip/mpfs.dtsi

index 23b7b05ee2911098565d6a4a089e602c30e952fa..104504352e99ce49ec4379b2b53ba1b6f2dc939c 100644 (file)
 
                mbox: mailbox@37020000 {
                        compatible = "microchip,mpfs-mailbox";
-                       reg = <0x0 0x37020000 0x0 0x1000>, <0x0 0x2000318C 0x0 0x40>;
+                       reg = <0x0 0x37020000 0x0 0x58>, <0x0 0x2000318C 0x0 0x40>,
+                             <0x0 0x37020800 0x0 0x100>;
                        interrupt-parent = <&plic>;
                        interrupts = <96>;
                        #mbox-cells = <1>;