From: Philipp Zabel
Date: Mon, 14 Apr 2014 15:37:28 +0000 (+0200)
Subject: ARM: dts: pbab01: Add I2C2 and I2C3
X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c3a0940657fa16706efe83dd733c5ceff32de3bb;p=linux-beck.git
ARM: dts: pbab01: Add I2C2 and I2C3
Signed-off-by: Philipp Zabel
Signed-off-by: Shawn Guo
---
diff --git a/arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi b/arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi
index 4e36aef5190d..a449a58023e2 100644
--- a/arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi
@@ -23,6 +23,20 @@
status = "okay";
};
+&i2c2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_i2c2>;
+ clock-frequency = <100000>;
+ status = "okay";
+};
+
+&i2c3 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_i2c3>;
+ clock-frequency = <100000>;
+ status = "okay";
+};
+
&uart4 {
status = "okay";
};
@@ -42,3 +56,19 @@
&usdhc3 {
status = "okay";
};
+
+&iomuxc {
+ pinctrl_i2c2: i2c2grp {
+ fsl,pins = <
+ MX6QDL_PAD_EIM_EB2__I2C2_SCL 0x4001b8b1
+ MX6QDL_PAD_EIM_D16__I2C2_SDA 0x4001b8b1
+ >;
+ };
+
+ pinctrl_i2c3: i2c3grp {
+ fsl,pins = <
+ MX6QDL_PAD_EIM_D17__I2C3_SCL 0x4001b8b1
+ MX6QDL_PAD_EIM_D18__I2C3_SDA 0x4001b8b1
+ >;
+ };
+};