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>
This commit is contained in:
Rafał Miłecki 2018-05-10 23:20:00 +02:00 committed by Florian Fainelli
parent 9c281b5e12
commit a05f1e36a5

View File

@ -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>;
};
};
};
};