diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2018-07-28 14:13:57 +0200 |
---|---|---|
committer | Florian Fainelli <f.fainelli@gmail.com> | 2018-08-31 21:07:08 +0200 |
commit | b0465fdfdd7e7c1afe2fae1cb36b94e1ce89732e (patch) | |
tree | 6fc71f6962b291572c95dc1f0a4552f0156864af /arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts | |
parent | Linux 4.19-rc1 (diff) | |
download | linux-b0465fdfdd7e7c1afe2fae1cb36b94e1ce89732e.tar.xz linux-b0465fdfdd7e7c1afe2fae1cb36b94e1ce89732e.zip |
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-asus-rt-ac87u.dts')
-rw-r--r-- | arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts b/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts index 2033411240c7..4cb10f88a95e 100644 --- a/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts +++ b/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts @@ -66,3 +66,34 @@ &usb3_phy { status = "okay"; }; + +&nandcs { + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + boot@0 { + label = "boot"; + reg = <0x00000000 0x00080000>; + read-only; + }; + + nvram@80000 { + label = "nvram"; + reg = <0x00080000 0x00180000>; + }; + + firmware@200000 { + label = "firmware"; + reg = <0x00200000 0x07cc0000>; + compatible = "brcm,trx"; + }; + + asus@7ec0000 { + label = "asus"; + reg = <0x07ec0000 0x00140000>; + read-only; + }; + }; +}; |