]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: renesas: r9a08g046: Add pincontrol node
authorBiju Das <biju.das.jz@bp.renesas.com>
Thu, 30 Apr 2026 12:53:07 +0000 (13:53 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 12 May 2026 09:52:18 +0000 (11:52 +0200)
Add pincontrol node to RZ/G3L ("R9A08G046") SoC DTSI and set the icu as
the interrupt-parent of the pin controller to route GPIO interrupts
through the IA55 interrupt controller.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/20260430125342.439755-4-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/r9a08g046.dtsi

index 232a0e299df7a09eed42c6f1e4f50e50600b312e..0cedf5a38291f245985c0fb1c78fa8db4f524e70 100644 (file)
                };
 
                pinctrl: pinctrl@11030000 {
+                       compatible = "renesas,r9a08g046-pinctrl";
                        reg = <0 0x11030000 0 0x10000>;
                        gpio-controller;
                        #gpio-cells = <2>;
-                       /* placeholder */
+                       gpio-ranges = <&pinctrl 0 0 232>;
+                       interrupt-controller;
+                       #interrupt-cells = <2>;
+                       interrupt-parent = <&icu>;
+                       clocks = <&cpg CPG_MOD R9A08G046_GPIO_HCLK>;
+                       power-domains = <&cpg>;
+                       resets = <&cpg R9A08G046_GPIO_RSTN>,
+                                <&cpg R9A08G046_GPIO_PORT_RESETN>,
+                                <&cpg R9A08G046_GPIO_SPARE_RESETN>;
+                       reset-names = "rstn", "port", "spare";
+                       renesas,clonech = <&sysc 0xe2c>;
                };
 
                icu: interrupt-controller@11050000 {