summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
diff options
context:
space:
mode:
authorkiran.padwal@smartplayin.com <kiran.padwal@smartplayin.com>2014-09-17 12:30:25 +0200
committerKumar Gala <galak@codeaurora.org>2014-09-18 00:24:20 +0200
commit8c3166f5d74b7936d29dc44f778e759c1b9fb43a (patch)
tree6f8803064d5bc42f1359c57c46ec03803c4ab26f /arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
parentARM: DT: apq8064: add support to sdcc4 for wlan. (diff)
downloadlinux-8c3166f5d74b7936d29dc44f778e759c1b9fb43a.tar.xz
linux-8c3166f5d74b7936d29dc44f778e759c1b9fb43a.zip
ARM: DT: apq8064: Add i2c device nodes
This patch adds i2c pinctrl DT node for IFC6410 board. It also adds necessary DT support for i2c eeprom which is present on IFC6410. Signed-off-by: Kiran Padwal <kiran.padwal@smartplayin.com> Signed-off-by: Kumar Gala <galak@codeaurora.org>
Diffstat (limited to 'arch/arm/boot/dts/qcom-apq8064-ifc6410.dts')
-rw-r--r--arch/arm/boot/dts/qcom-apq8064-ifc6410.dts27
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
index 27c7dfeec186..b396c8311b27 100644
--- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
@@ -5,6 +5,33 @@
compatible = "qcom,apq8064-ifc6410", "qcom,apq8064";
soc {
+ pinctrl@800000 {
+ i2c1_pins: i2c1 {
+ mux {
+ pins = "gpio20", "gpio21";
+ function = "gsbi1";
+ };
+ };
+ };
+
+ gsbi@12440000 {
+ status = "okay";
+ qcom,mode = <GSBI_PROT_I2C>;
+
+ i2c@12460000 {
+ status = "okay";
+ clock-frequency = <200000>;
+ pinctrl-0 = <&i2c1_pins>;
+ pinctrl-names = "default";
+
+ eeprom: eeprom@52 {
+ compatible = "atmel,24c128";
+ reg = <0x52>;
+ pagesize = <32>;
+ };
+ };
+ };
+
gsbi@16600000 {
status = "ok";
qcom,mode = <GSBI_PROT_I2C_UART>;