summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2021-03-29 07:54:30 +0200
committerFlorian Fainelli <f.fainelli@gmail.com>2021-03-29 20:41:04 +0200
commit1d3352aeed164ef73f05cf80ca001f11d2f3312d (patch)
treeefbde6c034bdcd56411232982b5c27d7b560d988 /arch/arm/boot/dts/bcm47094-linksys-panamera.dts
parentARM: dts: BCM5301X: Describe NVMEM NVRAM on Linksys & Luxul routers (diff)
downloadlinux-1d3352aeed164ef73f05cf80ca001f11d2f3312d.tar.xz
linux-1d3352aeed164ef73f05cf80ca001f11d2f3312d.zip
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: Rafał Miłecki <rafal@milecki.pl> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/bcm47094-linksys-panamera.dts')
-rw-r--r--arch/arm/boot/dts/bcm47094-linksys-panamera.dts16
1 files changed, 7 insertions, 9 deletions
diff --git a/arch/arm/boot/dts/bcm47094-linksys-panamera.dts b/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
index 1dc0cb0fae22..8b77efd2224e 100644
--- a/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
+++ b/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
@@ -279,7 +279,7 @@
&nandcs {
partitions {
- compatible = "fixed-partitions";
+ compatible = "linksys,ns-partitions";
#address-cells = <1>;
#size-cells = <1>;
@@ -300,20 +300,18 @@
};
partition@200000 {
- label = "firmware";
- reg = <0x0200000 0x01D00000>;
- compatible = "brcm,trx";
+ reg = <0x0200000 0x01d00000>;
+ compatible = "linksys,ns-firmware", "brcm,trx";
};
- partition@1F00000 {
- label = "failsafe";
- reg = <0x01F00000 0x01D00000>;
- read-only;
+ partition@1f00000 {
+ reg = <0x01f00000 0x01d00000>;
+ compatible = "linksys,ns-firmware", "brcm,trx";
};
partition@5200000 {
label = "system";
- reg = <0x05200000 0x02E00000>;
+ reg = <0x05200000 0x02e00000>;
};
};
};