kernel: backport mtd patches with Broadcom of_match_table-s
[openwrt/openwrt.git] / target / linux / bcm53xx / patches-4.14 / 410-Use-brcm-bcm947xx-cfe-partitions-binding-for-Broadco.patch
1 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
2 Subject: [PATCH] Use "brcm,bcm947xx-cfe-partitions" binding for Broadcom
3 partitions
4
5 ---
6
7 --- a/arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi
8 +++ b/arch/arm/boot/dts/bcm5301x-nand-cs0.dtsi
9 @@ -12,6 +12,10 @@
10 reg = <0>;
11 #address-cells = <1>;
12 #size-cells = <1>;
13 +
14 + partitions {
15 + compatible = "brcm,bcm947xx-cfe-partitions";
16 + };
17 };
18 };
19 };
20 --- a/arch/arm/boot/dts/bcm5301x.dtsi
21 +++ b/arch/arm/boot/dts/bcm5301x.dtsi
22 @@ -456,8 +456,11 @@
23 compatible = "jedec,spi-nor";
24 reg = <0>;
25 spi-max-frequency = <20000000>;
26 - linux,part-probe = "ofpart", "bcm47xxpart";
27 status = "disabled";
28 +
29 + partitions {
30 + compatible = "brcm,bcm947xx-cfe-partitions";
31 + };
32 };
33 };
34