ipq806x: 5:15: add testing kernel version
[openwrt/staging/chunkeey.git] / target / linux / ipq806x / patches-5.15 / 851-add-gsbi1-dts.patch
diff --git a/target/linux/ipq806x/patches-5.15/851-add-gsbi1-dts.patch b/target/linux/ipq806x/patches-5.15/851-add-gsbi1-dts.patch
new file mode 100644 (file)
index 0000000..b7c198c
--- /dev/null
@@ -0,0 +1,44 @@
+--- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
++++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
+@@ -689,6 +689,41 @@
+                       reg = <0x12100000 0x10000>;
+               };
++              gsbi1: gsbi@12440000 {
++                      compatible = "qcom,gsbi-v1.0.0";
++                      cell-index = <1>;
++                      reg = <0x12440000 0x100>;
++                      clocks = <&gcc GSBI1_H_CLK>;
++                      clock-names = "iface";
++                      #address-cells = <1>;
++                      #size-cells = <1>;
++                      ranges;
++                      status = "disabled";
++
++                      syscon-tcsr = <&tcsr>;
++
++                      gsbi1_serial: serial@12450000 {
++                              compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
++                              reg = <0x12450000 0x100>,
++                                    <0x12400000 0x03>;
++                              interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>;
++                              clocks = <&gcc GSBI1_UART_CLK>, <&gcc GSBI1_H_CLK>;
++                              clock-names = "core", "iface";
++                              status = "disabled";
++                      };
++
++                      gsbi1_i2c: i2c@12460000 {
++                              compatible = "qcom,i2c-qup-v1.1.1";
++                              reg = <0x12460000 0x1000>;
++                              interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>;
++                              clocks = <&gcc GSBI1_QUP_CLK>, <&gcc GSBI1_H_CLK>;
++                              clock-names = "core", "iface";
++                              #address-cells = <1>;
++                              #size-cells = <0>;
++                              status = "disabled";
++                      };
++              };
++
+               gsbi2: gsbi@12480000 {
+                       compatible = "qcom,gsbi-v1.0.0";
+                       cell-index = <2>;