summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/qcom-ipq4019.dtsi
diff options
context:
space:
mode:
authorMatthew McClintock <mmcclint@codeaurora.org>2016-03-23 17:05:08 -0500
committerAndy Gross <andy.gross@linaro.org>2016-04-19 21:42:16 -0500
commite76b4284b520ba3b83d2f3df1451c0cbb897b85d (patch)
treeb3f9032230d35f2c4a28a8b72fa05acde5321845 /arch/arm/boot/dts/qcom-ipq4019.dtsi
parent13ad4fd36a815f1f4fb96c7308ea104bafc6bdb9 (diff)
downloadop-kernel-dev-e76b4284b520ba3b83d2f3df1451c0cbb897b85d.zip
op-kernel-dev-e76b4284b520ba3b83d2f3df1451c0cbb897b85d.tar.gz
qcom: ipq4019: add i2c node to ipq4019 SoC and DK01 device tree
This will allow boards to enable the I2C bus CC: Sricharan R <srichara@qti.qualcomm.com> Signed-off-by: Matthew McClintock <mmcclint@codeaurora.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/qcom-ipq4019.dtsi')
-rw-r--r--arch/arm/boot/dts/qcom-ipq4019.dtsi13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi
index 99e64f4..1937edf 100644
--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi
+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi
@@ -25,6 +25,7 @@
aliases {
spi0 = &spi_0;
+ i2c0 = &i2c_0;
};
cpus {
@@ -126,6 +127,18 @@
status = "disabled";
};
+ i2c_0: i2c@78b7000 {
+ compatible = "qcom,i2c-qup-v2.2.1";
+ reg = <0x78b7000 0x6000>;
+ interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&gcc GCC_BLSP1_AHB_CLK>,
+ <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>;
+ clock-names = "iface", "core";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
+ };
+
acc0: clock-controller@b088000 {
compatible = "qcom,kpss-acc-v1";
reg = <0x0b088000 0x1000>, <0xb008000 0x1000>;
OpenPOWER on IntegriCloud