diff options
| author | Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> | 2025-08-12 21:03:39 +0100 |
|---|---|---|
| committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2025-08-19 11:42:58 +0200 |
| commit | 6f21672c42fc432d69d8fd51e5d8cea145d5be5b (patch) | |
| tree | e49497f33c0695de8e304914f6594497f09dcde8 | |
| parent | c11ef17a6535539fb42d516de1bc6622b50ed242 (diff) | |
| download | linux-6f21672c42fc432d69d8fd51e5d8cea145d5be5b.tar.gz linux-6f21672c42fc432d69d8fd51e5d8cea145d5be5b.zip | |
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>
| -rw-r--r-- | arch/arm64/boot/dts/renesas/r9a09g077m44-rzt2h-evk.dts | 36 | ||||
| -rw-r--r-- | arch/arm64/boot/dts/renesas/rzt2h-n2h-evk-common.dtsi | 2 |
2 files changed, 38 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/renesas/r9a09g077m44-rzt2h-evk.dts b/arch/arm64/boot/dts/renesas/r9a09g077m44-rzt2h-evk.dts index 486584fefead..51ea295b3241 100644 --- a/arch/arm64/boot/dts/renesas/r9a09g077m44-rzt2h-evk.dts +++ b/arch/arm64/boot/dts/renesas/r9a09g077m44-rzt2h-evk.dts @@ -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 */ + }; +}; diff --git a/arch/arm64/boot/dts/renesas/rzt2h-n2h-evk-common.dtsi b/arch/arm64/boot/dts/renesas/rzt2h-n2h-evk-common.dtsi index 5f17996bcd6b..263509cc3dc4 100644 --- a/arch/arm64/boot/dts/renesas/rzt2h-n2h-evk-common.dtsi +++ b/arch/arm64/boot/dts/renesas/rzt2h-n2h-evk-common.dtsi @@ -7,6 +7,8 @@ / { aliases { + i2c0 = &i2c0; + i2c1 = &i2c1; serial0 = &sci0; }; |
