ARM: dts: apq8064: add missing i2c2 pinctrl info

This patch adds missing i2c2 pinctrl information in i2c2 node.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
This commit is contained in:
Srinivas Kandagatla 2016-02-23 14:14:45 +00:00 committed by Andy Gross
parent 492731cbd0
commit 7788d439ae
2 changed files with 28 additions and 0 deletions

View File

@ -39,6 +39,32 @@
};
};
i2c2_pins: i2c2 {
mux {
pins = "gpio24", "gpio25";
function = "gsbi2";
};
pinconf {
pins = "gpio24", "gpio25";
drive-strength = <16>;
bias-disable;
};
};
i2c2_pins_sleep: i2c2_pins_sleep {
mux {
pins = "gpio24", "gpio25";
function = "gpio";
};
pinconf {
pins = "gpio24", "gpio25";
drive-strength = <2>;
bias-disable = <0>;
};
};
i2c3_pins: i2c3 {
mux {
pins = "gpio8", "gpio9";

View File

@ -255,6 +255,8 @@
gsbi2_i2c: i2c@124a0000 {
compatible = "qcom,i2c-qup-v1.1.1";
reg = <0x124a0000 0x1000>;
pinctrl-0 = <&i2c2_pins &i2c2_pins_sleep>;
pinctrl-names = "default", "sleep";
interrupts = <0 196 IRQ_TYPE_NONE>;
clocks = <&gcc GSBI2_QUP_CLK>, <&gcc GSBI2_H_CLK>;
clock-names = "core", "iface";