1 From 1d3352aeed164ef73f05cf80ca001f11d2f3312d Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Mon, 29 Mar 2021 07:54:30 +0200
4 Subject: [PATCH] ARM: dts: BCM5301X: Fix Linksys EA9500 partitions
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 Partitions are basically fixed indeed but firmware ones don't have
10 hardcoded function ("firmware" vs "failsafe"). Actual function depends
11 on bootloader configuration. Use a proper binding for that.
13 While at it fix numbers formatting to avoid:
14 arch/arm/boot/dts/bcm47094-linksys-panamera.dt.yaml: partitions: 'partition@1F00000' does not match any of the regexes: '^partition@[0-9a-f]+$', 'pinctrl-[0-9]+'
15 From schema: Documentation/devicetree/bindings/mtd/partitions/linksys,ns-partitions.yaml
17 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
18 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
20 arch/arm/boot/dts/bcm47094-linksys-panamera.dts | 16 +++++++---------
21 1 file changed, 7 insertions(+), 9 deletions(-)
23 --- a/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
24 +++ b/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
29 - compatible = "fixed-partitions";
30 + compatible = "linksys,ns-partitions";
39 - reg = <0x0200000 0x01D00000>;
40 - compatible = "brcm,trx";
41 + reg = <0x0200000 0x01d00000>;
42 + compatible = "linksys,ns-firmware", "brcm,trx";
47 - reg = <0x01F00000 0x01D00000>;
50 + reg = <0x01f00000 0x01d00000>;
51 + compatible = "linksys,ns-firmware", "brcm,trx";
56 - reg = <0x05200000 0x02E00000>;
57 + reg = <0x05200000 0x02e00000>;