summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/qcom-apq8074-dragonboard.dts
diff options
context:
space:
mode:
authorkiran.padwal@smartplayin.com <kiran.padwal@smartplayin.com>2014-09-16 17:15:38 +0530
committerKumar Gala <galak@codeaurora.org>2014-09-17 17:23:47 -0500
commitbf7f6b0432871cb68f3e3f4961a33cc6be05bc75 (patch)
tree41ea9fe17646e6fef663f5781a6feb31428e09b1 /arch/arm/boot/dts/qcom-apq8074-dragonboard.dts
parentedb81ca3bf586ad526ee67b245cb87f7c7142a87 (diff)
ARM: dts: qcom: Add I2C dt node for MSM8974 and DB8074 board
Add support for i2c controller on the DB8074 board. It also adds necessary DT support for i2c eeprom which is present on DB8074 board. 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-apq8074-dragonboard.dts')
-rw-r--r--arch/arm/boot/dts/qcom-apq8074-dragonboard.dts21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-apq8074-dragonboard.dts b/arch/arm/boot/dts/qcom-apq8074-dragonboard.dts
index b4dfb01fe6fb..47370494d0f8 100644
--- a/arch/arm/boot/dts/qcom-apq8074-dragonboard.dts
+++ b/arch/arm/boot/dts/qcom-apq8074-dragonboard.dts
@@ -22,6 +22,13 @@
pinctrl@fd510000 {
+ i2c11_pins: i2c11 {
+ mux {
+ pins = "gpio83", "gpio84";
+ function = "blsp_i2c11";
+ };
+ };
+
spi8_default: spi8_default {
mosi {
pins = "gpio45";
@@ -41,5 +48,19 @@
};
};
};
+
+ i2c@f9967000 {
+ status = "okay";
+ clock-frequency = <200000>;
+ pinctrl-0 = <&i2c11_pins>;
+ pinctrl-names = "default";
+
+ eeprom: eeprom@52 {
+ compatible = "atmel,24c128";
+ reg = <0x52>;
+ pagesize = <32>;
+ read-only;
+ };
+ };
};
};