diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2018-07-28 15:13:57 +0300 |
---|---|---|
committer | Florian Fainelli <f.fainelli@gmail.com> | 2018-08-31 22:07:08 +0300 |
commit | b0465fdfdd7e7c1afe2fae1cb36b94e1ce89732e (patch) | |
tree | 6fc71f6962b291572c95dc1f0a4552f0156864af /arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts | |
parent | 5b394b2ddf0347bef56e50c69a58773c94343ff3 (diff) | |
download | linux-b0465fdfdd7e7c1afe2fae1cb36b94e1ce89732e.tar.xz |
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/bcm4709-tplink-archer-c9-v1.dts')
-rw-r--r-- | arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts b/arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts index c7143a9daa1a..b527d2ff987e 100644 --- a/arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts +++ b/arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts @@ -103,6 +103,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>; + }; + }; }; &usb3_phy { |