]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: renesas: renesas-smarc2: Enable I2C0 node
authorTommaso Merciai <tommaso.merciai.xr@bp.renesas.com>
Wed, 14 May 2025 16:24:19 +0000 (18:24 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 10 Jun 2025 07:58:35 +0000 (09:58 +0200)
Enable device I2C0 node for the RZ SMARC Carrier-II Board and set clock
frequency to 400kHz.

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-4-tommaso.merciai.xr@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/renesas-smarc2.dtsi

index afdc1940e24abb903e93d252cf6e558abce518c8..3cac292f20b36aacb755e6a87b84d36b4a48a933 100644 (file)
@@ -35,6 +35,7 @@
        };
 
        aliases {
+               i2c0 = &i2c0;
                serial3 = &scif0;
                mmc1 = &sdhi1;
        };
        status = "okay";
 };
 
+&i2c0 {
+       status = "okay";
+       clock-frequency = <400000>;
+};
+
 &scif0 {
        status = "okay";
 };