From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Add XSPI node to RZ/V2H(P) ("R9A09G057") SoC DTSI.
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
arch/arm64/boot/dts/renesas/r9a09g057.dtsi | 23 ++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r9a09g057.dtsi b/arch/arm64/boot/dts/renesas/r9a09g057.dtsi
index 45aedd62a259..258744468079 100644
--- a/arch/arm64/boot/dts/renesas/r9a09g057.dtsi
+++ b/arch/arm64/boot/dts/renesas/r9a09g057.dtsi
@@ -280,6 +280,29 @@ sys: system-controller@10430000 {
resets = <&cpg 0x30>;
};
+ xspi: spi@11030000 {
+ compatible = "renesas,r9a09g057-xspi", "renesas,r9a09g047-xspi";
+ reg = <0 0x11030000 0 0x10000>,
+ <0 0x20000000 0 0x10000000>;
+ reg-names = "regs", "dirmap";
+ interrupts = <GIC_SPI 228 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 229 IRQ_TYPE_EDGE_RISING>;
+ interrupt-names = "pulse", "err_pulse";
+ clocks = <&cpg CPG_MOD 0x9f>,
+ <&cpg CPG_MOD 0xa0>,
+ <&cpg CPG_CORE R9A09G057_SPI_CLK_SPI>,
+ <&cpg CPG_MOD 0xa1>;
+ clock-names = "ahb", "axi", "spi", "spix2";
+ assigned-clocks = <&cpg CPG_CORE R9A09G057_SPI_CLK_SPI>;
+ assigned-clock-rates = <133333334>;
+ resets = <&cpg 0xa3>, <&cpg 0xa4>;
+ reset-names = "hresetn", "aresetn";
+ power-domains = <&cpg>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
+ };
+
dmac0: dma-controller@11400000 {
compatible = "renesas,r9a09g057-dmac";
reg = <0 0x11400000 0 0x10000>;
--
2.49.0
Hi Prabhakar, On Tue, 24 Jun 2025 at 19:40, Prabhakar <prabhakar.csengg@gmail.com> wrote: > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > > Add XSPI node to RZ/V2H(P) ("R9A09G057") SoC DTSI. > > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Thanks for your patch! > --- a/arch/arm64/boot/dts/renesas/r9a09g057.dtsi > +++ b/arch/arm64/boot/dts/renesas/r9a09g057.dtsi > @@ -280,6 +280,29 @@ sys: system-controller@10430000 { > resets = <&cpg 0x30>; > }; > > + xspi: spi@11030000 { > + compatible = "renesas,r9a09g057-xspi", "renesas,r9a09g047-xspi"; > + reg = <0 0x11030000 0 0x10000>, > + <0 0x20000000 0 0x10000000>; > + reg-names = "regs", "dirmap"; > + interrupts = <GIC_SPI 228 IRQ_TYPE_EDGE_RISING>, > + <GIC_SPI 229 IRQ_TYPE_EDGE_RISING>; > + interrupt-names = "pulse", "err_pulse"; > + clocks = <&cpg CPG_MOD 0x9f>, > + <&cpg CPG_MOD 0xa0>, > + <&cpg CPG_CORE R9A09G057_SPI_CLK_SPI>, > + <&cpg CPG_MOD 0xa1>; > + clock-names = "ahb", "axi", "spi", "spix2"; > + assigned-clocks = <&cpg CPG_CORE R9A09G057_SPI_CLK_SPI>; > + assigned-clock-rates = <133333334>; Same question as [PATCH 1/4]. > + resets = <&cpg 0xa3>, <&cpg 0xa4>; > + reset-names = "hresetn", "aresetn"; > + power-domains = <&cpg>; > + #address-cells = <1>; > + #size-cells = <0>; > + status = "disabled"; > + }; > + > dmac0: dma-controller@11400000 { > compatible = "renesas,r9a09g057-dmac"; > reg = <0 0x11400000 0 0x10000>; The rest LGTM, so Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
Hi Geert, Thank you for the review. On Tue, Jul 1, 2025 at 1:08 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > > Hi Prabhakar, > > On Tue, 24 Jun 2025 at 19:40, Prabhakar <prabhakar.csengg@gmail.com> wrote: > > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > > > > Add XSPI node to RZ/V2H(P) ("R9A09G057") SoC DTSI. > > > > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > > Thanks for your patch! > > > --- a/arch/arm64/boot/dts/renesas/r9a09g057.dtsi > > +++ b/arch/arm64/boot/dts/renesas/r9a09g057.dtsi > > @@ -280,6 +280,29 @@ sys: system-controller@10430000 { > > resets = <&cpg 0x30>; > > }; > > > > + xspi: spi@11030000 { > > + compatible = "renesas,r9a09g057-xspi", "renesas,r9a09g047-xspi"; > > + reg = <0 0x11030000 0 0x10000>, > > + <0 0x20000000 0 0x10000000>; > > + reg-names = "regs", "dirmap"; > > + interrupts = <GIC_SPI 228 IRQ_TYPE_EDGE_RISING>, > > + <GIC_SPI 229 IRQ_TYPE_EDGE_RISING>; > > + interrupt-names = "pulse", "err_pulse"; > > + clocks = <&cpg CPG_MOD 0x9f>, > > + <&cpg CPG_MOD 0xa0>, > > + <&cpg CPG_CORE R9A09G057_SPI_CLK_SPI>, > > + <&cpg CPG_MOD 0xa1>; > > + clock-names = "ahb", "axi", "spi", "spix2"; > > + assigned-clocks = <&cpg CPG_CORE R9A09G057_SPI_CLK_SPI>; > > + assigned-clock-rates = <133333334>; > > Same question as [PATCH 1/4]. > Sure, I'll move this to the board DTS, and also add the comment below for clarity. /* * MT25QU512ABB8E12 flash chip is capable of running at 166MHz * clock frequency. Set the maximum clock frequency to 133MHz * supported by the RZ/V2H SoC. */ Cheers, Prabhakar
© 2016 - 2025 Red Hat, Inc.