]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: BCM5301X: EA9200: specify partitions
authorRosen Penev <rosenp@gmail.com>
Thu, 19 Mar 2026 03:53:23 +0000 (20:53 -0700)
committerFlorian Fainelli <florian.fainelli@broadcom.com>
Fri, 20 Mar 2026 23:57:31 +0000 (16:57 -0700)
Some are needed to be specified so that linksys,ns-firmware works
properly.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://lore.kernel.org/r/20260319035324.269905-6-rosenp@gmail.com
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
arch/arm/boot/dts/broadcom/bcm4709-linksys-ea9200.dts

index 617fb55bc52f2b03458483c93f07644114bcc7f3..5bbc2ba0f959898a8da4775712f3ae493fdd0ff4 100644 (file)
                };
        };
 };
+
+&nandcs {
+       partitions {
+               compatible = "linksys,ns-partitions";
+               #address-cells = <1>;
+               #size-cells = <1>;
+
+               partition@0 {
+                       label = "boot";
+                       reg = <0x0000000 0x0080000>;
+                       read-only;
+               };
+
+               partition@80000 {
+                       label = "nvram";
+                       reg = <0x080000 0x0100000>;
+               };
+
+               partition@180000 {
+                       label = "devinfo";
+                       reg = <0x0180000 0x080000>;
+                       read-only;
+               };
+
+               partition@200000 {
+                       reg = <0x0200000 0x02800000>;
+                       compatible = "linksys,ns-firmware", "brcm,trx";
+               };
+
+               partition@2a00000 {
+                       reg = <0x02a00000 0x02800000>;
+                       compatible = "linksys,ns-firmware", "brcm,trx";
+               };
+
+               partition@5200000 {
+                       label = "system";
+                       reg = <0x05200000 0x02e00000>;
+               };
+       };
+};