summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawel Dembicki2025-11-06 10:37:44 +0000
committerDavid Bauer2025-11-12 18:37:36 +0000
commitdaca63ac8f854d2132fdef569f199163acf3eb5c (patch)
tree515d54928ed98425365a62f652356641703d6a63
parent8358e594c6cb6eb477e4779a39b23f602785dfaf (diff)
downloadopenwrt-daca63ac8f854d2132fdef569f199163acf3eb5c.tar.gz
mpc85xx: kernel: 6.12: fix issue with ifc nodes in P1010
In upstream [0] ifc node compatible was changed and it broke ifc at all. Rosen Penev send revert commit to upstream [1] which repair it. This patch add this pending patch to mpc85xx. [0] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0bf51cc9e9e57a751b4c5dacbfa499ba5cd8bd72 [1] https://patchwork.ozlabs.org/project/linuxppc-dev/patch/20251105205524.17362-1-rosenp@gmail.com/ Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
-rw-r--r--target/linux/mpc85xx/patches-6.12/002-Revert-powerpc-dts-mpc85xx-remove-simple-bus-compatible-from-ifc-node.patch125
1 files changed, 125 insertions, 0 deletions
diff --git a/target/linux/mpc85xx/patches-6.12/002-Revert-powerpc-dts-mpc85xx-remove-simple-bus-compatible-from-ifc-node.patch b/target/linux/mpc85xx/patches-6.12/002-Revert-powerpc-dts-mpc85xx-remove-simple-bus-compatible-from-ifc-node.patch
new file mode 100644
index 0000000000..31f15a576f
--- /dev/null
+++ b/target/linux/mpc85xx/patches-6.12/002-Revert-powerpc-dts-mpc85xx-remove-simple-bus-compatible-from-ifc-node.patch
@@ -0,0 +1,125 @@
+From patchwork Wed Nov 5 20:55:24 2025
+From: Rosen Penev <rosenp@gmail.com>
+Subject: [PATCH] Revert "powerpc: dts: mpc85xx: remove "simple-bus" compatible
+ from ifc node"
+Date: Wed, 5 Nov 2025 12:55:24 -0800
+
+This reverts commit 0bf51cc9e9e57a751b4c5dacbfa499ba5cd8bd72.
+
+simple-bus is needed for legacy platforms such as P1010 so that nodes
+are populated properly.
+
+Fixes fsl,ifc-nand probing under at least P1010.
+
+Signed-off-by: Rosen Penev <rosenp@gmail.com>
+---
+ arch/powerpc/boot/dts/fsl/b4si-post.dtsi | 2 +-
+ arch/powerpc/boot/dts/fsl/bsc9131si-post.dtsi | 2 +-
+ arch/powerpc/boot/dts/fsl/bsc9132si-post.dtsi | 2 +-
+ arch/powerpc/boot/dts/fsl/c293si-post.dtsi | 2 +-
+ arch/powerpc/boot/dts/fsl/p1010si-post.dtsi | 2 +-
+ arch/powerpc/boot/dts/fsl/t1023si-post.dtsi | 2 +-
+ arch/powerpc/boot/dts/fsl/t1040si-post.dtsi | 2 +-
+ arch/powerpc/boot/dts/fsl/t2081si-post.dtsi | 2 +-
+ arch/powerpc/boot/dts/fsl/t4240si-post.dtsi | 2 +-
+ 9 files changed, 9 insertions(+), 9 deletions(-)
+
+--- a/arch/powerpc/boot/dts/fsl/b4si-post.dtsi
++++ b/arch/powerpc/boot/dts/fsl/b4si-post.dtsi
+@@ -50,7 +50,7 @@
+ &ifc {
+ #address-cells = <2>;
+ #size-cells = <1>;
+- compatible = "fsl,ifc";
++ compatible = "fsl,ifc", "simple-bus";
+ interrupts = <25 2 0 0>;
+ };
+
+--- a/arch/powerpc/boot/dts/fsl/bsc9131si-post.dtsi
++++ b/arch/powerpc/boot/dts/fsl/bsc9131si-post.dtsi
+@@ -35,7 +35,7 @@
+ &ifc {
+ #address-cells = <2>;
+ #size-cells = <1>;
+- compatible = "fsl,ifc";
++ compatible = "fsl,ifc", "simple-bus";
+ interrupts = <16 2 0 0 20 2 0 0>;
+ };
+
+--- a/arch/powerpc/boot/dts/fsl/bsc9132si-post.dtsi
++++ b/arch/powerpc/boot/dts/fsl/bsc9132si-post.dtsi
+@@ -35,7 +35,7 @@
+ &ifc {
+ #address-cells = <2>;
+ #size-cells = <1>;
+- compatible = "fsl,ifc";
++ compatible = "fsl,ifc", "simple-bus";
+ /* FIXME: Test whether interrupts are split */
+ interrupts = <16 2 0 0 20 2 0 0>;
+ };
+--- a/arch/powerpc/boot/dts/fsl/c293si-post.dtsi
++++ b/arch/powerpc/boot/dts/fsl/c293si-post.dtsi
+@@ -35,7 +35,7 @@
+ &ifc {
+ #address-cells = <2>;
+ #size-cells = <1>;
+- compatible = "fsl,ifc";
++ compatible = "fsl,ifc", "simple-bus";
+ interrupts = <19 2 0 0>;
+ };
+
+--- a/arch/powerpc/boot/dts/fsl/p1010si-post.dtsi
++++ b/arch/powerpc/boot/dts/fsl/p1010si-post.dtsi
+@@ -35,7 +35,7 @@
+ &ifc {
+ #address-cells = <2>;
+ #size-cells = <1>;
+- compatible = "fsl,ifc";
++ compatible = "fsl,ifc", "simple-bus";
+ interrupts = <16 2 0 0 19 2 0 0>;
+ };
+
+--- a/arch/powerpc/boot/dts/fsl/t1023si-post.dtsi
++++ b/arch/powerpc/boot/dts/fsl/t1023si-post.dtsi
+@@ -52,7 +52,7 @@
+ &ifc {
+ #address-cells = <2>;
+ #size-cells = <1>;
+- compatible = "fsl,ifc";
++ compatible = "fsl,ifc", "simple-bus";
+ interrupts = <25 2 0 0>;
+ };
+
+--- a/arch/powerpc/boot/dts/fsl/t1040si-post.dtsi
++++ b/arch/powerpc/boot/dts/fsl/t1040si-post.dtsi
+@@ -52,7 +52,7 @@
+ &ifc {
+ #address-cells = <2>;
+ #size-cells = <1>;
+- compatible = "fsl,ifc";
++ compatible = "fsl,ifc", "simple-bus";
+ interrupts = <25 2 0 0>;
+ };
+
+--- a/arch/powerpc/boot/dts/fsl/t2081si-post.dtsi
++++ b/arch/powerpc/boot/dts/fsl/t2081si-post.dtsi
+@@ -50,7 +50,7 @@
+ &ifc {
+ #address-cells = <2>;
+ #size-cells = <1>;
+- compatible = "fsl,ifc";
++ compatible = "fsl,ifc", "simple-bus";
+ interrupts = <25 2 0 0>;
+ };
+
+--- a/arch/powerpc/boot/dts/fsl/t4240si-post.dtsi
++++ b/arch/powerpc/boot/dts/fsl/t4240si-post.dtsi
+@@ -50,7 +50,7 @@
+ &ifc {
+ #address-cells = <2>;
+ #size-cells = <1>;
+- compatible = "fsl,ifc";
++ compatible = "fsl,ifc", "simple-bus";
+ interrupts = <25 2 0 0>;
+ };
+