bcm63xx: a226m-fwb: fix linux partition offset
authorDaniel González Cabanelas <dgcbueu@gmail.com>
Mon, 15 Jun 2020 17:51:28 +0000 (19:51 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Mon, 15 Jun 2020 19:01:44 +0000 (21:01 +0200)
The Pirelli A226M-FWB has a wrong linux partition offset, caused
by a copy-paste error. As of result of this, OpenWrt is currently
broken in this unit.

Fix it.

While at it, also use generic node names and fix the addresses
there as well.

Fixes: a27d59bb4274 ("brcm63xx: switch to new partition layout
specification")

Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com>
[also fix/update node names, extend commit message]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(cherry picked from commit d64d5ed1425f4397d093c8777ca03f70ff1ee90c)

target/linux/brcm63xx/dts/a226m-fwb.dts

index 0695e839e583729c3429d28519f02e0677f6d3a8..88ae50f6e332608c545d169807e11ee11bde82f4 100644 (file)
                #address-cells = <1>;
                #size-cells = <1>;
 
-               cfe@0 {
+               partition@0 {
                        label = "CFE";
                        reg = <0x000000 0x020000>;
                        read-only;
                };
 
-               linux@10000 {
+               partition@20000 {
                        label = "linux";
-                       reg = <0x010000 0xfc0000>;
+                       reg = <0x020000 0xfc0000>;
                        compatible = "brcm,bcm963xx-imagetag";
                };
 
-               nvram@7f0000 {
+               partition@fe0000 {
                        label = "nvram";
                        reg = <0xfe0000 0x020000>;
                };