Commit 1d3352ae authored by Rafał Miłecki's avatar Rafał Miłecki Committed by Florian Fainelli

ARM: dts: BCM5301X: Fix Linksys EA9500 partitions

Partitions are basically fixed indeed but firmware ones don't have
hardcoded function ("firmware" vs "failsafe"). Actual function depends
on bootloader configuration. Use a proper binding for that.

While at it fix numbers formatting to avoid:
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]+'
        From schema: Documentation/devicetree/bindings/mtd/partitions/linksys,ns-partitions.yaml
Signed-off-by: default avatarRafał Miłecki <rafal@milecki.pl>
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
parent a872b8e9
...@@ -279,7 +279,7 @@ &usb3_phy { ...@@ -279,7 +279,7 @@ &usb3_phy {
&nandcs { &nandcs {
partitions { partitions {
compatible = "fixed-partitions"; compatible = "linksys,ns-partitions";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
...@@ -300,20 +300,18 @@ partition@180000{ ...@@ -300,20 +300,18 @@ partition@180000{
}; };
partition@200000 { partition@200000 {
label = "firmware"; reg = <0x0200000 0x01d00000>;
reg = <0x0200000 0x01D00000>; compatible = "linksys,ns-firmware", "brcm,trx";
compatible = "brcm,trx";
}; };
partition@1F00000 { partition@1f00000 {
label = "failsafe"; reg = <0x01f00000 0x01d00000>;
reg = <0x01F00000 0x01D00000>; compatible = "linksys,ns-firmware", "brcm,trx";
read-only;
}; };
partition@5200000 { partition@5200000 {
label = "system"; label = "system";
reg = <0x05200000 0x02E00000>; reg = <0x05200000 0x02e00000>;
}; };
}; };
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment