arm64: dts: renesas: r9a09g077m44-rzt2h-evk: Enable I2C0 and I2C1 support

Enable I2C0 and I2C1 on the RZ/T2H evaluation board.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/20250812200344.3253781-9-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
This commit is contained in:
Lad Prabhakar 2025-08-12 21:03:39 +01:00 committed by Geert Uytterhoeven
parent c11ef17a65
commit 6f21672c42
2 changed files with 38 additions and 0 deletions

View File

@ -7,6 +7,8 @@
/dts-v1/;
#include <dt-bindings/pinctrl/renesas,r9a09g077-pinctrl.h>
#include "r9a09g077m44.dtsi"
#include "rzt2h-n2h-evk-common.dtsi"
@ -14,3 +16,37 @@ / {
model = "Renesas RZ/T2H EVK Board based on r9a09g077m44";
compatible = "renesas,rzt2h-evk", "renesas,r9a09g077m44", "renesas,r9a09g077";
};
&i2c0 {
pinctrl-0 = <&i2c0_pins>;
pinctrl-names = "default";
clock-frequency = <400000>;
status = "okay";
};
&i2c1 {
pinctrl-0 = <&i2c1_pins>;
pinctrl-names = "default";
clock-frequency = <400000>;
status = "okay";
};
&pinctrl {
/*
* I2C0 Pin Configuration:
* ------------------------
* Signal | Pin | SW6
* -------|---------|--------------
* SCL | P23_3 | 7: ON, 8: OFF
* SDA | P23_4 | 9: ON, 10: OFF
*/
i2c0_pins: i2c0-pins {
pinmux = <RZT2H_PORT_PINMUX(23, 3, 0x17)>,
<RZT2H_PORT_PINMUX(23, 4, 0x17)>;
};
i2c1_pins: i2c1-pins {
pinmux = <RZT2H_PORT_PINMUX(5, 0, 0x17)>, /* SDA */
<RZT2H_PORT_PINMUX(4, 7, 0x17)>; /* SCL */
};
};

View File

@ -7,6 +7,8 @@
/ {
aliases {
i2c0 = &i2c0;
i2c1 = &i2c1;
serial0 = &sci0;
};