arm64: dts: ipq8074: Add QUP6 I2C node
authorRobert Marko <robimarko@gmail.com>
Sat, 19 Jun 2021 16:27:51 +0000 (18:27 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 21 Jun 2021 16:21:11 +0000 (11:21 -0500)
Add node to support the QUP6 I2C controller inside
of IPQ8074.
It is exactly the same as QUP2 and QUP3 controllers.

Some routers like Xiaomi AX9000 and Netgear RBK850
use this bus.

Signed-off-by: Robert Marko <robimarko@gmail.com>
Link: https://lore.kernel.org/r/20210619162751.2336974-1-robimarko@gmail.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/ipq8074.dtsi

index 7542d1e..95d6cb8 100644 (file)
                        status = "disabled";
                };
 
+               blsp1_i2c6: i2c@78ba000 {
+                       compatible = "qcom,i2c-qup-v2.2.1";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0x078ba000 0x600>;
+                       interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&gcc GCC_BLSP1_AHB_CLK>,
+                                <&gcc GCC_BLSP1_QUP6_I2C_APPS_CLK>;
+                       clock-names = "iface", "core";
+                       clock-frequency = <100000>;
+                       dmas = <&blsp_dma 23>, <&blsp_dma 22>;
+                       dma-names = "rx", "tx";
+                       status = "disabled";
+               };
+
                qpic_bam: dma-controller@7984000 {
                        compatible = "qcom,bam-v1.7.0";
                        reg = <0x07984000 0x1a000>;