diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2018-05-10 23:20:00 +0200 |
---|---|---|
committer | Florian Fainelli <f.fainelli@gmail.com> | 2018-05-11 09:46:38 -0700 |
commit | a05f1e36a57d02374a203719abc5bf2e8c51e125 (patch) | |
tree | 75d6b17b04bb7b6dcf269872db96f1b6e9fffd15 /arch | |
parent | 9c281b5e129961b9940a27f8da24dddd1c0eba87 (diff) | |
download | linux-a05f1e36a57d02374a203719abc5bf2e8c51e125.tar.bz2 |
ARM: dts: BCM5301X: Switch D-Link DIR-885L to the new partitions syntax
This new syntax is slightly better designed & uses "compatible" string.
For details see Documentation/devicetree/bindings/mtd/partition.txt .
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts b/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts index 494dbd39658c..d173bcd93b91 100644 --- a/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts +++ b/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts @@ -26,9 +26,15 @@ nand: nand@18028000 { nandcs@0 { - partition@0 { - label = "firmware"; - reg = <0x00000000 0x08000000>; + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "firmware"; + reg = <0x00000000 0x08000000>; + }; }; }; }; |