summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorSourav Poddar <sourav.poddar@ti.com>2013-12-19 13:33:36 +0100
committerBenoit Cousson <bcousson@baylibre.com>2014-03-02 18:37:20 +0100
commit0aeaf1c65525441d057ae676d1b6b9dc75a625ef (patch)
tree30002776ad6efb9f19f01c7e1a4106c799d14b22 /arch/arm
parentpinctrl: am43xx: dt-bindings: add MUX_MODE8 (diff)
downloadlinux-0aeaf1c65525441d057ae676d1b6b9dc75a625ef.tar.xz
linux-0aeaf1c65525441d057ae676d1b6b9dc75a625ef.zip
ARM: dts: am43x-epos-evm: Add I2C2 data.
Add I2C2 dts data. Signed-off-by: Sourav Poddar <sourav.poddar@ti.com> Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/am43x-epos-evm.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts
index 0899c5fa8824..d781a6996825 100644
--- a/arch/arm/boot/dts/am43x-epos-evm.dts
+++ b/arch/arm/boot/dts/am43x-epos-evm.dts
@@ -86,6 +86,13 @@
0x164 MUX_MODE0 /* eCAP0_in_PWM0_out.eCAP0_in_PWM0_out MODE0 */
>;
};
+
+ i2c2_pins: pinmux_i2c2_pins {
+ pinctrl-single,pins = <
+ 0x1c0 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE8) /* i2c2_sda.i2c2_sda */
+ 0x1c4 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE8) /* i2c2_scl.i2c2_scl */
+ >;
+ };
};
matrix_keypad: matrix_keypad@0 {
@@ -183,6 +190,12 @@
};
};
+&i2c2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c2_pins>;
+ status = "okay";
+};
+
&gpio0 {
status = "okay";
};