summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/logicpd-som-lv.dtsi
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2018-01-27 22:27:05 +0100
committerTony Lindgren <tony@atomide.com>2018-02-14 17:36:12 +0100
commit84c7efd607e7fb6933920322086db64654f669b2 (patch)
treedc8f848068817cd9549cf03ddf94481cc3f5ef8c /arch/arm/boot/dts/logicpd-som-lv.dtsi
parentARM: dts: LogicPD Torpedo: Fix I2C1 pinmux (diff)
downloadlinux-84c7efd607e7fb6933920322086db64654f669b2.tar.xz
linux-84c7efd607e7fb6933920322086db64654f669b2.zip
ARM: dts: LogicPD SOM-LV: Fix I2C1 pinmux
The pinmuxing was missing for I2C1 which was causing intermittent issues with the PMIC which is connected to I2C1. The bootloader did not quite configure the I2C1 either, so when running at 2.6MHz, it was generating errors at times. This correctly sets the I2C1 pinmuxing so it can operate at 2.6MHz Fixes: ab8dd3aed011 ("ARM: DTS: Add minimal Support for Logic PD DM3730 SOM-LV") Signed-off-by: Adam Ford <aford173@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/logicpd-som-lv.dtsi')
-rw-r--r--arch/arm/boot/dts/logicpd-som-lv.dtsi9
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/logicpd-som-lv.dtsi b/arch/arm/boot/dts/logicpd-som-lv.dtsi
index c1aa7a4518fb..a30ee9fcb3ae 100644
--- a/arch/arm/boot/dts/logicpd-som-lv.dtsi
+++ b/arch/arm/boot/dts/logicpd-som-lv.dtsi
@@ -71,6 +71,8 @@
};
&i2c1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c1_pins>;
clock-frequency = <2600000>;
twl: twl@48 {
@@ -189,7 +191,12 @@
>;
};
-
+ i2c1_pins: pinmux_i2c1_pins {
+ pinctrl-single,pins = <
+ OMAP3_CORE1_IOPAD(0x21ba, PIN_INPUT | MUX_MODE0) /* i2c1_scl.i2c1_scl */
+ OMAP3_CORE1_IOPAD(0x21bc, PIN_INPUT | MUX_MODE0) /* i2c1_sda.i2c1_sda */
+ >;
+ };
};
&omap3_pmx_wkup {