]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: renesas: r9a09g047: Add XSPI node
authorBiju Das <biju.das.jz@bp.renesas.com>
Thu, 8 May 2025 18:31:03 +0000 (19:31 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 10 Jun 2025 07:58:34 +0000 (09:58 +0200)
Add XSPI node to RZ/G3E ("R9A09G047") SoC DTSI.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/20250508183109.137721-2-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/r9a09g047.dtsi

index 876f70fed433f7abb9076f5a1b20ca6330345b41..3d3aa371dad8614fc59c433a9f85cd17394f418e 100644 (file)
                        resets = <&cpg 0x30>;
                };
 
+               xspi: spi@11030000 {
+                       compatible = "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 R9A09G047_SPI_CLK_SPI>,
+                                <&cpg CPG_MOD 0xa1>;
+                       clock-names = "ahb", "axi", "spi", "spix2";
+                       resets = <&cpg 0xa3>, <&cpg 0xa4>;
+                       reset-names = "hresetn", "aresetn";
+                       power-domains = <&cpg>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       status = "disabled";
+               };
+
                scif0: serial@11c01400 {
                        compatible = "renesas,scif-r9a09g047", "renesas,scif-r9a09g057";
                        reg = <0 0x11c01400 0 0x400>;