From 7cd6ca770d1b067e6ddc7207a16755da7ea9bd09 Mon Sep 17 00:00:00 2001
From: Adam Ford <adam.ford@logicpd.com>
Date: Mon, 26 Oct 2015 07:42:38 -0500
Subject: [PATCH] ARM: dts: Change I2C2 and I2C3 to 400KHz for LogicPD Torpedo
 DM3730 devkit

When used with the Logic PD development kit, this makes the I2C buses match
the BSP released by Logic PD.

Signed-off-by: Adam Ford <adam.ford@logicpd.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
---
 arch/arm/boot/dts/logicpd-torpedo-som.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
index 78c52436cddb..7fed0bd4f3de 100644
--- a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
+++ b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
@@ -112,6 +112,14 @@
 	clock-frequency = <400000>;
 };
 
+&i2c2 {
+	clock-frequency = <400000>;
+};
+
+&i2c3 {
+	clock-frequency = <400000>;
+};
+
 /*
  * Only found on the wireless SOM. For the SOM without wireless, the pins for
  * MMC3 can be routed with jumpers to the second MMC slot on the devkit and
-- 
GitLab