Patchwork [1/2] ARM: dts: vf610-twr: enable i2c0 device

login
register
mail settings
Submitter Jingchang Lu
Date June 18, 2013, 2:10 a.m.
Message ID <1371521418-3003-1-git-send-email-b35083@freescale.com>
Download mbox | patch
Permalink /patch/252098/
State Superseded
Headers show

Comments

Jingchang Lu - June 18, 2013, 2:10 a.m.
enable i2c0 device on Vybrid VF610 Tower Board

Signed-off-by: Jingchang Lu <b35083@freescale.com>
---
 arch/arm/boot/dts/vf610-twr.dts | 7 +++++++
 1 file changed, 7 insertions(+)

Patch

diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boot/dts/vf610-twr.dts
index b3905f5..1a58678 100644
--- a/arch/arm/boot/dts/vf610-twr.dts
+++ b/arch/arm/boot/dts/vf610-twr.dts
@@ -50,6 +50,13 @@ 
 	status = "okay";
 };
 
+&i2c0 {
+	clock-frequency = <100000>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_i2c0_1>;
+	status = "okay";
+};
+
 &uart1 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_uart1_1>;