summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorDmitry Lifshitz <lifshitz@compulab.co.il>2015-12-01 21:03:05 +0300
committerTony Lindgren <tony@atomide.com>2015-12-03 19:19:44 +0300
commit5691b61f23e508085405367573dc6120d1754a24 (patch)
tree4cd5df57fa94057eac890bff22e65cd0f5e5434c /arch/arm
parent1a472e14ba0847a30f8bafeea914b048df5c5d24 (diff)
downloadlinux-5691b61f23e508085405367573dc6120d1754a24.tar.xz
ARM: dts: am57xx: cl-som-am57x: add I2C3 support
Enable I2C3 bus and add appropriate pinmux. Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il> Acked-by: Igor Grinberg <grinberg@compulab.co.il> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/am57xx-cl-som-am57x.dts14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am57xx-cl-som-am57x.dts b/arch/arm/boot/dts/am57xx-cl-som-am57x.dts
index 58156a93d6e4..2074fd426242 100644
--- a/arch/arm/boot/dts/am57xx-cl-som-am57x.dts
+++ b/arch/arm/boot/dts/am57xx-cl-som-am57x.dts
@@ -52,6 +52,13 @@
>;
};
+ i2c3_pins_default: i2c3_pins_default {
+ pinctrl-single,pins = <
+ DRA7XX_CORE_IOPAD(0x36a4, PIN_INPUT| MUX_MODE10) /* mcasp1_aclkx.i2c3_sda */
+ DRA7XX_CORE_IOPAD(0x36a8, PIN_INPUT| MUX_MODE10) /* mcasp1_fsx.i2c3_scl */
+ >;
+ };
+
i2c4_pins_default: i2c4_pins_default {
pinctrl-single,pins = <
DRA7XX_CORE_IOPAD(0x36ac, PIN_INPUT| MUX_MODE10) /* mcasp1_acl.i2c4_sda */
@@ -73,6 +80,13 @@
clock-frequency = <400000>;
};
+&i2c3 {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c3_pins_default>;
+ clock-frequency = <400000>;
+};
+
&i2c4 {
status = "okay";
pinctrl-names = "default";