bcm53xx: switch to the new/alternative SPI controller driver
[openwrt/openwrt.git] / target / linux / bcm53xx / patches-4.14 / 410-Use-brcm-bcm947xx-cfe-partitions-binding-for-Broadco.patch
index edb0ed1fddb216263a7684c03c64231a1270b967..d3b8e4079aad1edec55d69bebfea4e067afc67bf 100644 (file)
@@ -19,18 +19,18 @@ Subject: [PATCH] Use "brcm,bcm947xx-cfe-partitions" binding for Broadcom
  };
 --- a/arch/arm/boot/dts/bcm5301x.dtsi
 +++ b/arch/arm/boot/dts/bcm5301x.dtsi
  };
 --- a/arch/arm/boot/dts/bcm5301x.dtsi
 +++ b/arch/arm/boot/dts/bcm5301x.dtsi
-@@ -346,8 +346,11 @@
-                               compatible = "jedec,spi-nor";
-                               reg = <0>;
-                               spi-max-frequency = <20000000>;
--                              linux,part-probe = "ofpart", "bcm47xxpart";
-                               status = "disabled";
+@@ -456,8 +456,11 @@
+                       compatible = "jedec,spi-nor";
+                       reg = <0>;
+                       spi-max-frequency = <20000000>;
+-                      linux,part-probe = "ofpart", "bcm47xxpart";
+                       status = "disabled";
 +
 +
-+                              partitions {
-+                                      compatible = "brcm,bcm947xx-cfe-partitions";
-+                              };
-                       };
++                      partitions {
++                              compatible = "brcm,bcm947xx-cfe-partitions";
++                      };
                };
                };
+       };
  
 --- a/drivers/mtd/bcm47xxpart.c
 +++ b/drivers/mtd/bcm47xxpart.c
  
 --- a/drivers/mtd/bcm47xxpart.c
 +++ b/drivers/mtd/bcm47xxpart.c