1 From bd9a01e28e5d1632528e531480b42d6e2c861d88 Mon Sep 17 00:00:00 2001
2 From: Vivek Unune <npcomplete13@gmail.com>
3 Date: Sun, 1 Nov 2020 15:08:03 -0500
4 Subject: [PATCH] ARM: dts: BCM5301X: Linksys EA9500 add fixed partitions
6 This router has dual paritions to store trx firmware image and
7 dual partitions for nvram. The second one in each of these cases acts
10 When tested with OpenWrt, the default partition parser causes two issues:
12 1. It labels both nvram partitions as nvram. In factory, second one is
14 2. It parses second trx image and tries to create second 'linux' partition
15 and fails with - cannot create duplicate 'linux' partition
17 The following patch works around both of these issues.
19 Signed-off-by: Vivek Unune <npcomplete13@gmail.com>
20 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
22 .../boot/dts/bcm47094-linksys-panamera.dts | 41 +++++++++++++++++++
23 1 file changed, 41 insertions(+)
25 --- a/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
26 +++ b/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
34 + compatible = "fixed-partitions";
35 + #address-cells = <1>;
40 + reg = <0x0000000 0x0080000>;
46 + reg = <0x080000 0x0100000>;
51 + reg = <0x0180000 0x080000>;
56 + reg = <0x0200000 0x01D00000>;
57 + compatible = "brcm,trx";
62 + reg = <0x01F00000 0x01D00000>;
68 + reg = <0x05200000 0x02E00000>;