arm64: dts: qcom: ipq8074: Add QUP5 I2C node
authorChukun Pan <amadeus@jmu.edu.cn>
Fri, 1 Oct 2021 14:54:21 +0000 (22:54 +0800)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sun, 24 Oct 2021 18:03:57 +0000 (13:03 -0500)
Add node to support the QUP5 I2C controller inside of IPQ8074.
It is exactly the same as QUP2 controllers.
Some routers like ZTE MF269 use this bus.

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211001145421.18302-1-amadeus@jmu.edu.cn
arch/arm64/boot/dts/qcom/ipq8074.dtsi

index aebd0949ac81ae293f8a186afd930dccda5f19c1..9ab4654e39d3bd1d933a358dc665fd96cd1c1a90 100644 (file)
                        status = "disabled";
                };
 
+               blsp1_i2c5: i2c@78b9000 {
+                       compatible = "qcom,i2c-qup-v2.2.1";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0x78b9000 0x600>;
+                       interrupts = <GIC_SPI 299 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&gcc GCC_BLSP1_AHB_CLK>,
+                                <&gcc GCC_BLSP1_QUP5_I2C_APPS_CLK>;
+                       clock-names = "iface", "core";
+                       clock-frequency = <400000>;
+                       dmas = <&blsp_dma 21>, <&blsp_dma 20>;
+                       dma-names = "rx", "tx";
+                       status = "disabled";
+               };
+
                blsp1_i2c6: i2c@78ba000 {
                        compatible = "qcom,i2c-qup-v2.2.1";
                        #address-cells = <1>;