[PATCH] ARM: dts: marzen: Enable I2C support

Geert Uytterhoeven geert+renesas at glider.be
Mon Mar 20 09:34:24 PDT 2023


Enable the single I2C bus available on the Marzen development board.
As this bus contains an AK4643 codec, it must be limited to 100 kHz.

Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>
---
To be queued in renesas-devel-for-v6.4.

 arch/arm/boot/dts/r8a7779-marzen.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7779-marzen.dts b/arch/arm/boot/dts/r8a7779-marzen.dts
index 60c9c4b7faa151f4..fd40890bd77bc64c 100644
--- a/arch/arm/boot/dts/r8a7779-marzen.dts
+++ b/arch/arm/boot/dts/r8a7779-marzen.dts
@@ -215,6 +215,12 @@ keyboard-irq-hog {
 	};
 };
 
+&i2c0 {
+	status = "okay";
+
+	clock-frequency = <100000>;
+};
+
 &irqpin0 {
 	status = "okay";
 };
-- 
2.34.1




More information about the linux-arm-kernel mailing list