summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2018-07-28 14:13:57 +0200
committerFlorian Fainelli <f.fainelli@gmail.com>2018-08-31 12:07:08 -0700
commitb0465fdfdd7e7c1afe2fae1cb36b94e1ce89732e (patch)
tree6fc71f6962b291572c95dc1f0a4552f0156864af /arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts
parent5b394b2ddf0347bef56e50c69a58773c94343ff3 (diff)
ARM: dts: BCM5301X: Specify flash partitions
Most devices use Broadcom standard partitions which allows them to be described with the "brcm,bcm947xx-cfe-partitions". Exceptions are: 1) TP-LINK devices which use "os-image" partition with TRX containing kernel only + separated rootfs partition. 2) Asus RT-AC87U with custom "asus" partition. This commit also removes undocumented and unsupported linux,part-probe binding which got accidentally upstreamed while describing SPI controller. 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/bcm47081-tplink-archer-c5-v2.dts')
-rw-r--r--arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts28
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts b/arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts
index 5f663f848db1..189cc3dcd6ef 100644
--- a/arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts
+++ b/arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts
@@ -94,6 +94,34 @@
&spi_nor {
status = "okay";
+
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ boot@0 {
+ label = "boot";
+ reg = <0x000000 0x040000>;
+ read-only;
+ };
+
+ os-image@100000 {
+ label = "os-image";
+ reg = <0x040000 0x200000>;
+ compatible = "brcm,trx";
+ };
+
+ rootfs@240000 {
+ label = "rootfs";
+ reg = <0x240000 0xc00000>;
+ };
+
+ nvram@ff0000 {
+ label = "nvram";
+ reg = <0xff0000 0x010000>;
+ };
+ };
};
&usb2 {