mpc85xx: kernel: 6.12: fix issue with ifc nodes in P1010
authorPawel Dembicki <[email protected]>
Thu, 6 Nov 2025 10:37:44 +0000 (11:37 +0100)
committerDavid Bauer <[email protected]>
Wed, 12 Nov 2025 18:37:36 +0000 (19:37 +0100)
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[email protected]/

Signed-off-by: Pawel Dembicki <[email protected]>
target/linux/mpc85xx/patches-6.12/002-Revert-powerpc-dts-mpc85xx-remove-simple-bus-compatible-from-ifc-node.patch [new file with mode: 0644]

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 (file)
index 0000000..31f15a5
--- /dev/null
@@ -0,0 +1,125 @@
+From patchwork Wed Nov  5 20:55:24 2025
+From: Rosen Penev <[email protected]>
+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 <[email protected]>
+---
+ 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>;
+ };