riscv: dts: microchip: fix the mpfs' mailbox regs
Subsystems (3)
PATCH 1/1 riscv: dts: microchip: fix the mpfs' mailbox regs
From: Conor Dooley <[email protected]>
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.
--- arch/riscv/boot/dts/microchip/mpfs.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/riscv/boot/dts/microchip/mpfs.dtsi +2 -1
@@ -498,7 +498,8 @@ usb: usb@20201000 { 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>;
Signature · 7 lines
2.39.2 _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
Quoted 18 lines · Conor Dooley
From: Conor Dooley <[email protected]>
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.
Signed-off-by Conor Dooley <[email protected]>--- arch/riscv/boot/dts/microchip/mpfs.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)arch/riscv/boot/dts/microchip/mpfs.dtsi +0
-0
arch/riscv/boot/dts/microchip/mpfs.dtsi usb: usb@20201000 { · line 505
Quoted 9 lines
arch/riscv/boot/dts/microchip/mpfs.dtsi +2
-1@@ -498,7 +498,8 @@ usb: usb@20201000 { 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>;
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
Conor Dooley
AppliedFrom: Conor Dooley <[email protected]>
Quoted 8 lines · Conor Dooley
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.
[...]
Applied to riscv-dt-for-next, thanks!
[1/1] riscv: dts: microchip: fix the mpfs' mailbox regs
https://git.kernel.org/conor/c/e77da13b8e36
Thanks,
Conor.
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv