Skip to content

Commit 5fe3c0f

Browse files
aford173tmlind
authored andcommitted
ARM: dts: Add pinmuxing for i2c2 and i2c3 for LogicPD SOM-LV
Since I2C1 and I2C4 have explicit pinmuxing set, let's be on the safe side and set the pin muxing for I2C2 and I2C3. Signed-off-by: Adam Ford <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
1 parent a135a39 commit 5fe3c0f

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

arch/arm/boot/dts/logicpd-som-lv.dtsi

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,14 @@
8686
};
8787

8888
&i2c2 {
89+
pinctrl-names = "default";
90+
pinctrl-0 = <&i2c2_pins>;
8991
clock-frequency = <400000>;
9092
};
9193

9294
&i2c3 {
95+
pinctrl-names = "default";
96+
pinctrl-0 = <&i2c3_pins>;
9397
clock-frequency = <400000>;
9498
};
9599

@@ -206,6 +210,18 @@
206210
OMAP3_WKUP_IOPAD(0x2a0c, PIN_OUTPUT | MUX_MODE4) /* sys_boot1.gpio_3 */
207211
>;
208212
};
213+
i2c2_pins: pinmux_i2c2_pins {
214+
pinctrl-single,pins = <
215+
OMAP3_CORE1_IOPAD(0x21be, PIN_INPUT | MUX_MODE0) /* i2c2_scl */
216+
OMAP3_CORE1_IOPAD(0x21c0, PIN_INPUT | MUX_MODE0) /* i2c2_sda */
217+
>;
218+
};
219+
i2c3_pins: pinmux_i2c3_pins {
220+
pinctrl-single,pins = <
221+
OMAP3_CORE1_IOPAD(0x21c2, PIN_INPUT | MUX_MODE0) /* i2c3_scl */
222+
OMAP3_CORE1_IOPAD(0x21c4, PIN_INPUT | MUX_MODE0) /* i2c3_sda */
223+
>;
224+
};
209225
};
210226

211227
&omap3_pmx_core2 {

0 commit comments

Comments
 (0)