ipq806x: add GSBI nodes to ipq8064-dtsi-addidions
authorMatthew Hagan <mnhagan88@gmail.com>
Thu, 20 May 2021 19:55:06 +0000 (20:55 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 28 Nov 2021 16:41:18 +0000 (17:41 +0100)
Rather than having separate patches for each GSBI node added, this patch
consolidates the existing GSBI1 patch into
083-ipq8064-dtsi-additions.patch. In addition, GSBI6 and GSBI7 I2C nodes,
required for the MR42 and MR52 respectively, are added.

Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
target/linux/ipq806x/patches-5.10/083-ipq8064-dtsi-additions.patch
target/linux/ipq806x/patches-5.10/103-ARM-dts-qcom-reduce-pci-IO-size-to-64K.patch
target/linux/ipq806x/patches-5.10/851-add-gsbi1-dts.patch [deleted file]

index 1ebce1060045416dc66dbda209d31a9c5f3ec9f1..e6f2027e221c6fc446474361e10f7dabf8881bd4 100644 (file)
                saw0: regulator@2089000 {
                        compatible = "qcom,saw2", "qcom,apq8064-saw2-v1.1-cpu", "syscon";
                        reg = <0x02089000 0x1000>, <0x02009000 0x1000>;
-@@ -243,6 +739,17 @@
+@@ -243,6 +739,52 @@
                        regulator;
                };
  
 +                      compatible = "syscon";
 +                      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>;
-@@ -478,6 +985,95 @@
+@@ -368,6 +910,33 @@
+                       };
+               };
++              gsbi6: gsbi@16500000 {
++                      status = "disabled";
++                      compatible = "qcom,gsbi-v1.0.0";
++                      cell-index = <6>;
++                      reg = <0x16500000 0x100>;
++                      clocks = <&gcc GSBI6_H_CLK>;
++                      clock-names = "iface";
++                      #address-cells = <1>;
++                      #size-cells = <1>;
++                      ranges;
++
++                      syscon-tcsr = <&tcsr>;
++
++                      gsbi6_i2c: i2c@16580000 {
++                              compatible = "qcom,i2c-qup-v1.1.1";
++                              reg = <0x16580000 0x1000>;
++                              interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
++
++                              clocks = <&gcc GSBI6_QUP_CLK>, <&gcc GSBI6_H_CLK>;
++                              clock-names = "core", "iface";
++                              status = "disabled";
++
++                              #address-cells = <1>;
++                              #size-cells = <0>;
++                      };
++              };
++
+               gsbi7: gsbi@16600000 {
+                       status = "disabled";
+                       compatible = "qcom,gsbi-v1.0.0";
+@@ -389,6 +958,19 @@
+                               clock-names = "core", "iface";
+                               status = "disabled";
+                       };
++
++                      gsbi7_i2c: i2c@16680000 {
++                              compatible = "qcom,i2c-qup-v1.1.1";
++                              reg = <0x16680000 0x1000>;
++                              interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
++
++                              clocks = <&gcc GSBI7_QUP_CLK>, <&gcc GSBI7_H_CLK>;
++                              clock-names = "core", "iface";
++                              status = "disabled";
++
++                              #address-cells = <1>;
++                              #size-cells = <0>;
++                      };
+               };
+               sata_phy: sata-phy@1b400000 {
+@@ -478,6 +1060,95 @@
                        #reset-cells = <1>;
                };
  
                pcie0: pci@1b500000 {
                        compatible = "qcom,pcie-ipq8064";
                        reg = <0x1b500000 0x1000
-@@ -739,6 +1335,59 @@
+@@ -739,6 +1410,59 @@
                        status = "disabled";
                };
  
                vsdcc_fixed: vsdcc-regulator {
                        compatible = "regulator-fixed";
                        regulator-name = "SDCC Power";
-@@ -814,4 +1463,17 @@
+@@ -814,4 +1538,17 @@
                        };
                };
        };
index 4020d9d2de189d5aae6549f0e5c3c53db1b078b7..75b53234ab1e0fd4ce9047eb2ddfcfc6f976897f 100644 (file)
@@ -17,7 +17,7 @@ Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
 
 --- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
 +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
-@@ -1088,7 +1088,7 @@
+@@ -1163,7 +1163,7 @@
                        #address-cells = <3>;
                        #size-cells = <2>;
  
@@ -26,7 +26,7 @@ Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
                                  0x82000000 0 0x08000000 0x08000000 0 0x07e00000>; /* non-prefetchable memory */
  
                        interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
-@@ -1139,7 +1139,7 @@
+@@ -1214,7 +1214,7 @@
                        #address-cells = <3>;
                        #size-cells = <2>;
  
@@ -35,7 +35,7 @@ Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
                                  0x82000000 0 0x2e000000 0x2e000000 0 0x03e00000>; /* non-prefetchable memory */
  
                        interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
-@@ -1190,7 +1190,7 @@
+@@ -1265,7 +1265,7 @@
                        #address-cells = <3>;
                        #size-cells = <2>;
  
diff --git a/target/linux/ipq806x/patches-5.10/851-add-gsbi1-dts.patch b/target/linux/ipq806x/patches-5.10/851-add-gsbi1-dts.patch
deleted file mode 100644 (file)
index e6ee9a9..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
---- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
-+++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
-@@ -750,6 +750,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>;