]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: renesas: r9a09g047e57-smarc: Add I2C0 pincontrol
authorTommaso Merciai <tommaso.merciai.xr@bp.renesas.com>
Wed, 14 May 2025 16:24:18 +0000 (18:24 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 10 Jun 2025 07:58:35 +0000 (09:58 +0200)
Add device node for I2C0 pincontrol.

Signed-off-by: Tommaso Merciai <tommaso.merciai.xr@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/20250514162422.910114-3-tommaso.merciai.xr@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/r9a09g047e57-smarc.dts

index 1f5e61a73c35b48014f5077873d6dba90d9b35a1..2454a9743df2557a479e07087bb503ce872cf66d 100644 (file)
 };
 #endif
 
+&i2c0 {
+       pinctrl-0 = <&i2c0_pins>;
+       pinctrl-names = "default";
+};
+
 &pinctrl {
        canfd_pins: canfd {
                can1_pins: can1 {
                };
        };
 
+       i2c0_pins: i2c0 {
+               pinmux = <RZG3E_PORT_PINMUX(D, 4, 4)>, /* SCL0 */
+                        <RZG3E_PORT_PINMUX(D, 5, 4)>; /* SDA0 */
+       };
+
        scif_pins: scif {
                pins = "SCIF_TXD", "SCIF_RXD";
                renesas,output-impedance = <1>;