From: Rafał Miłecki Date: Wed, 4 Apr 2018 13:14:21 +0000 (+0200) Subject: ARM: dts: BCM5301X: Switch Luxul XWC-1000 to the new fixed partitions syntax X-Git-Tag: microblaze-v4.19-rc1~136^2~45^2~7 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=0c0d1c90ddc44df70401b7cfff178c41b2f83ffa;p=linux-2.6-microblaze.git ARM: dts: BCM5301X: Switch Luxul XWC-1000 to the new fixed 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 Signed-off-by: Florian Fainelli --- diff --git a/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts b/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts index 50d65d8fbd9a..5efb6f31164d 100644 --- a/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts +++ b/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts @@ -26,9 +26,15 @@ nand: nand@18028000 { nandcs@0 { - partition@0 { - label = "ubi"; - reg = <0x00000000 0x08000000>; + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "ubi"; + reg = <0x00000000 0x08000000>; + }; }; }; };