ipq806x: enable smem-parser for nand on AP148
authorJonas Gorski <jogo@openwrt.org>
Fri, 4 Sep 2015 14:44:36 +0000 (14:44 +0000)
committerJonas Gorski <jogo@openwrt.org>
Fri, 4 Sep 2015 14:44:36 +0000 (14:44 +0000)
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46785

target/linux/ipq806x/patches-3.18/166-arch-qcom-dts-enable-qcom-smem-on-AP148-NAND.patch [new file with mode: 0644]
target/linux/ipq806x/patches-3.18/707-ARM-dts-qcom-add-mdio-nodes-to-ap148-db149.patch
target/linux/ipq806x/patches-3.18/708-ARM-dts-qcom-add-gmac-nodes-to-ipq806x-platforms.patch
target/linux/ipq806x/patches-4.1/166-arch-qcom-dts-enable-qcom-smem-on-AP148-NAND.patch [new file with mode: 0644]
target/linux/ipq806x/patches-4.1/707-ARM-dts-qcom-add-mdio-nodes-to-ap148-db149.patch
target/linux/ipq806x/patches-4.1/708-ARM-dts-qcom-add-gmac-nodes-to-ipq806x-platforms.patch

diff --git a/target/linux/ipq806x/patches-3.18/166-arch-qcom-dts-enable-qcom-smem-on-AP148-NAND.patch b/target/linux/ipq806x/patches-3.18/166-arch-qcom-dts-enable-qcom-smem-on-AP148-NAND.patch
new file mode 100644 (file)
index 0000000..cae7f15
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/arch/arm/boot/dts/qcom-ipq8064-ap148.dts
++++ b/arch/arm/boot/dts/qcom-ipq8064-ap148.dts
+@@ -181,6 +181,8 @@
+                       nand-ecc-strength = <4>;
+                       nand-bus-width = <8>;
++
++                      linux,part-probe = "qcom-smem";
+               };
+       };
+ };
index a4a6a60..fe28942 100644 (file)
@@ -38,9 +38,9 @@ Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
                };
  
                gsbi@16300000 {
-@@ -182,6 +192,34 @@
-                       nand-ecc-strength = <4>;
-                       nand-bus-width = <8>;
+@@ -184,6 +194,34 @@
+                       linux,part-probe = "qcom-smem";
                };
 +
 +              mdio0: mdio {
index fda1b86..3455d45 100644 (file)
@@ -29,7 +29,7 @@ Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
                };
  
                gsbi@16300000 {
-@@ -220,6 +230,27 @@
+@@ -222,6 +232,27 @@
                                reg = <4>;
                        };
                };
diff --git a/target/linux/ipq806x/patches-4.1/166-arch-qcom-dts-enable-qcom-smem-on-AP148-NAND.patch b/target/linux/ipq806x/patches-4.1/166-arch-qcom-dts-enable-qcom-smem-on-AP148-NAND.patch
new file mode 100644 (file)
index 0000000..16df418
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/arch/arm/boot/dts/qcom-ipq8064-ap148.dts
++++ b/arch/arm/boot/dts/qcom-ipq8064-ap148.dts
+@@ -154,6 +154,8 @@
+                       nand-ecc-strength = <4>;
+                       nand-bus-width = <8>;
++
++                      linux,part-probe = "qcom-smem";
+               };
+       };
+ };
index 394f378..0e2b305 100644 (file)
@@ -38,9 +38,9 @@ Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
                };
  
                gsbi@16300000 {
-@@ -155,6 +165,34 @@
-                       nand-ecc-strength = <4>;
-                       nand-bus-width = <8>;
+@@ -157,6 +167,34 @@
+                       linux,part-probe = "qcom-smem";
                };
 +
 +              mdio0: mdio {
index 9b7eacb..0918634 100644 (file)
@@ -29,7 +29,7 @@ Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
                };
  
                gsbi@16300000 {
-@@ -193,6 +203,27 @@
+@@ -195,6 +205,27 @@
                                reg = <4>;
                        };
                };