[openwrt/openwrt] mpc85xx: kernel: 6.12: fix issue with ifc nodes in P1010

LEDE Commits lede-commits at lists.infradead.org
Wed Nov 12 10:40:26 PST 2025


blocktrron pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/daca63ac8f854d2132fdef569f199163acf3eb5c

commit daca63ac8f854d2132fdef569f199163acf3eb5c
Author: Pawel Dembicki <paweldembicki at gmail.com>
AuthorDate: Thu Nov 6 11:37:44 2025 +0100

    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 at gmail.com>
---
 ...emove-simple-bus-compatible-from-ifc-node.patch | 125 +++++++++++++++++++++
 1 file changed, 125 insertions(+)

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 at 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 at 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>;
+ };
+ 




More information about the lede-commits mailing list